/* Pricing Page Styles - Landing Style Theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    color-scheme: dark;
    --bg-primary: #06070f;
    --bg-secondary: #101228;
    --accent: #7c5cff;
    --accent-soft: rgba(124, 92, 255, 0.25);
    --text-primary: #f5f6ff;
    --text-muted: rgba(245, 246, 255, 0.68);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: radial-gradient(120% 120% at 10% 10%, rgba(124, 92, 255, 0.28) 0%, transparent 55%),
                radial-gradient(120% 140% at 90% 15%, rgba(16, 198, 255, 0.22) 0%, transparent 60%),
                linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    color: var(--text-primary);
    min-height: 100vh;
    padding: 40px 24px;
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.page {
    position: relative;
    width: 100%;
    max-width: 1400px;
    min-height: calc(100vh - 80px);
    border-radius: 32px;
    padding: 56px clamp(24px, 5vw, 72px);
    backdrop-filter: blur(18px);
    background: rgba(6, 7, 15, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.glow {
    position: absolute;
    filter: blur(60px);
    opacity: 0.85;
    z-index: -1;
}

.glow.one {
    top: -160px;
    left: -120px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(124, 92, 255, 0.55) 0%, transparent 70%);
}

.glow.two {
    bottom: -50px;
    right: -25px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(16, 198, 255, 0.45) 0%, transparent 70%);
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 600;
    letter-spacing: 0.16em;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--text-muted);
}

.brand::before {
    content: "";
    width: 14px;
    height: 14px;
    border-radius: 4px;
    background: linear-gradient(135deg, #7c5cff, #54e0ff);
    box-shadow: 0 0 18px rgba(124, 92, 255, 0.45);
}

nav {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.95rem;
    flex-wrap: wrap;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease, transform 0.2s ease;
}

nav a:hover {
    color: var(--text-primary);
    transform: translateY(-1px);
}

nav a.active,
nav a[aria-current="page"] {
    color: var(--text-primary);
    position: relative;
}

nav a.active::after,
nav a[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

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

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
    gap: 18px;
    margin-top: auto;
}

footer a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

footer a:hover {
    color: var(--text-primary);
}

.pricing-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

/* Hero Section */
.pricing-hero {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(6, 7, 15, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(18px);
    border-radius: 32px;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.pricing-hero::before {
    content: "";
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(124, 92, 255, 0.3) 0%, transparent 70%);
    filter: blur(60px);
    z-index: 0;
}

.pricing-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.pricing-hero p {
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    margin-bottom: 2rem;
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

/* Billing Toggle */
.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.toggle-label {
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s;
    color: var(--text-muted);
}

.toggle-label:hover {
    color: var(--text-primary);
}

.discount-badge {
    background: var(--accent-soft);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    margin-left: 0.5rem;
    color: var(--accent);
}

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

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

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(124, 92, 255, 0.2);
    transition: 0.4s;
    border-radius: 30px;
    border: 1px solid rgba(124, 92, 255, 0.3);
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 3px;
    background: linear-gradient(135deg, #7c5cff, #54e0ff);
    transition: 0.4s;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(124, 92, 255, 0.5);
}

input:checked + .slider {
    background-color: rgba(124, 92, 255, 0.35);
}

input:checked + .slider:before {
    transform: translateX(30px);
}

/* Section Titles */
.section-title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

/* Plans Section */
.plans-section {
    margin-bottom: 5rem;
}

.plans-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Plan Card */
.plan-card {
    background: rgba(12, 15, 32, 0.48);
    border-radius: 24px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.plan-card:hover {
    transform: translateY(-8px);
    border-color: rgba(124, 92, 255, 0.4);
    box-shadow: 0 20px 40px rgba(124, 92, 255, 0.2);
}

.plan-card.popular {
    border-color: rgba(124, 92, 255, 0.4);
    background: rgba(12, 15, 32, 0.65);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #7c5cff, #54e0ff);
    color: #0c0f23;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(124, 92, 255, 0.4);
}

/* Plan Header */
.plan-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.plan-header h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

.plan-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Plan Price */
.plan-price {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 0.5rem;
    color: var(--text-primary);
}

.amount {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--accent);
    text-shadow: 0 0 20px rgba(124, 92, 255, 0.35);
}

.period {
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: 1.5rem;
}

.price-secondary {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 600;
}

/* Plan Features */
.plan-features {
    list-style: none;
    margin-bottom: 2rem;
}

.feature-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-primary);
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-item.limitation {
    color: var(--text-muted);
    opacity: 0.5;
}

/* Plan Button */
.btn-plan {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80%;
    padding: 1rem;
    text-align: center;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(124, 92, 255, 0.4);
    color: var(--text-primary);
    background: rgba(124, 92, 255, 0.1);
    font-size: 0.95rem;
    margin: 0 auto;
    margin-top: auto;
}

.btn-plan:hover {
    background: rgba(124, 92, 255, 0.2);
    border-color: rgba(124, 92, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(124, 92, 255, 0.3);
}

.btn-plan.btn-primary {
    background: linear-gradient(135deg, #7c5cff, #54e0ff);
    color: #0c0f23;
    border: none;
    box-shadow: 0 10px 30px rgba(124, 92, 255, 0.35);
}

.btn-plan.btn-primary:hover {
    box-shadow: 0 15px 40px rgba(124, 92, 255, 0.45);
    transform: translateY(-3px);
}

/* Donation Card */
.donation-card {
    background: linear-gradient(135deg, rgba(16, 198, 255, 0.08), rgba(124, 92, 255, 0.08));
    border-color: rgba(16, 198, 255, 0.3);
}

.donation-card:hover {
    border-color: rgba(16, 198, 255, 0.5);
    box-shadow: 0 20px 40px rgba(16, 198, 255, 0.2);
}

.donation-content {
    margin-bottom: 1.5rem;
}

.btn-donation {
    background: linear-gradient(135deg, #10c6ff, #7c5cff);
    color: #0c0f23;
    border: none;
    box-shadow: 0 10px 30px rgba(16, 198, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80%;
}

.btn-donation:hover {
    box-shadow: 0 15px 40px rgba(16, 198, 255, 0.45);
    transform: translateY(-3px);
}

/* FAQ Section */
.faq-section {
    margin-bottom: 4rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.faq-item {
    background: rgba(12, 15, 32, 0.48);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.faq-item:hover {
    transform: translateY(-4px);
    border-color: rgba(124, 92, 255, 0.3);
}

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 600;
}

.faq-item p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(6, 7, 15, 0.55);
    border: 1px solid rgba(124, 92, 255, 0.2);
    backdrop-filter: blur(18px);
    border-radius: 32px;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(16, 198, 255, 0.25) 0%, transparent 70%);
    filter: blur(60px);
    z-index: 0;
}

.cta-section h2 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    margin-bottom: 1rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

.btn-cta {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, #7c5cff, #54e0ff);
    color: #0c0f23;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 15px 35px rgba(124, 92, 255, 0.35);
    position: relative;
    z-index: 1;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(124, 92, 255, 0.45);
}

/* Mobile & Tablet - Hamburger Menu */
@media (max-width: 768px) {
    header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .platform-nav {
        display: flex;
        justify-content: flex-end;
    }

    .hamburger {
        display: flex;
        z-index: 101;
    }

    .platform-nav nav {
        position: fixed;
        top: 80px;
        right: 24px;
        background: rgba(8, 9, 20, 0.98);
        border: 1px solid rgba(124, 92, 255, 0.35);
        border-radius: 20px;
        padding: 20px;
        flex-direction: column;
        gap: 18px;
        align-items: flex-start;
        min-width: 220px;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 0.2s ease, transform 0.2s ease;
        z-index: 100;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(20px);
    }

    .platform-nav nav.active {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .platform-nav nav a {
        color: var(--text-muted);
        font-size: 0.95rem;
        padding: 8px 0;
        transition: color 0.2s ease;
    }

    .platform-nav nav a:hover,
    .platform-nav nav a:focus-visible {
        color: var(--text-primary);
    }
}

/* Tablet Styles */
@media (min-width: 768px) {
    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .pricing-container {
        padding: 3rem 2rem;
    }

    .pricing-hero {
        padding: 5rem 3rem;
    }

    .plans-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }

    .faq-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Large Desktop */
@media (min-width: 1400px) {
    .plans-grid {
        gap: 3rem;
    }
}

/* Mobile specific adjustments */
@media (max-width: 640px) {
    body {
        padding: 20px 16px;
    }

    .page {
        border-radius: 24px;
        min-height: calc(100vh - 40px);
        gap: 40px;
        padding: 40px clamp(20px, 8vw, 48px);
    }

    footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .pricing-hero {
        padding: 3rem 1.5rem;
    }

    .cta-section {
        padding: 3rem 1.5rem;
    }

    .plan-card {
        padding: 2rem;
    }

    .billing-toggle {
        flex-direction: column;
        gap: 1rem;
    }
}
