/* ==========================================================================
   Pyformix AI Labs — Brand stylesheet
   Palette derived from the logo: deep navy + orange flame accent.
   ========================================================================== */

:root {
  /* Brand */
  --navy-950: #081627;
  --navy-900: #0b1f38;
  --navy-800: #122842;
  --navy-700: #1b3a5c;
  --navy-600: #234a73;
  --steel-500: #2e5a8f;
  --steel-400: #3a6ea5;

  --flame-600: #e2730f;
  --flame-500: #f5871f;
  --flame-400: #ff9a3d;
  --flame-300: #ffb56b;

  /* Neutrals */
  --ink: #0c1626;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --paper: #f7f9fc;
  --white: #ffffff;

  /* Gradients */
  --grad-flame: linear-gradient(135deg, var(--flame-500), var(--flame-300));
  --grad-navy: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  --grad-hero: radial-gradient(1200px 600px at 15% -10%, rgba(58,110,165,.35), transparent 60%),
               radial-gradient(900px 500px at 95% 10%, rgba(245,135,31,.20), transparent 55%),
               linear-gradient(160deg, var(--navy-950), var(--navy-900) 45%, var(--navy-800));

  /* Type */
  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* UI */
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 8px rgba(11, 31, 56, .06);
  --shadow-md: 0 14px 40px rgba(11, 31, 56, .10);
  --shadow-lg: 0 30px 70px rgba(8, 22, 39, .18);
  --shadow-glow: 0 20px 60px rgba(245, 135, 31, .35);
  --maxw: 1180px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ----------------------------------------------------------------- Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; letter-spacing: -.02em; color: var(--ink); font-weight: 700; }
section { position: relative; }

/* --------------------------------------------------------------- Layout */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; }
.section--tight { padding: 80px 0; }
.center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--flame-600);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad-flame); border-radius: 2px; }
.eyebrow.center-line::before { display: none; }
.section-head { max-width: 720px; margin: 0 auto 60px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 16px 0 14px; }
.section-head p { color: var(--slate-600); font-size: 1.08rem; }
.text-flame { color: var(--flame-500); }
.text-gradient { background: var(--grad-flame); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* --------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad-flame); color: #2a1500; box-shadow: var(--shadow-glow); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 26px 70px rgba(245,135,31,.45); }
.btn-ghost { background: rgba(255,255,255,.06); color: var(--white); border-color: rgba(255,255,255,.22); }
.btn-ghost:hover { background: rgba(255,255,255,.14); transform: translateY(-3px); }
.btn-dark { background: var(--navy-800); color: var(--white); }
.btn-dark:hover { background: var(--navy-700); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--navy-800); border-color: var(--slate-300); }
.btn-outline:hover { border-color: var(--flame-500); color: var(--flame-600); transform: translateY(-3px); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------------------------------------------------------------- Navbar */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s, box-shadow .3s, padding .3s, border-color .3s;
  padding: 18px 0; border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(14px);
  box-shadow: var(--shadow-sm); border-color: var(--slate-200); padding: 12px 0;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo img { height: 38px; width: auto; }
.nav__logo .logo-light { display: block; }
.nav__logo .logo-dark { display: none; }
.nav.scrolled .nav__logo .logo-light { display: none; }
.nav.scrolled .nav__logo .logo-dark { display: block; }
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a {
  font-weight: 500; font-size: .96rem; color: rgba(255,255,255,.85);
  transition: color .2s; position: relative;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--grad-flame); border-radius: 2px; transition: width .25s var(--ease);
}
.nav__links a:hover::after { width: 100%; }
.nav.scrolled .nav__links a { color: var(--slate-700); }
.nav__links a:hover { color: var(--flame-500); }
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav.scrolled .nav__cta .btn-ghost { color: var(--navy-800); border-color: var(--slate-300); background: transparent; }
.nav.scrolled .nav__cta .btn-ghost:hover { border-color: var(--flame-500); color: var(--flame-600); }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: .3s; }
.nav.scrolled .nav__toggle span { background: var(--navy-800); }
.nav__toggle span + span { margin-top: 5px; }

/* ------------------------------------------------------------------ Hero */
.hero {
  background: var(--grad-hero); color: var(--white);
  padding: 180px 0 120px; position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(800px 500px at 70% 30%, #000, transparent 80%);
  opacity: .6;
}
.hero .orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; }
.hero .orb-1 { width: 420px; height: 420px; background: radial-gradient(circle, rgba(245,135,31,.6), transparent 70%); top: -80px; right: -60px; animation: float 14s ease-in-out infinite; }
.hero .orb-2 { width: 360px; height: 360px; background: radial-gradient(circle, rgba(58,110,165,.7), transparent 70%); bottom: -120px; left: -80px; animation: float 18s ease-in-out infinite reverse; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; position: relative; z-index: 2; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 8px; border-radius: 999px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  font-size: .82rem; color: var(--slate-200); margin-bottom: 26px;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--flame-400); box-shadow: 0 0 0 4px rgba(245,135,31,.25); }
.badge b { color: var(--white); font-weight: 600; }
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.2rem); color: var(--white); margin-bottom: 22px; }
.hero h1 .text-gradient { background: linear-gradient(120deg, var(--flame-400), var(--flame-300)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 1.18rem; color: var(--slate-300); max-width: 560px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }
.hero__platforms { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; color: var(--slate-400); font-size: .9rem; }
.hero__platforms .pill { display: inline-flex; align-items: center; gap: 8px; color: var(--slate-200); font-weight: 500; }
.hero__platforms .pill svg { width: 18px; height: 18px; color: var(--flame-400); }
.hero__platforms .divider { width: 1px; height: 18px; background: rgba(255,255,255,.18); }

/* Hero visual / mock device */
.hero__visual { position: relative; }
.mock {
  background: linear-gradient(160deg, rgba(255,255,255,.10), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.16); border-radius: 22px; padding: 18px;
  backdrop-filter: blur(8px); box-shadow: var(--shadow-lg);
}
.mock__bar { display: flex; gap: 7px; margin-bottom: 14px; }
.mock__bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.25); }
.mock__bar i:first-child { background: var(--flame-400); }
.mock__screen { border-radius: 14px; background: linear-gradient(160deg, var(--navy-800), var(--navy-700)); padding: 20px; border: 1px solid rgba(255,255,255,.08); }
.mock__row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; background: rgba(255,255,255,.04); margin-bottom: 12px; }
.mock__row .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--grad-flame); flex: none; display: grid; place-items: center; color: #2a1500; }
.mock__row .ic svg { width: 20px; height: 20px; }
.mock__lines { flex: 1; }
.mock__lines span { display: block; height: 8px; border-radius: 4px; background: rgba(255,255,255,.16); }
.mock__lines span:first-child { width: 70%; margin-bottom: 8px; background: rgba(255,255,255,.30); }
.mock__lines span:last-child { width: 45%; }
.mock__chart { display: flex; align-items: flex-end; gap: 10px; height: 90px; padding-top: 10px; }
.mock__chart i { flex: 1; border-radius: 6px 6px 0 0; background: linear-gradient(var(--steel-400), var(--navy-600)); opacity: .9; }
.mock__chart i:nth-child(3) { background: var(--grad-flame); }
.float-card {
  position: absolute; background: var(--white); color: var(--ink); border-radius: 14px;
  padding: 14px 16px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px;
  font-weight: 600; font-size: .9rem; animation: float 7s ease-in-out infinite;
}
.float-card .badge-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--white); }
.float-card small { display: block; font-weight: 500; color: var(--slate-500); font-size: .76rem; }
.float-card.fc-1 { top: -26px; left: -30px; }
.float-card.fc-1 .badge-ic { background: var(--steel-500); }
.float-card.fc-2 { bottom: -28px; right: -24px; animation-delay: 1.5s; }
.float-card.fc-2 .badge-ic { background: var(--flame-500); }

/* ------------------------------------------------------------ Stats / marquee */
.stats { background: var(--navy-900); color: var(--white); padding: 64px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat .num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 4vw, 2.8rem); background: var(--grad-flame); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .label { color: var(--slate-400); font-size: .95rem; margin-top: 6px; }
.marquee { margin-top: 50px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: scroll-x 28s linear infinite; }
.marquee span { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: rgba(255,255,255,.45); white-space: nowrap; }

/* ----------------------------------------------------------------- Cards */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius);
  padding: 34px 30px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  position: relative; overflow: hidden;
}
.card::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad-flame);
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.card .ic-wrap {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-700)); color: var(--flame-400);
  margin-bottom: 22px; transition: transform .35s var(--ease);
}
.card:hover .ic-wrap { transform: scale(1.06) rotate(-4deg); }
.card .ic-wrap svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.card p { color: var(--slate-600); font-size: .98rem; }
.card .card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; color: var(--flame-600); font-weight: 600; font-size: .92rem; }
.card .card-link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.card:hover .card-link svg { transform: translateX(4px); }
ul.ticks { margin-top: 16px; }
ul.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--slate-600); font-size: .94rem; padding: 6px 0; }
ul.ticks li svg { width: 18px; height: 18px; min-width: 18px; color: var(--flame-500); flex: none; margin-top: 3px; }

/* Platform feature section (alt bg) */
.alt { background: var(--paper); }
.platform-card {
  background: var(--white); border-radius: var(--radius); padding: 36px 32px;
  border: 1px solid var(--slate-200); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.platform-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.platform-card .head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.platform-card .glyph { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: var(--white); }
.platform-card .glyph svg { width: 30px; height: 30px; }
.platform-card.web .glyph { background: linear-gradient(150deg, var(--steel-500), var(--navy-700)); }
.platform-card.ios .glyph { background: linear-gradient(150deg, #334155, #0c1626); }
.platform-card.android .glyph { background: linear-gradient(150deg, var(--flame-500), var(--flame-600)); }
.platform-card h3 { font-size: 1.35rem; }
.platform-card .head small { color: var(--slate-500); font-size: .85rem; }

/* --------------------------------------------------------------- Process */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.process::before { content: ""; position: absolute; top: 34px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, var(--slate-200), var(--flame-300), var(--slate-200)); }
.step { text-align: center; padding: 0 14px; position: relative; }
.step .num {
  width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 22px; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; color: var(--white);
  background: var(--grad-navy); border: 4px solid var(--white); box-shadow: var(--shadow-md); position: relative; z-index: 2;
  transition: transform .3s var(--ease), background .3s;
}
.step:hover .num { transform: translateY(-6px) scale(1.05); background: var(--grad-flame); color: #2a1500; }
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { color: var(--slate-600); font-size: .92rem; }

/* ---------------------------------------------------------------- Why us */
.why { background: var(--grad-navy); color: var(--white); }
.why .section-head h2, .why .eyebrow { color: var(--white); }
.why .section-head p { color: var(--slate-300); }
.why .eyebrow { color: var(--flame-400); }
.feature { display: flex; gap: 18px; padding: 26px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); transition: transform .3s var(--ease), background .3s; }
.feature:hover { transform: translateY(-6px); background: rgba(255,255,255,.07); }
.feature .ic { width: 50px; height: 50px; flex: none; border-radius: 14px; display: grid; place-items: center; background: rgba(245,135,31,.15); color: var(--flame-400); }
.feature .ic svg { width: 26px; height: 26px; }
.feature h3 { color: var(--white); font-size: 1.12rem; margin-bottom: 6px; }
.feature p { color: var(--slate-300); font-size: .94rem; }

/* ------------------------------------------------------------------ Work */
.work-card { border-radius: var(--radius); overflow: hidden; position: relative; min-height: 320px; display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; color: var(--white); box-shadow: var(--shadow-md); transition: transform .4s var(--ease); }
.work-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(8,22,39,.88)); z-index: 1; }
.work-card > * { position: relative; z-index: 2; }
.work-card:hover { transform: translateY(-8px); }
.work-card.w1 { background: linear-gradient(150deg, var(--steel-500), var(--navy-800)); }
.work-card.w2 { background: linear-gradient(150deg, var(--flame-500), var(--navy-800)); }
.work-card.w3 { background: linear-gradient(150deg, var(--navy-600), var(--navy-950)); }
.work-card .tag { display: inline-block; align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.16); font-size: .78rem; font-weight: 600; margin-bottom: 12px; backdrop-filter: blur(4px); }
.work-card h3 { color: var(--white); font-size: 1.4rem; margin-bottom: 8px; }
.work-card p { color: rgba(255,255,255,.82); font-size: .95rem; }
.work-card .metrics { display: flex; gap: 22px; margin-top: 18px; }
.work-card .metrics b { font-family: var(--font-head); display: block; font-size: 1.3rem; }
.work-card .metrics small { color: rgba(255,255,255,.7); font-size: .78rem; }

/* ----------------------------------------------------------- Testimonials */
.quote { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.quote:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.quote .stars { color: var(--flame-500); margin-bottom: 16px; letter-spacing: 2px; }
.quote p { color: var(--slate-700); font-size: 1.02rem; font-style: italic; }
.quote .who { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.quote .who .av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; color: var(--white); background: var(--grad-navy); }
.quote .who b { display: block; font-size: .96rem; }
.quote .who small { color: var(--slate-500); font-size: .84rem; }

/* --------------------------------------------------------------- Contact */
.contact { background: var(--paper); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.contact__info h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 14px 0 18px; }
.contact__info p { color: var(--slate-600); margin-bottom: 28px; max-width: 460px; }
.contact__list li { display: flex; gap: 16px; align-items: center; padding: 14px 0; }
.contact__list .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--white); border: 1px solid var(--slate-200); color: var(--flame-500); flex: none; }
.contact__list .ic svg { width: 22px; height: 22px; }
.contact__list b { display: block; font-family: var(--font-head); }
.contact__list small { color: var(--slate-500); }
.form { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-md); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .86rem; margin-bottom: 8px; color: var(--slate-700); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--slate-300); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: .96rem; color: var(--ink); background: var(--white); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--flame-500); box-shadow: 0 0 0 4px rgba(245,135,31,.14); }
.form .btn { width: 100%; }
.form__note { text-align: center; font-size: .82rem; color: var(--slate-500); margin-top: 14px; }
.form__success { display: none; text-align: center; padding: 10px; margin-top: 14px; border-radius: var(--radius-sm); background: rgba(34,197,94,.12); color: #15803d; font-weight: 600; }

/* --------------------------------------------------------------- CTA band */
.cta-band { background: var(--grad-hero); color: var(--white); text-align: center; border-radius: 28px; padding: 64px 40px; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: var(--white); font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 14px; }
.cta-band p { color: var(--slate-300); max-width: 540px; margin: 0 auto 28px; }
.cta-band .actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------------------------------------------------------------- Footer */
.footer { background: var(--navy-950); color: var(--slate-400); padding: 72px 0 30px; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer__brand img { height: 40px; margin-bottom: 18px; }
.footer__brand p { color: var(--slate-400); font-size: .95rem; max-width: 320px; margin-bottom: 22px; }
.footer__social { display: flex; gap: 12px; }
.footer__social a { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.06); color: var(--slate-300); transition: background .25s, transform .25s, color .25s; }
.footer__social a:hover { background: var(--flame-500); color: #2a1500; transform: translateY(-3px); }
.footer__social svg { width: 19px; height: 19px; }
.footer__col h4 { color: var(--white); font-size: 1rem; margin-bottom: 18px; }
.footer__col a { display: block; padding: 7px 0; color: var(--slate-400); font-size: .94rem; transition: color .2s, padding-left .2s; }
.footer__col a:hover { color: var(--flame-400); padding-left: 4px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 26px; flex-wrap: wrap; }
.footer__bottom p { font-size: .88rem; }
.footer__bottom .legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__bottom .legal a { font-size: .88rem; color: var(--slate-400); }
.footer__bottom .legal a:hover { color: var(--flame-400); }

/* --------------------------------------------------------------- Legal pages */
.legal-hero { background: var(--grad-navy); color: var(--white); padding: 150px 0 70px; }
.legal-hero h1 { color: var(--white); font-size: clamp(2.2rem, 4vw, 3rem); }
.legal-hero p { color: var(--slate-300); margin-top: 12px; }
.legal-body { padding: 70px 0; }
.legal-body .container { max-width: 860px; }
.legal-body h2 { font-size: 1.5rem; margin: 40px 0 14px; color: var(--navy-800); }
.legal-body h3 { font-size: 1.15rem; margin: 24px 0 10px; }
.legal-body p, .legal-body li { color: var(--slate-700); margin-bottom: 14px; }
.legal-body ul { list-style: disc; padding-left: 22px; }
.legal-body ul li { margin-bottom: 8px; }
.legal-body a { color: var(--flame-600); font-weight: 500; }
.legal-toc { background: var(--paper); border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 26px 30px; margin-bottom: 40px; }
.legal-toc h4 { font-family: var(--font-head); margin-bottom: 12px; }
.legal-toc a { display: inline-block; margin-right: 18px; padding: 4px 0; }

/* --------------------------------------------------------------- Pricing */
.price-note { max-width: 720px; margin: 0 auto 44px; text-align: center; color: var(--slate-600); font-size: 1rem; background: var(--paper); border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 16px 24px; }
.price-group { margin-bottom: 64px; }
.price-group > h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 8px; }
.price-group > .sub { color: var(--slate-500); margin-bottom: 28px; }
.price-card { display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--flame-400); box-shadow: var(--shadow-md); }
.price-card .tier { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--navy-800); }
.price-card .price { font-family: var(--font-head); font-weight: 800; font-size: 1.8rem; margin: 12px 0 4px; background: var(--grad-flame); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price-card .price small { display: block; font-size: .8rem; font-weight: 500; color: var(--slate-500); -webkit-text-fill-color: var(--slate-500); }
.price-card .desc { color: var(--slate-600); font-size: .96rem; margin: 12px 0 22px; flex: 1; }
.price-card .btn { margin-top: auto; }

/* ------------------------------------------------------------- Trust bar */
.trust-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 60px; }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--slate-200); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.trust-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.trust-item .t-ic { width: 46px; height: 46px; flex: none; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(160deg, var(--navy-800), var(--navy-700)); color: var(--flame-400); }
.trust-item .t-ic svg { width: 24px; height: 24px; }
.trust-item b { font-family: var(--font-head); font-size: .98rem; color: var(--navy-800); line-height: 1.2; }
.trust-item small { display: block; color: var(--slate-500); font-size: .82rem; }
@media (max-width: 980px) { .trust-bar { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .trust-bar { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- Animations */
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes scroll-x { to { transform: translateX(-50%); } }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .orb, .float-card, .marquee__track { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ------------------------------------------------------------- Responsive */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 50px; }
  .hero__visual { max-width: 460px; margin: 0 auto; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
  .process::before { display: none; }
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .section { padding: 80px 0; }
  .nav__links, .nav__cta .btn { display: none; }
  /* keep the client login reachable on mobile */
  .nav__cta .btn.nav__login { display: inline-flex; padding: 9px 16px; font-size: .85rem; }
  .nav.scrolled .nav__cta .btn.nav__login { color: var(--navy-800); border-color: var(--slate-300); }
  .nav__toggle { display: block; }
  .nav.open .nav__links {
    display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column;
    align-items: flex-start; gap: 4px; background: var(--white); padding: 18px 24px;
    box-shadow: var(--shadow-md); border-top: 1px solid var(--slate-200);
  }
  .nav.open .nav__links a { color: var(--slate-700); width: 100%; padding: 10px 0; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .grid-3, .grid-2, .process { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .float-card { display: none; }
  .footer__bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 460px) {
  .stats__grid, .footer__top { grid-template-columns: 1fr; }
}
