:root {
    --primary: #2DD4BF;
    --primary-hover: #14b8a6;
    --secondary: #A78BFA;
    --text-main: #E6F7FF;
    --text-light: #B9D2DD;
    --bg-main: #04101A;
    --bg-alt: #061724;
    --border: rgba(45, 212, 191, 0.4);
    --card-bg: rgba(255, 255, 255, 0.06);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background: linear-gradient(135deg, var(--bg-main), var(--bg-alt));
    background-attachment: fixed;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.3;
}
h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 2.2rem;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    color: transparent;
}
h1 {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    color: transparent;
}

/* Common Buttons */
.cta-btn {
    display: inline-block;
    background: var(--primary);
    color: #04101A;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: background 0.2s ease, transform 0.1s ease;
    cursor: pointer;
}
.cta-btn:hover {
    background: var(--primary-hover);
}
.cta-btn:active {
    transform: scale(0.98);
}
.cta-btn.large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(45, 212, 191, 0.3);
}
.cta-btn.outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}
.cta-btn.outline:hover {
    background: var(--primary);
    color: #04101A;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem max(5%, calc(50vw - 600px));
    background: rgba(4, 16, 26, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(45, 212, 191, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}
nav a {
    margin: 0 1rem;
    color: var(--text-main);
    font-weight: 500;
    transition: color 0.2s;
}
nav a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 7rem 5% 5rem;
    background: transparent;
    position: relative;
    z-index: 1;
}
.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}
.hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 2.5rem;
}

/* Common Section Styles */
section {
    scroll-margin-top: 100px;
    padding: 5rem 5%;
    position: relative;
    z-index: 1;
}
section:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

/* Grid Containers for Cards */
.card-container, .pricing-container, .review-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Feature & AI Cards */
.card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 14px;
    border: 1px solid var(--border);
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
    backdrop-filter: blur(12px);
}
.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}
.card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.card h3 {
    margin-bottom: 1rem;
    color: var(--primary);
    font-size: 1.3rem;
}
.card p {
    color: var(--text-light);
}

/* Streaming AI specific adjustments */
.support-card {
    background: var(--card-bg);
}

/* Pricing Cards */
.price-card {
    background: var(--card-bg);
    padding: 3rem 2rem;
    border-radius: 14px;
    border: 1px solid var(--border);
    position: relative;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(12px);
}
.price-card.popular {
    border: 1px solid var(--primary);
    transform: scale(1.03);
    box-shadow: 0 0 20px rgba(45, 212, 191, 0.15);
}
.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #04101A;
    padding: 0.3rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(45, 212, 191, 0.3);
}
.price-card h3 {
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
    color: var(--primary);
}
.price {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-main);
}
.price span {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}
.price-card ul {
    list-style: none;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}
.price-card ul li {
    margin-bottom: 1rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
}
.price-card ul li::before {
    content: '✔';
    color: var(--primary);
    margin-right: 0.75rem;
    font-weight: bold;
    font-size: 1.1rem;
}
.price-card .cta-btn {
    width: 100%;
}

/* Reviews */
.review {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 14px;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    backdrop-filter: blur(12px);
}
.review p {
    font-style: italic;
    color: var(--text-light);
    font-size: 1.1rem;
}
.review span {
    display: block;
    margin-top: 1.5rem;
    font-weight: 600;
    color: var(--primary);
}

/* FAQ */
.faq-list {
    max-width: 850px;
    margin: 0 auto;
}
.faq-item {
    margin-bottom: 1.5rem;
    background: var(--card-bg);
    padding: 1.5rem 2rem;
    border-radius: 14px;
    border: 1px solid var(--border);
    backdrop-filter: blur(12px);
}
.faq-item h4 {
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
    color: var(--primary);
}
.faq-item p {
    color: var(--text-light);
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.4);
    color: var(--text-light);
    text-align: center;
    padding: 4rem 5% 2rem;
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-links {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}
.footer-links a {
    color: var(--text-main);
    font-weight: 500;
}
.footer-links a:hover {
    color: var(--primary);
}
footer p {
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Subpage Container */
.subpage-container {
    max-width: 800px;
    margin: 4rem auto;
    padding: 3rem 4rem;
    background: var(--card-bg);
    border-radius: 14px;
    border: 1px solid var(--border);
    backdrop-filter: blur(12px);
    position: relative;
    z-index: 1;
}
.subpage-container h1 {
    margin-bottom: 2.5rem;
    text-align: center;
    font-size: 2.5rem;
}
.subpage-container h2 {
    text-align: left;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--primary);
}
.subpage-container p {
    margin-bottom: 1.25rem;
    color: var(--text-light);
    font-size: 1.05rem;
}
.subpage-container ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}
.subpage-container ul li {
    margin-bottom: 0.5rem;
}
.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: var(--primary);
    font-weight: 600;
}
.back-link:hover {
    text-decoration: underline;
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 1rem;
    }
    header .logo {
        margin-bottom: 1rem;
    }
    nav {
        margin-bottom: 1.25rem;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem;
    }
    nav a {
        margin: 0.25rem;
        font-size: 1rem;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
    .hero {
        padding: 4rem 5% 3rem;
    }
    section {
    scroll-margin-top: 100px;
        padding: 4rem 5%;
    }
    .price-card.popular {
        transform: none;
        box-shadow: none;
    }
    .cta-btn {
        width: 100%;
        display: block;
        padding: 1rem;
        font-size: 1.15rem;
        min-height: 50px;
    }
    header .cta-btn {
        width: 100%;
        margin-top: 0.5rem;
    }
    .cta-btn.large {
        padding: 1.2rem;
    }
    .subpage-container {
        padding: 2rem 1.5rem;
        margin: 2rem 5%;
    }
    .subpage-container h1 {
        font-size: 2rem;
    }
}

/* =========================================
   Aurora Background Decorations
   ========================================= */
.aurora-bg {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* 3 Aurora Bands */
.aurora-band {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.4;
    width: 60vw;
    height: 30vh;
}
.aurora-1 {
    top: -5vh;
    left: -10vw;
    background: rgba(45, 212, 191, 0.35);
    animation: aurora-sway-1 13s ease-in-out infinite alternate;
}
.aurora-2 {
    top: 15vh;
    right: -15vw;
    width: 50vw;
    height: 40vh;
    background: rgba(167, 139, 250, 0.25);
    animation: aurora-sway-2 17s ease-in-out infinite alternate-reverse;
}
.aurora-3 {
    bottom: -10vh;
    left: 20vw;
    width: 70vw;
    height: 35vh;
    background: rgba(37, 99, 235, 0.25);
    animation: aurora-sway-3 21s ease-in-out infinite alternate;
}

@keyframes aurora-sway-1 {
    0% { transform: translate(0, 0) scale(1); opacity: 0.3; }
    100% { transform: translate(6vw, 4vh) scale(1.1); opacity: 0.5; }
}
@keyframes aurora-sway-2 {
    0% { transform: translate(0, 0) scale(1); opacity: 0.2; }
    100% { transform: translate(-8vw, 5vh) scale(1.2); opacity: 0.4; }
}
@keyframes aurora-sway-3 {
    0% { transform: translate(0, 0) scale(1); opacity: 0.3; }
    100% { transform: translate(10vw, -6vh) scale(1.1); opacity: 0.4; }
}

/* Stars */
.star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #E6F7FF;
    border-radius: 50%;
    box-shadow: 0 0 6px #E6F7FF;
    animation: twinkle 3.5s infinite alternate;
}
.star-1 { top: 15%; left: 20%; animation-delay: 0s; }
.star-2 { top: 25%; left: 80%; animation-delay: 0.5s; }
.star-3 { top: 45%; left: 12%; animation-delay: 1s; }
.star-4 { top: 60%; left: 75%; animation-delay: 1.5s; }
.star-5 { top: 85%; left: 30%; animation-delay: 2s; }
.star-6 { top: 75%; left: 85%; animation-delay: 2.5s; }

@keyframes twinkle {
    0% { opacity: 0.1; transform: scale(0.8); }
    100% { opacity: 0.9; transform: scale(1.4); }
}

/* Comet */
.comet-container {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}
.comet {
    position: absolute;
    top: -10%; left: 15%;
    width: 2px; height: 60px;
    background: linear-gradient(to bottom, transparent, #2DD4BF);
    border-radius: 50%;
    transform: rotate(-45deg);
    opacity: 0;
    animation: comet-strike 9s linear infinite;
}
@keyframes comet-strike {
    0%, 90% { opacity: 0; transform: rotate(-45deg) translate(0, 0); }
    91% { opacity: 1; }
    100% { opacity: 0; transform: rotate(-45deg) translate(0, 150vh); }
}

/* Navigation Route */
.nav-route {
    position: absolute;
    top: 64%;
    left: -10vw;
    width: 120vw;
    height: 2px;
    transform: rotate(-3deg);
}
.route-line {
    width: 100%;
    height: 100%;
    border-top: 2px dashed rgba(45, 212, 191, 0.2);
}
.route-dot {
    position: absolute;
    top: -4px;
    left: 0;
    width: 8px; height: 8px;
    background: #2DD4BF;
    border-radius: 50%;
    box-shadow: 0 0 10px #2DD4BF, 0 0 20px #2DD4BF;
    animation: fly-route 11s linear infinite;
}
@keyframes fly-route {
    0% { transform: translateX(0); opacity: 0; }
    5% { opacity: 1; }
    95% { opacity: 1; }
    100% { transform: translateX(120vw); opacity: 0; }
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .aurora-band, .star, .comet, .route-dot {
        animation: none !important;
    }
}

/* Accessibility */
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
}
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #04101A;
    padding: 10px 20px;
    border-radius: 0 0 10px 10px;
    z-index: 10000;
    transition: top 0.3s;
    text-decoration: none;
    font-weight: bold;
}
.skip-link:focus {
    top: 0;
}
/* details/summary native marker removal for clean UI */
details > summary {
    list-style: none;
}
details > summary::-webkit-details-marker {
    display: none;
}
