/* Modern Reset & Variables */
:root {
    /* Colors - Dark Theme (Default) */
    --bg-dark: #030712; /* Very dark blue/black */
    --bg-card: #111827; /* Slightly lighter for cards */
    --bg-card-hover: #1f2937;
    
    --primary: rgb(0, 128, 255); /* Blue */
    --primary-glow: rgba(0, 128, 255, 0.6);
    --secondary: rgb(0, 80, 180); /* Darker blue for gradients */
    --accent: rgb(0, 160, 255); /* Lighter blue */
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dark: #0f172a;
    
    --gradient-primary: linear-gradient(135deg, rgb(0, 128, 255), rgb(0, 80, 180));
    --gradient-text: linear-gradient(135deg, #e2e8f0, #94a3b8);
    
    /* Typography */
    --font-main: 'Outfit', sans-serif;
    
    /* Spacing */
    --container-width: 1200px;
    --header-height: 80px;
    
    /* 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 var(--primary-glow);
    
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-full: 9999px;
}

/* Light Theme */
[data-theme="light"] {
    --bg-dark: #e2e8f0; /* More gray background */
    --bg-card: #ffffff; /* Pure white for cards */
    --bg-card-hover: #cbd5e1;
    
    --primary: rgb(0, 128, 255); /* Blue - same */
    --primary-glow: rgba(0, 128, 255, 0.4);
    --secondary: rgb(0, 80, 180); /* Darker blue - same */
    --accent: rgb(0, 160, 255); /* Lighter blue - same */
    
    --text-main: #0f172a; /* Dark text */
    --text-muted: #64748b; /* Medium gray */
    --text-dark: #f8fafc; /* Light text for dark backgrounds */
    
    --gradient-primary: linear-gradient(135deg, rgb(0, 128, 255), rgb(0, 80, 180));
    --gradient-text: linear-gradient(135deg, #475569, #64748b);
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.06);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.08);
    --shadow-glow: 0 0 20px rgba(0, 128, 255, 0.2);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.3s ease, color 0.3s ease;
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

main {
    position: relative;
    z-index: 1;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--text-main);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

ul {
    list-style: none;
}

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

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
        width: 100%;
        max-width: 100%;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    gap: 0.5rem;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--primary-glow);
}

/* Disabled button styles */
.btn:disabled,
.btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    background: #6b7280 !important;
    color: #9ca3af !important;
    box-shadow: none !important;
    transform: none !important;
}

.btn-primary:disabled,
.btn-primary[disabled] {
    background: #6b7280 !important;
    background-image: none !important;
    color: #9ca3af !important;
    box-shadow: none !important;
}

.contact-submit-btn:disabled,
.contact-submit-btn[disabled],
.waitlist-submit-btn:disabled,
.waitlist-submit-btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
    background: #6b7280 !important;
    color: #9ca3af !important;
    box-shadow: none !important;
    transform: none !important;
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-main);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-main);
}

[data-theme="light"] .btn-outline {
    border: 1px solid rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .btn-outline:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: var(--text-main);
}

/* Form styles for light theme */
[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea,
[data-theme="light"] .form-group select {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.2) !important;
    color: var(--text-main) !important;
}

[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group textarea:focus,
[data-theme="light"] .form-group select:focus {
    border-color: var(--primary) !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(0, 128, 255, 0.1) !important;
}

[data-theme="light"] .form-group input::placeholder,
[data-theme="light"] .form-group textarea::placeholder {
    color: var(--text-muted) !important;
    opacity: 0.7 !important;
}

/* Utilities */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-padding {
    padding: 5rem 0;
}
