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

:root {
    /* Colors from PALETTE.md */
    --background: #ffffff;
    --foreground: #1f2937;
    --muted: #f9fafb;
    --muted-foreground: #6b7280;
    --border: #e5e7eb;
    --primary: #111827;
    --primary-foreground: #ffffff;
    --secondary: #f3f4f6;
    --secondary-foreground: #374151;
    --accent: #f3f4f6;
    --accent-foreground: #374151;
    --ring: #3b82f6;
    
    /* Tailwind colors */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    --blue-50: #eff6ff;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    
    --green-100: #dcfce7;
    --green-600: #16a34a;
    
    --purple-100: #f3e8ff;
    --purple-600: #9333ea;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--foreground);
    background-color: var(--background);
    line-height: 1.6;
}

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

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

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

/* Desktop: Show both icon and logo */
.logo-icon {
    display: block;
}

.logo-full {
    display: block;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
}

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

.nav-link {
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--gray-900);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--blue-600);
    color: var(--primary-foreground);
}

.btn-primary:hover {
    background-color: var(--blue-700);
}

.btn-outline {
    background-color: var(--background);
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}

.btn-outline:hover {
    background-color: var(--gray-50);
}

.btn-large {
    padding: 14px 28px;
    font-size: 18px;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(to bottom, var(--gray-50), var(--background));
    text-align: center;
}

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

.badge {
    display: inline-block;
    margin-bottom: 24px;
}

.badge-text {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--green-100);
    color: var(--green-600);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-description {
    font-size: 20px;
    color: var(--gray-600);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--gray-600);
    font-weight: 500;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.section-description {
    font-size: 18px;
    color: var(--gray-600);
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: var(--background);
}

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

.feature-card {
    padding: 32px;
    background-color: var(--background);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.2s;
}

.feature-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon.blue {
    background-color: var(--blue-50);
    color: var(--blue-600);
}

.feature-icon.green {
    background-color: var(--green-100);
    color: var(--green-600);
}

.feature-icon.purple {
    background-color: var(--purple-100);
    color: var(--purple-600);
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.feature-description {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background-color: var(--gray-50);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    text-align: center;
}

.step-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--blue-600);
    color: var(--primary-foreground);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 24px;
}

.step-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.step-description {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.6;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
    color: var(--primary-foreground);
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary-foreground);
}

.cta-description {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.95;
    line-height: 1.6;
}

.cta-note {
    margin-top: 16px;
    font-size: 14px;
    opacity: 0.9;
}

.cta .btn-primary {
    background-color: var(--primary-foreground);
    color: var(--blue-600);
}

.cta .btn-primary:hover {
    background-color: var(--gray-100);
}

/* Footer */
.footer {
    padding: 60px 0 32px;
    background-color: var(--gray-900);
    color: var(--gray-300);
}

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

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-foreground);
    margin-bottom: 8px;
}

.footer-tagline {
    font-size: 14px;
    color: var(--gray-400);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-heading {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-foreground);
    margin-bottom: 16px;
}

.footer-link {
    display: block;
    color: var(--gray-400);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--primary-foreground);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--gray-800);
    text-align: center;
}

.footer-copyright {
    font-size: 14px;
    color: var(--gray-500);
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Mobile: Hide full logo, show icon only */
    .logo-full {
        display: none;
    }
    
    .logo-icon {
        display: block;
    }
    
    .logo-link {
        gap: 0;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-description {
        font-size: 18px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-stats {
        gap: 40px;
    }
    
    .nav {
        gap: 16px;
    }
    
    .nav-link {
        display: none;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .cta-title {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .features,
    .how-it-works,
    .cta {
        padding: 60px 0;
    }
}

