/* =========================================================
   Gaby Media LLC — gaby.media
   Stylesheet (mobile-first)
   ========================================================= */

:root {
  --brand: #4f46e5;
  --brand-2: #06b6d4;
  --brand-ink: #312e81;
  --ink: #0b1220;
  --muted: #5a6478;
  --line: #e6eaf2;
  --bg: #ffffff;
  --soft: #f6f8fc;
  --dark: #0b1220;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, .06), 0 1px 3px rgba(11, 18, 32, .05);
  --shadow-md: 0 12px 32px rgba(11, 18, 32, .08);
  --shadow-lg: 0 30px 60px rgba(11, 18, 32, .14);
  --max: 1140px;
  --header-h: 72px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.02em; font-weight: 800; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

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

/* ---------- Typography ---------- */
.h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); letter-spacing: -.03em; }
.h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.h3 { font-size: 1.2rem; }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--muted); }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--brand);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); }

.grad {
  background: linear-gradient(100deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Layout ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--soft { background: var(--soft); }
.section--dark { background: radial-gradient(120% 120% at 15% 0%, #1b1f4b 0%, var(--dark) 55%); color: #fff; }
.section--dark .lead, .section--dark .muted { color: #b9c0d4; }
.section-head { max-width: 680px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head .h2 { margin-top: 14px; }
.section-head .lead { margin-top: 16px; }
.grid { display: grid; gap: 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: .96rem;
  border: 1px solid transparent; cursor: pointer; transition: .18s ease; white-space: nowrap;
}
.btn--primary { background: linear-gradient(100deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: 0 10px 24px rgba(79, 70, 229, .28); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(79, 70, 229, .34); }
.btn--ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: #c9d2e4; transform: translateY(-2px); }
.btn--dark { background: #fff; color: var(--brand-ink); }
.btn--dark:hover { transform: translateY(-2px); }
.btn--lg { padding: 15px 28px; font-size: 1.02rem; }
.btn--link { padding: 0; color: var(--brand); font-weight: 700; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s, border-color .2s, background .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -.02em; font-size: 1.14rem; }
.brand__mark { width: 34px; height: 34px; border-radius: 9px; flex: none; }
.brand small { display: block; font-size: .64rem; font-weight: 700; letter-spacing: .16em; color: var(--muted); text-transform: uppercase; margin-top: -3px; }

.nav { display: none; align-items: center; gap: 4px; }
.nav a { padding: 9px 14px; border-radius: 10px; font-weight: 600; font-size: .95rem; color: #3a4152; transition: .15s; }
.nav a:hover { color: var(--ink); background: var(--soft); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang a { padding: 7px 12px; font-size: .82rem; font-weight: 700; color: var(--muted); }
.lang a[aria-current="true"] { background: var(--ink); color: #fff; }
.header-cta { display: none; }

.menu-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer;
}
.menu-toggle span { display: block; height: 2px; width: 20px; margin: 0 auto; background: var(--ink); border-radius: 2px; transition: .2s; }
body.nav-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49;
  background: #fff; border-bottom: 1px solid var(--line);
  transform: translateY(-120%); transition: transform .28s ease; box-shadow: var(--shadow-md);
  padding: 10px 20px 22px;
}
body.nav-open .mobile-nav { transform: translateY(0); }
.mobile-nav a { display: block; padding: 13px 6px; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-nav .btn { width: 100%; margin-top: 14px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 84px) 0 clamp(48px, 8vw, 96px); }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 62vw; height: 62vw; max-width: 720px; max-height: 720px;
  background: radial-gradient(closest-side, rgba(79, 70, 229, .16), transparent 70%);
  z-index: -1; pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; left: -12%; top: 30%; width: 48vw; height: 48vw; max-width: 560px; max-height: 560px;
  background: radial-gradient(closest-side, rgba(6, 182, 212, .14), transparent 70%);
  z-index: -1; pointer-events: none;
}
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__cta .btn { flex: 1 1 auto; }
.hero .lead { margin-top: 20px; max-width: 560px; }
.hero .h1 { margin-top: 20px; }
.trust { display: flex; flex-wrap: wrap; gap: 14px 26px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.trust__item { display: flex; align-items: center; gap: 9px; font-size: .9rem; font-weight: 600; color: var(--muted); }
.trust__item svg { width: 18px; height: 18px; color: var(--brand); flex: none; }

/* ---------- Phone mockup ---------- */
.showcase { display: flex; justify-content: center; position: relative; }
.phone {
  position: relative; width: min(300px, 78vw); aspect-ratio: 9 / 18.6;
  background: #0c1020; border-radius: 42px; padding: 11px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255, 255, 255, .06);
}
.phone::after { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 80px; height: 22px; background: #0c1020; border-radius: 999px; z-index: 3; }
.phone__screen {
  width: 100%; height: 100%; border-radius: 32px; overflow: hidden; position: relative;
  background: linear-gradient(160deg, #4338ca 0%, #6d28d9 42%, #06b6d4 100%);
  display: flex; flex-direction: column; padding: 52px 20px 24px; color: #fff;
}
.phone__status { position: absolute; top: 14px; left: 22px; right: 22px; display: flex; justify-content: space-between; font-size: .7rem; font-weight: 700; opacity: .9; }
.phone__title { font-size: 1.28rem; font-weight: 800; letter-spacing: -.02em; }
.phone__sub { font-size: .82rem; opacity: .85; margin-top: 4px; }
.phone__balance { margin-top: 18px; font-size: 2rem; font-weight: 800; letter-spacing: -.03em; }
.phone__chip { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: .74rem; font-weight: 700; background: rgba(255, 255, 255, .18); padding: 5px 10px; border-radius: 999px; width: fit-content; }
.phone__bars { margin-top: auto; display: flex; align-items: flex-end; gap: 8px; height: 118px; }
.phone__bars i { flex: 1; border-radius: 8px 8px 4px 4px; background: rgba(255, 255, 255, .28); }
.phone__bars i:nth-child(1) { height: 40%; } .phone__bars i:nth-child(2) { height: 62%; }
.phone__bars i:nth-child(3) { height: 48%; } .phone__bars i:nth-child(4) { height: 82%; background: rgba(255, 255, 255, .55); }
.phone__bars i:nth-child(5) { height: 66%; } .phone__bars i:nth-child(6) { height: 96%; background: #fff; }
.phone__list { margin-top: 16px; display: grid; gap: 8px; }
.phone__row { display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .12); padding: 10px 12px; border-radius: 12px; font-size: .8rem; font-weight: 600; }
.phone__row span { width: 26px; height: 26px; border-radius: 8px; background: rgba(255, 255, 255, .25); flex: none; }
.phone__row b { opacity: .8; margin-left: auto; font-weight: 700; }

.float-card {
  position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow-md);
  padding: 12px 15px; display: flex; align-items: center; gap: 11px; border: 1px solid var(--line);
}
.float-card b { display: block; font-size: .92rem; }
.float-card small { color: var(--muted); font-size: .76rem; font-weight: 600; }
.float-card i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--soft); flex: none; }
.float-card--ios { top: 8%; right: -6px; }
.float-card--android { bottom: 12%; left: -10px; }
.float-card--web { bottom: 40%; right: -14px; }
@media (max-width: 1023px) { .float-card { display: none; } }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 18px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  transition: .2s ease; position: relative;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d7deee; }
.card__icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(79, 70, 229, .12), rgba(6, 182, 212, .12)); color: var(--brand);
}
.card__icon svg { width: 23px; height: 23px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .96rem; }
.card ul { margin-top: 14px; display: grid; gap: 7px; }
.card ul li { position: relative; padding-left: 22px; font-size: .9rem; color: #3f4757; }
.card ul li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; border-radius: 4px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); opacity: .9; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 18px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.step__num {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); margin-bottom: 16px;
}
.step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .94rem; }

/* ---------- Logos / tech ---------- */
.tech { display: flex; flex-wrap: wrap; gap: 10px; }
.tech span { border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: .86rem; font-weight: 600; color: #3f4757; background: #fff; }

/* ---------- About ---------- */
.about__grid { display: grid; gap: 34px; align-items: start; }
.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 8px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.stat b { display: block; font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; }
.stat span { font-size: .86rem; color: var(--muted); font-weight: 600; }

.values { display: grid; gap: 12px; margin-top: 4px; }
.values li { display: flex; align-items: flex-start; gap: 11px; font-size: .96rem; }
.values svg { width: 20px; height: 20px; color: var(--brand); flex: none; margin-top: 3px; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; gap: 34px; align-items: start; }
.contact-info { display: grid; gap: 14px; }
.info-card { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.info-card i { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--soft); color: var(--brand); flex: none; }
.info-card i svg { width: 20px; height: 20px; }
.info-card b { display: block; font-size: .95rem; }
.info-card a, .info-card span { color: var(--muted); font-size: .93rem; }
.info-card a:hover { color: var(--brand); }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow-sm); }
.form .grid { gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: .86rem; font-weight: 700; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: .96rem; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: .15s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(79, 70, 229, .12); }
.field textarea { min-height: 130px; resize: vertical; }
.form__note { font-size: .82rem; color: var(--muted); }
.form__status { margin-top: 14px; font-size: .9rem; font-weight: 600; display: none; }
.form__status.is-ok { display: block; color: #047857; }
.form__status.is-err { display: block; color: #b91c1c; }
.two-col { display: grid; gap: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #cdd3e4; padding: clamp(48px, 6vw, 72px) 0 28px; }
.site-footer .brand { color: #fff; }
.site-footer .brand small { color: #8891ad; }
.footer-grid { display: grid; gap: 32px; }
.footer-grid p { color: #9aa3bf; font-size: .94rem; max-width: 340px; margin-top: 18px; }
.footer h4 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #8891ad; margin-bottom: 16px; }
.footer nav { display: grid; gap: 11px; }
.footer nav a { font-size: .94rem; color: #cdd3e4; }
.footer nav a:hover { color: #fff; }
.footer-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .86rem; color: #8891ad; }

/* ---------- Legal ---------- */
.legal { max-width: 780px; margin: 0 auto; }
.legal h1 { margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-size: .9rem; margin-bottom: 32px; }
.legal h2 { font-size: 1.24rem; margin: 34px 0 10px; }
.legal p, .legal li { color: #3f4757; }
.legal p { margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 22px; display: grid; gap: 7px; margin-bottom: 12px; }
.legal a { color: var(--brand); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .two-col { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (min-width: 900px) {
  .nav { display: flex; }
  .header-cta { display: inline-flex; }
  .menu-toggle { display: none; }
  .hero__grid { grid-template-columns: 1.05fr .95fr; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .about__grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .contact__grid { grid-template-columns: 1fr 1.15fr; gap: 44px; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
}
