/* ============================================
   Vesta AI - Professional & Modern Styles
   Font: Plus Jakarta Sans
   ============================================ */

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

:root {
    --primary: #0F4C81;
    --secondary: #00B4D8;
    --dark: #023047;
    --light: #F8F9FA;
    --white: #FFFFFF;
    --text: #1A202C;
    --text-light: #4A5568;
    --border: rgba(0, 0, 0, 0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
}

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

/* ============================================
   LIQUID GLASS NAVIGATION
   ============================================ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
}

.nav.scrolled::before {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.nav-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--dark);
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

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

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

/* ============================================
   HERO SECTION WITH ANIMATED MESH GRADIENT
   ============================================ */

.hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 0 60px;
    overflow: hidden;
    background: #ffffff;
}

/* Animated Mesh Gradient Background */
.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(at 27% 37%, hsla(215, 98%, 61%, 0.25) 0px, transparent 50%),
        radial-gradient(at 97% 21%, hsla(194, 100%, 43%, 0.20) 0px, transparent 50%),
        radial-gradient(at 52% 99%, hsla(204, 97%, 85%, 0.28) 0px, transparent 50%),
        radial-gradient(at 10% 29%, hsla(256, 96%, 67%, 0.15) 0px, transparent 50%),
        radial-gradient(at 97% 96%, hsla(194, 100%, 70%, 0.22) 0px, transparent 50%),
        radial-gradient(at 33% 50%, hsla(222, 67%, 73%, 0.18) 0px, transparent 50%),
        radial-gradient(at 79% 53%, hsla(343, 68%, 79%, 0.12) 0px, transparent 50%);
    animation: meshMove 20s ease infinite;
    opacity: 1;
}

@keyframes meshMove {
    0%, 100% { 
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    33% { 
        transform: translate(30px, -30px) scale(1.05);
        opacity: 0.95;
    }
    66% { 
        transform: translate(-20px, 20px) scale(0.95);
        opacity: 0.9;
    }
}

.hero .container {
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--dark);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease;
}

/* Gradient Text for Key Words */
.gradient-text {
    background: linear-gradient(135deg, #00B4D8 0%, #0F4C81 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.375rem;
    color: var(--text-light);
    font-weight: 500;
    animation: fadeInUp 0.8s ease 0.2s backwards;
    max-width: 750px;
    margin: 0 auto;
}

/* ============================================
   PRODUCT SECTION
   ============================================ */

.product {
    padding: 100px 0;
    background: var(--white);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--dark);
    margin-bottom: 4rem;
    letter-spacing: -0.01em;
}

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

.feature-card {
    padding: 3rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--secondary);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-light);
    font-size: 1.0625rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 0.625rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.75rem;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 700;
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */

.how-it-works {
    padding: 100px 0;
    background: var(--light);
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-light);
    margin-top: -2rem;
    margin-bottom: 4rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
}

.step h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.step p {
    color: var(--text-light);
    font-size: 1.0625rem;
    line-height: 1.7;
}

/* ============================================
   LAUNCH SECTION
   ============================================ */

.launch {
    padding: 100px 0;
    background: var(--dark);
    text-align: center;
}

.launch-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
}

.launch-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
}

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

.email-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    color: var(--white);
    font-size: 1rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: all 0.3s ease;
}

.email-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.email-input:focus {
    outline: none;
    border-color: var(--secondary);
    background: rgba(255, 255, 255, 0.15);
}

.submit-btn {
    padding: 1rem 2.5rem;
    background: var(--secondary);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.launch-note {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    padding: 2rem 0;
    background: var(--dark);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* ============================================
   TOAST NOTIFICATION
   ============================================ */

.toast {
    position: fixed;
    top: 2rem;
    right: 2rem;
    padding: 1.25rem 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    display: none;
    align-items: center;
    gap: 1rem;
    z-index: 10000;
    animation: slideIn 0.3s ease;
}

.toast.show {
    display: flex;
}

.toast span {
    width: 28px;
    height: 28px;
    background: var(--secondary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.toast p {
    color: var(--text);
    font-weight: 600;
    margin: 0;
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .waitlist-form {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .launch-title {
        font-size: 2rem;
    }
    
    .feature-card {
        padding: 2rem;
    }
    
    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .nav-container {
        padding: 1rem 1.5rem;
    }
    
    .logo-img {
        height: 32px;
    }
    
    .toast {
        right: 1rem;
        left: 1rem;
    }
}