:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --text-muted: #888888;
    --primary-color: #2D62ED;
    --secondary-color: #1a1a1a;
    --accent-color: #00f0ff;
    --accent-glow: rgba(0, 240, 255, 0.4);
    --border-color: rgba(255, 255, 255, 0.1);
    --font-sans: 'Inter', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    --max-width: 1200px;
    --easing: cubic-bezier(0.23, 1, 0.32, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Background Effects */
.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 15% 50%, rgba(45, 98, 237, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(0, 240, 255, 0.05) 0%, transparent 25%);
    z-index: -1;
    filter: blur(40px);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* Text Reveal Animation */
.text-reveal-wrapper {
    overflow: hidden;
}

.text-reveal {
    transform: translateY(100%);
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.text-reveal.active {
    transform: translateY(0);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(135deg, #fff 0%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    font-family: var(--font-display);
}

.logo img {
    width: 48px;
    height: 48px;
}

.logo-icon {
    display:flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #fff;
    color: #000;
    border-radius: 8px;
    font-weight: 800;
}

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s var(--easing);
}

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

.nav-cta {
    padding: 10px 20px;
    background: #fff;
    color: #000;
    text-decoration: none;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.3s var(--easing);
}

.nav-cta:hover {
    transform: scale(1.05);
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: #fff;
    color: #000;
    text-decoration: none;
    border-radius: 100px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s var(--easing);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
    padding: 16px 32px;
    color: #fff;
    text-decoration: none;
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-weight: 500;
    transition: background 0.3s var(--easing);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.05);
}

/* Sections */
section {
    padding: 120px 20px;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-title {
    font-size: 48px;
    margin-bottom: 20px;
    text-align: center;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 80px;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding-top: 150px;
}

.badge {
    padding: 8px 16px;
    background: rgba(45, 98, 237, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(45, 98, 237, 0.2);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.hero h1 {
    font-size: 80px;
    margin-bottom: 30px;
    letter-spacing: -2px;
}

.hero p {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 50px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 80px;
}

.phone-mockup {
    position: relative;
    z-index: 10;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeUp 1s 0.5s forwards var(--easing);
}

.phone-mockup img {
    max-width: 100%;
    height: 600px;
    border-radius: 40px;
    box-shadow: 0 0 100px rgba(0,0,0,0.5);
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Why Flux - Benefits */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: var(--secondary-color);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s var(--easing);
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.2);
}

.benefit-card i {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.benefit-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.benefit-card p {
    color: var(--text-muted);
    font-size: 15px;
}

/* Bento Grid Features */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(250px, auto);
    gap: 24px;
}

.bento-card {
    background: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s var(--easing);
}

.bento-card:hover {
    border-color: var(--accent-glow);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.05);
    transform: translateY(-5px);
}

.bento-card.large {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #111 100%);
}

.bento-card.medium {
    grid-column: span 2;
}

.bento-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.bento-card p {
    color: var(--text-muted);
    font-size: 15px;
}

/* Pricing */
.pricing-section {
    background: linear-gradient(to bottom, var(--bg-color), #0a0a0a);
}

.pricing-card {
    background: #111;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 32px;
    padding: 60px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.premium-badge {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
    border: none;
    margin: 0 auto 30px;
    display: inline-block;
}

.pricing-card h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.feature-list {
    list-style: none;
    margin: 40px auto;
    text-align: left;
    max-width: 300px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--text-muted);
}

.feature-list li i {
    color: var(--primary-color);
    width: 20px;
}

.price-tag {
    margin-bottom: 40px;
    font-size: 18px;
    color: var(--text-muted);
}

.price-tag .amount {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-display);
}

.price-tag .yearly {
    display: block;
    font-size: 14px;
    margin-top: 5px;
    opacity: 0.7;
}

.full-width {
    width: 100%;
    justify-content: center;
}

/* Privacy & Perfect For */
.privacy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.privacy-item h3 {
    color: #fff;
    margin-bottom: 10px;
}

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

.tags-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
}

.tag {
    padding: 10px 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    color: var(--text-muted);
    font-size: 14px;
}

/* Footer */
.footer {
    padding: 80px 20px 40px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
}

.footer-brand p {
    color: var(--text-muted);
    max-width: 300px;
    margin-top: 15px;
    font-size: 14px;
}

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
}

.footer-bottom {
    text-align: center;
    color: rgba(255,255,255,0.2);
    font-size: 12px;
}

/* Responsiveness */
@media (max-width: 768px) {
    .navbar {
        padding: 20px;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 48px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
    }
    
    .bento-card.large, .bento-card.medium {
        grid-column: span 1;
    }
    
    .pricing-card {
        padding: 30px;
    }
    
    .privacy-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
        align-items: center;
    }
}
