/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2DD4BF;
    --primary-hover: #14b8a6;
    --secondary-color: #A78BFA;
    --text-color: #E6F7FF;
    --text-light: rgba(230, 247, 255, 0.7);
    --bg-light: transparent;
    --white: #ffffff;
    --border-color: rgba(45, 212, 191, 0.2);
    --card-bg: rgba(255, 255, 255, 0.06);
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, #04101A 0%, #061724 100%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

/* Layout Containers */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 50px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* Grids */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #04101A; /* Dark text for contrast on cyan button */
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: #04101A;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #04101A;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.2rem;
}

/* Header */
.header {
    background-color: rgba(4, 16, 26, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.5);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: 25px;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 500;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 100px 0;
    background: transparent;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero .subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Cards */
.card {
    background-color: var(--card-bg);
    border-radius: 14px;
    border: 1px solid var(--border-color);
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(45, 212, 191, 0.15);
}

/* Features */
.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: var(--text-color);
}

.feature-card p {
    color: var(--text-light);
}

/* Streaming & AI */
.media-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: var(--text-color);
}

.media-card p {
    color: var(--text-light);
}

/* Pricing */
.price-card {
    text-align: center;
    border: 1px solid var(--border-color);
    position: relative;
}

.price-card.popular {
    border-color: var(--primary-color);
    box-shadow: 0 8px 30px rgba(45, 212, 191, 0.2);
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.price-card h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.price-card .price {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.price-card .price span {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: normal;
}

.price-card ul {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.price-card ul li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: var(--text-light);
}

.price-card ul li:last-child {
    border-bottom: none;
}

/* Reviews */
.review-card .stars {
    color: #f1c40f;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.review-card .review-text {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 20px;
}

.review-card .reviewer {
    font-weight: 600;
    color: var(--primary-color);
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}







/* Subpage content (for about/privacy etc) */
.subpage-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}
.subpage-content h1 {
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.subpage-content h2 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--text-color);
}
.subpage-content p {
    margin-bottom: 15px;
    color: var(--text-light);
}
.subpage-content ul {
    margin-bottom: 15px;
    padding-left: 20px;
    color: var(--text-light);
}

/* Footer */
.footer {
    background-color: rgba(4, 16, 26, 0.9);
    color: var(--text-color);
    padding: 40px 0 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--text-light);
    margin: 0 15px;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.copyright {
    color: rgba(230, 247, 255, 0.4);
    font-size: 0.9rem;
}

/* Responsive - Media Queries */
@media (max-width: 768px) {
    .grid-3, .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .nav-container {
        flex-wrap: wrap;
        height: auto;
        padding: 15px 0;
        gap: 15px;
        justify-content: center;
    }
    
    .nav-menu {
        width: 100%;
        justify-content: center;
        order: 3;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .btn {
        width: 100%;
        display: block;
        padding: 15px;
    }
    
    .hero .btn-large {
        width: 100%;
    }
    
    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-links a {
        margin: 0;
    }
}

/* ==============================================================
   Background Effects Layer (Aurora, Stars, Comet, Neon Paws)
   ============================================================== */
.bg-fx-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

/* Auroras */
.aurora {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.4;
}
.aurora-1 {
    top: -15%; left: -15%;
    width: 60vw; height: 35vw;
    background: #2DD4BF;
    animation: auroraBreathe1 13s infinite alternate ease-in-out;
}
.aurora-2 {
    top: -20%; right: -10%;
    width: 55vw; height: 45vw;
    background: #A78BFA;
    animation: auroraBreathe2 17s infinite alternate ease-in-out;
}
.aurora-3 {
    bottom: -15%; left: 15%;
    width: 75vw; height: 25vw;
    background: #0077B6;
    animation: auroraBreathe3 21s infinite alternate ease-in-out;
}

@keyframes auroraBreathe1 {
    0% { transform: scale(1) translate(0, 0) rotate(0deg); opacity: 0.2; }
    100% { transform: scale(1.15) translate(8%, 8%) rotate(12deg); opacity: 0.45; }
}
@keyframes auroraBreathe2 {
    0% { transform: scale(1) translate(0, 0) rotate(0deg); opacity: 0.2; }
    100% { transform: scale(1.2) translate(-6%, 12%) rotate(-8deg); opacity: 0.5; }
}
@keyframes auroraBreathe3 {
    0% { transform: scale(1) translate(0, 0) rotate(0deg); opacity: 0.15; }
    100% { transform: scale(1.1) translate(12%, -6%) rotate(6deg); opacity: 0.35; }
}

/* Stars */
.star {
    position: absolute;
    width: 3px; height: 3px;
    background: #E6F7FF;
    border-radius: 50%;
    box-shadow: 0 0 8px 1px #E6F7FF;
    opacity: 0;
}
.star-1 { top: 15%; left: 20%; animation: starBlink 3.5s infinite; animation-delay: 0s; }
.star-2 { top: 25%; left: 75%; animation: starBlink 3.5s infinite; animation-delay: 0.58s; }
.star-3 { top: 45%; left: 10%; animation: starBlink 3.5s infinite; animation-delay: 1.16s; }
.star-4 { top: 65%; left: 80%; animation: starBlink 3.5s infinite; animation-delay: 1.75s; }
.star-5 { top: 85%; left: 30%; animation: starBlink 3.5s infinite; animation-delay: 2.33s; }
.star-6 { top: 10%; left: 55%; animation: starBlink 3.5s infinite; animation-delay: 2.91s; }

@keyframes starBlink {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 0.8; transform: scale(1.2); }
}

/* Comet */
.comet {
    position: absolute;
    top: -10%; left: -10%;
    width: 2px; height: 120px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), #2DD4BF);
    border-radius: 2px;
    transform: rotate(-45deg);
    opacity: 0;
    animation: cometFly 9s infinite;
}
@keyframes cometFly {
    0%, 90% { opacity: 0; transform: translate(0, 0) rotate(-45deg); }
    91% { opacity: 1; transform: translate(0, 0) rotate(-45deg); }
    100% { opacity: 0; transform: translate(140vw, 140vh) rotate(-45deg); }
}

/* Neon Paws */
.paw-dot {
    position: absolute;
    bottom: 50px;
    left: -20px;
    width: 12px; height: 12px;
    background: #2DD4BF;
    border-radius: 50%;
    box-shadow: 0 0 15px 4px #2DD4BF;
    animation: dotRun 7s linear infinite;
}
@keyframes dotRun {
    0% { transform: translateX(0); opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateX(120vw); opacity: 0; }
}

.paw {
    position: absolute;
    color: #2DD4BF;
    font-size: 22px;
    text-shadow: 0 0 10px #2DD4BF;
    opacity: 0;
}
/* dot crosses 120vw in 7s. Velocity = 17.14 vw/s */
.paw-1 { left: 10vw; bottom: 40px; animation: pawFade 7s infinite; animation-delay: 0.58s; }
.paw-2 { left: 25vw; bottom: 65px; animation: pawFade 7s infinite; animation-delay: 1.45s; }
.paw-3 { left: 40vw; bottom: 40px; animation: pawFade 7s infinite; animation-delay: 2.33s; }
.paw-4 { left: 55vw; bottom: 65px; animation: pawFade 7s infinite; animation-delay: 3.21s; }
.paw-5 { left: 70vw; bottom: 40px; animation: pawFade 7s infinite; animation-delay: 4.08s; }
.paw-6 { left: 85vw; bottom: 65px; animation: pawFade 7s infinite; animation-delay: 4.96s; }
.paw-7 { left: 100vw; bottom: 40px; animation: pawFade 7s infinite; animation-delay: 5.83s; }

@keyframes pawFade {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    5% { opacity: 0.8; transform: scale(1.2); }
    25% { opacity: 0; transform: scale(1); }
}

/* Accessibility: prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .aurora, .star, .comet, .paw-dot, .paw {
        animation: none !important;
        opacity: 0 !important;
    }
}


/* Accessibility & Focus */
*:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}
.skip-link {
    position: absolute;
    top: -50px;
    left: 0;
    background: var(--primary-color);
    color: #04101A;
    padding: 10px 15px;
    z-index: 9999;
    font-weight: bold;
    transition: top 0.3s;
}
.skip-link:focus {
    top: 0;
}
section, [id] {
    scroll-margin-top: 80px;
}
.nav-menu a {
    padding: 10px 15px; /* Ensure 44x44 touch target */
}
/* FAQ Details */
details.faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 15px;
    backdrop-filter: blur(10px);
}
details.faq-item summary {
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: bold;
    list-style: none; /* Hide default marker */
    outline: none;
}
details.faq-item summary::-webkit-details-marker {
    display: none;
}
details.faq-item summary:focus-visible {
    color: var(--primary-color);
}
details.faq-item h3, details.faq-item h4 {
    display: inline;
    font-size: 1.1rem;
    color: var(--primary-color);
}
details.faq-item p {
    margin-top: 15px;
    color: var(--text-light);
}
