:root {
    --bg-color: #09090b;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-color: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.5);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

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

h1, h2, h3, .logo {
    font-family: 'Outfit', sans-serif;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(9, 9, 11, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--accent-color);
}

nav a {
    color: var(--text-primary);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.95rem;
    transition: color 0.3s;
}

nav a:hover:not(.btn-primary) {
    color: var(--accent-color);
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 0.6rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    display: inline-block;
}

.btn-primary {
    background: var(--accent-color);
    color: #fff;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary:hover {
    background: #2563eb;
    box-shadow: 0 6px 20px var(--accent-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.large {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
}

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

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

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.cta-group {
    display: flex;
    gap: 1rem;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-left: 2rem;
}

.glass-orb {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-color) 0%, rgba(59, 130, 246, 0) 70%);
    filter: blur(80px);
    z-index: -1;
    opacity: 0.5;
    animation: pulse 8s infinite alternate;
}

.mockup-img {
    max-width: 320px;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255,255,255,0.15);
    transform: perspective(1000px) rotateY(-12deg) rotateX(5deg);
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-visual:hover .mockup-img {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
}

/* Features */
.features {
    padding: 5rem 5%;
    position: relative;
}

.features-header {
    text-align: center;
    margin-bottom: 6rem;
}

.section-title {
    font-size: 2.8rem;
    line-height: 1.2;
}

/* Alternating Feature Rows */
.feature-row {
    display: flex;
    align-items: center;
    gap: 6rem;
    margin-bottom: 8rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-row-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.phone-frame {
    position: relative;
    width: 260px;
    flex-shrink: 0;
}

.phone-frame.wide {
    width: 340px;
}

.phone-frame img {
    width: 100%;
    height: auto;
    border-radius: 36px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.1);
    display: block;
}

.feature-row-content {
    flex: 1;
}

.feature-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.feature-row-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.feature-row-content p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 420px;
}

/* CTA Section */
.cta-section {
    padding: 8rem 5%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    border-top: 1px solid var(--glass-border);
}

.cta-section h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    line-height: 1.1;
}

.cta-section p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 480px;
}

.waitlist-form {
    display: flex;
    gap: 1rem;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
}

.waitlist-form input {
    flex: 1;
    padding: 0.8rem 1.5rem;
    border-radius: 999px;
    border: 1px solid var(--glass-border);
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.waitlist-form input:focus {
    border-color: var(--accent-color);
}

/* Footer */
footer {
    padding: 2rem 5%;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--text-secondary);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(1.2); opacity: 0.7; }
}

.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
}

.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1.2s forwards ease-out;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

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

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 7rem;
    }
    
    .hero h1 { font-size: 3.5rem; }
    
    .cta-group {
        justify-content: center;
        flex-direction: column;
    }
    
    .hero-visual {
        margin-top: 4rem;
        padding-left: 0;
    }
    
    .feature-row,
    .feature-row.reverse {
        flex-direction: column;
        gap: 3rem;
        margin-bottom: 5rem;
        text-align: center;
    }

    .feature-row-content p {
        max-width: 100%;
    }

    .section-title {
        font-size: 2rem;
    }
    
    .waitlist-form {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav a {
        display: none;
    }
    nav a.btn-primary {
        display: inline-block;
    }
}
