:root {
    /* Color Palette - Modern Light Theme */
    --bg-body: #F9FAFB;      /* Cool gray 50 */
    --bg-surface: #FFFFFF;   /* White */
    --text-main: #111827;    /* Gray 900 */
    --text-muted: #6B7280;   /* Gray 500 */
    
    --primary: #4F46E5;      /* Indigo 600 */
    --primary-hover: #4338CA; /* Indigo 700 */
    --primary-light: #EEF2FF; /* Indigo 50 */
    
    --border-light: #E5E7EB; /* Gray 200 */
    
    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Spacing */
    --space-container: 20px;
    
    /* UI Elements */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 24px;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.5;
    font-size: 14px; /* Smaller base font as requested */
    -webkit-font-smoothing: antialiased;
}

/* Typography Overrides */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-main);
    font-weight: 700;
    letter-spacing: -0.025em; /* Tighter tracking for modern look */
    line-height: 1.2;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.25rem; }

p {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

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

/* Utility Classes */
.container {
    max-width: 1100px; /* Slightly tighter container */
    margin: 0 auto;
    padding: 0 var(--space-container);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.875rem; /* 14px */
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.btn-primary {
    background-color: var(--primary);
    color: #ffffff;
    box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: white;
    color: var(--text-main);
    border-color: var(--border-light);
    box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
    background-color: var(--bg-body);
    border-color: #D1D5DB;
}

/* Navigation */
header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 1.125rem;
    color: var(--text-main);
}
.logo i {
    color: var(--primary);
    font-size: 1.25rem;
}
.logo span {
    color: var(--primary);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
}

.hero-tag {
    display: inline-block;
    padding: 4px 12px;
    background-color: var(--primary-light);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero p {
    font-size: 1.125rem; /* Slightly larger for intro text */
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

.hero-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* Features */
.features {
    padding: 60px 0;
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.feature-card {
    padding: 24px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    background: var(--bg-body);
    transition: all 0.2s ease;
}

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

.icon-box {
    width: 40px;
    height: 40px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    margin-bottom: 8px;
    font-size: 1rem;
}

.feature-card p {
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* CTA Section */
.cta {
    padding: 80px 0;
}

.cta-box {
    background-color: var(--primary);
    color: white;
    border-radius: var(--radius-lg);
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box h2 {
    color: white;
    margin-bottom: 16px;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 500px;
    margin: 0 auto 32px auto;
}

.cta-box .btn {
    background-color: white;
    color: var(--primary);
    border: none;
}
.cta-box .btn:hover {
    background-color: #f3f4f6;
    transform: translateY(-2px);
}

/* Auth / Forms */
.auth-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.auth-box {
    margin: auto;
    width: 100%;
    max-width: 400px;
    padding: 40px 24px;
}

.card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

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

.form-label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-main);
}

.form-input {
    width: 100%;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    font-family: inherit;
    font-size: 0.875rem;
    transition: border-color 0.2s;
    background: #fff;
    color: var(--text-main);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

/* Footer */
footer {
    padding: 32px 0;
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-light);
}

/* Mobile Responsive */
@media (max-width: 640px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    
    .hero { padding: 60px 0; }
    
    .hero-btns {
        flex-direction: column;
        padding: 0 20px;
    }
    .hero-btns .btn { width: 100%; }
    
    .card {
        padding: 24px 20px;
        border: none;
        box-shadow: none;
        background: transparent;
    }
    
    .auth-box {
        padding: 20px;
    }
}
