/* AduanAI Index Page Styles - Minimalist & Bright */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
    background: #ffffff;
    color: #111827;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url('/hero-bg.webp');
    background-size: cover;
    background-position: center top;
    opacity: 0.05;
    pointer-events: none;
}

html, body {
    height: 100%;
}

html {
    scroll-behavior: smooth;
}

::selection {
    background: #dbeafe;
    color: #2563eb;
}

::-moz-selection {
    background: #dbeafe;
    color: #2563eb;
}

:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #fafbfc;
}

::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* Header - Minimal */
.header {
    background: #ffffff;
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f3f4f6;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    color: #111827;
}

.logo-text span {
    color: #3b82f6;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #6b7280;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #3b82f6;
}

.header-cta .cta-button {
    background: #3b82f6;
    color: white;
    padding: 0.625rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.header-cta .cta-button:hover {
    background: #2563eb;
}

/* Main Content */
.page-index-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

/* Hero Section - Bright & Clean */
.hero {
    padding: 5rem 1.5rem 6rem;
    text-align: center;
    background: #ffffff;
}

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

.hero-badge {
    display: inline-block;
    background: #eff6ff;
    color: #3b82f6;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid #dbeafe;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    color: #111827;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.gradient-text {
    color: #3b82f6;
}

.hero p {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.primary-button {
    background: #3b82f6;
    color: white;
    padding: 1rem 2rem;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.primary-button:hover {
    background: #2563eb;
}

.secondary-button {
    background: #ffffff;
    color: #111827;
    padding: 1rem 2rem;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid #d1d5db;
    transition: all 0.2s ease;
}

.secondary-button:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    background: #eff6ff;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    padding: 2rem;
    background: #fafbfc;
    border-radius: 12px;
    border: 1px solid #f3f4f6;
    max-width: 600px;
    margin: 0 auto;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-family: 'SF Mono', 'Consolas', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8125rem;
    color: #9ca3af;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: #e5e7eb;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 500px;
    margin: 0 auto;
}

/* Features Section - Bright Cards */
.features {
    padding: 5rem 1.5rem;
    background: #fafbfc;
}

.features-container {
    max-width: 1100px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #f3f4f6;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.feature-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: #3b82f6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: #6b7280;
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* How It Works Section */
.how-it-works {
    padding: 5rem 1.5rem 6rem;
    background: #ffffff;
}

.steps {
    display: flex;
    justify-content: center;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto 3rem;
}

.step {
    text-align: center;
    flex: 1;
    position: relative;
    max-width: 260px;
}

.step-number {
    width: 64px;
    height: 64px;
    background: #3b82f6;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'SF Mono', 'Consolas', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 2;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 32px;
    left: calc(50% + 40px);
    width: calc(100% - 40px);
    height: 2px;
    background: #e5e7eb;
    z-index: 1;
}

.step h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
}

.step p {
    color: #6b7280;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.cta-section {
    text-align: center;
}

/* Footer - Clean */
.footer {
    background: #fafbfc;
    border-top: 1px solid #f3f4f6;
    padding: 3rem 1.5rem 1.5rem;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 2rem;
    /* border-bottom: 1px solid #e5e7eb; */
}

.footer-brand p {
    color: #9ca3af;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    max-width: 300px;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #3b82f6;
}

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 0.8125rem;
}

/* Responsive */
@media (max-width: 968px) {
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .steps {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }

    .step {
        max-width: 400px;
    }

    .step:not(:last-child)::after {
        display: none;
    }

    .hero h1 {
        font-size: 2.75rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 1rem 1.25rem;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 3rem 1rem 4rem;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero p {
        font-size: 1.0625rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
        text-align: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .stat-divider {
        width: 60px;
        height: 1px;
    }

    .features,
    .how-it-works {
        padding: 3rem 1rem;
    }

    .section-header h2 {
        font-size: 1.875rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-brand {
        order: 1;
    }

    .footer-links {
        order: 2;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }

    .footer-brand p {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.875rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .step-number {
        width: 56px;
        height: 56px;
        font-size: 1.25rem;
    }
}