/* ── Gwio landing page — blue & black brand ─────────────────────────────── */
:root {
    /* Brand */
    --brand-blue:        #4574e4;          /* gwio mark color */
    --brand-blue-hover:  #3460d4;
    --brand-blue-dark:   #2A4FB3;
    --brand-blue-50:     #EDF2FD;
    --brand-blue-100:    #D7E1FA;
    --brand-blue-200:    #B5C5F4;

    /* Neutrals (charcoal/black) */
    --neutral-950: #0A0A0A;
    --neutral-900: #141416;
    --neutral-800: #1E1F22;
    --neutral-700: #2D2F34;
    --neutral-600: #4A4D55;
    --neutral-500: #6B6F78;
    --neutral-400: #9095A0;
    --neutral-300: #B5B9C2;
    --neutral-200: #D6D9DF;
    --neutral-100: #ECEEF2;
    --neutral-50:  #F6F7F9;

    /* Semantic */
    --color-success: #22C55E;
    --color-warning: #F59E0B;
    --color-danger:  #EF4444;

    /* Typography — matched to gwio wordmark (rounded geometric sans) */
    --font-display: 'Outfit', 'Nunito', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    --font-body:    'Nunito', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

    /* Effects */
    --shadow-card:       0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-card-hover: 0 8px 24px rgba(20, 20, 22, 0.10);
    --shadow-hero:       0 30px 60px rgba(20, 20, 22, 0.18);

    --radius-card:   16px;
    --radius-button: 10px;

    --max: 1200px;
    --pad: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--neutral-900);
    background: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--brand-blue); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--brand-blue-hover); }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--neutral-900);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.55rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; }

/* Inline accent inside headings — matches the lowercase, rounded wordmark feel */
h1 em, h2 em, h3 em {
    font-style: normal;
    color: var(--brand-blue);
    font-weight: 700;
}

p { margin: 0 0 1em; color: var(--neutral-700); }

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--pad);
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--brand-blue);
    color: #fff;
    padding: 8px 16px;
    z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

.eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--brand-blue);
    background: var(--brand-blue-50);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn-primary, .btn-ghost, .nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: var(--radius-button);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all .15s ease;
    text-decoration: none;
    white-space: nowrap;
}
.btn-primary {
    background: var(--neutral-900);
    color: #fff;
    box-shadow: 0 4px 12px rgba(20, 20, 22, 0.25);
}
.btn-primary:hover {
    background: var(--brand-blue);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(69, 116, 228, 0.32);
}
.btn-ghost {
    background: transparent;
    color: var(--neutral-900);
    border-color: var(--neutral-200);
}
.btn-ghost:hover {
    border-color: var(--brand-blue);
    color: var(--brand-blue);
}
.btn-block { width: 100%; padding: 14px 22px; font-size: 1rem; }

/* ── Header ─────────────────────────────────────────────────────────────── */
.header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--neutral-100);
    z-index: 50;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.brand-logo { height: 28px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav-link {
    color: var(--neutral-700);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color .15s ease;
}
.nav-link:hover { color: var(--brand-blue); }
.nav-cta {
    background: var(--neutral-900);
    color: #fff;
    padding: 10px 18px;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(20, 20, 22, 0.2);
}
.nav-cta:hover { background: var(--brand-blue); color: #fff; }

.burger {
    display: none;
    background: transparent;
    border: 0;
    color: var(--neutral-900);
    cursor: pointer;
}
.burger .material-symbols-outlined { font-size: 28px; }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
    position: relative;
    padding: 80px 0 100px;
    background: var(--neutral-100);
    border-bottom: 1px solid var(--neutral-200);
    overflow: hidden;
}
.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
    align-items: center;
}
.hero-text h1 { margin-bottom: 20px; }
.hero-sub {
    font-size: 1.15rem;
    color: var(--neutral-600);
    margin-bottom: 32px;
    max-width: 560px;
}
.hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.hero-note {
    font-size: 0.9rem;
    color: var(--neutral-500);
    margin: 0;
}
.hero-note strong {
    color: var(--neutral-800);
    font-weight: 600;
    background: var(--neutral-50);
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid var(--neutral-100);
    font-family: ui-monospace, 'SF Mono', monospace;
    font-size: 0.85rem;
}

/* Hero visual — real product screenshot with floating chip */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}
.hero-shot {
    width: 100%;
    max-width: 460px;
    height: auto;
    border-radius: 18px;
    box-shadow: var(--shadow-hero);
    background: #fff;
    border: 1px solid var(--neutral-200);
}
.hero-chip {
    position: absolute;
    bottom: -28px;
    left: -28px;
    width: 240px;
    height: auto;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-card-hover);
    padding: 6px;
}

/* ── Trust strip ────────────────────────────────────────────────────────── */
.trust {
    padding: 36px 0;
    border-bottom: 1px solid var(--neutral-100);
    background: #fff;
}
.trust-label {
    text-align: center;
    margin: 0 0 18px;
    font-size: 0.85rem;
    color: var(--neutral-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}
.trust-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 32px;
}
.trust-list li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--neutral-700);
    font-weight: 600;
    font-size: 0.95rem;
}
.trust-list .material-symbols-outlined {
    color: var(--brand-blue);
    font-size: 22px;
}

/* ── Section heads ──────────────────────────────────────────────────────── */
.section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 56px;
}
.section-head h2 { margin-bottom: 16px; }
.section-head p {
    font-size: 1.1rem;
    color: var(--neutral-600);
}

/* ── Pillars ────────────────────────────────────────────────────────────── */
.pillars { padding: 100px 0; background: #fff; }
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.pillar {
    background: #fff;
    border: 1px solid var(--neutral-100);
    border-radius: var(--radius-card);
    padding: 32px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.pillar:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--brand-blue-100);
}
.pillar-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--brand-blue-50), #fff);
    color: var(--brand-blue);
    margin-bottom: 20px;
    border: 1px solid var(--brand-blue-100);
}
.pillar-icon .material-symbols-outlined { font-size: 28px; }
.pillar h3 { margin-bottom: 12px; }
.pillar p { color: var(--neutral-600); margin-bottom: 18px; }
.pillar-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}
.pillar-list li {
    position: relative;
    padding-left: 22px;
    font-size: 0.92rem;
    color: var(--neutral-700);
}
.pillar-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-blue);
}

/* ── Features ───────────────────────────────────────────────────────────── */
.features { padding: 100px 0; background: var(--neutral-100); }
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature {
    background: #fff;
    border: 1px solid var(--neutral-100);
    border-radius: var(--radius-card);
    padding: 28px;
    transition: border-color .2s ease, transform .2s ease;
}
.feature:hover { border-color: var(--brand-blue-100); transform: translateY(-2px); }
.feature-icon {
    color: var(--brand-blue);
    font-size: 32px !important;
    margin-bottom: 14px;
}
.feature h4 { margin-bottom: 8px; font-family: var(--font-body); font-weight: 700; }
.feature p { margin: 0; font-size: 0.95rem; }

/* ── Compliance ─────────────────────────────────────────────────────────── */
.compliance {
    padding: 100px 0;
    background: var(--neutral-100);
}
.compliance-inner {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 64px;
    align-items: center;
}
.compliance-text h2 { margin-bottom: 20px; }
.compliance-text > p {
    font-size: 1.1rem;
    color: var(--neutral-600);
    margin-bottom: 28px;
}
.check-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}
.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--neutral-800);
    font-weight: 500;
}
.check-list .material-symbols-outlined {
    color: var(--brand-blue);
    font-size: 24px;
}
.compliance-shot {
    width: 100%;
    height: auto;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card-hover);
    border: 1px solid var(--neutral-200);
    background: #fff;
    display: block;
}

/* ── AI section ─────────────────────────────────────────────────────────── */
.ai { padding: 100px 0; background: #fff; }
.ai-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}
.ai-card {
    background: #fff;
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-card);
    padding: 32px;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.ai-card:hover {
    border-color: var(--brand-blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
}
.ai-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--brand-blue);
    color: #fff;
    margin-bottom: 20px;
}
.ai-icon .material-symbols-outlined { font-size: 30px; }
.ai-card h3 { margin-bottom: 12px; }
.ai-card p { color: var(--neutral-600); margin: 0; font-size: 0.95rem; }
.ai-note {
    text-align: center;
    max-width: 760px;
    margin: 32px auto 0;
    color: var(--neutral-500);
    font-size: 0.95rem;
}
.ai-shot-wrap {
    margin: 48px auto 0;
    max-width: 560px;
    text-align: center;
}
.ai-shot {
    width: 100%;
    height: auto;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card-hover);
    border: 1px solid var(--neutral-200);
    background: #fff;
    display: block;
}

/* ── Integrations ───────────────────────────────────────────────────────── */
.integrations { padding: 100px 0; background: var(--neutral-100); }
.integrations-inner {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 64px;
    align-items: center;
}
.integrations-text h2 { margin-bottom: 20px; }
.integrations-text > p {
    font-size: 1.1rem;
    color: var(--neutral-600);
    margin-bottom: 28px;
}
.integrations-text .check-list li { align-items: flex-start; }
.integrations-text .check-list strong { color: var(--neutral-900); font-weight: 700; }

.int-flow {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-card);
    padding: 28px;
    box-shadow: var(--shadow-card);
    position: relative;
}
.int-sources {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
    position: relative;
    z-index: 1;
}
.int-sources li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--neutral-50);
    border: 1px solid var(--neutral-200);
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--neutral-800);
}
.int-sources li .material-symbols-outlined {
    font-size: 22px;
    color: var(--brand-blue);
}
/* Connector lines from each source to the hub on the right */
.int-sources::after {
    content: '';
    position: absolute;
    top: 12%;
    bottom: 12%;
    right: -32px;
    width: 32px;
    border-top: 1px dashed var(--brand-blue-200);
    border-right: 1px dashed var(--brand-blue-200);
    border-bottom: 1px dashed var(--brand-blue-200);
    border-top-right-radius: 14px;
    border-bottom-right-radius: 14px;
    pointer-events: none;
}
.int-hub {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-blue);
    border-radius: 16px;
    padding: 28px 32px;
    min-width: 160px;
    box-shadow: 0 10px 24px rgba(69, 116, 228, 0.35);
    position: relative;
    z-index: 1;
}
.int-hub img {
    width: 100px;
    height: auto;
    filter: brightness(0) invert(1);
}

/* ── Showcase / Em produção ─────────────────────────────────────────────── */
.showcase { padding: 100px 0; background: #fff; }
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.showcase-item {
    margin: 0;
    background: #fff;
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform .2s ease, box-shadow .2s ease;
}
.showcase-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
}
.showcase-wide { grid-column: 1 / -1; }
.showcase-item img {
    width: 100%;
    height: auto;
    display: block;
    background: var(--neutral-50);
    border-bottom: 1px solid var(--neutral-100);
}
.showcase-item figcaption {
    padding: 20px 24px;
    color: var(--neutral-600);
    font-size: 0.92rem;
    line-height: 1.55;
}
.showcase-item figcaption strong {
    display: block;
    color: var(--neutral-900);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 4px;
}

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.faq { padding: 100px 0; background: #fff; }
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 40px;
    max-width: 960px;
    margin: 0 auto;
}
.faq-item h3 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--neutral-900);
    margin-bottom: 8px;
}
.faq-item p { color: var(--neutral-600); margin: 0; }

/* ── CTA / Demo ─────────────────────────────────────────────────────────── */
.cta {
    padding: 100px 0;
    background: var(--neutral-950);
    color: #fff;
}
.cta h2 { color: #fff; }
.cta h2 em { color: var(--brand-blue); }
.cta p { color: rgba(255, 255, 255, 0.75); }
.cta-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.cta-text h2 { margin-bottom: 20px; }
.cta-text > p { font-size: 1.1rem; margin-bottom: 28px; }
.cta-bullets {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}
.cta-bullets li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}
.cta-bullets .material-symbols-outlined {
    color: var(--brand-blue);
    font-size: 24px;
}
.cta-form {
    background: #fff;
    border-radius: var(--radius-card);
    padding: 32px;
    box-shadow: var(--shadow-hero);
    color: var(--neutral-900);
}
.cta-form .btn-primary {
    background: var(--brand-blue);
    box-shadow: 0 4px 12px rgba(69, 116, 228, 0.3);
}
.cta-form .btn-primary:hover {
    background: var(--brand-blue-hover);
    box-shadow: 0 6px 16px rgba(69, 116, 228, 0.4);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--neutral-700);
    margin-bottom: 6px;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--neutral-200);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--neutral-900);
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(69, 116, 228, 0.15);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--neutral-500);
    margin: 12px 0 0;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.footer {
    background: var(--neutral-950);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 0;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 48px;
    padding-bottom: 48px;
}
.footer-logo {
    height: 32px;
    margin-bottom: 16px;
}
.footer-brand p { color: rgba(255, 255, 255, 0.6); max-width: 320px; }
.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    margin-bottom: 16px;
}
.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
    font-size: 0.95rem;
}
.footer-col a:hover { color: var(--brand-blue); }
.footer-note { font-size: 0.9rem; color: rgba(255, 255, 255, 0.6); margin: 0; }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
}
.footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
    .hero-inner,
    .compliance-inner,
    .integrations-inner,
    .cta-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .hero-chip { left: 0; bottom: -20px; width: 200px; }
    .pillars-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .ai-grid { grid-template-columns: 1fr; }
    .showcase-grid { grid-template-columns: 1fr; }
    .showcase-wide { grid-column: auto; }
    .faq-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }

    .int-flow { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
    .int-sources::after { display: none; }
    .int-hub { width: 100%; }
}

@media (max-width: 720px) {
    .burger { display: inline-flex; }
    .nav {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: #fff;
        border-bottom: 1px solid var(--neutral-100);
        box-shadow: var(--shadow-card);
        padding: 16px 24px;
        display: none;
    }
    .nav.is-open { display: flex; }
    .nav-link, .nav-cta {
        width: 100%;
        padding: 14px 0;
        border-bottom: 1px solid var(--neutral-100);
    }
    .nav-cta { margin-top: 8px; border-bottom: 0; padding: 14px; }

    .hero { padding: 56px 0 72px; }
    .pillars, .features, .compliance, .faq, .cta { padding: 72px 0; }

    .features-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .footer-cols { grid-template-columns: 1fr 1fr; }
    .trust-list { gap: 10px 18px; }
    .trust-list li { font-size: 0.85rem; }
}
