/*
  design-system.css — Globapay "20260605"
  Brand:    Navy (#041238) + lime-green (#7BEA5C) primary accent.
  Typography: Cabinet Grotesk (headings) + Inter (body/UI)
  Tokens:   --brand-green for CTAs/highlights, --brand-navy for dark sections,
            --text-primary / --text-secondary / --text-muted for type.
  Load order: After main.css, overrides.css, cookie-consent-overrides.css
*/

/* ========================================
   FONTS (self-hosted)
   ======================================== */
@font-face {
    font-family: 'Cabinet Grotesk';
    src: local('Cabinet Grotesk'),
        url('./fonts/CabinetGrotesk-Variable.woff2') format('woff2');
    font-weight: 400 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: local('Inter'),
        url('./fonts/Inter-Variable.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sora';
    src: local('Sora'),
        url('./fonts/Sora-Variable.woff2') format('woff2');
    font-weight: 100 800;
    font-style: normal;
    font-display: swap;
}

/* ========================================
   DESIGN TOKENS
   ======================================== */
:root {
    /* ── New brand tokens ── */

    /* Primary Brand (lime green accent) */
    --brand-green: #7BEA5C;
    --brand-green-hover: #68D84C;
    --brand-green-soft: #B8EE8D;

    /* Primary Dark (navy) */
    --brand-navy: #041238;
    --brand-navy-dark: #020B22;
    --brand-navy-light: #16254A;

    /* Neutrals */
    --white: #FFFFFF;
    --off-white: #F7F8FA;
    --surface: #FAFAFB;
    --background: #F3F4F6;

    /* Text */
    --text-primary: #111827;
    --text-secondary: #4B5563;
    --text-muted: #6B7280;
    --text-on-dark: #E5E7EB;

    /* Borders */
    --border-light: #E5E7EB;
    --border-subtle: #F0F2F4;

    /* Semantic aliases */
    --button-primary-bg: var(--brand-green);
    --button-primary-text: var(--brand-navy);
    --button-primary-hover: var(--brand-green-hover);
    --card-bg: var(--white);
    --card-shadow: 0 8px 24px rgba(0,0,0,0.08);
    --footer-bg: #0F172A; /* matches index.html dark showcase footer */
    --footer-text: var(--text-on-dark);
    --heading-color: var(--text-primary);
    --body-color: var(--text-secondary);

    /* ── Legacy aliases (map old tokens to new colours) ── */
    --bg: var(--white);
    --cream: var(--off-white);
    --surface-deep: var(--background);
    --forest: var(--brand-navy);
    --forest-mid: var(--brand-navy-light);
    --ink-dark: var(--text-primary);
    --ink-body: var(--text-secondary);
    --ink-muted: var(--text-muted);
    --ink-subtle: var(--border-light);
    --green-700: var(--brand-navy);
    --green-600: var(--brand-green-hover);
    --green-500: var(--brand-green);
    --green-200: var(--brand-green-soft);
    --green-100: #D6EDBA;
    --green-50: #EEF8DC;
    --nav-accent: var(--brand-green);
    --nav-accent-hover: var(--brand-green-hover);

    /* Typography */
    --font-display: 'Cabinet Grotesk', 'Inter', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-eyebrow: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Geometry */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 18px;
    --radius-btn: 8px;
    --radius-pill: 999px;
}

/* ========================================
   BASE
   ======================================== */
body {
    background-color: var(--bg);
    color: var(--ink-body);
    font-family: var(--font-body);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

p {
    color: var(--ink-body);
}

a {
    color: var(--green-600);
    transition: color 140ms ease;
}

a:hover {
    color: var(--ink-dark);
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    color: var(--ink-dark);
    letter-spacing: -0.02em;
    line-height: 1.1;
    font-weight: 700;
}

h1 {
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.02;
}

h2 {
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.08;
}

h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.18;
}

h4 {
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.28;
}

/* ========================================
   NAVIGATION
   ======================================== */
.header {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: none;
}

.nav {
    padding: 0.9rem 0;
}

.logo-img {
    height: 40px;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--ink-body);
    letter-spacing: 0;
}

.nav-link:hover {
    color: var(--brand-green);
}

.nav-link::after {
    background: var(--brand-green);
    height: 2px;
}

.dropdown-menu {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--card-shadow);
}

.dropdown-menu a {
    color: var(--text-primary);
}

.dropdown-menu a:hover {
    background: var(--surface);
    color: var(--brand-green);
}

/* ========================================
   FLOATING PILL BANNER
   ======================================== */
.floating-pill-banner {
    background: var(--brand-navy);
    color: var(--text-on-dark);
    border: 1px solid rgba(123, 234, 92, 0.14);
    box-shadow: 0 4px 20px rgba(4, 18, 56, 0.4);
}

.pill-badge {
    background: rgba(123, 234, 92, 0.16);
    color: var(--brand-green-soft);
    font-weight: 700;
    letter-spacing: 0.06em;
}

.pill-text {
    color: var(--text-on-dark);
}

.pill-dismiss {
    background: rgba(229, 231, 235, 0.10);
    color: rgba(229, 231, 235, 0.60);
}

.pill-dismiss:hover {
    background: rgba(229, 231, 235, 0.18);
}

@media (max-width: 600px) {
    .floating-pill-banner {
        display: none;
    }
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: var(--radius-btn);
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease;
}

.btn-primary {
    background: var(--button-primary-bg);
    color: var(--button-primary-text);
    box-shadow: none;
}

.btn-primary:hover {
    background: var(--button-primary-hover);
    color: var(--button-primary-text);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(104, 216, 76, 0.28);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border-light);
}

.btn-secondary:hover {
    background: var(--surface);
    border-color: var(--brand-green);
    color: var(--text-primary);
    transform: translateY(-1px);
}

/* Primary button on dark (hero) backgrounds */
.hero .btn-primary,
.hero-ctas .btn-primary {
    background: var(--brand-green);
    color: var(--brand-navy);
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.22);
    font-weight: 700;
}

.hero .btn-primary:hover,
.hero-ctas .btn-primary:hover {
    background: var(--brand-green-hover);
    color: var(--brand-navy);
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.28);
}

/* ========================================
   HERO — deep forest, grain texture
   ======================================== */
.hero {
    background: var(--brand-navy) !important;
    background-size: auto !important;
    background-position: center !important;
    animation: none !important;
}

/* Grain texture */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
    opacity: 0.045;
    pointer-events: none;
    z-index: 1;
    animation: none !important;
}

/* Subtle animated green glow from right (behind globe) */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 45%, rgba(123, 234, 92, 0.12) 0%, rgba(123, 234, 92, 0.04) 30%, transparent 65%);
    pointer-events: none;
    z-index: 1;
    animation: heroGlow 6s ease-in-out infinite;
}

@keyframes heroGlow {

    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.0;
    color: var(--white);
}

.hero-title-highlight {
    color: var(--white);
    background: linear-gradient(135deg, var(--brand-green-soft) 0%, var(--white) 50%, var(--brand-green-soft) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 300% auto;
    animation: shimmer 15.4s ease-in-out infinite;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-on-dark);
    font-weight: 400;
    line-height: 1.72;
    opacity: 0.85;
}

.globe-wrap {
    position: relative;
    width: 580px;
    height: 580px;
    margin: 0 auto;
}

canvas#globe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    cursor: grab;
    display: block;
}

canvas#globe.dragging {
    cursor: grabbing;
}

.feature-card {
    position: absolute;
    background: white;
    border: 1px solid var(--surface-deep);
    border-radius: 16px;
    width: 230px;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 12px 36px rgba(26,48,32,0.1), 0 2px 8px rgba(0,0,0,0.04);
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(8px) scale(0.96);
    z-index: 10;
    overflow: hidden;
}

.feature-card.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.card-header {
    padding: 14px 16px 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--green-50);
    border-bottom: 1px solid var(--green-100);
}

.card-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 1px 4px rgba(26,48,32,0.1);
}

.card-icon svg {
    width: 15px;
    height: 15px;
    stroke: var(--green-700);
    fill: none;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.card-header h3 {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--ink-dark);
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.card-body {
    padding: 10px 16px 14px;
}

.card-body p {
    font-size: 0.73rem;
    color: var(--ink-body);
    line-height: 1.6;
}

.card-close {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 20px;
    height: 20px;
    border: none;
    background: rgba(26,48,32,0.08);
    border-radius: 50%;
    cursor: pointer;
    color: var(--ink-muted);
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.card-close:hover {
    background: rgba(26,48,32,0.15);
}

.node-tooltip {
    position: fixed;
    background: var(--ink-dark);
    color: white;
    font-size: 0.69rem;
    font-weight: 500;
    padding: 4px 9px;
    border-radius: 5px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s;
    white-space: nowrap;
    z-index: 200;
    letter-spacing: 0.02em;
}

.node-tooltip.visible {
    opacity: 1;
}

@media (max-width: 640px) {
    .globe-wrap {
        width: 340px;
        height: 340px;
    }
}

/* ========================================
   METRICS SECTION
   ======================================== */
.metrics {
    background: var(--surface);
    overflow-x: clip;
}

.metric-item {
    background: var(--cream);
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: none;
    transition: transform 200ms ease;
}

.metric-item:hover {
    transform: translateY(-3px);
    background: #ffffff;
}

.metric-number {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.045em;
    color: var(--green-600);
}

.metric-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

/* Providers carousel */
.providers-carousel {
    background: var(--surface-deep);
    border-radius: 0;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.provider-logo {
    background: var(--cream);
    border: none;
    border-radius: var(--radius-md);
    box-shadow: none;
}

/* ========================================
   VALUE PROPS / BENTO
   ======================================== */
.value-props {
    background: var(--bg);
}

.value-props::before {
    display: none;
    /* remove noise overlay from main.css */
}

.section-title--premium {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.035em;
    color: var(--ink-dark);
}

.value-props .section-title--premium {
    margin-bottom: 0.75rem;
}

.diagram-subtitle {
    font-size: 0.88rem;
    color: var(--ink-muted);
    margin-bottom: 56px;
    font-weight: 400;
    text-align: center;
}

.diagram-wrap {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    aspect-ratio: 1;
}

svg#diagram {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.detail-panel {
    margin: 48px auto 0;
    max-width: 480px;
    min-height: 110px;
    background: white;
    border: 1px solid var(--surface-deep);
    border-radius: 20px;
    padding: 28px 32px;
    text-align: left;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    box-shadow: 0 4px 24px rgba(26, 48, 32, 0.06);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    transform: translateY(8px);
}

.detail-panel.visible {
    opacity: 1;
    transform: translateY(0);
}

.detail-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--green-50);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--green-100);
}

.detail-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--green-700);
    fill: none;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.detail-text h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink-dark);
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.detail-text p {
    font-size: 0.83rem;
    color: var(--ink-body);
    line-height: 1.65;
    font-weight: 400;
}

@media (max-width: 600px) {
    .diagram-wrap {
        max-width: 340px;
    }

    .detail-panel {
        padding: 20px;
        gap: 14px;
    }

    .detail-text h3 {
        font-size: 0.9rem;
    }

    .detail-text p {
        font-size: 0.78rem;
    }
}

.bento-item {
    background: var(--surface);
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: none;
    transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1),
        background 300ms ease;
}

.bento-item:hover {
    transform: translateY(-6px);
    background: var(--white);
    box-shadow: 0 8px 32px rgba(4, 18, 56, 0.07);
}

.bento-item--featured {
    background: var(--surface-deep);
    border: none;
}

.bento-item--featured:hover {
    background: var(--surface);
}

.bento-glow {
    display: none;
    /* remove radial glow blobs */
}

.bento-icon {
    background: var(--green-50);
    border: none;
    border-radius: 12px;
    color: var(--green-600);
}

.bento-title {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.022em;
    color: var(--ink-dark);
}

.bento-description,
.bento-description--compact {
    color: var(--ink-muted);
    line-height: 1.65;
    font-size: 0.9375rem;
}

.bento-title--compact {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink-dark);
}

/* ========================================
   TRUST SECTION
   ======================================== */
.trust {
    background: var(--surface-deep);
}

.trust-item {
    background: var(--cream);
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: none;
    transition: transform 220ms ease, background 220ms ease;
}

.trust-item:hover {
    transform: translateY(-4px);
    background: #ffffff;
}

.trust-item h3 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink-dark);
    font-size: 1.0625rem;
}

.trust-item p {
    color: var(--ink-muted);
    font-size: 0.9375rem;
}

.trust-icon,
.value-prop-icon {
    background: var(--green-50);
    border: none;
    color: var(--green-600);
}

.trust-icon::after,
.value-prop-icon::after {
    display: none;
}

/* ========================================
   CTA SECTION — light panel
   ======================================== */
.cta {
    background: var(--surface);
}

.cta::before,
.cta::after {
    display: none;
    /* remove abstract blobs */
}

.cta-panel {
    background: var(--white);
    border: none;
    box-shadow: 0 2px 24px rgba(4, 18, 56, 0.06);
    border-radius: var(--radius-xl);
}

.cta-eyebrow {
    background: var(--green-50);
    color: var(--green-600);
    border: none;
    font-weight: 700;
    letter-spacing: 0.07em;
    border-radius: var(--radius-pill);
}

.cta-title {
    font-family: var(--font-display);
    color: var(--ink-dark);
    font-weight: 800;
    letter-spacing: -0.035em;
}

.cta-subtitle {
    color: var(--ink-muted);
    font-size: 1.0625rem;
}

/* ========================================
   CTA SECTION — dark (forest)
   ======================================== */
.cta-section {
    background: linear-gradient(160deg, var(--brand-navy-dark) 0%, var(--brand-navy) 55%, var(--brand-navy-light) 100%);
    position: relative;
    overflow: hidden;
}

/* Grain on dark CTA */
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
    opacity: 0.045;
    pointer-events: none;
    z-index: 0;
}

.cta-backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.cta-glow {
    position: absolute;
    width: 550px;
    height: 550px;
    border-radius: 50%;
    filter: blur(90px);
    will-change: transform, opacity;
}

.cta-glow--left {
    left: 10%;
    top: -5%;
    background: radial-gradient(circle, rgba(123, 234, 92, 0.35) 0%, rgba(104, 216, 76, 0.14) 45%, transparent 70%);
    animation: ctaGlowDriftLeft 7s ease-in-out infinite;
}

.cta-glow--right {
    right: 5%;
    bottom: -10%;
    background: radial-gradient(circle, rgba(123, 234, 92, 0.28) 0%, rgba(104, 216, 76, 0.10) 45%, transparent 70%);
    animation: ctaGlowDriftRight 8s ease-in-out infinite;
}

/* Central glow halo behind text */
.cta-content {
    position: relative;
}

.cta-content::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 400px;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center,
            rgba(123, 234, 92, 0.22) 0%,
            rgba(123, 234, 92, 0.10) 40%,
            transparent 70%);
    filter: blur(50px);
    pointer-events: none;
    z-index: -1;
    animation: ctaGlowPulse 4s ease-in-out infinite;
}

@keyframes ctaGlowDriftLeft {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.7;
    }

    50% {
        transform: translate(30px, -20px) scale(1.12);
        opacity: 1;
    }
}

@keyframes ctaGlowDriftRight {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translate(-25px, 15px) scale(1.1);
        opacity: 1;
    }
}

@keyframes ctaGlowPulse {

    0%,
    100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.08);
    }
}

.cta-section .cta-container {
    position: relative;
    z-index: 1;
}

.cta-label {
    font-family: var(--font-display);
    color: var(--brand-green-soft);
    letter-spacing: 0.1em;
    font-size: 0.7rem;
}

.cta-heading {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.035em;
    color: var(--white);
}

.cta-description {
    color: var(--text-on-dark);
    font-size: 1.0625rem;
    opacity: 0.7;
}

.cta-btn {
    font-family: var(--font-body);
    font-weight: 600;
    border-radius: var(--radius-btn);
}

.cta-btn--primary {
    background: rgba(123, 234, 92, 0.10);
    border: 1px solid rgba(123, 234, 92, 0.28);
    color: var(--white);
}

.cta-btn--primary:hover {
    background: rgba(123, 234, 92, 0.20);
    border-color: rgba(123, 234, 92, 0.46);
    color: #ffffff;
}

.cta-btn--ghost {
    border: 1px solid rgba(229, 231, 235, 0.15);
    color: rgba(229, 231, 235, 0.58);
}

.cta-btn--ghost:hover {
    border-color: rgba(229, 231, 235, 0.32);
    color: var(--white);
}

/* ========================================
   SHARED SECTION TITLES
   ======================================== */
.section-title {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.028em;
    color: var(--ink-dark);
}

.section-subtitle {
    color: var(--ink-muted);
    font-size: 1.0625rem;
    line-height: 1.65;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand-green);
    background: rgba(123, 234, 92, 0.12);
    border-radius: var(--radius-pill);
    padding: 0.25rem 0.65rem;
    margin-bottom: 0.75rem;
}

/* ========================================
   SHOWCASE / STICKY SCROLLER
   ======================================== */
.showcase {
    background: var(--bg);
}

.showcase-intro h2 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--ink-dark);
}

.showcase-intro p {
    color: var(--ink-muted);
}

.key-feature {
    background: var(--green-50);
    border: none;
    border-radius: var(--radius-sm);
    color: var(--ink-body);
}

/* ========================================
   DEMO SECTION
   ======================================== */
.demo-section {
    background: var(--surface);
}

.demo-tab {
    border-color: var(--brand-green);
    color: var(--brand-green);
    border-radius: var(--radius-btn);
    font-family: var(--font-body);
    font-weight: 600;
}

.demo-tab.active,
.demo-tab:hover {
    background: var(--brand-green);
    color: var(--brand-navy);
}

.demo-dashboard {
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 24px rgba(4, 18, 56, 0.10);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--footer-bg);
}

.footer-section h4 {
    font-family: var(--font-body);
    color: rgba(229, 231, 235, 0.38);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
}

.footer-description {
    color: var(--text-on-dark);
    opacity: 0.7;
    line-height: 1.78;
    font-size: 0.9375rem;
}

.footer-section ul li a {
    color: var(--text-on-dark);
    opacity: 0.55;
    font-size: 0.9375rem;
}

.footer-section ul li a:hover {
    color: var(--brand-green-soft);
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(229, 231, 235, 0.08);
}

.footer-bottom p {
    color: var(--text-on-dark);
    opacity: 0.36;
    font-size: 0.875rem;
}

.footer-links a {
    color: var(--text-on-dark);
    opacity: 0.40;
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: var(--text-on-dark);
    opacity: 0.76;
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-modern {
    background-image: radial-gradient(73% 147%, #F7F8FA 59%, #F3F4F6 100%), radial-gradient(91% 146%, rgba(255, 255, 255, 0.50) 47%, rgba(0, 0, 0, 0.50) 100%) !important;
    background-blend-mode: screen !important;
}

.contact-grid,
.directory-card {
    background: var(--white) !important;
    border: 1px solid var(--border-subtle) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
}

.contact-hero {
    background: transparent !important;
}

.contact-hero h1,
.contact-hero h2 {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.035em;
    color: var(--ink-dark);
}

.contact-hero p {
    color: var(--ink-muted);
}

.eyebrow {
    background: rgba(123, 234, 92, 0.12) !important;
    color: var(--brand-green) !important;
    font-weight: 700;
    letter-spacing: 0.06em;
    border-radius: var(--radius-pill) !important;
    border: none !important;
}

/* ========================================
   LEGAL PAGES (privacy, terms)
   ======================================== */
.legal-page {
    background: var(--bg) !important;
    background-image: none !important;
}

/* ========================================
   ALT HERO (GlobaGift, GlobaInvoice sub-pages)
   ======================================== */
.alt-hero {
    background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
}

/* ========================================
   BLOG / ARTICLE PAGES
   ======================================== */
.article-hero h1,
.article-hero h2 {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.04em;
}

/* Keep icon blocks centered consistently across all breakpoints */
.bento-item .bento-icon,
.trust-item .trust-icon,
.value-prop-item .value-prop-icon {
    display: flex;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (min-width: 1025px) {
    .bento-item--featured .bento-icon {
        margin-left: 0;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .hero-title {
        letter-spacing: -0.03em;
    }

    .section-title--premium,
    .cta-title,
    .cta-heading {
        letter-spacing: -0.022em;
    }

    .bento-item,
    .trust-item,
    .metric-item {
        border-radius: var(--radius-md);
    }
}

/* ========================================
   REDUCED MOTION — respect OS preference
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero,
  .gp-story,
  .globe-canvas-wrapper,
  .animate-on-scroll {
    animation: none !important;
  }
}
