/* CSS Variables for Light/Dark Mode */
:root {
    --bg-color: #ffffff;
    --text-color: #3c4043;
    --card-bg: #ffffff;
    --border-color: #dadce0;
    --shadow-color: rgba(60,64,67,0.15);
    --primary-color: #1a73e8;
    --primary-hover: #1765cc;
    --secondary-color: #5f6368;
    --success-color: #34a853;
    --success-hover: #137333;
    --nav-bg: #ffffff;
    --footer-bg: #f8f9fa;
}

body.dark-mode {
    --bg-color: #121212;
    --text-color: #e8eaed;
    --card-bg: #2d2e30;
    --border-color: #5f6368;
    --shadow-color: rgba(0,0,0,0.3);
    --primary-color: #1a73e8;
    --primary-hover: #1765cc;
    --secondary-color: #9aa0a6;
    --success-color: #34a853;
    --success-hover: #137333;
    --nav-bg: #2d2e30;
    --footer-bg: #303134;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
    line-height: 1.5;
}

.btn svg {
    flex-shrink: 0;
    vertical-align: middle;
}

/* Primary buttons - blue-green gradient for main CTAs */
.btn-primary {
    background: linear-gradient(135deg, #1a73e8 0%, #34a853 100%);
    color: white;

    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(26, 115, 232, 0.5);
    background: linear-gradient(135deg, #1765cc 0%, #1557b0 100%);
}

/* Secondary buttons - subtle styling for Watch Demo and Get Started */
.btn-secondary {
    background: transparent;
    color: black;
    border: 2px solid #666666;
}

.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: #555555;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: none;
    outline: none;
}

.btn-outline:hover {
    background: var(--hover-bg);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-login {
    background: var(--card-bg);
    color: var(--text-color);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: var(--hover-bg);
}

/* Navigation */
.navbar {
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 12px 0;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 18px;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.nav-logo img {
    width: 32px;
    height: 32px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
    transform: translateY(-1px);
}

.hero{
    margin-top: 10px;
    margin-bottom: 50px;
}

/* Dark Mode Toggle */
.dark-mode-toggle {
    background: none;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-color);
    transition: all 0.3s ease;
    margin-left: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    line-height: 1;
}

.dark-mode-toggle:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-1px);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 16px;
}

.footer-logo img {
    width: 32px;
    height: 32px;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #667eea;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Hide Features, Pricing, Contact links on mobile */
    .nav-links a[href="#features"],
    .nav-links a[href="#pricing"],
    .nav-links a[href="#contact"] {
        display: none;
    }
    
    .nav-links {
        gap: 16px;
        justify-content: flex-end;
    }
    
    .nav-links a {
        font-size: 14px;
        padding: 12px 16px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .section-header h2 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 16px;
    }
    
    .section-header p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 24px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 16px;
        min-height: 48px;
        border-radius: 8px;
        transition: all 0.3s ease;
        touch-action: manipulation;
    }
    
    .btn:active {
        transform: scale(0.98);
    }
    
    .btn-large {
        padding: 16px 32px;
        font-size: 18px;
        min-height: 56px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    /* Improved touch targets */
    .dark-mode-toggle {
        margin-left: 0;
        min-width: 48px;
        min-height: 48px;
        padding: 12px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
    }
    
    /* Better spacing for mobile */
    .container {
        padding: 0 20px;
    }
    
    section {
        padding: 60px 0;
    }
}


:root {
    --primary-color: #1a73e8;
    --secondary-color: #666;
    --text-color: #333;
    --bg-color: #ffffff;
    --card-bg: #ffffff;
    --border-color: #e0e0e0;
    --nav-bg: rgba(255, 255, 255, 0.95);
    --hover-bg: #f8f9fa;
    --hero-bg: var(--nav-bg);
    --hero-text-color: #000000;
    --btn-secondary-color: #000000;
    --footer-heading-color: #ffffff;
    --footer-link-color: #cccccc;
    --footer-text-color: #999999;
    --footer-border-color: #333333;
    --browser-frame-bg: #f8f9fa;
    --browser-header-bg: #e9ecef;
    --browser-dot-bg: #dee2e6;
}

body.dark-mode {
    --primary-color: #4285f4;
    --secondary-color: #aaa;
    --text-color: #e0e0e0;
    --bg-color: #121212;
    --card-bg: #1e1e1e;
    --border-color: #333;
    --nav-bg: rgba(18,18,18);
    --hover-bg:  rgba(255, 255, 255, 0.95);
    --hero-bg: var(--nav-bg);
    --hero-text-color: #e0e0e0;
    --btn-secondary-color: #ffffff;
    --footer-heading-color: #e0e0e0;
    --footer-link-color: #aaaaaa;
    --footer-text-color: #666666;
    --footer-border-color: #555555;
    --browser-frame-bg: #2a2a2a;
    --browser-header-bg: #1a1a1a;
    --browser-dot-bg: #555555;
}

/* Dark mode secondary button styles */
body.dark-mode .btn-secondary {
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

body.dark-mode .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Email Collection Modal Styles */
.email-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.email-modal {
    background: white;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    animation: slideUp 0.3s ease;
}

.email-modal-header {
    padding: 24px 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e8eaed;
    margin-bottom: 24px;
}

.email-modal-header h3 {
    margin: 0;
    color: #1a73e8;
    font-size: 24px;
}

.email-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #5f6368;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.email-modal-close:hover {
    background-color: #f1f3f4;
}

.email-modal-body {
    padding: 0 24px 24px;
}

.email-modal-body p {
    color: #5f6368;
    margin-bottom: 24px;
    font-size: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #3c4043;
}

.form-group input[type="email"],
.form-group input[type="text"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #dadce0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #1a73e8;
}

.feature-checkboxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 8px;
}

.feature-checkboxes label {
    display: flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
    margin-bottom: 0;
}

.feature-checkboxes input[type="checkbox"] {
    margin-right: 8px;
    width: auto;
}

.waitlist-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #1a73e8 0%, #34a853 100%);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}

.waitlist-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 115, 232, 0.3);
}

.waitlist-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.hidden {
    display: none !important;
}

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

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

@media (max-width: 768px) {
    .feature-checkboxes {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .email-modal {
        margin: 16px;
        width: calc(100% - 32px);
        max-height: calc(100vh - 32px);
        border-radius: 16px;
    }
    
    .email-modal-header {
        padding: 20px 20px 0;
        margin-bottom: 20px;
    }
    
    .email-modal-header h3 {
        font-size: 20px;
        line-height: 1.3;
    }
    
    .email-modal-close {
        width: 40px;
        height: 40px;
        font-size: 20px;
        touch-action: manipulation;
    }
    
    .email-modal-body {
        padding: 0 20px 24px;
    }
    
    .form-group input[type="email"],
    .form-group input[type="text"] {
        padding: 16px;
        font-size: 16px;
        border-radius: 12px;
        min-height: 48px;
    }
    
    .waitlist-submit-btn {
        padding: 18px;
        font-size: 18px;
        min-height: 56px;
        border-radius: 12px;
        touch-action: manipulation;
    }
    
    .waitlist-submit-btn:active {
        transform: scale(0.98);
    }
    
    .feature-checkboxes label {
        padding: 12px;
        border-radius: 8px;
        transition: background-color 0.2s;
        min-height: 44px;
        touch-action: manipulation;
    }
    
    .feature-checkboxes label:active {
        background-color: rgba(26, 115, 232, 0.1);
    }
    
    body.dark-mode .feature-checkboxes label:active {
        background-color: rgba(26, 115, 232, 0.2);
    }
}
