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

:root {
    --primary-color: #8b5cf6;
    --secondary-color: #d946ef;
    --accent-color: #f472b6;
    --bg-color: #0f172a;
    --card-bg: rgba(30, 41, 59, 0.7);
    --text-main: #f8fafc;
    --text-muted: #cbd5e1;
    --font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --nav-height: 70px;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    /* Anime style cosmic background */
    background: radial-gradient(circle at top right, rgba(139, 92, 246, 0.15) 0%, transparent 40%),
                radial-gradient(circle at bottom left, rgba(217, 70, 239, 0.1) 0%, transparent 40%),
                var(--bg-color);
    background-attachment: fixed;
    padding-top: var(--nav-height); /* For fixed navbar */
}

h1, h2, h3, h4 {
    font-weight: 700;
}

h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 2.2rem;
    color: transparent;
    background: linear-gradient(90deg, #fff, var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 0 20px rgba(244, 114, 182, 0.3);
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
}

.nav-links {
    display: none; /* Hidden on mobile by default */
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-cta {
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid var(--primary-color);
    color: #fff;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--primary-color);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
}

/* Button */
.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.5);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(217, 70, 239, 0.6);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 4rem 1.5rem;
    min-height: calc(100vh - var(--nav-height));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Magic circles decorative background in hero */
.hero::before {
    content: '✹';
    position: absolute;
    font-size: 40rem;
    color: rgba(139, 92, 246, 0.05);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 60s linear infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.hero-text {
    flex: 1;
    text-align: center;
    animation: fadeInLeft 1s ease-out forwards;
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

.headline {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 20px rgba(244, 114, 182, 0.3);
    line-height: 1.2;
}

.sub-headline {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: var(--text-muted);
}

/* Hero Visual & Dynamic Card */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    animation: fadeInRight 1s ease-out forwards;
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

.dynamic-card {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ring-animation {
    position: absolute;
    border-radius: 50%;
    border: 2px dashed rgba(139, 92, 246, 0.3);
    animation: spin linear infinite;
}

.ring-1 {
    width: 250px;
    height: 250px;
    animation-duration: 20s;
    border-color: rgba(139, 92, 246, 0.5);
}

.ring-2 {
    width: 320px;
    height: 320px;
    animation-duration: 30s;
    animation-direction: reverse;
    border-color: rgba(217, 70, 239, 0.3);
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

.card-glass {
    position: relative;
    z-index: 10;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    padding: 2rem;
    width: 80%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 20px rgba(139, 92, 246, 0.2) inset;
    animation: float 4s ease-in-out infinite;
}

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

.status-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    font-weight: bold;
    color: #fff;
    font-size: 1.1rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    background-color: #10b981;
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 10px #10b981;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.speed-indicator {
    margin-bottom: 1rem;
}

.speed-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.ms-text {
    color: var(--accent-color);
    font-weight: bold;
}

.speed-bar {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    overflow: hidden;
}

.speed-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #34d399);
    width: 85%;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.speed-fill.fast {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    width: 95%;
    box-shadow: 0 0 10px rgba(217, 70, 239, 0.5);
}

/* Layout Utilities */
section {
    padding: 5rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

/* Cards Base */
.card, .price-card, .review-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.card::after, .price-card::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-20deg);
    transition: left 0.5s ease;
}

.card:hover::after, .price-card:hover::after {
    left: 150%;
}

.card:hover, .price-card:hover, .review-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Advantages */
.emoji-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.2));
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

/* Pricing */
.pricing-table {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.price-card {
    position: relative;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
}

.price-card.popular {
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.15), var(--card-bg));
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(217, 70, 239, 0.4);
}

.price {
    font-size: 2.8rem;
    font-weight: bold;
    margin: 1.5rem 0;
    color: #fff;
    text-shadow: 0 2px 10px rgba(139, 92, 246, 0.5);
}

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

.price-card ul {
    list-style: none;
    margin-bottom: 2.5rem;
    text-align: left;
    flex-grow: 1;
}

.price-card li {
    margin-bottom: 1rem;
    padding-left: 1.8rem;
    position: relative;
    color: var(--text-muted);
}

.price-card li::before {
    content: '✦';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 1.1rem;
}

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

.user-info {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.avatar-emoji {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 0 10px rgba(217, 70, 239, 0.3);
}

.user-name {
    font-weight: bold;
    color: var(--accent-color);
}

.review-card p {
    font-style: italic;
    color: var(--text-muted);
}

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    border-left: 4px solid var(--primary-color);
    transition: transform 0.2s ease;
}

.faq-item:hover {
    transform: translateX(5px);
    background: rgba(30, 41, 59, 0.9);
}

.faq-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: #fff;
}

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

/* Footer */
footer {
    background: rgba(15, 23, 42, 0.95);
    padding: 4rem 1.5rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-links a {
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    transition: width 0.3s ease;
}

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

.footer-links a:hover::after {
    width: 100%;
}

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

/* Desktop Styles */
@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }

    .hero-container {
        flex-direction: row;
        text-align: left;
    }
    
    .hero-text {
        text-align: left;
    }

    .headline {
        font-size: 4rem;
    }
    
    .sub-headline {
        font-size: 1.3rem;
    }

    .cards-container {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .streaming-ai .cards-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-table {
        grid-template-columns: repeat(3, 1fr);
        align-items: center;
    }
    
    .price-card.popular {
        transform: scale(1.05);
        z-index: 10;
    }
    
    .price-card.popular:hover {
        transform: scale(1.05) translateY(-8px);
    }
}
