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

:root {
    --primary: #6366F1;
    --primary-dark: #4F46E5;
    --secondary: #10B981;
    --danger: #EF4444;
    --warning: #F59E0B;
    --bg: #0F172A;
    --bg-light: #1E293B;
    --text: #F8FAFC;
    --text-muted: #94A3B8;
    --card-bg: rgba(30, 41, 59, 0.8);
    --gradient-1: #6366F1;
    --gradient-2: #8B5CF6;
    --gradient-3: #EC4899;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
}

.nav-links {
    display: flex;
    gap: 32px;
}

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 24px 80px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
}

.hero-content {
    flex: 1;
    max-width: 560px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2), var(--gradient-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    color: white;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}

.btn-large {
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    color: white;
    padding: 20px 40px;
    font-size: 1.125rem;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}

.play-icon {
    width: 24px;
    height: 24px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
}

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

/* Hero Visual */
.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 
        0 50px 100px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--bg);
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.app-header {
    padding: 20px;
    font-weight: 700;
    font-size: 1.125rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.subscription-list {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sub-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-light);
    border-radius: 12px;
}

.sub-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 1rem;
}

.sub-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sub-name {
    font-weight: 600;
    font-size: 0.9375rem;
}

.sub-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.sub-price {
    font-weight: 600;
    color: var(--secondary);
}

.floating-card {
    position: absolute;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    top: 20%;
    right: -20px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 25%;
    left: -40px;
    animation-delay: 3s;
}

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

.card-icon {
    font-size: 1.5rem;
}

.card-text {
    font-weight: 600;
    font-size: 0.875rem;
    white-space: nowrap;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-light) 100%);
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* CTA Section */
.cta {
    padding: 120px 0;
    text-align: center;
    background: var(--bg);
    position: relative;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
}

.cta .container {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta p {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 40px;
}

/* Footer */
.footer {
    padding: 48px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--bg);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.25rem;
}

.footer-links {
    display: flex;
    gap: 32px;
}

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

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

.footer-copy {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Legal Pages */
.legal-page {
    padding: 140px 24px 80px;
    max-width: 800px;
    margin: 0 auto;
}

.legal-page h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.legal-date {
    color: var(--text-muted);
    margin-bottom: 48px;
    font-size: 0.9375rem;
}

.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 40px 0 16px;
    color: var(--text);
}

.legal-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 24px 0 12px;
    color: var(--text);
}

.legal-content p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-content ul {
    margin: 16px 0;
    padding-left: 24px;
    color: var(--text-muted);
}

.legal-content li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.legal-content a {
    color: var(--primary);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 968px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
        gap: 40px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .phone-mockup {
        width: 240px;
        height: 480px;
    }

    .floating-card {
        display: none;
    }

    .nav-links {
        gap: 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    /* Enhanced Mobile Navigation */
    .nav-container {
        padding: 12px 16px;
    }

    .logo {
        font-size: 1.1rem;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
    }

    .nav-links {
        gap: 16px;
    }

    .nav-links a {
        font-size: 0.8rem;
        padding: 6px 10px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
    }

    /* Enhanced Hero for Mobile */
    .hero {
        padding: 90px 16px 60px;
        min-height: auto;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
        margin-bottom: 20px;
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.2;
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 24px;
        padding: 0 8px;
    }

    .hero-buttons {
        margin-bottom: 32px;
    }

    .btn {
        padding: 14px 24px;
        font-size: 0.9375rem;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .btn-large {
        padding: 16px 28px;
        font-size: 1rem;
    }

    .play-icon {
        width: 20px;
        height: 20px;
    }

    /* Enhanced Stats for Mobile */
    .hero-stats {
        flex-direction: row;
        gap: 24px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .stat {
        align-items: center;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    /* Enhanced Phone Mockup for Mobile */
    .hero-visual {
        margin-top: 20px;
    }

    .phone-mockup {
        width: 200px;
        height: 400px;
        border-radius: 32px;
        padding: 8px;
    }

    .phone-screen {
        border-radius: 24px;
    }

    .app-header {
        padding: 16px;
        font-size: 1rem;
    }

    .subscription-list {
        padding: 10px;
        gap: 8px;
    }

    .sub-item {
        padding: 10px;
        gap: 10px;
        flex-wrap: nowrap;
    }

    .sub-icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        font-size: 0.95rem;
        flex-shrink: 0;
    }

    .sub-info {
        min-width: 0;
        flex: 1;
        overflow: hidden;
    }

    .sub-name {
        font-size: 0.875rem;
        margin-bottom: 1px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .sub-date {
        font-size: 0.7rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .sub-price {
        font-size: 0.875rem;
        flex-shrink: 0;
        margin-left: auto;
        font-weight: 700;
    }

    /* Enhanced Features for Mobile */
    .features {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 40px;
        padding: 0 16px;
    }

    .features-grid {
        gap: 16px;
        padding: 0 16px;
    }

    .feature-card {
        padding: 24px;
        border-radius: 16px;
    }

    .feature-icon {
        font-size: 2rem;
        margin-bottom: 16px;
    }

    .feature-card h3 {
        font-size: 1.125rem;
        margin-bottom: 8px;
    }

    .feature-card p {
        font-size: 0.875rem;
        line-height: 1.6;
    }

    /* Enhanced CTA for Mobile */
    .cta {
        padding: 80px 16px;
    }

    .cta h2 {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }

    .cta p {
        font-size: 1rem;
        margin-bottom: 32px;
        padding: 0 8px;
    }

    /* Enhanced Footer for Mobile */
    .footer {
        padding: 40px 16px;
    }

    .footer-content {
        gap: 20px;
    }

    .footer-brand {
        font-size: 1.1rem;
    }

    .footer-links {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-links a {
        font-size: 0.875rem;
    }

    .footer-copy {
        font-size: 0.75rem;
    }

    /* Enhanced Legal Pages for Mobile */
    .legal-page {
        padding: 100px 16px 60px;
    }

    .legal-page h1 {
        font-size: 1.75rem;
    }

    .legal-date {
        font-size: 0.875rem;
        margin-bottom: 32px;
    }

    .legal-content h2 {
        font-size: 1.25rem;
        margin: 32px 0 12px;
    }

    .legal-content h3 {
        font-size: 1.1rem;
    }

    .legal-content p,
    .legal-content li {
        font-size: 0.9375rem;
        line-height: 1.7;
    }
}

@media (max-width: 380px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.9375rem;
    }

    .stat-value {
        font-size: 1.25rem;
    }

    .phone-mockup {
        width: 190px;
        height: 380px;
    }

    .subscription-list {
        padding: 8px;
        gap: 6px;
    }

    .sub-item {
        padding: 8px;
        gap: 8px;
    }

    .sub-icon {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }

    .sub-name {
        font-size: 0.8rem;
    }

    .sub-date {
        font-size: 0.65rem;
    }

    .sub-price {
        font-size: 0.8rem;
    }
}
