/* =========================================
   1. Variables & Reset
   ========================================= */
:root {
    /* Brand Colors */
    --primary: #059669;          /* Emerald 600 */
    --primary-dark: #047857;     /* Emerald 700 */
    --primary-light: #d1fae5;    /* Emerald 100 */
    --accent: #10b981;           /* Emerald 500 */
    
    /* Neutral Colors */
    --bg-body: #f8fafc;          /* Slate 50 */
    --bg-surface: #ffffff;
    --text-main: #1f2937;        /* Gray 800 */
    --text-muted: #6b7280;       /* Gray 500 */
    --border-light: #e2e8f0;     /* Slate 200 */

    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 20px rgba(16, 185, 129, 0.15);
    
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;

    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

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

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
}

/* =========================================
   2. Typography & Utilities
   ========================================= */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--text-main);
}

.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-8 { margin-bottom: 4rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

/* =========================================
   3. Header & Nav
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
}

.nav {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

/* =========================================
   4. Hero Section
   ========================================= */
.hero {
    padding-top: 160px; /* Increased top padding */
    padding-bottom: 6rem; /* Increased bottom padding */
    text-align: center;
    background: radial-gradient(circle at 50% 0%, var(--primary-light) 0%, transparent 60%); /* Slightly tighter gradient */
}

.hero-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: white;
    color: var(--primary);
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
    border: 1px solid var(--primary-light);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--text-main), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 90px;
}

.social-proof-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* =========================================
   5. Visual Carousel Section
   ========================================= */
.carousel-section {
    padding: 4rem 0 6rem; /* Increased padding */
    overflow: hidden;
}

.carousel-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), var(--shadow-glow);
    background: transparent;
    border: none;
    aspect-ratio: 16/10;
}

.carousel-track-container {
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
}

.carousel-track {
    padding: 0;
    margin: 0;
    list-style: none;
    position: relative;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide.current-slide {
    opacity: 1;
    z-index: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 20% 20%;
    transform: scale(1.01); /* Slight zoom to hide scrollbars/borders in screenshots */
}

/* Carousel Controls */
.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    position: absolute;
    bottom: -3rem;
    left: 0;
    right: 0;
    z-index: 10;
}

.carousel-indicator {
    border: 0;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    background: var(--text-muted);
    opacity: 0.3;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.carousel-indicator:hover {
    opacity: 1;
}

.carousel-indicator.current-slide {
    background: var(--primary);
    transform: scale(1.2);
    opacity: 1;
}

/* =========================================
   6. Feature Cards Grid
   ========================================= */
.features-section {
    padding: 4rem 0 8rem; /* Increased padding */
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.5)); /* Subtle fade out */
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-muted);
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.feature-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    text-transform: uppercase;
    width: fit-content;
}

.coming-soon-badge {
    position: absolute;
    top: -0.625rem;
    right: 1rem;
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #78350f;
    border-radius: 999px;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
    border: 1px solid #fcd34d;
    z-index: 10;
}


.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 40px;
    height: 40px;
    display: block;
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.feature-title {
    font-size: 1.5rem;
    margin: 0;
    color: var(--text-main);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

.feature-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.feature-list-sm {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.feature-list-sm li {
    font-size: 0.9rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-button {
        width: 36px;
        height: 36px;
    }
    
    .carousel-button--left { left: 0.5rem; }
    .carousel-button--right { right: 0.5rem; }
}

/* =========================================
   6. Footer & Waitlist (Simplified)
   ========================================= */
.waitlist-section {
    background: var(--text-main);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.feedback-form {
    max-width: 600px;
    margin: 2rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.feedback-input {
    padding: 0.875rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    color: white;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: all 0.2s ease;
}

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

.feedback-input::placeholder,
.feedback-textarea::placeholder {
    color: rgba(255,255,255,0.6);
}

.feedback-textarea {
    padding: 0.875rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    color: white;
    font-family: var(--font-sans);
    font-size: 1rem;
    resize: vertical;
    min-height: 120px;
    transition: all 0.2s ease;
}

.feedback-form button {
    margin-top: 0.5rem;
}

.footer {
    background: var(--text-main);
    color: var(--text-muted);
    padding: 2rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.875rem;
    text-align: center;
}

/* =========================================
   7. Responsive
   ========================================= */
@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    
    .showcase-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .showcase-visual {
        order: -1; /* Show image above controls on mobile */
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}


