/* === Reset & Base === */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Oxygen,
        sans-serif;
    color: #1e293b;
    background: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a {
    color: inherit;
    text-decoration: none;
}
img {
    max-width: 100%;
    display: block;
}
ul {
    list-style: none;
}

/* === Typography === */
h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}
h2 {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
}
h3 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
}
p {
    color: #475569;
}

/* === Layout === */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.section {
    padding: 5rem 0;
}
.section--alt {
    background: #f8fafc;
}
.section--dark {
    background: #0f172a;
    color: #f8fafc;
}
.section--dark p {
    color: #94a3b8;
}

/* === Header === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e2e8f0;
    transition: box-shadow 0.3s;
}
.header.scrolled {
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.08);
}
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.logo {
    font-size: 1.375rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.nav a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #475569;
    transition: color 0.2s;
}
.nav a:hover,
.nav a.active {
    color: #2563eb;
}
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #1e293b;
    margin: 5px 0;
    transition: all 0.3s;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}
.btn--primary {
    background: #2563eb;
    color: #fff;
}
.btn--primary:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}
.btn--outline {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}
.btn--outline:hover {
    background: #2563eb;
    color: #fff;
}
.btn--white {
    background: #fff;
    color: #1e293b;
}
.btn--white:hover {
    background: #f1f5f9;
    transform: translateY(-1px);
}
.btn--ghost {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}
.btn--ghost:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* === Hero === */
.hero {
    padding: 10rem 0 6rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #f8fafc;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            ellipse at 70% 20%,
            rgba(37, 99, 235, 0.15) 0%,
            transparent 60%
        ),
        radial-gradient(
            ellipse at 30% 80%,
            rgba(124, 58, 237, 0.1) 0%,
            transparent 60%
        );
}
.hero .container {
    position: relative;
    z-index: 1;
}
.hero p {
    color: #94a3b8;
    font-size: 1.25rem;
    max-width: 560px;
    margin: 1.25rem 0 2rem;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.hero-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.15);
    color: #60a5fa;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(37, 99, 235, 0.25);
}

/* === Stats === */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 3rem 0;
}
.stat {
    text-align: center;
}
.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-label {
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 0.25rem;
    font-weight: 500;
}

/* === Section Header === */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3.5rem;
}
.section-header p {
    margin-top: 1rem;
    font-size: 1.0625rem;
}
.section-label {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #2563eb;
    margin-bottom: 0.75rem;
}

/* === Cards Grid === */
.card-grid {
    display: grid;
    gap: 1.5rem;
}
.card-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}
.card-grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

.card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
}
.card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}
.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(135deg, #eff6ff, #e0e7ff);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: #2563eb;
}
.card-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 1.75;
}
.card h3 {
    margin-bottom: 0.75rem;
}
.card p {
    font-size: 0.9375rem;
}

/* === Feature Row === */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 3rem 0;
}
.feature-row + .feature-row {
    border-top: 1px solid #e2e8f0;
}
.feature-visual {
    background: linear-gradient(135deg, #eff6ff, #e0e7ff);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
}
.feature-visual svg {
    width: 100%;
    max-width: 240px;
    height: auto;
}
.feature-content h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}
.feature-content p {
    margin-bottom: 1.5rem;
}
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}
.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.9375rem;
    color: #475569;
}
.feature-list li::before {
    content: "✓";
    color: #2563eb;
    font-weight: 700;
    width: 20px;
    height: 20px;
    background: #eff6ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* === CTA === */
.cta {
    text-align: center;
    padding: 5rem 0;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: #f8fafc;
}
.cta h2 {
    margin-bottom: 1rem;
}
.cta p {
    color: #94a3b8;
    font-size: 1.125rem;
    max-width: 480px;
    margin: 0 auto 2rem;
}
.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* === Values === */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.value-card {
    text-align: center;
    padding: 2rem 1.5rem;
}
.value-icon {
    margin-bottom: 1rem;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
}
.value-icon svg {
    width: 36px;
    height: 36px;
    stroke-width: 1.5;
}
.value-card h3 {
    margin-bottom: 0.75rem;
}

/* === Process === */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.process-step {
    text-align: center;
    padding: 1.5rem;
}
.process-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #2563eb;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    margin: 0 auto 1rem;
}
.process-step h3 {
    margin-bottom: 0.5rem;
}
.process-step p {
    font-size: 0.875rem;
}

/* === Contact Form === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}
.form-group {
    margin-bottom: 1.25rem;
}
.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.375rem;
    color: #334155;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    font-size: 0.9375rem;
    font-family: inherit;
    transition: border-color 0.2s;
    background: #fff;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.contact-item {
    display: flex;
    gap: 1rem;
}
.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    flex-shrink: 0;
}
.contact-item h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}
.contact-item p {
    font-size: 0.9375rem;
}

/* === Footer === */
.footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 4rem 0 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #1e293b;
}
.footer-brand p {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    max-width: 280px;
}
.footer-col h4 {
    color: #f8fafc;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.footer-col a {
    display: block;
    font-size: 0.875rem;
    padding: 0.25rem 0;
    transition: color 0.2s;
}
.footer-col a:hover {
    color: #e2e8f0;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    font-size: 0.8125rem;
}

/* === Responsive === */
@media (max-width: 1024px) {
    .card-grid--3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    h1 {
        font-size: 2.25rem;
    }
    h2 {
        font-size: 1.75rem;
    }
    .section {
        padding: 3.5rem 0;
    }
    .hero {
        padding: 8rem 0 4rem;
    }
    .nav {
        display: none;
    }
    .nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 1.5rem;
        gap: 1rem;
        border-bottom: 1px solid #e2e8f0;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    }
    .nav-toggle {
        display: block;
    }
    .card-grid--3,
    .card-grid--2 {
        grid-template-columns: 1fr;
    }
    .feature-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .values-grid {
        grid-template-columns: 1fr;
    }
    .process-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    .hero-actions {
        flex-direction: column;
    }
    .hero-actions .btn {
        text-align: center;
        justify-content: center;
    }
}
