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

/* Prevent horizontal scrolling on mobile */
html, body {
    overflow-x: hidden;
}

body {
    font-family: 'Gilroy', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #222;
    scroll-behavior: smooth;
    background: #f6f8fa;
}

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

/* Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #e5eaf1;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #f8f9fa;
}

.nav-brand {
    /* Remove extra margin since navbar padding handles spacing */
}

.logo {
    height: 40px;
}

.nav-brand h1 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin: 0;
}

.nav-menu {
    display: flex;
    gap: 20px;
}

.nav-actions {
    display: none;
}

.nav-link {
    text-decoration: none;
    color: #333;
    padding: 8px 12px;
}

.nav-link:hover {
    background-color: #e9ecef;
    border-radius: 4px;
}

/* Remove interfering navbar pseudo-element */

/* Hero Section */
.hero {
    background: #fff;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 80px;
    padding: 60px 0 40px 0;
    box-shadow: 0 2px 16px rgba(0,0,0,0.03);
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 2.6rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 1.2rem;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #444;
    margin-bottom: 2.2rem;
}

/* Hero Buttons */
.getstarted-btn, .learnmore-btn {
    display: inline-block;
    padding: 0.85rem 2.2rem;
    border-radius: 32px;
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 0.5rem;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0,80,255,0.08);
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
}

.getstarted-btn {
    background: #0050ff;
    color: #fff;
    border: 2px solid #0050ff;
}

.getstarted-btn:hover {
    background: #003bb3;
    border-color: #003bb3;
}

.learnmore-btn {
    background: #fff;
    color: #0050ff;
    border: 2px solid #0050ff;
}

.learnmore-btn:hover {
    background: #f0f6ff;
}

/* Waitlist Signup Styles */
.waitlist-signup {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    margin-top: 1.5rem;
}

.waitlist-text {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 0;
    max-width: 400px;
    margin: 0 auto;
}

.waitlist-input {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border-radius: 32px;
    border: 1.5px solid #dbeafe;
    font-size: 1rem;
    background: #fff;
    color: #222;
    transition: border 0.2s;
    box-sizing: border-box;
}

.waitlist-input:focus {
    border: 1.5px solid #0050ff;
    outline: none;
}

.waitlist-button {
    background: #05f;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.waitlist-button:hover {
    background: #0044cc;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 85, 255, 0.3);
}

/* Get Started Button */
.getstarted-btn:hover .arrow-icon {
    transform: translateX(4px);
}

.waitlist-success {
    color: #2ecc71;
    font-weight: 600;
    text-align: center;
    padding: 10px;
    background: rgba(46, 204, 113, 0.1);
    border-radius: 25px;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

/* Video Section */
.video-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.video-container {
    max-width: 800px;
    margin: 2rem auto 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.video-container video {
    width: 100%;
    height: auto;
    border-radius: 15px;
    transition: transform 0.3s ease;
    object-fit: contain;
    aspect-ratio: 16/9;
}

.video-container video:hover {
    transform: scale(1.02);
}

/* About Section */
.about {
    padding: 80px 0;
    background: white;
}

.section-content {
    text-align: center;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 2rem auto 3rem;
    line-height: 1.8;
    color: #555;
}

/* Statistics Section */
.stats-section {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2.5rem;
}

.stat-item {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15), 0 4px 16px rgba(0,80,255,0.1);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    min-width: 220px;
    max-width: 320px;
    flex: 1 1 220px;
    text-align: center;
    position: relative;
}

.stat-item h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0050ff;
    margin-bottom: 0.7rem;
}

.stat-item p {
    color: #444;
    font-size: 1rem;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: #f8f9fa;
}

.features-grid {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2.5rem;
}

.feature-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15), 0 4px 16px rgba(0,80,255,0.1);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    min-width: 220px;
    max-width: 320px;
    flex: 1 1 220px;
    text-align: center;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2), 0 8px 20px rgba(0,80,255,0.15);
}

.feature-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon img {
    width: 48px;
    height: 48px;
    filter: invert(15%) sepia(85%) saturate(1000%) hue-rotate(200deg);
}

.feature-card h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: white;
}

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

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border-radius: 12px;
    border: 1.5px solid #dbeafe;
    margin-bottom: 1.2rem;
    font-size: 1rem;
    background: #fff;
    color: #222;
    transition: border 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border: 1.5px solid #0050ff;
    outline: none;
}

.contact-form button {
    background: #0050ff;
    color: #fff;
    border: none;
    border-radius: 32px;
    padding: 0.85rem 2.2rem;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.contact-form button:hover {
    background: #003bb3;
}

/* Footer */
.footer {
    background: #fff;
    color: #888;
    text-align: center;
    padding: 2rem 0 1rem 0;
    font-size: 1rem;
    border-top: 1px solid #e5eaf1;
    margin-top: 2rem;
}

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

.social-media {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.follow-text {
    margin: 0;
    font-size: 1rem;
    color: #666;
}

.social-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-link {
    display: inline-block;
    transition: transform 0.2s, opacity 0.2s;
}

.social-link:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}

.social-icon {
    width: 24px;
    height: 24px;
    filter: grayscale(100%);
    transition: filter 0.2s;
}

.social-link:hover .social-icon {
    filter: none;
}

.copyright {
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Header and Navigation */
    .navbar {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .nav-menu {
        gap: 15px;
    }
    
    .nav-link {
        padding: 6px 10px;
        font-size: 14px;
    }
    
    /* Hero Section */
    .hero {
        padding: 40px 20px 30px 20px;
        margin-top: 120px;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 2rem !important;
        line-height: 1.2;
        margin-bottom: 1rem;
        padding: 0 10px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        padding: 0 10px;
    }
    
    /* Waitlist Form */
    .waitlist-form {
        flex-direction: column;
        gap: 15px;
    }
    
    .waitlist-input {
        width: 100%;
        padding: 12px 16px;
        font-size: 16px; /* Prevents zoom on iOS */
        -webkit-appearance: none;
        border-radius: 12px;
    }
    
    .getstarted-btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 16px;
    }
    
    /* Video Section */
    .video-section {
        padding: 60px 0;
    }
    
    .video-container {
        margin: 1.5rem 20px 0;
    }
    
    .video-container video {
        object-fit: contain;
        background-color: #000;
        aspect-ratio: 16/9;
        max-height: 250px;
    }
    
    /* Grid Layouts */
    .features-grid, .stats-section {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .feature-card, .stat-item {
        min-width: unset;
        max-width: unset;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    /* Contact Form */
    .contact-form {
        margin: 2rem 20px 0;
    }
    
    .contact-form input,
    .contact-form textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        -webkit-appearance: none;
    }
    
    /* Section Titles */
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    /* Section Content Spacing */
    .section-content {
        margin: 1.5rem auto 2.5rem;
        padding: 0 15px;
    }
    
    /* Container Padding */
    .container {
        padding: 0 15px;
    }
    
    /* Section Padding */
    .about, .features, .contact {
        padding: 60px 0;
    }
    
    /* Footer Mobile */
    .social-links {
        gap: 0.8rem;
    }
    
    .social-icon {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    /* Extra small screens */
    .hero-content h1 {
        font-size: 1.5rem !important;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    /* Extra small mobile section spacing */
    .section-content {
        margin: 1.2rem auto 2rem;
        padding: 0 20px;
    }
    
    .navbar {
        padding: 0.8rem;
    }
    
    .nav-menu {
        gap: 10px;
    }
    
    .waitlist-signup {
        padding: 20px;
        margin: 2rem 15px 0 15px;
    }
    
    .waitlist-text {
        padding: 0 10px;
    }
    
    .feature-card, .stat-item {
        padding: 1.5rem 1rem;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 150px;
    }
    
    .hero {
        margin-top: 100px;
    }
}