@font-face {
    font-family: 'Comfortaa';
    src: url('../assets/fonts/comfortaa-regular.woff2') format('woff2'),
        url('../assets/fonts/comfortaa-regular.woff') format('woff');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Comfortaa';
    src: url('../assets/fonts/comfortaa-bold.woff2') format('woff2'),
        url('../assets/fonts/comfortaa-bold.woff') format('woff');
    font-weight: 700;
    font-display: swap;
}

body {
    color: white;
    font-family: 'Comfortaa', sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.light-theme {
    color: #1a1a2e;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eaf0 50%, #d4d8e8 100%);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    background-color: #0A0D18;
    border-bottom: 1px solid #5638E5;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

body.light-theme .navbar {
    background-color: #ffffff;
    border-bottom: 1px solid #7c5cef;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    width: 45px;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1);
}

.nav-links {
    display: flex;
    gap: 20px;
    font-family: 'PT Sans', sans-serif;
    font-size: 16px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    transition: color 0.3s ease;
}

body.light-theme .nav-links a {
    color: #1a1a2e;
}

.nav-links a:hover {
    color: #543fce;
}

body.light-theme .nav-links a:hover {
    color: #5638E5;
}

.nav-links a.active {
    color: #543fce;
    font-weight: bold;
}

body.light-theme .nav-links a.active {
    color: #5638E5;
}

.signup-hamburger {
    display: flex;
    align-items: center;
    gap: 30px;
}

.signup-btn {
    background-color: #0E0634;
    border: 2px solid #5638E5;
    border-radius: 7px;
    padding: 10px 20px;
    font-family: 'PT Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    margin-right: 10px;
    transition: background-color 0.3s ease;
}

body.light-theme .signup-btn {
    background-color: #5638E5;
    border-color: #4325c2;
    color: white;
}

.signup-btn:hover {
    background-color: #5638E5;
}

body.light-theme .signup-btn:hover {
    background-color: #4325c2;
}

.hamburger {
    width: 25px;
    height: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.hamburger div {
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: background-color 0.3s ease;
}

body.light-theme .hamburger div {
    background-color: #1a1a2e;
}

.container {
    padding: 60px 50px;
}

.main-content {
    flex: 1;
    position: relative;
    z-index: 5;
}

footer {
    background-color: rgba(10, 13, 24, 0.9);
    backdrop-filter: blur(10px);
    border-top: 1px solid #2C2F45;
    padding: 40px 50px;
    font-family: 'Comfortaa', sans-serif;
    color: white;
    position: relative;
    z-index: 10;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

body.light-theme footer {
    background-color: rgba(255, 255, 255, 0.9);
    border-top-color: #d4d8e8;
    color: #1a1a2e;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.footer-section {
    margin-bottom: 20px;
    flex: 1;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #6f54f8;
    transition: color 0.3s ease;
}

body.light-theme .footer-section h3 {
    color: #5638E5;
}

.footer-section p {
    margin: 8px 0;
    line-height: 1.5;
}

.footer-section a {
    color: #5638E5;
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: none;
}

.footer-links a {
    display: block;
    margin-bottom: 12px;
    padding: 2px 0;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    width: fit-content;
}

body.light-theme .footer-links a {
    color: #1a1a2e;
}

.footer-links a:hover {
    color: #5638E5;
    text-decoration: none;
}

.footer-separator {
    width: 100%;
    height: 1px;
    background-color: #1A1F36;
    margin: 20px 0;
    transition: background-color 0.3s ease;
}

body.light-theme .footer-separator {
    background-color: #d4d8e8;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    font-size: 14px;
    color: #888;
    transition: color 0.3s ease;
}

body.light-theme .copyright {
    color: #6b6b7f;
}

.donate-btn {
    background-color: #5638E5;
    border: none;
    border-radius: 7px;
    padding: 10px 20px;
    font-family: 'PT Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.donate-btn:hover {
    background-color: #4325c2;
    transform: translateY(-3px) scale(1.05);
}

@media (max-width: 768px) {
    .navbar {
        padding: 10px 20px;
    }

    .nav-links {
        gap: 10px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .signup-hamburger {
        flex-direction: column;
        gap: 10px;
    }

    .container {
        padding: 30px 20px;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-section {
        width: 100%;
    }
}

.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background-color: #0A0D18;
    padding: 20px;
    box-shadow: 0 5px 10px #00000033;
    z-index: 100;
}

body.light-theme .nav-links.active {
    background-color: #ffffff;
}

.pricing-container {
    padding: 60px 50px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-title {
    font-size: 40px;
    color: white;
    margin-bottom: 25px;
    transition: color 0.3s ease;
}

body.light-theme .pricing-title {
    color: #1a1a2e;
}

.pricing-subtitle {
    font-size: 18px;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto 35px auto;
    line-height: 1.6;
    transition: color 0.3s ease;
}

body.light-theme .pricing-subtitle {
    color: #6b6b7f;
}

.pricing-header {
    margin-bottom: 15px;
}

.product-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.product-tab {
    padding: 12px 25px;
    border-radius: 8px;
    background-color: #0E0F1D;
    color: white;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #2C2F45;
}

body.light-theme .product-tab {
    background-color: #ffffff;
    color: #1a1a2e;
    border-color: #d4d8e8;
}

.product-tab.active {
    background-color: #0E0634;
    border-color: #5638E5;
    color: white;
}

body.light-theme .product-tab.active {
    background-color: #5638E5;
    border-color: #4325c2;
    color: white;
}

.product-tab:hover:not(.active) {
    background-color: #141830;
}

body.light-theme .product-tab:hover:not(.active) {
    background-color: #f0f2f8;
}

.toggle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px auto;
    gap: 10px;
    max-width: 1020px;
    position: relative;
}

.toggle-label.active {
    color: white;
    font-weight: 600;
}

body.light-theme .toggle-label.active {
    color: #1a1a2e;
}

.toggle-label span {
    margin-left: 5px;
}

.toggle-label {
    font-size: 16px;
    color: #ccc;
    cursor: pointer;
    transition: color 0.3s ease;
}

body.light-theme .toggle-label {
    color: #6b6b7f;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #0E0F1D;
    border: 2px solid #2C2F45;
    transition: 0.4s;
    border-radius: 26px;
}

body.light-theme .toggle-slider {
    background-color: #d4d8e8;
    border-color: #b8bcc8;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 2px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked+.toggle-slider {
    background-color: #5638E5;
    border-color: #5638E5;
}

input:checked+.toggle-slider:before {
    transform: translateX(24px);
}

.pricing-plans {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.pricing-card {
    background-color: #0E0F1D;
    border-radius: 12px;
    padding: 30px;
    width: 300px;
    border: 2px solid #2C2F45;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
    text-align: left;
}

body.light-theme .pricing-card {
    background-color: #ffffff;
    border-color: #d4d8e8;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px #5638e533;
}

.pricing-card.featured {
    border-color: #5638E5;
    position: relative;
}

.featured-tag {
    position: absolute;
    top: -12px;
    right: 20px;
    background-color: #5638E5;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.plan-name {
    font-size: 20px;
    margin-bottom: 5px;
    font-weight: 600;
    transition: color 0.3s ease;
}

body.light-theme .plan-name {
    color: #1a1a2e;
}

.plan-description {
    color: #ccc;
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.4;
    height: 40px;
    transition: color 0.3s ease;
}

body.light-theme .plan-description {
    color: #6b6b7f;
}

.plan-price {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 5px;
    color: white;
    transition: color 0.3s ease;
}

body.light-theme .plan-price {
    color: #1a1a2e;
}

.price-duration {
    color: #ccc;
    font-size: 14px;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

body.light-theme .price-duration {
    color: #6b6b7f;
}

.plan-features {
    margin: 25px 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 10px;
}

.feature-icon {
    color: #5638E5;
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-text {
    font-size: 14px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

body.light-theme .feature-text {
    color: #1a1a2e;
}

.plan-cta {
    background-color: #0E0634;
    border: 2px solid #5638E5;
    border-radius: 7px;
    padding: 12px 0;
    width: 100%;
    font-size: 16px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.plan-cta:hover {
    background-color: #5638E5;
}

.plan-cta.featured {
    background-color: #5638E5;
}

.plan-cta.featured:hover {
    border-color: #4325c2;
    background-color: #4325c2;
}

.comparison-section {
    margin-top: 80px;
    overflow-x: auto;
    background: #0E0F1D;
    border-radius: 16px;
    padding: 30px;
    border: 2px solid #2C2F45;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

body.light-theme .comparison-section {
    background: #ffffff;
    border-color: #d4d8e8;
}

.comparison-section:hover {
    box-shadow: 0 15px 35px rgba(86, 56, 229, 0.2);
    border-color: #5638E5;
}

.comparison-title {
    font-size: 28px;
    margin-bottom: 35px;
    text-align: left;
    color: white;
    font-weight: 700;
    transition: color 0.3s ease;
}

body.light-theme .comparison-title {
    color: #1a1a2e;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    color: white;
    text-align: left;
}

body.light-theme .comparison-table {
    color: #1a1a2e;
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    border-bottom: 1px solid #2C2F45;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

body.light-theme .comparison-table th,
body.light-theme .comparison-table td {
    border-bottom: 1px solid #d4d8e8;
}

.comparison-table th {
    font-weight: 600;
    color: #ccc;
    background-color: rgba(20, 24, 48, 0.5);
    transition: color 0.3s ease, background-color 0.3s ease;
}

body.light-theme .comparison-table th {
    color: #6b6b7f;
    background-color: rgba(212, 216, 232, 0.5);
}

.comparison-table td {
    font-size: 14px;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover td {
    background-color: rgba(86, 56, 229, 0.1);
}

body.light-theme .comparison-table tr:hover td {
    background-color: rgba(124, 92, 239, 0.1);
}

.check-icon {
    color: #6f53ff;
    font-size: 18px;
}

.dash-icon {
    color: #76799e;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

@media (max-width: 768px) {
    .pricing-container {
        padding: 30px 15px;
    }

    .pricing-title {
        font-size: 32px;
    }

    .pricing-subtitle {
        font-size: 16px;
    }

    .product-tab {
        padding: 10px 15px;
        font-size: 14px;
    }

    .pricing-card {
        width: 100%;
        max-width: 350px;
    }

    .comparison-section {
        padding: 20px 15px;
        margin-top: 60px;
    }

    .comparison-table {
        font-size: 12px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px 8px;
    }

    .comparison-title {
        font-size: 20px;
        text-align: center;
    }
}