:root {
    --bg-dark: #f0f8ff; /* Light alice blue for light theme */
    --primary-color: #0088ff;
    --secondary-color: #00bbff;
    --text-main: #2d3748;
    --text-muted: #718096;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    scroll-behavior: smooth;
}

/* Background animated gradient blobs */
body::before, body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.4;
    animation: float 20s infinite ease-in-out alternate;
}

body::before {
    width: 50vw;
    height: 50vw;
    min-width: 500px;
    min-height: 500px;
    background: radial-gradient(circle, var(--secondary-color), transparent);
    top: -10%;
    left: -10%;
}

body::after {
    width: 60vw;
    height: 60vw;
    min-width: 600px;
    min-height: 600px;
    background: radial-gradient(circle, var(--primary-color), transparent);
    bottom: -20%;
    right: -10%;
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 50px) scale(1.2); }
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: #000;
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar nav a {
    margin: 0 1rem;
    color: var(--text-main);
    font-weight: 500;
}

.navbar nav a:hover {
    color: var(--primary-color);
}

/* Buttons */
.cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: #fff !important;
    font-weight: 600;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 210, 255, 0.3);
}

.cta-btn.sm {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

.cta-btn.lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    margin-top: 2rem;
}

.cta-btn.block {
    display: block;
    width: 100%;
    padding: 0.8rem;
    margin-top: 1.5rem;
}

.cta-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    color: #000 !important;
}

.cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    margin-top: 2rem;
}

.hero-actions .cta-btn.lg {
    margin-top: 0;
}

/* Sections */
.section {
    padding: 6rem 5% 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 700;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 5% 4rem;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    width: 100%;
}

.hero-content {
    padding: 3rem;
    animation: fadeIn 1s ease-out;
    text-align: left;
}

.hero-visual {
    animation: floatVisual 6s ease-in-out infinite;
    display: flex;
    justify-content: center;
}

.dynamic-card {
    padding: 3rem;
    width: 100%;
    max-width: 400px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.5));
    border-top: 1px solid rgba(0, 136, 255, 0.4);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.sail-icon {
    font-size: 5rem;
    filter: drop-shadow(0 0 20px rgba(0, 210, 255, 0.6));
    animation: rockSail 4s ease-in-out infinite;
}

.status-indicator {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dot {
    width: 10px;
    height: 10px;
    background: #00ff88;
    border-radius: 50%;
    display: inline-block;
}

.dot.pulse {
    box-shadow: 0 0 0 rgba(0, 255, 136, 0.7);
    animation: pulseStatus 2s infinite;
}

.speed-stats {
    display: flex;
    width: 100%;
    justify-content: space-around;
    text-align: center;
    margin-top: 1rem;
}

.stat span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.stat strong {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.network-waves {
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 60px;
    opacity: 0.3;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 800 88.7" xmlns="http://www.w3.org/2000/svg"><path d="M0,40 C150,80 250,0 400,40 C550,80 650,0 800,40 L800,88.7 L0,88.7 Z" fill="%2300d2ff"/></svg>') repeat-x;
    background-size: 50% 100%;
}

.wave1 { animation: waveAnim 8s linear infinite; opacity: 1; }
.wave2 { animation: waveAnim 12s linear infinite reverse; opacity: 0.7; bottom: 5px; }
.wave3 { animation: waveAnim 15s linear infinite; opacity: 0.5; bottom: 10px; }

@keyframes floatVisual {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes rockSail {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

@keyframes pulseStatus {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(0, 255, 136, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 136, 0); }
}

@keyframes waveAnim {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(to right, #000, var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Grids */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    padding: 2rem;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card p {
    color: var(--text-muted);
}

/* Streaming & AI */
.streaming-ai-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.support-card {
    padding: 2.5rem;
}

.support-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.support-card p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tags span {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: center;
}

.pricing-card {
    padding: 2.5rem;
    position: relative;
    transition: transform 0.3s ease;
}

.pricing-card.popular {
    transform: scale(1.05);
    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.2);
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--bg-dark);
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    margin: 1.5rem 0;
    color: #000;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-card ul li {
    margin-bottom: 0.8rem;
    color: var(--text-muted);
    position: relative;
    padding-left: 1.5rem;
}

.pricing-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Reviews */
.review-card {
    padding: 2rem;
}

.stars {
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.review-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.author {
    color: var(--primary-color);
    font-weight: 600;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    padding: 1.5rem;
    cursor: pointer;
}

.faq-item summary {
    font-size: 1.2rem;
    font-weight: 600;
    list-style: none;
    position: relative;
    padding-right: 2rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-item p {
    margin-top: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* Article Cards */
.article-card {
    padding: 1.5rem;
}
.article-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}
.article-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}
.article-card p {
    font-size: 0.95rem;
}

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 3rem 5%;
    text-align: center;
    margin-top: 4rem;
    background: rgba(255, 255, 255, 0.9);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
}

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

.copyright {
    color: rgba(0,0,0,0.5);
    font-size: 0.9rem;
}

/* Mobile */
@media (max-width: 768px) {
    .navbar nav {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .section {
        padding: 4rem 5% 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .pricing-card.popular {
        transform: scale(1);
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }

    .streaming-ai-container {
        grid-template-columns: 1fr;
    }

    .cta-btn {
        padding: 1rem 2rem;
        width: 100%;
        display: block;
        margin-top: 1rem;
    }

    .navbar .cta-btn.sm {
        width: auto;
        padding: 0.5rem 1rem;
        margin-top: 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
    }
    .hero-content {
        text-align: center;
        padding: 2rem 1rem;
    }
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
}

/* Sticky Mobile CTA Bar */
.sticky-mobile-bar {
    display: none;
}

@media (max-width: 768px) {
    body {
        padding-bottom: calc(65px + env(safe-area-inset-bottom, 0px));
    }

    .sticky-mobile-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: calc(60px + env(safe-area-inset-bottom, 0px));
        padding-bottom: env(safe-area-inset-bottom, 0px);
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        z-index: 999;
        justify-content: space-around;
        align-items: center;
        padding-left: 1rem;
        padding-right: 1rem;
        gap: 0.75rem;
    }

    .sticky-mobile-bar a {
        flex: 1;
        text-align: center;
        padding: 0.6rem 0;
        font-size: 0.95rem;
        font-weight: 600;
        border-radius: 8px;
        margin-top: 0;
    }

    .sticky-mobile-bar .btn-secondary {
        background: rgba(0, 0, 0, 0.05);
        color: var(--text-main);
        border: 1px solid rgba(0, 0, 0, 0.1);
    }

    .sticky-mobile-bar .btn-primary {
        background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
        color: #fff !important;
    }
}

/* Exit Intent Modal */
.exit-intent-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.exit-intent-overlay.active {
    opacity: 1;
    visibility: visible;
}

.exit-intent-card {
    background: #ffffff;
    width: 90%;
    max-width: 460px;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.exit-intent-overlay.active .exit-intent-card {
    transform: scale(1);
}

.exit-intent-close {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
}

.exit-intent-close:hover {
    color: #333;
}

.exit-intent-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.exit-intent-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.coupon-box {
    background: #f0f7ff;
    border: 2px dashed #0088ff;
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.coupon-code {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #0088ff;
}

.copy-btn {
    background: #0088ff;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}

.copy-btn:hover {
    background: #0066cc;
}

@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

