/* =========================================================
   JettSEO — Stylesheet
   Light, editorial layout inspired by gigradar.io.
   Brand: #0051FF → #6EFFF9 gradient over warm cream/off-white.
   ========================================================= */

:root {
    /* Brand */
    --c-blue:        #0051FF;
    --c-cyan:        #6EFFF9;
    --c-grad:        linear-gradient(120deg, #0051FF 0%, #6EFFF9 100%);

    /* Surfaces */
    --c-bg:          #FFFFFF;
    --c-bg-soft:     #F7F6F2;   /* warm cream */
    --c-bg-card:     #FFFFFF;
    --c-bg-dark:     #0A0E27;   /* deep navy */

    /* Text */
    --c-text:        #0A0E27;
    --c-text-soft:   #4A4F66;
    --c-text-muted:  #8A8F9F;
    --c-text-light:  #E8EAF0;

    /* Borders / shadows */
    --c-border:      #E5E5DD;
    --c-border-soft: #EFEEE8;
    --shadow-sm:     0 1px 2px rgba(10,14,39,.04), 0 2px 6px rgba(10,14,39,.04);
    --shadow-md:     0 6px 18px rgba(10,14,39,.07), 0 2px 6px rgba(10,14,39,.04);
    --shadow-lg:     0 24px 48px rgba(10,14,39,.10), 0 4px 12px rgba(10,14,39,.06);
    --shadow-blue:   0 12px 28px rgba(0,81,255,.18);

    /* Type scale */
    --f-sans:        'Inter', system-ui, -apple-system, sans-serif;
    --f-display:     'Space Grotesk', 'Inter', system-ui, sans-serif;

    /* Layout */
    --container:     1200px;
    --container-narrow: 920px;
    --radius:        14px;
    --radius-lg:     22px;
    --radius-pill:   999px;

    /* Spacing */
    --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px;
    --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--f-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--c-text);
    background: var(--c-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--c-blue); text-decoration: none; transition: color .18s ease, opacity .18s ease; }
a:hover { color: #003ED1; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--container-narrow); }

.skip-link {
    position: absolute; top: -100px; left: 16px; z-index: 100;
    background: var(--c-blue); color: #fff; padding: 12px 18px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* ==== Typography ==== */
h1, h2, h3, h4, h5 { font-family: var(--f-display); font-weight: 700; letter-spacing: -0.015em; line-height: 1.15; color: var(--c-text); }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.05; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.05rem; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--c-text-soft); line-height: 1.55; }
.eyebrow {
    display: inline-block; font-family: var(--f-sans); font-weight: 600; font-size: 0.78rem;
    letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-blue);
    padding: 6px 12px; background: rgba(0,81,255,.07); border-radius: var(--radius-pill);
}
.text-grad { background: var(--c-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ==== Buttons ==== */
.btn {
    display: inline-flex; align-items: center; gap: 8px; justify-content: center;
    font-family: var(--f-sans); font-weight: 600; font-size: 0.95rem;
    padding: 14px 22px; border-radius: var(--radius-pill);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
    cursor: pointer; white-space: nowrap; text-decoration: none;
}
.btn-sm  { padding: 10px 16px; font-size: 0.88rem; }
.btn-lg  { padding: 18px 32px; font-size: 1rem; }
.btn-primary { background: var(--c-blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { background: #0040D6; transform: translateY(-2px); box-shadow: 0 16px 32px rgba(0,81,255,.28); color: #fff; }
.btn-ghost { background: transparent; color: var(--c-text); border: 1.5px solid var(--c-border); }
.btn-ghost:hover { border-color: var(--c-text); transform: translateY(-2px); color: var(--c-text); }
.btn-light { background: #fff; color: var(--c-text); }
.btn-light:hover { background: var(--c-bg-soft); transform: translateY(-2px); color: var(--c-text); }
.btn-grad { background: var(--c-grad); color: #fff; box-shadow: var(--shadow-blue); }
.btn-grad:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(0,81,255,.32); color: #fff; }

/* ==== Header ==== */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.86); backdrop-filter: saturate(160%) blur(10px);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color .18s ease, background .18s ease;
}
.site-header.scrolled { border-bottom-color: var(--c-border); background: rgba(255,255,255,.94); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; color: var(--c-text); letter-spacing: -0.02em; }
.brand:hover { color: var(--c-text); opacity: .85; }
.brand-mark { display: inline-flex; align-items: center; }
.brand-logo { display: block; height: 36px; width: auto; }
.site-footer .brand-logo { height: 32px; }
.brand-jett { font-style: italic; }
.brand-seo  { font-weight: 500; opacity: .82; }
.brand-light { color: #fff; }
.brand-light .brand-jett, .brand-light .brand-seo { color: #fff; }

.site-nav { display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: 6px; }
.nav-list > li > a { display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; color: var(--c-text); font-weight: 500; font-size: 0.94rem; border-radius: 10px; }
.nav-list > li > a:hover { background: var(--c-bg-soft); color: var(--c-text); }
.nav-list > li > a.active { color: var(--c-blue); background: rgba(0,81,255,.08); }
.nav-list svg { transition: transform .18s ease; }
.nav-list .has-dropdown.open .dropdown-toggle svg { transform: rotate(180deg); }

.has-dropdown { position: relative; }
.dropdown-menu {
    position: absolute; top: calc(100% + 6px); left: -8px;
    min-width: 280px; padding: 8px; background: #fff;
    border: 1px solid var(--c-border); border-radius: 16px;
    box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-4px);
    transition: opacity .14s ease, transform .14s ease, visibility .14s ease;
    z-index: 60;
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown.open .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu li a {
    display: block; padding: 10px 14px; border-radius: 10px;
    color: var(--c-text); font-weight: 500; font-size: 0.92rem;
}
.dropdown-menu li a:hover, .dropdown-menu li a.active { background: var(--c-bg-soft); color: var(--c-blue); }

.lang-switch .lang-link {
    padding: 8px 12px; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.04em;
    border: 1px solid var(--c-border); border-radius: var(--radius-pill); color: var(--c-text);
}
.lang-switch .lang-link:hover { border-color: var(--c-blue); color: var(--c-blue); }

.nav-toggle {
    display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; align-items: center; gap: 4px;
    border-radius: 10px; background: transparent;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--c-text); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ==== Section base ==== */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-soft { background: var(--c-bg-soft); }
.section-dark { background: var(--c-bg-dark); color: #fff; }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark .lead, .section-dark p { color: rgba(255,255,255,.78); }

.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head .section-title { margin-bottom: 16px; }
.section-head .section-sub { color: var(--c-text-soft); font-size: 1.05rem; }
.section-foot { margin-top: 48px; text-align: center; }

/* ==== Hero (homepage) ==== */
.hero {
    position: relative;
    padding: 96px 0 80px;
    background:
        radial-gradient(1100px 500px at 80% -10%, rgba(110,255,249,.18), transparent 60%),
        radial-gradient(900px 500px at 0% 110%, rgba(0,81,255,.10), transparent 60%),
        var(--c-bg-soft);
    overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hero-eyebrow { margin-bottom: 20px; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 28px; max-width: 560px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-proof { display: inline-flex; gap: 12px; align-items: center; padding: 10px 18px 10px 14px; border: 1px solid var(--c-border); background: #fff; border-radius: var(--radius-pill); font-size: 0.9rem; color: var(--c-text-soft); box-shadow: var(--shadow-sm); }
.hero-proof .dot { width: 8px; height: 8px; border-radius: 50%; background: #19C37D; box-shadow: 0 0 0 4px rgba(25,195,125,.2); }

.hero-visual { position: relative; }
.hero-card {
    position: relative;
    background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 28px;
    overflow: hidden;
}
.hero-card::before {
    content: ''; position: absolute; inset: -1px -1px auto -1px; height: 6px; background: var(--c-grad); border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.hero-card h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--c-text-muted); margin-bottom: 14px; font-weight: 600; }
.kpi-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.kpi { padding: 14px 16px; border: 1px solid var(--c-border-soft); border-radius: 12px; background: var(--c-bg-soft); }
.kpi .num { font-family: var(--f-display); font-size: 1.65rem; font-weight: 700; color: var(--c-text); }
.kpi .lbl { font-size: 0.78rem; color: var(--c-text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 2px; }
.kpi .delta { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 0.78rem; color: #19C37D; font-weight: 600; }

.spark { width: 100%; height: 80px; }
.spark path.line { fill: none; stroke: var(--c-blue); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.spark path.area { fill: url(#spark-grad); opacity: .18; }
.spark text { fill: var(--c-text-muted); font: 500 10px var(--f-sans); }

.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.hero-tags span { font-size: 0.78rem; padding: 5px 11px; border-radius: var(--radius-pill); background: var(--c-bg-soft); color: var(--c-text-soft); border: 1px solid var(--c-border-soft); }

/* ==== Logo strip / trust bar ==== */
.trust-bar { padding: 48px 0; border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); background: #fff; }
.trust-bar .container { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; justify-content: center; }
.trust-bar p { font-size: 0.85rem; color: var(--c-text-muted); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }
.trust-logos { display: flex; gap: 36px; flex-wrap: wrap; align-items: center; opacity: .7; }
.trust-logos span { font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; color: var(--c-text-soft); }

/* ==== Services grid ==== */
.services-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.service-card {
    position: relative; padding: 32px; border: 1px solid var(--c-border); border-radius: var(--radius-lg);
    background: #fff; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    display: flex; flex-direction: column; height: 100%;
    overflow: hidden;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--c-grad);
    transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(0,81,255,.25); }
.service-card:hover::before { transform: scaleX(1); }
.service-card .icon-wrap {
    width: 52px; height: 52px; border-radius: 14px;
    background: rgba(0,81,255,.08); color: var(--c-blue);
    display: inline-flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--c-text-soft); font-size: 0.96rem; flex: 1; }
.service-card .card-link { display: inline-flex; gap: 6px; align-items: center; margin-top: 18px; color: var(--c-blue); font-weight: 600; font-size: 0.92rem; }
.service-card .card-link svg { transition: transform .2s ease; }
.service-card:hover .card-link svg { transform: translateX(4px); }

/* ==== About (split) ==== */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.split-stack > * + * { margin-top: 16px; }
.benefits-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.benefits-list li { display: flex; gap: 12px; align-items: flex-start; }
.benefits-list .check {
    flex: none; width: 28px; height: 28px; border-radius: 8px;
    background: rgba(0,81,255,.08); color: var(--c-blue);
    display: inline-flex; align-items: center; justify-content: center;
}
.mission-card {
    padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--c-border);
    background: linear-gradient(180deg, var(--c-bg-soft), #fff);
    box-shadow: var(--shadow-sm);
}
.mission-card h3 { margin-bottom: 12px; }

/* ==== Stats (dark) ==== */
.stats { padding: 80px 0; background: var(--c-bg-dark); color: #fff; position: relative; overflow: hidden; }
.stats::before { content: ''; position: absolute; inset: 0; background: radial-gradient(800px 300px at 70% 0%, rgba(110,255,249,.12), transparent 60%), radial-gradient(700px 300px at 0% 100%, rgba(0,81,255,.18), transparent 60%); pointer-events: none; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; z-index: 1; }
.stat .num { font-family: var(--f-display); font-size: clamp(2.4rem, 4.5vw, 3.4rem); font-weight: 700; line-height: 1; background: var(--c-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .lbl { color: rgba(255,255,255,.7); margin-top: 8px; font-size: 0.95rem; }

/* ==== Process steps ==== */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.process-step {
    padding: 28px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg);
    position: relative; transition: transform .2s ease, box-shadow .2s ease;
}
.process-step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.process-step .step-num {
    font-family: var(--f-display); font-weight: 700; font-size: 0.9rem; color: var(--c-blue);
    background: rgba(0,81,255,.08); padding: 4px 10px; border-radius: var(--radius-pill); display: inline-block; margin-bottom: 16px;
}
.process-step h3 { margin-bottom: 8px; }
.process-step p { color: var(--c-text-soft); font-size: 0.95rem; }

/* ==== Testimonials ==== */
.testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.testimonial {
    padding: 32px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.testimonial blockquote { font-size: 1.05rem; line-height: 1.6; color: var(--c-text); margin-bottom: 18px; font-style: normal; }
.testimonial blockquote::before { content: '"'; font-family: var(--f-display); font-size: 3rem; line-height: 0; color: var(--c-blue); margin-right: 4px; }
.testimonial cite { font-style: normal; font-weight: 600; color: var(--c-text); display: block; }
.testimonial .role { color: var(--c-text-muted); font-size: 0.88rem; }

/* ==== Contact form ==== */
.contact-section { background: var(--c-bg-soft); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-info ul { padding: 0; list-style: none; margin: 24px 0 0; display: grid; gap: 14px; }
.contact-info li { display: flex; gap: 14px; align-items: flex-start; }
.contact-info .ico { flex: none; width: 38px; height: 38px; border-radius: 12px; background: rgba(0,81,255,.08); color: var(--c-blue); display: inline-flex; align-items: center; justify-content: center; }
.contact-info b { display: block; font-weight: 600; }
.contact-info span { color: var(--c-text-soft); font-size: 0.95rem; }
.contact-info a { color: var(--c-text); font-weight: 500; }

.contact-form {
    background: #fff; padding: 32px; border-radius: var(--radius-lg);
    border: 1px solid var(--c-border); box-shadow: var(--shadow-md);
}
.contact-form-inverse { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); box-shadow: none; }
.contact-form-inverse .form-label { color: rgba(255,255,255,.85); }
.contact-form-inverse input, .contact-form-inverse textarea { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #fff; }
.contact-form-inverse input::placeholder, .contact-form-inverse textarea::placeholder { color: rgba(255,255,255,.55); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-row:last-of-type { grid-template-columns: 1fr; }
.form-field { display: block; margin-bottom: 16px; }
.form-label { display: block; font-size: 0.88rem; font-weight: 500; color: var(--c-text-soft); margin-bottom: 6px; }
.form-label em { color: #E63946; font-style: normal; }
.contact-form input, .contact-form textarea {
    width: 100%; padding: 13px 16px; font: inherit; color: var(--c-text);
    background: var(--c-bg-soft); border: 1px solid var(--c-border); border-radius: 12px;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none; border-color: var(--c-blue); background: #fff; box-shadow: 0 0 0 3px rgba(0,81,255,.1);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.form-actions { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.form-status { font-size: 0.92rem; color: var(--c-text-soft); }
.form-status.success { color: #167C50; }
.form-status.error   { color: #C53030; }

/* ==== CTA banner ==== */
.cta-banner {
    background: var(--c-bg-dark); color: #fff;
    border-radius: var(--radius-lg); padding: 64px;
    position: relative; overflow: hidden;
}
.cta-banner::before { content: ''; position: absolute; inset: 0; background: radial-gradient(900px 500px at 100% 0%, rgba(110,255,249,.15), transparent 60%), radial-gradient(700px 400px at 0% 100%, rgba(0,81,255,.22), transparent 60%); pointer-events: none; }
.cta-banner > * { position: relative; }
.cta-banner h2 { color: #fff; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,.78); margin-bottom: 24px; max-width: 640px; }
.cta-banner .form-row, .cta-banner .form-field { color: #fff; }

/* ==== Service detail page ==== */
.service-hero {
    padding: 96px 0 64px;
    background:
        radial-gradient(900px 500px at 90% 10%, rgba(110,255,249,.16), transparent 60%),
        var(--c-bg-soft);
}
.service-hero .breadcrumbs { display: flex; gap: 8px; align-items: center; font-size: 0.88rem; color: var(--c-text-muted); margin-bottom: 16px; }
.service-hero .breadcrumbs a { color: var(--c-text-soft); }
.service-hero .breadcrumbs a:hover { color: var(--c-blue); }
.service-hero h1 { margin-bottom: 18px; }
.service-hero .lead { max-width: 720px; margin-bottom: 26px; }

.svc-content { padding: 80px 0; }
.svc-prose h2 { margin-top: 56px; margin-bottom: 16px; }
.svc-prose h2:first-child { margin-top: 0; }
.svc-prose h3 { margin-top: 28px; margin-bottom: 10px; }
.svc-prose p { margin-bottom: 14px; color: var(--c-text); line-height: 1.7; max-width: 760px; }
.svc-prose ul { padding-left: 0; margin: 16px 0; max-width: 760px; }
.svc-prose ul li { padding: 10px 0 10px 32px; position: relative; border-bottom: 1px dashed var(--c-border); }
.svc-prose ul li:last-child { border-bottom: 0; }
.svc-prose ul li::before {
    content: ''; position: absolute; left: 4px; top: 18px; width: 14px; height: 14px;
    background: var(--c-grad); border-radius: 4px;
    clip-path: polygon(15% 50%, 0% 65%, 40% 100%, 100% 25%, 85% 10%, 40% 70%);
}

.svc-process { display: grid; gap: 16px; }
.svc-process .step {
    display: grid; grid-template-columns: 56px 1fr; gap: 20px;
    padding: 22px; border: 1px solid var(--c-border); border-radius: 16px; background: #fff;
}
.svc-process .step .n { font-family: var(--f-display); font-size: 1.5rem; font-weight: 700; color: var(--c-blue); }

.svc-deliverables { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.svc-deliverables .item { padding: 22px; background: var(--c-bg-soft); border-radius: 14px; border: 1px solid var(--c-border-soft); }
.svc-deliverables .item h4 { margin-bottom: 6px; }
.svc-deliverables .item p { color: var(--c-text-soft); font-size: 0.94rem; }

.faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq details { border: 1px solid var(--c-border); border-radius: 14px; background: #fff; overflow: hidden; transition: border-color .15s ease, box-shadow .15s ease; }
.faq details[open] { border-color: rgba(0,81,255,.3); box-shadow: var(--shadow-sm); }
.faq summary { padding: 20px 24px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.5rem; color: var(--c-blue); font-weight: 400; transition: transform .2s ease; }
.faq details[open] summary::after { content: '−'; }
.faq .faq-body { padding: 0 24px 22px; color: var(--c-text-soft); line-height: 1.7; }

/* Related services on service page */
.section-related { background: var(--c-bg-soft); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-card {
    padding: 24px; background: #fff; border: 1px solid var(--c-border); border-radius: 16px;
    color: var(--c-text); display: block;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(0,81,255,.25); color: var(--c-text); }
.related-card .related-icon { display: inline-flex; width: 42px; height: 42px; border-radius: 12px; background: rgba(0,81,255,.08); color: var(--c-blue); align-items: center; justify-content: center; margin-bottom: 14px; }
.related-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.related-card p { color: var(--c-text-soft); font-size: 0.92rem; line-height: 1.55; }
.related-card .related-link { color: var(--c-blue); font-weight: 600; font-size: 0.9rem; margin-top: 12px; display: inline-block; }

/* Service page CTA — alternate layouts get small cards in different orders, all done via .svc-* utilities */

/* ==== Blog ==== */
.blog-page-hero { padding: 80px 0 32px; background: var(--c-bg-soft); }
.blog-page-hero h1 { margin-bottom: 12px; }
.blog-page-hero .lead { max-width: 640px; }

.blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; padding: 64px 0; }
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.blog-card {
    background: #fff; border: 1px solid var(--c-border); border-radius: 18px; overflow: hidden;
    display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(0,81,255,.25); }
.blog-card .blog-thumb { aspect-ratio: 16/9; background: var(--c-bg-soft); overflow: hidden; }
.blog-card .blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.blog-card:hover .blog-thumb img { transform: scale(1.04); }
.blog-card .blog-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.blog-card .blog-meta { display: flex; gap: 12px; align-items: center; font-size: 0.82rem; color: var(--c-text-muted); margin-bottom: 12px; }
.blog-card .blog-meta .cat { color: var(--c-blue); font-weight: 600; }
.blog-card h2 { font-size: 1.2rem; margin-bottom: 10px; line-height: 1.3; }
.blog-card h2 a { color: var(--c-text); }
.blog-card h2 a:hover { color: var(--c-blue); }
.blog-card p { color: var(--c-text-soft); font-size: 0.94rem; flex: 1; }
.blog-card .card-foot { margin-top: 16px; display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; }
.blog-card .read-link { color: var(--c-blue); font-weight: 600; }

.blog-sidebar > * + * { margin-top: 32px; }
.sidebar-block { padding: 24px; background: var(--c-bg-soft); border-radius: 16px; border: 1px solid var(--c-border); }
.sidebar-block h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; color: var(--c-text-muted); }
.sidebar-block ul { display: grid; gap: 10px; }
.sidebar-block ul li a { color: var(--c-text); font-weight: 500; font-size: 0.94rem; line-height: 1.4; display: block; }
.sidebar-block ul li a:hover { color: var(--c-blue); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { font-size: 0.82rem; padding: 6px 12px; border-radius: var(--radius-pill); background: #fff; border: 1px solid var(--c-border); color: var(--c-text-soft); }
.tags a:hover { background: var(--c-blue); color: #fff; border-color: var(--c-blue); }

.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 48px; }
.pagination a, .pagination span {
    display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px;
    padding: 0 12px; border-radius: 10px; border: 1px solid var(--c-border); color: var(--c-text); font-weight: 500;
}
.pagination .current { background: var(--c-blue); color: #fff; border-color: var(--c-blue); }
.pagination a:hover { border-color: var(--c-blue); color: var(--c-blue); }

/* Blog article page (scoped) */
.blog-article-page .article-hero { background: var(--c-bg-soft); padding: 64px 0 32px; }
.blog-article-page .article-hero .breadcrumbs { font-size: 0.88rem; color: var(--c-text-muted); margin-bottom: 16px; }
.blog-article-page .article-hero .breadcrumbs a { color: var(--c-text-soft); }
.blog-article-page .article-hero h1 { max-width: 880px; margin-bottom: 16px; }
.blog-article-page .article-hero .meta { display: flex; gap: 18px; color: var(--c-text-muted); font-size: 0.9rem; flex-wrap: wrap; }
.blog-article-page .article-cover { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.blog-article-page .article-cover img { width: 100%; aspect-ratio: 16/8; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow-md); }
.blog-article-page .article-body { padding: 56px 0 80px; }
.blog-article-page .article-body .container { max-width: 760px; }
.blog-article-page .article-body h2 { margin: 36px 0 14px; }
.blog-article-page .article-body h3 { margin: 28px 0 10px; }
.blog-article-page .article-body p { margin-bottom: 16px; line-height: 1.75; color: var(--c-text); }
.blog-article-page .article-body ul, .blog-article-page .article-body ol { margin: 16px 0 16px 22px; }
.blog-article-page .article-body li { margin-bottom: 8px; line-height: 1.7; }
.blog-article-page .article-body a { color: var(--c-blue); text-decoration: underline; }
.blog-article-page .article-body blockquote { padding: 18px 24px; border-left: 3px solid var(--c-blue); background: var(--c-bg-soft); margin: 24px 0; border-radius: 0 12px 12px 0; color: var(--c-text); }
.blog-article-page .article-body img { border-radius: 12px; margin: 24px 0; }
.blog-article-page .related-posts { padding: 64px 0; background: var(--c-bg-soft); }
.blog-article-page .article-cta {
    margin: 48px 0 0; padding: 32px; background: var(--c-bg-dark); color: #fff; border-radius: var(--radius-lg);
}
.blog-article-page .article-cta h3 { color: #fff; margin-bottom: 8px; }
.blog-article-page .article-cta p { color: rgba(255,255,255,.78); margin-bottom: 18px; }

/* ==== Footer ==== */
.site-footer { background: var(--c-bg-dark); color: rgba(255,255,255,.78); padding: 80px 0 32px; }
.site-footer .brand-text { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 48px; }
.footer-col h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: rgba(255,255,255,.72); font-size: 0.94rem; }
.footer-col a:hover { color: #fff; }
.footer-desc { color: rgba(255,255,255,.65); font-size: 0.94rem; margin-top: 16px; max-width: 320px; line-height: 1.6; }
.footer-bottom { margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.88rem; color: rgba(255,255,255,.5); }
.footer-langs { display: flex; gap: 8px; }
.footer-langs a { color: rgba(255,255,255,.6); }
.footer-langs a[aria-current="true"] { color: #fff; pointer-events: none; }

/* ==== Generic page hero (about/contact/404) ==== */
.page-hero { padding: 96px 0 56px; background: var(--c-bg-soft); }
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero h1 { margin-bottom: 16px; max-width: 880px; }
.page-hero .lead { max-width: 700px; }

/* ==== About page ==== */
.about-story { padding: 80px 0; }
.about-story .container { max-width: 880px; }
.about-story p { margin-bottom: 16px; line-height: 1.75; font-size: 1.05rem; color: var(--c-text); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 80px 0; background: var(--c-bg-soft); }
.value-card { padding: 28px; background: #fff; border-radius: 16px; border: 1px solid var(--c-border); }
.value-card h3 { margin-bottom: 8px; }
.value-card p { color: var(--c-text-soft); font-size: 0.95rem; }

/* ==== Reveal on scroll ==== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ==== Responsive ==== */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .hero-visual { max-width: 540px; margin: 0 auto; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .related-grid { grid-template-columns: repeat(3, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-layout { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .split { grid-template-columns: 1fr; gap: 36px; }
    .contact-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .section { padding: 64px 0; }
    .hero { padding: 64px 0 48px; }
    .nav-toggle { display: inline-flex; }
    .site-nav { position: relative; }
    .nav-list {
        position: fixed; top: 72px; left: 0; right: 0; bottom: 0; flex-direction: column; align-items: stretch;
        background: #fff; padding: 24px; gap: 4px; overflow-y: auto;
        transform: translateX(100%); transition: transform .25s ease; z-index: 60;
    }
    .nav-list.open { transform: translateX(0); }
    .nav-list > li > a { padding: 14px 12px; font-size: 1rem; border-radius: 10px; }
    .has-dropdown { display: block; }
    .dropdown-menu {
        position: static; opacity: 1; visibility: visible; transform: none;
        box-shadow: none; border: 0; padding: 0 0 0 16px; max-height: 0; overflow: hidden;
        transition: max-height .25s ease;
    }
    .has-dropdown.open .dropdown-menu { max-height: 600px; padding: 4px 0 12px 16px; }
    .nav-cta { margin-top: 8px; }
    .nav-cta .btn { width: 100%; }
    .lang-switch { padding: 12px 0; }
    .services-grid, .testimonials-grid { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .process-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .cta-banner { padding: 36px 24px; }
    .svc-deliverables { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; }
}
@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    .container { padding: 0 18px; }
    .btn-lg { padding: 14px 24px; }
    .hero-actions .btn { width: 100%; }
}

/* ============================================================
   FIGMA SECTIONS — Hero, Logo Carousel, Pain Points
   Ported from Figma Make project (React+Tailwind → vanilla CSS)
   ============================================================ */

.fg-hero,
.fg-carousel,
.fg-painpoints { font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif; color: #0f172a; }
/* Force Inter on all headings/text inside Figma sections (override site global Space Grotesk) */
.fg-hero h1, .fg-hero h2, .fg-hero h3, .fg-hero h4, .fg-hero h5, .fg-hero p, .fg-hero span, .fg-hero div, .fg-hero a,
.fg-carousel h1, .fg-carousel h2, .fg-carousel h3, .fg-carousel h4, .fg-carousel h5, .fg-carousel p, .fg-carousel span, .fg-carousel div, .fg-carousel a,
.fg-painpoints h1, .fg-painpoints h2, .fg-painpoints h3, .fg-painpoints h4, .fg-painpoints h5, .fg-painpoints p, .fg-painpoints span, .fg-painpoints div, .fg-painpoints a {
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
.fg-hero-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ---- Hero ---- */
.fg-hero { position: relative; overflow: hidden; background: linear-gradient(to bottom, rgba(248,250,252,.5) 0%, #fff 100%); }
/* Tighter top padding so the AI-Powered pill sits closer to the nav (per Figma + user request) */
.fg-hero .fg-hero-inner { padding-top: 24px; padding-bottom: 64px; }
@media (min-width: 1024px) { .fg-hero .fg-hero-inner { padding-top: 40px; padding-bottom: 112px; } }

.fg-hero-grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .fg-hero-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }

.fg-hero-copy { display: flex; flex-direction: column; gap: 32px; }
.fg-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 9999px;
    background: linear-gradient(to right, #eff6ff, #faf5ff); border: 1px solid rgba(219,234,254,.5);
    box-shadow: 0 1px 2px rgba(0,0,0,.05); align-self: flex-start; }
.fg-pill-dot { width: 8px; height: 8px; background: #2563eb; border-radius: 50%; animation: fg-pulse 2s cubic-bezier(.4,0,.6,1) infinite; }
.fg-pill span { font-size: 12px; font-weight: 600; color: #1d4ed8; }
@keyframes fg-pulse { 0%,100% { opacity: 1 } 50% { opacity: .5 } }

.fg-hero-title { font-family: 'Inter', system-ui, sans-serif; font-weight: 700; font-size: 3rem; line-height: 1.1; letter-spacing: -0.025em; color: #0f172a; margin: 0; }
@media (min-width: 1024px) { .fg-hero-title { font-size: 3.75rem; } }
@media (min-width: 1280px) { .fg-hero-title { font-size: 4.5rem; } }
.fg-hero-title-grad { background: linear-gradient(to right, #2563eb 0%, #2563eb 40%, #9333ea 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fg-hero-sub { font-size: 1.125rem; line-height: 1.625; color: #475569; max-width: 36rem; margin: 0; }
@media (min-width: 1024px) { .fg-hero-sub { font-size: 1.25rem; } }

.fg-hero-ctas { display: flex; flex-direction: column; gap: 16px; padding-top: 8px; }
@media (min-width: 640px) { .fg-hero-ctas { flex-direction: row; } }
.fg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 32px; border-radius: 9999px; font-weight: 600; font-size: 1rem; text-decoration: none; transition: all .2s; cursor: pointer; }
.fg-btn-primary { background: linear-gradient(to right, #2563eb, #1d4ed8); color: #fff; box-shadow: 0 10px 15px -3px rgba(59,130,246,.25), 0 4px 6px -4px rgba(59,130,246,.25); }
.fg-btn-primary:hover { background: linear-gradient(to right, #1d4ed8, #1e40af); box-shadow: 0 20px 25px -5px rgba(59,130,246,.3), 0 8px 10px -6px rgba(59,130,246,.3); color: #fff; }
.fg-btn-primary svg { transition: transform .2s; }
.fg-btn-primary:hover svg { transform: translateX(4px); }
.fg-btn-secondary { background: #fff; color: #0f172a; border: 2px solid #e2e8f0; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.fg-btn-secondary:hover { background: #f8fafc; box-shadow: 0 4px 6px -1px rgba(0,0,0,.1); color: #0f172a; }

.fg-social-proof { display: flex; align-items: center; gap: 24px; padding-top: 16px; }
.fg-avatars { display: flex; }
.fg-avatar { width: 44px; height: 44px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 4px 6px -1px rgba(0,0,0,.1); overflow: hidden; margin-left: -12px; display: block; }
.fg-avatar:first-child { margin-left: 0; }
.fg-avatar svg, .fg-avatar img { width: 100%; height: 100%; display: block; object-fit: cover; }
.fg-av-blue { background: linear-gradient(to bottom right, #60a5fa, #2563eb); }
.fg-av-purple { background: linear-gradient(to bottom right, #c084fc, #9333ea); }
.fg-av-green { background: linear-gradient(to bottom right, #4ade80, #16a34a); }
.fg-av-orange { background: linear-gradient(to bottom right, #fb923c, #ea580c); }
.fg-social-text { font-size: 14px; }
.fg-social-count { font-weight: 700; color: #0f172a; }
.fg-social-label { color: #475569; }

/* ---- Hero visual / Diagram ---- */
.fg-hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.fg-orb { position: absolute; width: 384px; height: 384px; border-radius: 50%; filter: blur(64px); pointer-events: none; }
.fg-orb-tr { top: -80px; right: -80px; background: linear-gradient(to bottom right, rgba(59,130,246,.2), rgba(168,85,247,.2)); }
.fg-orb-bl { bottom: -80px; left: -80px; background: linear-gradient(to bottom right, rgba(168,85,247,.2), rgba(236,72,153,.2)); }

/* Gmail/Google Workspace-style framing: rounded gradient halo + clean inner card */
.fg-diagram-shell { position: relative; width: 100%; max-width: 42rem; background: #fff; border-radius: 32px; padding: 14px;
    box-shadow: 0 40px 80px -20px rgba(15,23,42,.18), 0 18px 36px -18px rgba(59,130,246,.22), 0 0 0 1px rgba(226,232,240,.7);
    border: none; }
.fg-diagram-shell::before {
    content: ""; position: absolute; inset: -40px; z-index: -1; border-radius: 64px;
    background: radial-gradient(60% 80% at 20% 20%, rgba(59,130,246,.18), transparent 60%),
                radial-gradient(60% 80% at 80% 80%, rgba(168,85,247,.18), transparent 60%),
                radial-gradient(40% 60% at 50% 50%, rgba(236,72,153,.10), transparent 60%);
    filter: blur(24px); pointer-events: none;
}
.fg-diagram-shell::after {
    content: ""; position: absolute; inset: -1px; border-radius: 32px; pointer-events: none;
    background: linear-gradient(140deg, rgba(59,130,246,.35), rgba(168,85,247,.25) 40%, rgba(236,72,153,.20) 80%);
    -webkit-mask: linear-gradient(#000,#000) content-box, linear-gradient(#000,#000);
    -webkit-mask-composite: xor; mask-composite: exclude; padding: 1px;
}
@media (min-width: 1024px) { .fg-diagram-shell { padding: 18px; border-radius: 36px; } .fg-diagram-shell::after { border-radius: 36px; } }
.fg-diagram { border-radius: 22px; }
@media (min-width: 1024px) { .fg-diagram { border-radius: 26px; } }

.fg-diagram { position: relative; width: 100%; aspect-ratio: 4 / 3; background: linear-gradient(to bottom right, #f8fafc 0%, #fff 50%, rgba(239,246,255,.3) 100%); border-radius: 16px; padding: 24px; overflow: hidden; display: flex; flex-direction: column; }
@media (min-width: 1024px) { .fg-diagram { padding: 32px; } }
.fg-diag-glow { position: absolute; width: 384px; height: 384px; border-radius: 50%; filter: blur(64px); }
.fg-diag-glow-tl { top: 80px; left: 80px; background: rgba(96,165,250,.1); }
.fg-diag-glow-br { bottom: 80px; right: 80px; background: rgba(196,181,253,.1); }

.fg-diag-row { position: relative; flex: 1; display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 16px; align-items: center; }
@media (min-width: 1024px) { .fg-diag-row { gap: 24px; } }
.fg-diag-col { position: relative; }

.fg-diag-label { font-size: 10px; font-weight: 600; color: #94a3b8; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.fg-diag-label-r { text-align: right; }

.fg-diag-card { position: relative; background: rgba(255,255,255,.8); backdrop-filter: blur(20px); border: 1px solid rgba(226,232,240,.5); border-radius: 16px; padding: 24px; box-shadow: 0 10px 15px -3px rgba(0,0,0,.1); }

.fg-google-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.fg-google-logo { width: 48px; height: 48px; flex-shrink: 0; }
@media (min-width: 1024px) { .fg-google-logo { width: 56px; height: 56px; } }
.fg-google-name { font-weight: 700; color: #0f172a; font-size: 16px; }
.fg-google-sub { font-size: 11px; color: #64748b; }
.fg-google-rows { display: flex; flex-direction: column; gap: 8px; }
.fg-google-row { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 8px; }
.fg-gr-blue { background: linear-gradient(to right, #eff6ff, transparent); border: 1px solid rgba(219,234,254,.5); }
.fg-gr-purple { background: linear-gradient(to right, #faf5ff, transparent); border: 1px solid rgba(243,232,255,.5); }
.fg-gr-blue span:last-child { color: #1d4ed8; font-weight: 500; font-size: 9px; }
.fg-gr-purple span:last-child { color: #6b21a8; font-weight: 500; font-size: 9px; }
.fg-dot { width: 6px; height: 6px; border-radius: 50%; flex: 0 0 6px; }
.fg-dot-blue { background: #3b82f6; }
.fg-dot-purple { background: #a855f7; }

/* connection lines */
.fg-conn { position: absolute; top: 50%; height: 4px; width: 64px; transform: translateY(-50%); }
.fg-conn-l { right: -32px; }
.fg-conn-r { left: -32px; }

/* Central hub */
.fg-diag-col-c { display: flex; flex-direction: column; align-items: center; }
.fg-hub-wrap { position: relative; }
.fg-hub-ring { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; }
.fg-hub-ring-out { margin: -32px; background: linear-gradient(to right, rgba(96,165,250,.2), rgba(192,132,252,.2)); animation: fg-pulse 2s cubic-bezier(.4,0,.6,1) infinite; }
.fg-hub-ring-in { margin: -24px; background: linear-gradient(to right, rgba(96,165,250,.1), rgba(192,132,252,.1)); }
.fg-hub-card { position: relative; background: rgba(255,255,255,.9); backdrop-filter: blur(24px); border: 1px solid rgba(255,255,255,.5); box-shadow: 0 25px 50px -12px rgba(0,0,0,.25); border-radius: 24px; padding: 32px; min-width: 240px; }
.fg-hub-tint { position: absolute; inset: 0; background: linear-gradient(to bottom right, rgba(59,130,246,.05), rgba(168,85,247,.05)); border-radius: 24px; }
.fg-hub-inner { position: relative; text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.fg-hub-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: linear-gradient(to bottom right, #3b82f6, #2563eb); border-radius: 16px; box-shadow: 0 10px 15px -3px rgba(0,0,0,.1); color: #fff; }
.fg-hub-name { font-weight: 700; color: #0f172a; font-size: 16px; }
.fg-hub-sub { font-size: 10px; color: #64748b; margin-top: -8px; }
.fg-mini-browser { background: linear-gradient(to bottom right, #f8fafc, rgba(241,245,249,.5)); border: 1px solid rgba(226,232,240,.5); border-radius: 12px; padding: 12px; width: 100%; }
.fg-mini-dots { display: flex; gap: 4px; margin-bottom: 8px; }
.fg-mb-d { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.fg-mb-r { background: #f87171; } .fg-mb-y { background: #facc15; } .fg-mb-g { background: #4ade80; }
.fg-mb-bar { height: 8px; border-radius: 9999px; margin-bottom: 6px; }
.fg-mb-bar-1 { background: #bfdbfe; width: 100%; }
.fg-mb-bar-2 { background: #dbeafe; width: 75%; }
.fg-mb-bar-3 { background: #dbeafe; width: 83%; margin-bottom: 0; }
.fg-hub-tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; background: #eff6ff; border: 1px solid #dbeafe; border-radius: 9999px; }
.fg-hub-tag span { font-size: 9px; font-weight: 600; color: #1d4ed8; }
.fg-hub-badge { margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: linear-gradient(to right, #2563eb, #1d4ed8); border-radius: 9999px; box-shadow: 0 10px 15px -3px rgba(0,0,0,.1); }
.fg-hub-badge span { font-size: 12px; font-weight: 700; color: #fff; }

/* Right: AI list */
.fg-ai-list { display: flex; flex-direction: column; gap: 8px; }
.fg-ai-card { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; backdrop-filter: blur(4px); box-shadow: 0 1px 2px rgba(0,0,0,.04); transition: box-shadow .2s; }
.fg-ai-card:hover { box-shadow: 0 4px 6px -1px rgba(0,0,0,.1); }
.fg-ai-card span:last-child { font-size: 11px; font-weight: 600; color: #0f172a; }
.fg-ai-emerald  { background: linear-gradient(to right, rgba(16,185,129,.1), rgba(5,150,105,.05)); border: 1px solid rgba(167,243,208,.5); }
.fg-ai-orange   { background: linear-gradient(to right, rgba(249,115,22,.1), rgba(234,88,12,.05)); border: 1px solid rgba(254,215,170,.5); }
.fg-ai-blue     { background: linear-gradient(to right, rgba(59,130,246,.1), rgba(37,99,235,.05)); border: 1px solid rgba(191,219,254,.5); }
.fg-ai-purple   { background: linear-gradient(to right, rgba(168,85,247,.1), rgba(147,51,234,.05)); border: 1px solid rgba(233,213,255,.5); }
.fg-ai-cyan     { background: linear-gradient(to right, rgba(6,182,212,.1), rgba(8,145,178,.05)); border: 1px solid rgba(165,243,252,.5); }
.fg-ai-logo { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 6px; flex-shrink: 0; }
.fg-ai-logo svg { display: block; }
.fg-ai-l-chatgpt { background: #10a37f; }
.fg-ai-l-claude  { background: #d97757; }
.fg-ai-l-pp      { background: #1f6f7a; }
.fg-ai-l-co      { background: #6c4ed1; }
.fg-ai-l-gem     { background: linear-gradient(135deg, #4285F4, #9b6dff); }
.fg-ai-badge { margin-top: 12px; background: linear-gradient(to right, #faf5ff, #fdf2f8); border: 1px solid rgba(243,232,255,.5); border-radius: 12px; padding: 12px; }
.fg-ai-badge-t { font-size: 9px; font-weight: 600; color: #581c87; }
.fg-ai-badge-s { font-size: 8px; color: #9333ea; }

/* Analytics */
.fg-analytics { margin-top: 16px; background: rgba(255,255,255,.7); backdrop-filter: blur(20px); border: 1px solid rgba(226,232,240,.5); border-radius: 12px; padding: 12px; box-shadow: 0 20px 25px -5px rgba(0,0,0,.1); }
@media (min-width: 1024px) { .fg-analytics { margin-top: 24px; border-radius: 16px; padding: 16px; } }
.fg-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 8px; }
@media (min-width: 1024px) { .fg-metrics { gap: 12px; margin-bottom: 12px; } }
.fg-metric { position: relative; overflow: hidden; border-radius: 12px; padding: 12px; background: #fff; border: 1px solid rgba(226,232,240,.5); }
.fg-metric-tint { position: absolute; inset: 0; opacity: .05; }
.fg-mt-blue { background: linear-gradient(to bottom right, #3b82f6, #2563eb); }
.fg-mt-purple { background: linear-gradient(to bottom right, #a855f7, #9333ea); }
.fg-mt-slate { background: linear-gradient(to bottom right, #64748b, #475569); }
.fg-mt-slate2 { background: linear-gradient(to bottom right, #94a3b8, #64748b); }
.fg-metric-row { display: flex; align-items: baseline; gap: 4px; margin-bottom: 2px; position: relative; }
.fg-metric-val { font-size: 18px; font-weight: 700; color: #0f172a; }
.fg-metric-trend { font-size: 8px; font-weight: 600; color: #16a34a; }
.fg-metric-lbl { font-size: 9px; color: #64748b; position: relative; }
.fg-chart { position: relative; height: 64px; background: linear-gradient(to bottom right, #f8fafc, #fff); border-radius: 12px; padding: 8px; border: 1px solid #f1f5f9; }
.fg-chart svg { width: 100%; height: 100%; }
.fg-chart-tag { position: absolute; top: 8px; right: 8px; font-size: 8px; font-weight: 600; color: #2563eb; }

/* Floating cards */
.fg-float { position: absolute; background: rgba(255,255,255,.9); backdrop-filter: blur(12px); border: 1px solid rgba(226,232,240,.5); border-radius: 8px; padding: 6px 8px; box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1); display: flex; align-items: center; gap: 6px; animation: fg-float 3s ease-in-out infinite; }
.fg-float span { font-size: 9px; font-weight: 600; color: #334155; }
.fg-float-1 { top: 15%; left: 8%; animation-delay: 0s; }
.fg-float-2 { top: 35%; right: 6%; animation-delay: .5s; }
.fg-float-3 { bottom: 35%; left: 10%; animation-delay: 1s; }
.fg-float-4 { bottom: 20%; right: 8%; animation-delay: 1.5s; }
@keyframes fg-float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-8px) } }

/* ---- Logo carousel ---- */
.fg-carousel { padding: 48px 0; background: rgba(248,250,252,.5); border-top: 1px solid rgba(226,232,240,.4); border-bottom: 1px solid rgba(226,232,240,.4); }
.fg-carousel-head { text-align: center; font-size: 14px; font-weight: 600; color: #64748b; text-transform: uppercase; letter-spacing: .2em; margin: 0 0 40px; }
@media (min-width: 1024px) { .fg-carousel-head { font-size: 16px; } }
.fg-carousel-viewport { position: relative; overflow: hidden; }
.fg-carousel-fade { position: absolute; top: 0; bottom: 0; width: 128px; z-index: 10; pointer-events: none; }
.fg-carousel-fade-l { left: 0; background: linear-gradient(to right, rgba(248,250,252,.9), transparent); }
.fg-carousel-fade-r { right: 0; background: linear-gradient(to left, rgba(248,250,252,.9), transparent); }
.fg-carousel-track { display: flex; gap: 80px; padding: 0 32px; width: max-content; animation: fg-scroll 40s linear infinite; }
.fg-carousel-track:hover { animation-play-state: paused; }
@keyframes fg-scroll { 0% { transform: translateX(0) } 100% { transform: translateX(-50%) } }
.fg-carousel-logo { flex: 0 0 224px; height: 96px; display: flex; align-items: center; justify-content: center; filter: grayscale(1); opacity: .5; transition: filter .3s, opacity .3s; padding: 0 16px; }
.fg-carousel-logo:hover { filter: grayscale(0); opacity: 1; }
.fg-carousel-logo img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.fg-carousel-logo span { font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 18px; font-weight: 700; color: #475569; text-align: center; letter-spacing: -0.01em; }
.fg-carousel-logo.has-caption { flex-direction: column; gap: 4px; }
.fg-carousel-logo.has-caption img { max-height: 60px; }
.fg-carousel-caption { font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 13px; font-weight: 600; color: #475569; letter-spacing: -0.01em; }
@media (max-width: 768px) {
    .fg-carousel { padding: 32px 0; }
    .fg-carousel-head { margin: 0 0 24px; font-size: 12px; letter-spacing: .15em; }
    .fg-carousel-fade { width: 48px; }
    .fg-carousel-track { gap: 32px; padding: 0 16px; animation-duration: 28s; }
    .fg-carousel-logo { flex: 0 0 120px; height: 56px; padding: 0 8px; opacity: .65; }
    .fg-carousel-logo span { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .fg-carousel-track { animation: none; }
}

/* ---- Pain Points ---- */
.fg-painpoints { padding: 96px 0; background: linear-gradient(to bottom, #fff, #f8fafc); }
.fg-pp-head { text-align: center; margin: 0 0 80px; }
.fg-pp-head h2 { font-size: 2.25rem; font-weight: 700; color: #0f172a; margin: 0; line-height: 1.25; letter-spacing: -0.025em; }
@media (min-width: 1024px) { .fg-pp-head h2 { font-size: 3rem; } }
.fg-pp-title-soft { color: #475569; }
.fg-pp-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 768px) { .fg-pp-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .fg-pp-grid { grid-template-columns: repeat(3, 1fr); } }
.fg-pp-card { position: relative; height: 100%; background: #fff; border-radius: 16px; padding: 32px; box-shadow: 0 1px 2px rgba(0,0,0,.04); border: 1px solid rgba(226,232,240,.6); transition: box-shadow .3s, border-color .3s; overflow: hidden; }
.fg-pp-card:hover { box-shadow: 0 10px 15px -3px rgba(0,0,0,.1); border-color: rgba(203,213,225,.6); }
.fg-pp-card:hover .fg-pp-underline { opacity: 1; }
.fg-pp-card-row { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 16px; }
.fg-pp-icon { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; }
.fg-pp-num { font-size: 14px; font-weight: 700; background-clip: text; -webkit-background-clip: text; color: transparent; }
.fg-pp-title { font-size: 1.25rem; font-weight: 700; color: #0f172a; line-height: 1.25; margin: 0 0 12px; }
.fg-pp-desc { color: #475569; line-height: 1.625; margin: 0; }
.fg-pp-underline { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; border-bottom-left-radius: 16px; border-bottom-right-radius: 16px; opacity: 0; transition: opacity .3s; }
/* Pain-point tones */
.fg-pp-tone-blue    .fg-pp-icon { background: #eff6ff; color: #2563eb; }
.fg-pp-tone-blue    .fg-pp-num,
.fg-pp-tone-blue    .fg-pp-underline { background: linear-gradient(to right, #3b82f6, #2563eb); }
.fg-pp-tone-purple  .fg-pp-icon { background: #faf5ff; color: #9333ea; }
.fg-pp-tone-purple  .fg-pp-num,
.fg-pp-tone-purple  .fg-pp-underline { background: linear-gradient(to right, #a855f7, #9333ea); }
.fg-pp-tone-orange  .fg-pp-icon { background: #fff7ed; color: #ea580c; }
.fg-pp-tone-orange  .fg-pp-num,
.fg-pp-tone-orange  .fg-pp-underline { background: linear-gradient(to right, #f97316, #ea580c); }
.fg-pp-tone-red     .fg-pp-icon { background: #fef2f2; color: #dc2626; }
.fg-pp-tone-red     .fg-pp-num,
.fg-pp-tone-red     .fg-pp-underline { background: linear-gradient(to right, #ef4444, #dc2626); }
.fg-pp-tone-slate   .fg-pp-icon { background: #f8fafc; color: #475569; }
.fg-pp-tone-slate   .fg-pp-num,
.fg-pp-tone-slate   .fg-pp-underline { background: linear-gradient(to right, #64748b, #475569); }
.fg-pp-tone-emerald .fg-pp-icon { background: #ecfdf5; color: #059669; }
.fg-pp-tone-emerald .fg-pp-num,
.fg-pp-tone-emerald .fg-pp-underline { background: linear-gradient(to right, #10b981, #059669); }

/* ---- Mobile diagram simplifications ---- */
@media (max-width: 767px) {
    .fg-diag-row { grid-template-columns: 1fr; gap: 12px; }
    .fg-diag-label-r { text-align: left; }
    .fg-conn { display: none; }
    .fg-hub-card { min-width: 0; padding: 20px; }
    .fg-orb { width: 220px; height: 220px; }

    /* Full-screen hero gradient on mobile (not just behind the diagram) */
    .fg-hero {
        background:
            radial-gradient(circle at 0% 0%, rgba(59,130,246,.22), transparent 55%),
            radial-gradient(circle at 100% 18%, rgba(168,85,247,.22), transparent 55%),
            radial-gradient(circle at 50% 100%, rgba(236,72,153,.18), transparent 60%),
            linear-gradient(to bottom, #eef4ff 0%, #faf5ff 50%, #fff 100%);
    }
    /* Orbs become redundant once the section itself has the wash */
    .fg-hero-visual .fg-orb { display: none; }
}

/* ============================================================
   FIGMA SLOW INFRASTRUCTURE — second Figma Make screen
   ============================================================ */
.fg-slowinfra { font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    background: linear-gradient(135deg, #fff7ed 0%, #fff 50%, #fef2f2 100%);
    padding: 64px 0 96px; overflow: hidden; }
.fg-slowinfra h1, .fg-slowinfra h2, .fg-slowinfra h3, .fg-slowinfra p, .fg-slowinfra span, .fg-slowinfra div {
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
@media (min-width: 768px) { .fg-slowinfra { padding: 96px 0 128px; } }
.fg-si-kicker { text-align: center; font-size: 1.5rem; font-weight: 600; line-height: 1.25; color: #4b5563;
    max-width: 56rem; margin: 0 auto 48px; padding: 0 16px; }
@media (min-width: 768px) { .fg-si-kicker { font-size: 1.875rem; } }
@media (min-width: 1024px) { .fg-si-kicker { font-size: 2.25rem; margin-bottom: 56px; } }

.fg-si-stage { position: relative; min-height: 640px; max-width: 80rem; margin: 0 auto; padding: 16px; }
.fg-si-rings { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* Center content */
.fg-si-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -55%);
    text-align: center; max-width: 36rem; padding: 0 24px; z-index: 2; }
.fg-si-clock { display: inline-flex; align-items: center; justify-content: center;
    width: 64px; height: 64px; border-radius: 16px;
    background: linear-gradient(135deg, #fb923c, #f87171);
    box-shadow: 0 20px 25px -5px rgba(251,146,60,.35), 0 8px 10px -6px rgba(248,113,113,.35);
    color: #fff; margin-bottom: 16px;
    animation: fg-si-wobble 4s ease-in-out infinite; }
@keyframes fg-si-wobble { 0%,100% { transform: rotate(0) } 25% { transform: rotate(5deg) } 75% { transform: rotate(-5deg) } }
.fg-si-title { font-size: 2.5rem; font-weight: 700; color: #111827; margin: 0 0 16px; line-height: 1.1; }
@media (min-width: 1024px) { .fg-si-title { font-size: 3rem; } }
.fg-si-sub { font-size: 1.125rem; color: #4b5563; line-height: 1.6; margin: 0 0 24px; }
.fg-si-pill { display: inline-block; background: linear-gradient(to right, #ffedd5, #fef3c7);
    border: 2px solid #fdba74; border-radius: 9999px; padding: 12px 24px; }
@media (min-width: 768px) { .fg-si-pill { padding: 14px 32px; } }
.fg-si-pill span { font-size: 1.25rem; font-weight: 700; color: #ea580c; }
@media (min-width: 768px) { .fg-si-pill span { font-size: 1.5rem; } }
.fg-si-note { font-size: 0.875rem; color: #6b7280; margin: 24px 0 0; }

/* Badges — floating around center */
.fg-si-badge { position: absolute; display: inline-flex; align-items: center; gap: 12px;
    background: #fff; border-radius: 9999px; padding: 10px 16px;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,.10), 0 4px 6px -4px rgba(0,0,0,.10);
    animation: fg-si-float 3s ease-in-out infinite; z-index: 3; }
.fg-si-bicon { display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%; color: #fff; flex-shrink: 0; }
.fg-si-blabel { font-size: 0.875rem; font-weight: 500; color: #374151; white-space: nowrap; }
@keyframes fg-si-float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-10px) } }

/* Badge tones */
.fg-si-tone-rose         { background: #fb7185; }
.fg-si-tone-pink         { background: #f472b6; }
.fg-si-tone-orange       { background: #fb923c; }
.fg-si-tone-amber        { background: #fbbf24; }
.fg-si-tone-yellow       { background: #facc15; }
.fg-si-tone-orange-light { background: #fdba74; }

/* Badge positions (md+) */
.fg-si-pos-tl { top: 16px; left: 16px; animation-delay: 0s; }
.fg-si-pos-ml { top: 50%; left: 8px; margin-top: -20px; animation-delay: .4s; }
.fg-si-pos-bl { bottom: 32px; left: 16px; animation-delay: .6s; }
.fg-si-pos-tr { top: 16px; right: 16px; animation-delay: .3s; }
.fg-si-pos-mr { top: 50%; right: 8px; margin-top: -20px; animation-delay: .5s; }
.fg-si-pos-br { bottom: 24px; right: 16px; animation-delay: .7s; }
@media (min-width: 768px) {
    .fg-si-pos-tl { top: 64px; left: 48px; }
    .fg-si-pos-ml { top: 200px; left: 96px; }
    .fg-si-pos-bl { bottom: 128px; left: 64px; }
    .fg-si-pos-tr { top: 80px; right: 64px; }
    .fg-si-pos-mr { top: 220px; right: 96px; }
    .fg-si-pos-br { bottom: 96px; right: 80px; }
}

/* Decorative dots */
.fg-si-dot { position: absolute; border-radius: 50%; opacity: .5; animation: fg-si-drift 4s ease-in-out infinite; }
.fg-si-dot-1 { width: 12px; height: 12px; top: 130px; left: 33%; background: #fdba74; }
.fg-si-dot-2 { width: 16px; height: 16px; bottom: 96px; right: 33%; background: #fda4af; animation-duration: 5s; animation-delay: 1s; }
.fg-si-dot-3 { width: 8px; height: 8px; top: 50%; right: 25%; background: #fcd34d; animation-duration: 3.5s; animation-delay: .5s; }
@keyframes fg-si-drift { 0%,100% { transform: translate(0,0) } 50% { transform: translate(10px,-15px) } }

@media (max-width: 767px) {
    .fg-si-stage { min-height: 800px; }
    .fg-si-badge { padding: 8px 12px; }
    .fg-si-blabel { font-size: 0.75rem; }
    .fg-si-bicon { width: 32px; height: 32px; }
    .fg-si-center { top: 50%; }
    .fg-si-title { font-size: 1.875rem; }
}

/* ---- Nav CTA polish to match Figma (blue gradient pill, scoped to header) ---- */
.site-header .nav-cta .btn-primary {
    background: linear-gradient(to right, #2563eb, #1d4ed8);
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(59,130,246,.25), 0 4px 6px -4px rgba(59,130,246,.25);
    padding: 10px 20px;
    font-weight: 600;
}
.site-header .nav-cta .btn-primary:hover {
    background: linear-gradient(to right, #1d4ed8, #1e40af);
    box-shadow: 0 20px 25px -5px rgba(59,130,246,.3), 0 8px 10px -6px rgba(59,130,246,.3);
    transform: none;
}
