/* =========================================================
   Version A — Corporate Editorial (premium refined)
   Inspired by Stripe / Vercel / Linear design systems.
   Lighter display weights, tighter tracking,
   blue-tinted multi-layer shadows, shadow-as-border.
   Deep navy + teal accent + gold detail.
   ========================================================= */
:root {
  /* -- Colors (Stripe/Linear refined) -- */
  --navy:     #061B31;    /* Stripe deep navy heading */
  --blue:     #1554B0;
  --blue-mid: #2E7CF6;
  --accent:   #16B8A6;
  --gold:     #C9A24B;
  --gold-soft:#E4C77A;
  --ink:      #171717;    /* Vercel near-black */
  --muted:    #64748D;    /* Slate-500 (Stripe body) */
  --label:    #273951;    /* Stripe label text */
  --line:     #E5EDF5;    /* Stripe border blue */
  --line-2:   #D6D9FC;    /* Subtle purple border */
  --bg:       #FFFFFF;
  --bg-soft:  #F8FAFD;    /* Cool blue-gray tint */
  --card-bg:  #FFFFFF;

  /* -- Shadows (Stripe multi-layer blue-tinted) -- */
  --shadow-sm: 0 2px 8px rgba(50,50,93,.08), 0 1px 3px rgba(0,0,0,.06);
  --shadow:    0 12px 28px rgba(50,50,93,.12), 0 4px 10px rgba(0,0,0,.07);
  --shadow-lg: 0 30px 60px rgba(50,50,93,.16), 0 10px 20px rgba(0,0,0,.10);

  /* -- Borders (Vercel shadow-as-border) -- */
  --border: rgba(0,0,0,.08) 0px 0px 0px 1px;
  --border-soft: rgba(0,0,0,.05) 0px 0px 0px 1px;

  /* -- Radius (conservative 6-8px) -- */
  --radius:   8px;
  --radius-sm:6px;
  --radius-lg:12px;
  --max:      1140px;

  /* -- Typography -- */
  --display: "Sora", system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC", sans-serif;
  --font:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC", sans-serif;
  --mono:    "JetBrains Mono", "Fira Code", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.01em;
}
a { color: inherit; text-decoration: none; }
::selection { background: rgba(22,184,166,.22); }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* =====================================================
   Header
   ===================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,.6);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(50,50,93,.06);
}
.nav { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; }
.brand-mark { color: var(--blue); display: inline-flex; }
.brand-text { font-size: 17px; letter-spacing: .3px; line-height: 1; }
.brand-sub { display: block; font-size: 9.5px; letter-spacing: 3px; color: var(--muted); font-weight: 600; margin-top: 2px; text-transform: uppercase; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-family: var(--font);
  font-weight: 500;
  font-size: 14px;
  color: var(--navy);
  position: relative; padding: 4px 0;
  letter-spacing: -.01em;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -1px;
  width: 0; height: 1.5px; background: var(--accent);
  transition: width .22s ease;
}
.nav-links a:hover { color: var(--blue); }
.nav-links a:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.ver-switch {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 3px; border-radius: 999px;
  border: var(--border-soft);
  background: var(--bg-soft);
}
.ver-switch .ver-label {
  font-size: 10px; font-weight: 700; letter-spacing: 1.2px;
  color: var(--muted); padding: 0 7px 0 5px; text-transform: uppercase;
}
.ver-switch a {
  font-family: var(--display); font-weight: 600; font-size: 12px;
  width: 26px; height: 26px; display: inline-flex;
  align-items: center; justify-content: center; border-radius: 999px;
  color: var(--muted); transition: background .15s, color .15s;
}
.ver-switch a:hover { color: var(--blue); }
.ver-switch a.active { background: var(--navy); color: #fff; }
.lang-switch {
  font: inherit; font-weight: 500; font-size: 13px;
  cursor: pointer; padding: 8px 13px; border-radius: var(--radius-sm);
  border: var(--border-soft); background: #fff; color: var(--navy);
  transition: border-color .15s, color .15s;
}
.lang-switch:hover { border-color: var(--blue); color: var(--blue); }
.nav-cta { margin-left: 0; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 20px; height: 2px; background: var(--navy); border-radius: 2px; }

/* =====================================================
   Buttons (Stripe precision)
   ===================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 22px; border-radius: var(--radius-sm);
  font-weight: 500; font-size: 14px; cursor: pointer;
  border: var(--border); letter-spacing: -.01em;
  transition: transform .15s, box-shadow .15s, background .15s, color .15s, border-color .15s;
}
.btn-primary {
  background: var(--blue); color: #fff; border-color: var(--blue);
  box-shadow: 0 4px 14px rgba(21,84,176,.22), var(--border);
}
.btn-primary:hover {
  background: #1248A8; border-color: #1248A8;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(21,84,176,.28), var(--border);
}
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); background: rgba(21,84,176,.04); }

/* =====================================================
   Hero
   ===================================================== */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(110% 80% at 90% 0%, rgba(22,184,166,.10), transparent 40%),
    radial-gradient(90% 70% at 0% 20%, rgba(21,84,176,.09), transparent 45%),
    linear-gradient(180deg, #f0f6ff 0%, #fff 68%);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(21,84,176,.07) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 65%);
  mask-image: linear-gradient(180deg, #000, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--accent) 55%, var(--gold));
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px;
  align-items: center; padding: 80px 28px 54px; position: relative;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  text-transform: uppercase; letter-spacing: 2.5px;
  font-size: 11px; font-weight: 700; color: var(--blue);
  margin: 0 0 16px; font-family: var(--mono);
}
.eyebrow::before { content: ""; width: 24px; height: 1.5px; background: var(--accent); border-radius: 2px; }
.hero h1 {
  font-family: var(--display);
  font-size: clamp(36px, 4.8vw, 56px);
  font-weight: 400; line-height: 1.05;
  margin: 0 0 18px; letter-spacing: -1.6px;
  color: var(--navy);
}
.grad {
  background: linear-gradient(90deg, var(--blue), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead {
  font-size: 17px; color: var(--muted); margin: 0 0 28px;
  max-width: 520px; line-height: 1.65;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual { display: flex; justify-content: center; position: relative; }

/* Global-network SVG */
.globe { width: 100%; max-width: 400px; height: auto; filter: drop-shadow(0 20px 48px rgba(21,84,176,.18)); }
.globe-lines { opacity: .85; }
.arcs { animation: dash 16s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -240; } }
.halo { fill: #2E7CF6; transform-box: fill-box; transform-origin: center; animation: halo 3.4s ease-out infinite; }
.halo.gold { fill: #E4C77A; animation-duration: 4.6s; }
.port-labels text { fill: #7E8CA6; paint-order: stroke; stroke: rgba(255,255,255,.8); stroke-width: 3px; stroke-linejoin: round; }
@keyframes halo { 0% { transform: scale(1); opacity: .5; } 70% { opacity: 0; } 100% { transform: scale(3.2); opacity: 0; } }

/* Stat strip */
.stat-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  margin-top: 6px; background: linear-gradient(180deg, #fff, #fafcff);
  box-shadow: var(--border-soft);
}
.stat {
  padding: 30px 16px; text-align: center;
  border-right: 1px solid var(--line); position: relative;
}
.stat:last-child { border-right: 0; }
.stat strong {
  display: block; font-family: var(--display);
  font-size: 38px; font-weight: 400; letter-spacing: -1px;
  color: var(--navy); line-height: 1;
}
.stat strong::after {
  content: ""; display: block; width: 22px; height: 2px;
  background: var(--gold); margin: 10px auto 0; border-radius: 2px;
}
.stat span { font-size: 12px; color: var(--muted); letter-spacing: .3px; text-transform: uppercase; font-family: var(--mono); }

/* =====================================================
   Sections
   ===================================================== */
.section { padding: 84px 0; }
.section-soft { background: var(--bg-soft); }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 11px;
  text-transform: uppercase; letter-spacing: 2.5px;
  font-size: 11px; font-weight: 700; color: var(--blue);
  margin: 0 0 12px; font-family: var(--mono);
}
.section-eyebrow .idx {
  font-family: var(--display); font-weight: 400;
  color: var(--gold); letter-spacing: -.5px;
  font-size: 12px; padding-right: 11px;
  border-right: 1px solid var(--line-2);
}
.section-eyebrow .txt { padding-left: 0; }
.section-title {
  font-family: var(--display);
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 400; line-height: 1.12;
  margin: 0 0 26px; letter-spacing: -1px;
  color: var(--navy); max-width: 18ch;
}

/* About */
.about-lead { font-size: 18px; color: var(--navy); max-width: 820px; margin: 0 0 40px; line-height: 1.65; font-weight: 400; }
.about-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--card-bg);
  box-shadow: var(--border-soft), var(--shadow-sm);
  border-radius: var(--radius);
  padding: 26px; position: relative; overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--border), var(--shadow); transform: translateY(-3px); }
.card-accent { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--blue), var(--accent)); border-radius: 0 2px 2px 0; }
.about-cards .card h3 { margin: 0 0 9px; color: var(--navy); font-family: var(--display); font-size: 17px; font-weight: 600; letter-spacing: -.3px; }
.about-cards .card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* Services */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card.feature { transition: box-shadow .2s, transform .2s; }
.card.feature .bar {
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--accent));
  transform: scaleX(0); transform-origin: left; transition: transform .32s ease; border-radius: 0 0 3px 3px;
}
.card.feature:hover .bar { transform: scaleX(1); }
.card.feature:hover { transform: translateY(-5px); box-shadow: var(--border), var(--shadow-lg); }
.card.feature .ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; border-radius: var(--radius-sm);
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(21,84,176,.08), rgba(22,184,166,.08));
  border: var(--border-soft);
}
.card.feature .ico svg { width: 24px; height: 24px; fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card.feature h3 { margin: 0 0 9px; color: var(--navy); font-family: var(--display); font-size: 16px; font-weight: 600; letter-spacing: -.3px; }
.card.feature p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why-item {
  padding: 24px 22px; border-radius: var(--radius);
  background: var(--card-bg); border: var(--border-soft);
  box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.why-item:hover { transform: translateY(-3px); box-shadow: var(--border), var(--shadow); }
.why-item::before {
  content: ""; position: absolute; top: 0; left: 22px; right: 22px; height: 2px;
  background: var(--accent); opacity: 0; transition: opacity .2s; border-radius: 0 0 2px 2px;
}
.why-item:hover::before { opacity: 1; }
.why-num { font-family: var(--display); font-size: 13px; font-weight: 400; color: var(--blue); letter-spacing: -.3px; }
.why-item h3 { margin: 10px 0 8px; color: var(--navy); font-size: 15px; font-family: var(--display); font-weight: 600; letter-spacing: -.2px; }
.why-item p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.6; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.contact-list li { display: grid; grid-template-columns: 88px 1fr; gap: 10px; align-items: baseline; }
.contact-list span:first-child { font-weight: 700; color: var(--navy); font-size: 11px; text-transform: uppercase; letter-spacing: 1.2px; font-family: var(--mono); }
.contact-list a { color: var(--blue); }
.contact-form {
  background: var(--card-bg); border: var(--border-soft);
  box-shadow: var(--shadow-sm); border-radius: var(--radius);
  padding: 28px; display: grid; gap: 14px;
}
.contact-form label { display: grid; gap: 5px; font-size: 13px; font-weight: 600; color: var(--navy); letter-spacing: -.01em; }
.contact-form input, .contact-form textarea {
  font: inherit; padding: 10px 12px;
  border: var(--border-soft); border-radius: var(--radius-sm);
  background: var(--bg-soft); color: var(--ink); resize: vertical;
  transition: border-color .15s, box-shadow .15s;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(21,84,176,.12), var(--border-soft);
}

/* =====================================================
   Footer
   ===================================================== */
.site-footer {
  position: relative; background: var(--navy); color: #B8C4D8;
  padding: 48px 0 28px;
}
.site-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--accent) 55%, var(--gold));
}
.footer-inner { display: grid; gap: 20px; }
.footer-brand .brand-text { color: #fff; }
.footer-brand p { margin: 8px 0 0; color: #8A9BBF; max-width: 380px; font-size: 14px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: #B8C4D8; font-size: 14px; transition: color .15s; }
.footer-links a:hover { color: #fff; }
.footer-legal {
  font-size: 12px; color: #6B7A94; margin: 0;
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 16px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
}
.to-top { color: #8A9BBF; font-weight: 600; font-size: 12px; }
.to-top:hover { color: #fff; }

/* =====================================================
   Scroll reveal
   ===================================================== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s cubic-bezier(.2,.7,.2,1), transform .65s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.cards-grid .card.feature:nth-child(2), .about-cards .card:nth-child(2), .why-grid .why-item:nth-child(2) { transition-delay: .07s; }
.cards-grid .card.feature:nth-child(3), .about-cards .card:nth-child(3), .why-grid .why-item:nth-child(3) { transition-delay: .14s; }
.cards-grid .card.feature:nth-child(4), .why-grid .why-item:nth-child(4) { transition-delay: .21s; }

/* =====================================================
   Responsive
   ===================================================== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 56px; }
  .hero-visual { order: -1; }
  .globe { max-width: 280px; }
  .about-cards, .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .nav-links, .nav-cta, .ver-switch .ver-label { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .stat-strip { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:first-child { border-top: 0; }
  .about-cards, .cards-grid, .why-grid { grid-template-columns: 1fr; }
  .section-title { max-width: none; }
}

/* =====================================================
   Reduced motion
   ===================================================== */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .arcs, .halo, .orbit { animation: none; }
  .hero::before { display: none; }
  html { scroll-behavior: auto; }
}
