@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
    --primary: #3b82f6;
    --secondary: #10b981;
    --bg: #f8fafc;
    --surface: #ffffff;
    --text: #111827;
    --subtext: #6b7280;
    --line: #e5e7eb;
    --shadow-soft: 0 12px 32px rgba(15, 23, 42, 0.08);
    --shadow-card: 0 8px 24px rgba(15, 23, 42, 0.06);
    --radius-lg: 20px;
    --radius-md: 16px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.55;
}

.site-shell {
    width: min(1240px, calc(100% - 32px));
    margin: 16px auto 28px;
    background: transparent;
}

.top-strip {
    display: none;
}

.main-nav {
    position: sticky;
    top: 12px;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 12px 16px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-weight: 800;
    font-size: 20px;
}

.brand-icon {
    font-size: 0;
    color: transparent;
    background: linear-gradient(135deg, #dbeafe, #ecfeff);
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    line-height: 1;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.18);
}

.brand-icon::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 22px;
    height: 22px;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='%233b82f6' stroke-width='2'/%3E%3Cpath d='M12 4.5 15.4 12 12 10.7 8.6 12Z' fill='%233b82f6'/%3E%3Cpath d='M12 19.5 8.6 12 12 13.3 15.4 12Z' fill='%2393c5fd'/%3E%3Ccircle cx='12' cy='12' r='1.6' fill='%231d4ed8'/%3E%3C/svg%3E") center / contain no-repeat;
    font-family: initial !important;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
    flex: 1;
}

.nav-link {
    text-decoration: none;
    color: #1f2937;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 10px 14px;
    transition: 0.2s ease;
    text-align: center;
}

.nav-link:hover {
    background: #eff6ff;
    color: #1d4ed8;
}

.nav-link.is-cta {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.24);
}

.nav-link.is-cta:hover {
    background: #2563eb;
    border-color: #2563eb;
}

.hero {
    margin-top: 20px;
    background: radial-gradient(circle at 85% 20%, rgba(59, 130, 246, 0.14), transparent 38%), #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 40px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 24px;
    align-items: center;
}

.hero-lead {
    margin: 0 0 14px;
    font-size: 48px;
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.hero-sub {
    margin: 0 0 20px;
    max-width: 56ch;
    color: var(--subtext);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 12px;
    padding: 11px 16px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid transparent;
    transition: 0.2s ease;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.24);
}

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

.btn-ghost {
    background: #fff;
    color: #1f2937;
    border-color: #d1d5db;
}

.btn-ghost:hover {
    border-color: #93c5fd;
    color: #1d4ed8;
}

.hero-panel {
    background: #f8fbff;
    border: 1px solid #dbeafe;
    border-radius: var(--radius-md);
    padding: 14px;
}

.stack-card {
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 12px;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px;
    background: #fff;
    box-shadow: var(--shadow-card);
    margin-bottom: 10px;
}

.stack-card:last-child {
    margin-bottom: 0;
}

.stack-card img {
    width: 84px;
    height: 84px;
    border-radius: 10px;
    object-fit: cover;
}

.stack-card h3 {
    margin: 0 0 4px;
    font-size: 18px;
    line-height: 1.2;
}

.stack-card p {
    margin: 0;
    color: var(--subtext);
    font-size: 14px;
}

.section {
    margin-top: 22px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 34px;
}

.kicker {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
}

.section-title {
    margin: 0 0 12px;
    font-size: 32px;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.section-text {
    margin: 0;
    color: var(--subtext);
    max-width: 68ch;
}

.problem-list {
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.problem-list li {
    position: relative;
    padding-left: 18px;
    color: var(--subtext);
}

.problem-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--secondary);
}

.solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: center;
}

.solution-image {
    width: 100%;
    border-radius: var(--radius-md);
    border: 1px solid #dbeafe;
    box-shadow: var(--shadow-card);
    object-fit: cover;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.feature-card {
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: var(--shadow-card);
    padding: 16px;
}

.feature-card::before {
    content: "◦";
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    color: #1d4ed8;
    background: linear-gradient(135deg, #dbeafe, #ecfeff);
    margin-bottom: 10px;
}

.cards .feature-card:nth-child(6n + 1)::before {
    content: "✉";
}

.cards .feature-card:nth-child(6n + 2)::before {
    content: "⚙";
}

.cards .feature-card:nth-child(6n + 3)::before {
    content: "⧉";
}

.cards .feature-card:nth-child(6n + 4)::before {
    content: "🏭";
}

.cards .feature-card:nth-child(6n + 5)::before {
    content: "✓";
}

.cards .feature-card:nth-child(6n + 6)::before {
    content: "↗";
}

.feature-card h3 {
    margin: 0 0 6px;
    font-size: 24px;
    line-height: 1.2;
}

.feature-card p {
    margin: 0 0 10px;
    color: var(--subtext);
    font-size: 15px;
}

.mini-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 600;
}

.mini-link:hover {
    color: #1e40af;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.step {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #f9fbff;
    padding: 16px;
}

.step-num {
    display: inline-flex;
    min-width: 38px;
    height: 38px;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    font-weight: 700;
    color: #1e40af;
    background: #dbeafe;
}

.faq {
    margin-top: 14px;
    display: grid;
    gap: 10px;
}

.faq details {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow-card);
    padding: 14px 16px;
}

.faq summary {
    cursor: pointer;
    font-weight: 600;
    color: #111827;
}

.faq p {
    margin: 10px 0 0;
    color: var(--subtext);
}

.seo-links {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
}

.seo-link {
    display: block;
    text-decoration: none;
    color: #1f2937;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px;
    background: #fff;
    font-size: 13px;
}

.seo-link:hover {
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.cta-band {
    margin-top: 22px;
    border: 1px solid #bfdbfe;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
    box-shadow: var(--shadow-soft);
    padding: 34px;
    text-align: center;
}

.cta-band h2 {
    margin: 0 0 10px;
    font-size: 32px;
}

.cta-band p {
    margin: 0 0 16px;
    color: var(--subtext);
}

.cta-band .btn {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

@media (max-width: 1080px) {
    .hero {
        padding: 26px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-lead {
        font-size: 40px;
    }

    .solution-grid {
        grid-template-columns: 1fr;
    }

    .cards {
        grid-template-columns: 1fr 1fr;
    }

    .seo-links {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .site-shell {
        width: calc(100% - 18px);
        margin-top: 10px;
    }

    .main-nav {
        top: 8px;
        padding: 10px 12px;
    }

    .nav-links {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .hero,
    .section,
    .cta-band {
        padding: 18px;
    }

    .hero-lead {
        font-size: 34px;
    }

    .section-title,
    .cta-band h2 {
        font-size: 28px;
    }

    .cards,
    .process-grid,
    .seo-links {
        grid-template-columns: 1fr;
    }
}
