/* ============================================================
   تحصيل — لإدارة الأملاك والعقارات
   Tocaan Co. | RTL / Arabic first
   Theme: modern glass + gradients on a business palette
   Navy (brand) · Royal blue · Cyan · Gold (logo accent)
   ============================================================ */
/* ---------- Fonts ---------- */
@font-face {
  font-family: "Frutiger LT Arabic";
  src: url("../fonts/FrutigerLTArabic45Light.woff2") format("woff2"),
       url("../fonts/FrutigerLTArabic45Light.ttf") format("truetype");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Frutiger LT Arabic";
  src: url("../fonts/FrutigerLTArabic55Roman.woff2") format("woff2"),
       url("../fonts/FrutigerLTArabic55Roman.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Frutiger LT Arabic";
  src: url("../fonts/FrutigerLTArabic65Bold.woff2") format("woff2"),
       url("../fonts/FrutigerLTArabic65Bold.ttf") format("truetype");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Frutiger LT Arabic";
  src: url("../fonts/frutigerltarabic75black.woff2") format("woff2"),
       url("../fonts/frutigerltarabic75black.ttf") format("truetype");
  font-weight: 900; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* navy — brand */
  --navy-950: #060f22;
  --navy-900: #0a1733;
  --navy-800: #12304f;
  --navy-700: #1c3f66;
  --navy-600: #3b5578;
  --navy-100: #dde5f1;
  --navy-050: #eef3fa;

  /* royal blue — primary action, matches the product UI */
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-100: #dbe8fe;
  --blue-050: #eff5ff;

  /* supporting */
  --cyan-500: #06b6d4;   --cyan-050: #e6f9fc;
  --indigo-500: #6366f1; --indigo-050: #eef0fe;
  --emerald-600: #059669; --emerald-050: #e7f8f1;
  --amber-600: #c47f0a;  --amber-050: #fff6e3;

  /* gold — logo accent */
  --gold-500: #ffac1e;
  --gold-400: #ffc55c;
  --gold-600: #b87708;

  /* gradients */
  --grad-brand: linear-gradient(120deg, #1d4ed8 0%, #2563eb 45%, #0ea5e9 100%);
  --grad-gold: linear-gradient(120deg, #ffd27a 0%, #ffac1e 55%, #f59e0b 100%);
  --grad-night:
    radial-gradient(60rem 40rem at 85% -10%, rgba(37, 99, 235, .55), transparent 60%),
    radial-gradient(50rem 34rem at 0% 110%, rgba(6, 182, 212, .32), transparent 60%),
    radial-gradient(40rem 30rem at 40% 50%, rgba(99, 102, 241, .22), transparent 65%),
    linear-gradient(160deg, #0d1f44 0%, #0a1733 50%, #060f22 100%);
  --grad-text: linear-gradient(100deg, #ffd27a, #ffac1e 50%, #fb923c);
  --grad-text-blue: linear-gradient(100deg, #1d4ed8, #2563eb 40%, #0891b2);
  --grid-lines:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);

  /* glass */
  --glass: linear-gradient(155deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .7));
  --glass-strong: rgba(255, 255, 255, .95);
  --glass-border: rgba(255, 255, 255, .8);
  --glass-edge: rgba(15, 30, 61, .07);
  --glass-dark: rgba(255, 255, 255, .07);
  --glass-dark-border: rgba(255, 255, 255, .14);

  --ink: #0b1a33;
  --muted: #56657c;
  --line: rgba(15, 30, 61, .09);
  --line-soft: rgba(15, 30, 61, .06);

  --bg: #f3f6fb;

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(15, 30, 61, .04), 0 8px 24px -8px rgba(15, 30, 61, .08);
  --shadow-md: 0 2px 6px rgba(15, 30, 61, .05), 0 24px 48px -16px rgba(15, 30, 61, .18);
  --shadow-lg: 0 30px 70px -20px rgba(6, 15, 34, .45);
  --shadow-blue: 0 12px 28px -10px rgba(37, 99, 235, .55);
  --inset-hi: inset 0 1px 0 rgba(255, 255, 255, .9);

  --maxw: 1200px;
  --pad: clamp(1rem, 4vw, 2rem);

  --font: "Frutiger LT Arabic", "Segoe UI", Tahoma, system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  position: relative;
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img,
svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul,
ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
code { font-family: ui-monospace, "SF Mono", Menlo, monospace; }

:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: 0;
  transform: translateY(-120%);
  z-index: 200;
  background: var(--navy-800);
  color: #fff;
  padding: .7rem 1.2rem;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
}
.skip-link:focus { transform: none; }

/* scroll progress */
.scroll-progress {
  position: fixed;
  inset-block-start: 0;
  inset-inline-start: 0;
  z-index: 150;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: right center;
  background: linear-gradient(90deg, var(--cyan-500), var(--blue-600), var(--gold-500));
  pointer-events: none;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.container-narrow { max-width: 880px; }

.section { position: relative; isolation: isolate; padding: clamp(2.75rem, 5.5vw, 4.75rem) 0; }
/* tint fades in and out vertically, so neighbouring sections meet without a seam */
.section-alt {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0), rgba(37, 99, 235, .05) 18%, rgba(6, 182, 212, .05) 82%, rgba(6, 182, 212, 0));
}
/* ambient glow: one compact layer per section (a full-section layer is a huge
   GPU texture on retina screens). It sits well inside the section so the
   closest-side gradient fades out before any edge — no clipped seams. */
.section::before {
  content: "";
  position: absolute;
  top: 4%;
  inset-inline-end: 2%;
  z-index: -1;
  width: min(520px, 70vw);
  height: min(520px, 70vw);
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(37, 99, 235, .11), transparent);
  animation: glow-drift 20s ease-in-out infinite alternate;
}
.section:nth-of-type(even)::before {
  top: auto;
  bottom: 4%;
  inset-inline-end: auto;
  inset-inline-start: 2%;
  background: radial-gradient(closest-side, rgba(6, 182, 212, .1), transparent);
  animation-duration: 24s;
}
@keyframes glow-drift {
  from { transform: translate3d(-30px, -20px, 0) scale(1); }
  to   { transform: translate3d(30px, 20px, 0) scale(1.1); }
}

.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* bento */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.15rem;
}
.bento .is-3 { grid-column: span 3; }
.bento .is-6 { grid-column: span 6; }

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy-900);
}

h1 { font-size: clamp(2.2rem, 5.6vw, 3.9rem); line-height: 1.25; font-weight: 900; }
h2 { font-size: clamp(1.75rem, 3.8vw, 2.65rem); line-height: 1.32; font-weight: 900; }
h3 { font-size: clamp(1.1rem, 2vw, 1.3rem); }
h4 { font-size: 1.05rem; }

.section-head { max-width: 760px; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.section-head h2 { margin-bottom: .75rem; }
.section-head > p {
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.08rem);
  font-weight: 300;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .3rem .95rem .3rem .8rem;
  border-radius: 999px;
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm), var(--inset-hi);
  color: var(--blue-700);
  font-weight: 700;
  font-size: .86rem;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--grad-brand);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .15);
}

.pill {
  display: inline-block;
  padding: .35rem 1rem;
  border-radius: 999px;
  font-size: .87rem;
  font-weight: 700;
}
.pill-light {
  background: var(--glass-dark);
  border: 1px solid var(--glass-dark-border);
  color: #fff;
}

.note {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin-top: 1.25rem;
  padding: .85rem 1.1rem;
  background: linear-gradient(120deg, rgba(255, 246, 227, .9), rgba(255, 255, 255, .7));
  border: 1px solid rgba(255, 172, 30, .3);
  border-radius: var(--r-md);
  color: var(--navy-700);
  font-size: .95rem;
}
.note strong { color: var(--amber-600); font-weight: 700; }
.note span { color: var(--amber-600); font-size: 1.05rem; line-height: 1.7; }

/* ---------- Glass primitive ---------- */
.card,
.common,
.accordion,
.timeline li,
.callout,
.screens {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm), var(--inset-hi);
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 46px;
  padding: .65rem 1.4rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: .97rem;
  line-height: 1.4;
  /* paint gradients under the border too, otherwise the gradient tiles
     into the 1px border box and leaves a dark seam on one edge */
  border: 1px solid transparent;
  background-origin: border-box;
  background-clip: border-box;
  transition: transform .18s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease, filter .2s ease;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:focus-visible { outline: 3px solid rgba(59, 130, 246, .55); outline-offset: 3px; border-radius: 12px; }

/* soft top highlight — gives filled buttons a subtle glassy face */
.btn-primary::before,
.btn-gold::before {
  content: "";
  position: absolute;
  inset: 0 0 50% 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.btn-primary {
  background-image: linear-gradient(120deg, #1d4ed8 0%, #2563eb 50%, #0ea5e9 100%);
  background-size: 160% 100%;
  background-position: 0% 0;
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(37, 99, 235, .65);
  transition: transform .18s ease, box-shadow .2s ease, background-position .4s ease;
}
.btn-primary:hover {
  background-position: 100% 0;
  box-shadow: 0 16px 30px -12px rgba(37, 99, 235, .75);
}

.btn-gold {
  background-image: linear-gradient(120deg, #ffd27a 0%, #ffac1e 55%, #f59e0b 100%);
  color: var(--navy-900);
  box-shadow: 0 10px 24px -10px rgba(245, 158, 11, .6);
}
.btn-gold:hover { filter: brightness(1.04); box-shadow: 0 16px 30px -12px rgba(245, 158, 11, .7); }

.btn-white {
  background-color: #fff;
  color: var(--navy-900);
  box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .45);
}
.btn-white:hover { color: var(--blue-700); box-shadow: 0 16px 32px -12px rgba(0, 0, 0, .5); }

/* for dark surfaces */
.btn-outline {
  background-color: rgba(255, 255, 255, .08);
  color: #fff;
  border-color: rgba(255, 255, 255, .22);
}
.btn-outline:hover { background-color: rgba(255, 255, 255, .15); border-color: rgba(255, 255, 255, .4); }

/* for light surfaces */
.btn-ghost {
  background-color: #fff;
  color: var(--navy-800);
  border-color: var(--navy-100);
  box-shadow: 0 1px 2px rgba(15, 30, 61, .05);
}
.btn-ghost:hover { color: var(--blue-700); border-color: rgba(37, 99, 235, .35); background-color: var(--blue-050); }

.btn-sm { min-height: 40px; padding: .45rem 1rem; font-size: .9rem; border-radius: 10px; }
.btn-lg { min-height: 54px; padding: .8rem 1.9rem; font-size: 1.05rem; border-radius: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-top: .6rem;
  transition: padding .25s ease;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 66px;
  max-width: calc(var(--maxw) - 1rem);
  padding-inline: 1.1rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(246, 249, 255, .93));
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px -14px rgba(15, 30, 61, .25), var(--inset-hi);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.is-stuck .header-inner {
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 16px 40px -16px rgba(15, 30, 61, .3), var(--inset-hi);
}

.brand { display: flex; align-items: center; transition: transform .2s ease; }
.brand:hover { transform: scale(1.03); }
.brand img { height: 36px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: .15rem;
  margin-inline-start: auto;
}
.nav a {
  position: relative;
  padding: .42rem .7rem;
  font-size: .93rem;
  white-space: nowrap;
  color: var(--navy-700);
  border-radius: 10px;
  transition: color .2s ease, background .2s ease;
}
.nav a:hover { color: var(--blue-700); background: rgba(37, 99, 235, .07); }
.nav a.is-current { color: var(--blue-700); font-weight: 700; background: rgba(37, 99, 235, .09); }

.header-actions { display: flex; align-items: center; gap: .5rem; }

.lang-switch {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding-inline: .6rem;
  border-radius: 10px;
  border: 1px solid var(--navy-100);
  background: #fff;
  color: var(--navy-800);
  font-weight: 700;
  font-size: .9rem;
  transition: color .2s ease, border-color .2s ease;
}
.lang-switch:hover { color: var(--blue-700); border-color: rgba(37, 99, 235, .35); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .7);
  border: 1px solid var(--line);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  width: 18px; height: 2px;
  background: var(--navy-800);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  background: var(--grad-night);
  color: #fff;
  overflow: hidden;
  margin-top: -78px;
  padding: calc(clamp(2.75rem, 7vw, 5rem) + 78px) 0 clamp(3rem, 7vw, 5rem);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grid-lines);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  pointer-events: none;
  z-index: -1;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }

.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.orb-1 {
  width: 560px; height: 560px;
  top: -220px; inset-inline-start: -160px;
  background: radial-gradient(circle, rgba(255, 172, 30, .28), transparent 65%);
  animation: float-a 22s ease-in-out infinite;
}
.orb-2 {
  width: 520px; height: 520px;
  bottom: -220px; inset-inline-end: -80px;
  background: radial-gradient(circle, rgba(6, 182, 212, .4), transparent 65%);
  animation: float-b 26s ease-in-out infinite;
}
.hero-line { position: absolute; inset-inline: 0; bottom: 0; width: 100%; height: 260px; opacity: .5; }
.hero-house { position: absolute; bottom: 6%; inset-inline-end: 3%; width: clamp(80px, 9vw, 130px); opacity: .3; }
.hero-key { position: absolute; top: 24%; inset-inline-start: 5%; width: clamp(80px, 9vw, 130px); opacity: .3; }

@keyframes float-a {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(4%, 6%, 0) scale(1.12); }
}
@keyframes float-b {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-5%, -7%, 0) scale(1.1); }
}

.hero-inner { position: relative; text-align: center; }
.hero-logo { width: clamp(190px, 26vw, 280px); margin: 0 auto 1.6rem; }
.hero h1 { color: #fff; margin: 1rem 0 1.25rem; }
.hero h1 .hl,
.cta-head h2 .hl {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  max-width: 680px;
  margin-inline: auto;
  color: rgba(255, 255, 255, .8);
  font-size: clamp(1rem, 1.9vw, 1.15rem);
  font-weight: 300;
}
.hero-cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 2rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .9rem;
  margin-top: clamp(2rem, 4vw, 2.75rem);
}
.stat {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .1rem;
  padding: 1.1rem 1rem;
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03));
  border: 1px solid var(--glass-dark-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 20px 40px -24px rgba(0, 0, 0, .6);
  transition: transform .25s ease, border-color .25s ease;
}
.stat:hover { transform: translateY(-4px); border-color: rgba(255, 197, 92, .45); }
.stat strong {
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 900;
  line-height: 1.4;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat > span { font-size: .86rem; color: rgba(255, 255, 255, .68); font-weight: 300; }

.hero-trust {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: .4rem .9rem;
  margin-top: 1.5rem;
  padding: .45rem .6rem .45rem 1.1rem;
  border-radius: 999px;
  background: var(--glass-dark);
  border: 1px solid var(--glass-dark-border);
  font-size: .9rem;
  color: rgba(255, 255, 255, .8);
}
.hero-trust a {
  color: var(--gold-400);
  font-weight: 700;
  transition: color .2s ease;
}
.hero-trust a:hover { color: #fff; }
.hero-trust .flags { display: inline-flex; gap: .35rem; }
.cc {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 22px;
  padding-inline: .35rem;
  border-radius: 6px;
  font: 700 .72rem/1 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: .06em;
  direction: ltr;
  color: var(--navy-900);
  background: var(--grad-gold);
}

/* ---------- Cards ---------- */
.card {
  position: relative;
  border-radius: var(--r-lg);
  padding: clamp(1.35rem, 2.4vw, 1.9rem);
  transition: transform .3s cubic-bezier(.2, .8, .3, 1), box-shadow .3s ease, background .3s ease;
}
.card:hover {
  transform: translateY(-5px);
  background: var(--glass-strong);
  box-shadow: var(--shadow-md), var(--inset-hi);
}
.card h3 { margin-bottom: .5rem; }
.card > p { color: var(--muted); font-size: .97rem; font-weight: 300; }

/* icon tint per card — legacy class names map onto the business palette */
.card { --accent: var(--blue-600); --accent-2: var(--cyan-500); }
.card:has(.ic-sky) { --accent: var(--blue-600);    --accent-2: #38bdf8; }
.card:has(.ic-teal) { --accent: #0891b2;            --accent-2: #22d3ee; }
.card:has(.ic-violet) { --accent: var(--indigo-500);  --accent-2: #818cf8; }
.card:has(.ic-coral) { --accent: var(--navy-700);    --accent-2: var(--blue-500); }
.card:has(.ic-gold) { --accent: #f59e0b;            --accent-2: #fcd34d; }
.card:has(.ic-emerald) { --accent: var(--emerald-600); --accent-2: #34d399; }

/* gradient hairline that lights up on hover */
.features .card::before,
.secure .card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, var(--accent), transparent 45%, transparent 60%, var(--accent-2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.features .card:hover::before,
.secure .card:hover::before { opacity: 1; }

/* highlighted bento tiles */
.is-hi {
  background:
    radial-gradient(26rem 16rem at 90% -20%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 65%),
    var(--glass);
}

.ic {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  margin-bottom: 1rem;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  box-shadow: 0 12px 24px -10px var(--accent), inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: transform .3s ease;
}
.card:hover .ic { transform: translateY(-2px) rotate(-4deg); }
.ic svg { width: 23px; height: 23px; }

.ticks { margin-top: 1.1rem; display: grid; gap: .55rem; }
.ticks li {
  position: relative;
  padding-inline-start: 1.9rem;
  font-size: .95rem;
  color: var(--navy-700);
  font-weight: 300;
}
.ticks li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: .35em;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--emerald-050);
  border: 1px solid rgba(5, 150, 105, .2);
}
.ticks li::after {
  content: "";
  position: absolute;
  inset-inline-start: 6px;
  top: calc(.35em + 6px);
  width: 8px; height: 5px;
  /* physical borders: a logical border would flip the tick into a chevron in RTL */
  border-left: 2px solid var(--emerald-600);
  border-bottom: 2px solid var(--emerald-600);
  transform: rotate(-45deg);
}

.dots { display: grid; gap: .55rem; }
.dots li {
  position: relative;
  padding-inline-start: 1.3rem;
  font-size: .95rem;
  color: var(--navy-700);
  font-weight: 300;
}
.dots li::before {
  content: "";
  position: absolute;
  inset-inline-start: .25rem;
  top: .85em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--grad-gold);
}

.two-col { grid-template-columns: repeat(2, 1fr); column-gap: 2rem; }

/* ---------- Screens / tabs ---------- */
.screens {
  position: relative;
  border-radius: var(--r-xl);
  padding: clamp(1rem, 2.4vw, 1.85rem);
  background:
    radial-gradient(34rem 20rem at 90% 0%, rgba(37, 99, 235, .1), transparent 62%),
    radial-gradient(30rem 20rem at 5% 100%, rgba(6, 182, 212, .1), transparent 62%),
    var(--glass);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 1.5rem;
  padding: .35rem;
  border-radius: 16px;
  background: rgba(15, 30, 61, .04);
  border: 1px solid var(--line-soft);
  width: fit-content;
  max-width: 100%;
}
.tab {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem 1.1rem;
  border-radius: 12px;
  color: var(--navy-700);
  font-weight: 700;
  font-size: .94rem;
  transition: all .22s ease;
}
.tab:hover { color: var(--blue-700); background: rgba(255, 255, 255, .7); }
.tab.is-active {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.tab.is-active .tab-n { color: #fff; opacity: .85; }
.tab-n { font-size: .82rem; opacity: .55; font-weight: 900; }

.panel { display: none; }
.panel.is-active {
  display: grid;
  gap: 1.25rem;
  animation: fade-up .45s ease both;
}
.panel-shot {
  display: block;
  padding: 8px;
  border-radius: calc(var(--r-lg) + 4px);
  background: linear-gradient(140deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .4));
  border: 1px solid var(--glass-border);
  box-shadow: 0 30px 60px -28px rgba(15, 30, 61, .45);
  cursor: zoom-in;
  transition: transform .4s cubic-bezier(.2, .8, .3, 1);
}
.panel-shot:hover { transform: translateY(-4px); }
.panel-shot img {
  width: 100%;
  border-radius: var(--r-lg);
}
.panel-info {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: .75rem 2rem;
  flex-wrap: wrap;
}
.panel-info > div:first-child { max-width: 680px; }
.panel-info h3 { margin-bottom: .35rem; }
.panel-info p { color: var(--muted); font-weight: 300; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips span {
  padding: .3rem .9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  border: 1px solid rgba(37, 99, 235, .15);
  color: var(--blue-700);
  font-size: .86rem;
  font-weight: 700;
}

.common {
  margin-top: 1.5rem;
  border-radius: var(--r-lg);
  padding: 1.4rem clamp(1.2rem, 2.4vw, 1.85rem);
}
.common h4 { margin-bottom: 1rem; }
.common ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.common li {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--navy-700);
  font-size: .95rem;
  font-weight: 300;
}
.ic-sm {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  flex: 0 0 38px;
  border-radius: 12px;
  color: #fff;
  background: var(--grad-brand);
  box-shadow: 0 10px 20px -10px rgba(37, 99, 235, .6);
}
.ic-sm svg { width: 18px; height: 18px; }
.common li:nth-child(2) .ic-sm { background: linear-gradient(135deg, #22d3ee, #0891b2); box-shadow: 0 10px 20px -10px rgba(8, 145, 178, .6); }
.common li:nth-child(3) .ic-sm { background: var(--grad-gold); color: var(--navy-900); box-shadow: 0 10px 20px -10px rgba(245, 158, 11, .6); }

/* ---------- Timeline ---------- */
.timeline { position: relative; display: grid; gap: 1rem; }
.timeline::before {
  content: "";
  position: absolute;
  inset-inline-start: 92px;
  top: 26px;
  bottom: 26px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(var(--blue-500), var(--cyan-500), var(--gold-500));
  opacity: .5;
}
.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 184px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
  border-radius: var(--r-lg);
  padding: clamp(1.25rem, 2.2vw, 1.75rem);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.timeline li:hover {
  transform: translateY(-3px);
  background: var(--glass-strong);
  box-shadow: var(--shadow-md), var(--inset-hi);
}
.tl-badge {
  display: inline-grid;
  place-items: center;
  padding: .45rem 1.05rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .9rem;
  white-space: nowrap;
  color: #fff;
  background: var(--grad-brand);
  box-shadow: var(--shadow-blue);
}
.timeline li:nth-child(2) .tl-badge { background: linear-gradient(120deg, #0891b2, #06b6d4); box-shadow: 0 12px 24px -10px rgba(6, 182, 212, .6); }
.timeline li:nth-child(3) .tl-badge { background: linear-gradient(120deg, #4f46e5, #6366f1); box-shadow: 0 12px 24px -10px rgba(99, 102, 241, .6); }
.timeline li:last-child .tl-badge { background: var(--grad-gold); color: var(--navy-900); box-shadow: 0 12px 24px -10px rgba(245, 158, 11, .6); }
.tl-body h3 { margin-bottom: .45rem; }
.tl-body > p { color: var(--muted); font-size: .97rem; font-weight: 300; }
.tl-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 2rem;
  margin-top: .9rem;
  padding-top: .8rem;
  border-top: 1px dashed var(--line);
  font-size: .9rem;
  color: var(--navy-700);
}
.tl-meta em { color: var(--muted); font-style: normal; margin-inline-end: .3rem; }

.callout {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: clamp(1.25rem, 2.2vw, 1.75rem);
  border-radius: var(--r-lg);
  background:
    linear-gradient(120deg, rgba(219, 232, 254, .75), rgba(255, 255, 255, .6) 55%, rgba(230, 249, 252, .75));
}
.callout-ic {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  flex: 0 0 46px;
  border-radius: 14px;
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.callout-ic svg { width: 22px; height: 22px; }
.callout h3 { margin-bottom: .35rem; }
.callout p { color: var(--navy-700); font-size: .97rem; font-weight: 300; }

/* ---------- Pricing ---------- */
.price-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--r-xl);
  background: var(--grad-night);
  color: #fff;
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.price-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--grid-lines);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000, transparent 80%);
  pointer-events: none;
}
.price-tag {
  position: relative;
  display: inline-block;
  padding: .35rem 1rem;
  border-radius: 999px;
  background: var(--glass-dark);
  border: 1px solid var(--glass-dark-border);
  color: var(--gold-400);
  font-size: .88rem;
  font-weight: 700;
}
.price-desc {
  position: relative;
  max-width: 560px;
  margin: 0 auto 1.6rem;
  color: rgba(255, 255, 255, .84);
  font-weight: 300;
}

/* interactive subscription calculator */
.calc {
  position: relative;
  max-width: 620px;
  margin: 0 auto 1.75rem;
  padding: clamp(1.15rem, 2.4vw, 1.6rem);
  background: linear-gradient(160deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .04));
  border: 1px solid var(--glass-dark-border);
  border-radius: var(--r-lg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15);
  text-align: start;
}
.calc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.calc-head label { font-weight: 700; font-size: 1rem; }

.stepper {
  display: flex;
  align-items: center;
  gap: .35rem;
  background: rgba(255, 255, 255, .08);
  border: 1px solid var(--glass-dark-border);
  border-radius: 14px;
  padding: .25rem;
}
.stepper .step {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  background: var(--grad-brand);
  transition: transform .15s ease, filter .2s ease;
}
.stepper .step:hover { transform: scale(1.08); filter: brightness(1.1); }
.stepper input {
  width: 84px;
  border: 0;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 1.25rem;
  font-weight: 900;
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: none; }
.stepper:focus-within { border-color: var(--cyan-500); }

.calc-range {
  width: 100%;
  margin-top: 1.25rem;
  height: 6px;
  border-radius: 999px;
  /* RTL: the track fills from the right, so the gradient runs "to left" */
  background: linear-gradient(to left,
              var(--cyan-500) 0,
              var(--blue-500) var(--calc-progress, 5%),
              rgba(255, 255, 255, .16) var(--calc-progress, 5%));
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--grad-gold);
  border: 3px solid #fff;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .35);
  cursor: grab;
}
.calc-range::-moz-range-thumb {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--gold-500);
  border: 3px solid #fff;
  cursor: grab;
}
.calc-scale {
  display: flex;
  justify-content: space-between;
  margin-top: .45rem;
  font-size: .8rem;
  color: rgba(255, 255, 255, .5);
}

.calc-out {
  margin-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding-top: .5rem;
}
.calc-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: .5rem 0;
  font-size: .97rem;
  color: rgba(255, 255, 255, .78);
  font-weight: 300;
}
.calc-row strong { font-weight: 700; color: #fff; white-space: nowrap; }
.calc-row b { font-weight: 900; font-size: 1.1rem; }
.calc-row-total {
  margin-top: .25rem;
  border-top: 1px dashed rgba(255, 255, 255, .2);
  padding-top: .8rem;
  align-items: center;
}
.calc-row-total em {
  display: block;
  font-style: normal;
  font-size: .8rem;
  color: rgba(255, 255, 255, .5);
}
.calc-row-total strong { color: var(--gold-400); }
.calc-row-total b { font-size: 1.65rem; }
.calc-legal { margin-top: .75rem; font-size: .8rem; line-height: 1.7; color: rgba(255, 255, 255, .55); }

.calc-note {
  margin-top: .9rem;
  padding: .6rem .9rem;
  border-radius: var(--r-sm);
  background: rgba(255, 172, 30, .12);
  border: 1px solid rgba(255, 197, 92, .35);
  color: var(--gold-400);
  font-size: .88rem;
}

.price-list,
.price-extra { margin-top: 1.25rem; overflow: hidden; }
.price-list h3,
.price-extra h3 { margin-bottom: 1.1rem; }
.price-list::after,
.price-extra::after {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 3px;
}
.price-list::after { background: linear-gradient(90deg, #34d399, var(--emerald-600)); }
.price-extra::after { background: var(--grad-gold); }
.price-extra h3 { display: flex; align-items: center; gap: .6rem; }
.warn-ic {
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--grad-gold);
  color: var(--navy-900);
  font-size: .95rem;
  font-weight: 900;
}

/* ---------- Plans ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
  max-width: 980px;
  margin-inline: auto;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.3rem, 2.2vw, 1.75rem);
  border-radius: var(--r-xl);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm), var(--inset-hi);
  transition: transform .3s cubic-bezier(.2, .8, .3, 1), box-shadow .3s ease;
}
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow-md), var(--inset-hi); }
.plan h3 { font-size: 1.25rem; margin-bottom: .15rem; }
.plan-desc { color: var(--muted); font-size: .9rem; font-weight: 300; line-height: 1.7; }
.plan-price {
  display: flex;
  align-items: baseline;
  gap: .4rem;
  margin-top: 1rem;
  direction: ltr;
  justify-content: flex-end;
}
.plan-price strong {
  font-size: 2.9rem;
  font-weight: 900;
  line-height: 1;
  background: var(--grad-text-blue);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.plan-price sup { font-size: .45em; vertical-align: top; margin-inline-end: .1em; }
.plan-price span { color: var(--muted); font-size: .9rem; font-weight: 300; }
.plan-cap {
  margin-top: .6rem;
  padding-top: .6rem;
  border-top: 1px dashed var(--line);
  font-weight: 700;
  font-size: .95rem;
  color: var(--navy-800);
}
.plan-cap em { display: block; font-style: normal; font-weight: 300; font-size: .82rem; color: var(--muted); }
.plan-cta { width: 100%; margin-top: auto; }
.plan-cap { margin-bottom: 1.2rem; }

.plan-featured {
  color: #fff;
  background: var(--grad-night);
  border-color: rgba(255, 255, 255, .12);
  box-shadow: var(--shadow-lg);
}
.plan-featured:hover { box-shadow: var(--shadow-lg); }
.plan-featured::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(150deg, rgba(255, 197, 92, .9), transparent 40%, transparent 60%, rgba(56, 189, 248, .8));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.plan-featured h3,
.plan-featured .plan-cap { color: #fff; }
.plan-featured .plan-desc,
.plan-featured .plan-price span,
.plan-featured .plan-cap em { color: rgba(255, 255, 255, .7); }
.plan-featured .plan-cap { border-top-color: rgba(255, 255, 255, .15); }
.plan-featured .plan-price strong { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; }
.plan-badge {
  position: absolute;
  top: -13px;
  inset-inline-start: 1.25rem;
  padding: .2rem .85rem;
  border-radius: 999px;
  background: var(--grad-gold);
  color: var(--navy-900);
  font-size: .8rem;
  font-weight: 700;
  box-shadow: 0 8px 18px -8px rgba(245, 158, 11, .7);
}

.plans-more {
  margin: 1rem 0 clamp(1.5rem, 3vw, 2.25rem);
  text-align: center;
  color: var(--muted);
  font-size: .95rem;
}
.plans-more a { color: var(--blue-700); font-weight: 700; }
.plans-more a:hover { text-decoration: underline; }

.price-title { position: relative; color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); margin: .8rem 0 .4rem; }

.calc-addon {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-top: 1.1rem;
  padding: .7rem .9rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  cursor: pointer;
  font-size: .95rem;
}
.calc-addon input { width: 18px; height: 18px; accent-color: var(--blue-500); flex: 0 0 auto; }
.calc-addon em { font-style: normal; color: var(--gold-400); font-weight: 700; margin-inline-start: .3rem; }
#calcPlan { color: #67e8f9; }

/* ---------- Compliance ---------- */
.juris-card { padding: 0; overflow: hidden; }
.juris-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.35rem clamp(1.35rem, 2.4vw, 1.9rem);
  background: var(--grad-night);
  color: #fff;
}
.juris-head h3 { color: #fff; margin: 0; }
.juris-head p { font-size: .88rem; color: rgba(255, 255, 255, .7); font-weight: 300; line-height: 1.6; }
.cc-lg { min-width: 48px; height: 34px; font-size: .9rem; border-radius: 10px; }

.reg-list { padding: .4rem clamp(1.35rem, 2.4vw, 1.9rem) 1.2rem; }
.reg-list li {
  display: grid;
  gap: .15rem;
  padding: .95rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.reg-list li:last-child { border-bottom: 0; }
.reg-list strong { font-weight: 700; color: var(--navy-900); font-size: 1rem; }
.reg-list span { color: var(--muted); font-size: .94rem; font-weight: 300; line-height: 1.8; }

.legal-note {
  margin-top: 1.25rem;
  font-size: .85rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.8;
  padding-inline-start: 1rem;
  border-inline-start: 2px solid rgba(37, 99, 235, .25);
}

/* ---------- Accordion ---------- */
.accordion {
  border-radius: var(--r-lg);
  overflow: hidden;
}
.accordion details { border-bottom: 1px solid var(--line-soft); }
.accordion details:last-child { border-bottom: 0; }
.accordion summary {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1.1rem 1.35rem;
  font-weight: 700;
  color: var(--navy-900);
  cursor: pointer;
  list-style: none;
  transition: background .2s ease;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "";
  margin-inline-start: auto;
  width: 9px; height: 9px;
  border-right: 2px solid var(--blue-600);
  border-bottom: 2px solid var(--blue-600);
  transform: rotate(45deg);
  transition: transform .25s ease;
  flex: 0 0 auto;
}
.accordion details[open] summary { background: rgba(37, 99, 235, .06); }
.accordion details[open] summary::after { transform: rotate(-135deg); }
.accordion summary:hover { background: rgba(37, 99, 235, .05); }
.acc-n {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  flex: 0 0 32px;
  border-radius: 10px;
  background: rgba(37, 99, 235, .08);
  color: var(--blue-700);
  font-size: .9rem;
  font-weight: 700;
}
.accordion details[open] .acc-n { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-blue); }
.accordion details p {
  padding: 0 1.35rem 1.3rem 1.35rem;
  padding-inline-start: 3.35rem;
  color: var(--muted);
  font-size: .96rem;
  font-weight: 300;
}

/* ---------- CTA / contact ---------- */
.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--grad-night);
  color: #fff;
  padding: clamp(3rem, 6vw, 4.75rem) 0 clamp(2.5rem, 5vw, 3.75rem);
}
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grid-lines);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 60% 60% at 80% 10%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 80% 10%, #000, transparent 75%);
  pointer-events: none;
  z-index: -1;
}
.cta-bg { position: absolute; inset: 0; z-index: -2; }
.orb-3 {
  width: 520px; height: 520px;
  top: -200px; inset-inline-end: -140px;
  background: radial-gradient(circle, rgba(37, 99, 235, .45), transparent 65%);
  animation: float-b 28s ease-in-out infinite;
}
.orb-4 {
  width: 380px; height: 380px;
  bottom: -140px; inset-inline-start: 8%;
  background: radial-gradient(circle, rgba(255, 172, 30, .2), transparent 65%);
  animation: float-a 24s ease-in-out infinite;
}

.cta-head { max-width: 720px; }
.cta-head h2 { color: #fff; margin: 1rem 0 .8rem; }
.cta-head > p { color: rgba(255, 255, 255, .8); font-size: 1.06rem; font-weight: 300; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.75rem; }

.cta-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

/* ---------- Lead form ---------- */
.lead-form {
  padding: clamp(1.3rem, 2.6vw, 1.9rem);
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04));
  border: 1px solid var(--glass-dark-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), var(--shadow-lg);
}
.lead-form h3 { color: #fff; font-size: 1.25rem; }
.lead-sub { color: rgba(255, 255, 255, .68); font-size: .92rem; font-weight: 300; margin-bottom: 1rem; }
.lead-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.field { display: grid; gap: .3rem; }
.field-full { grid-column: 1 / -1; }
.field > span { font-size: .84rem; color: rgba(255, 255, 255, .78); font-weight: 700; }
.field b { color: var(--gold-400); font-weight: 700; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  padding: .55rem .85rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(6, 15, 34, .45);
  color: #fff;
  font: inherit;
  font-size: .95rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 84px; }
.field select option { color: var(--ink); }
.field input::placeholder { color: rgba(255, 255, 255, .35); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, .3);
}
.was-validated .field :invalid { border-color: #f87171; box-shadow: 0 0 0 3px rgba(248, 113, 113, .2); }
.hp { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.lead-consent { margin: .9rem 0; font-size: .78rem; line-height: 1.7; color: rgba(255, 255, 255, .55); }
.lead-submit { width: 100%; }
.lead-submit:disabled { opacity: .7; cursor: progress; transform: none; }
.lead-status {
  margin-top: .8rem;
  padding: .65rem .9rem;
  border-radius: 12px;
  font-size: .9rem;
  font-weight: 700;
}
.lead-status.is-ok { background: rgba(52, 211, 153, .14); border: 1px solid rgba(52, 211, 153, .4); color: #6ee7b7; }
.lead-status.is-error { background: rgba(248, 113, 113, .12); border: 1px solid rgba(248, 113, 113, .4); color: #fca5a5; }

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  margin-top: clamp(2rem, 4vw, 2.75rem);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03));
  border: 1px solid var(--glass-dark-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), var(--shadow-lg);
}
.contact-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: clamp(1.4rem, 3vw, 2.25rem);
}
.contact-body h3 { color: #fff; font-size: 1.25rem; }

.contact-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.contact-list li {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .85rem 1rem;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  transition: background .2s ease, border-color .2s ease;
}
.contact-list li:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .16); }
.contact-list li > div { min-width: 0; display: grid; }
.contact-list span:not(.c-ic) { font-size: .8rem; color: rgba(255, 255, 255, .6); line-height: 1.6; }
.contact-list strong,
.contact-list a { font-size: .98rem; font-weight: 700; color: #fff; line-height: 1.6; }
.contact-list a[dir="ltr"] { justify-self: start; }
.contact-list a:hover { color: var(--gold-400); }
.c-ic {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px; height: 40px;
  border-radius: 12px;
  color: #fff;
  background: var(--grad-brand);
  box-shadow: 0 10px 20px -10px rgba(37, 99, 235, .8);
}
.c-ic svg { width: 19px; height: 19px; }
.contact-list li:last-child .c-ic { background: linear-gradient(135deg, #4ade80, #16a34a); box-shadow: 0 10px 20px -10px rgba(22, 163, 74, .8); }

.contact-map {
  position: relative;
  display: block;
  flex: 1;
  min-height: 170px;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
}
.contact-map img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  transition: transform .5s ease;
}
.contact-map:hover img { transform: scale(1.04); }
.map-btn {
  position: absolute;
  inset-block-end: .9rem;
  inset-inline-end: .9rem;
  background: var(--grad-brand);
  color: #fff;
  padding: .45rem 1rem;
  border-radius: 999px;
  font-size: .86rem;
  font-weight: 700;
  box-shadow: var(--shadow-blue);
}

.contact-photo { position: relative; min-height: 460px; }
.contact-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 8%;
}
.contact-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 23, 51, 0) 55%, rgba(10, 23, 51, .85));
  pointer-events: none;
}
.contact-photo figcaption {
  position: absolute;
  z-index: 1;
  inset-inline: 1.4rem;
  inset-block-end: 1.25rem;
  display: grid;
  color: #fff;
}
.contact-photo figcaption span { font-size: .82rem; color: var(--gold-400); font-weight: 700; }
.contact-photo figcaption strong { font-size: 1.15rem; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(46rem 26rem at 100% 0%, rgba(37, 99, 235, .35), transparent 60%),
    radial-gradient(40rem 24rem at 0% 100%, rgba(6, 182, 212, .2), transparent 60%),
    radial-gradient(30rem 20rem at 50% 120%, rgba(255, 172, 30, .1), transparent 60%),
    linear-gradient(180deg, #081430, #050c1d);
  color: rgba(255, 255, 255, .7);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 1.25rem;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, .7), rgba(255, 197, 92, .7), transparent);
}
.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--grid-lines);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000, transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
  opacity: .6;
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 2rem;
  padding-bottom: 2rem;
}
.footer-brand img { height: 64px; width: auto; margin-bottom: 1rem; }
.footer-brand p { font-size: .93rem; font-weight: 300; max-width: 360px; line-height: 1.85; }
.footer-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .3rem .75rem .3rem .4rem;
  border-radius: 999px;
  background: var(--glass-dark);
  border: 1px solid var(--glass-dark-border);
  font-size: .82rem;
  color: rgba(255, 255, 255, .8);
}

.footer-col h4 {
  color: #fff;
  font-size: .98rem;
  margin-bottom: .9rem;
}
.footer-col ul { display: grid; gap: .45rem; }
.footer-col a {
  font-size: .92rem;
  font-weight: 300;
  color: rgba(255, 255, 255, .68);
  transition: color .2s ease, padding .2s ease;
}
.footer-col a:hover { color: #fff; padding-inline-start: .25rem; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .86rem;
  font-weight: 300;
}
.powered {
  direction: ltr;
  color: rgba(255, 255, 255, .5);
}
.powered b {
  font-weight: 700;
  background: linear-gradient(90deg, #67e8f9, var(--gold-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Floating buttons ---------- */
.fabs {
  position: fixed;
  inset-block-end: 1.5rem;
  inset-inline-start: 1.5rem;
  z-index: 90;
  display: grid;
  gap: .6rem;
}
.fab {
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  border-radius: 16px;
  transition: transform .25s ease, box-shadow .25s ease, opacity .3s ease, visibility .3s ease;
}
.fab:hover { transform: translateY(-3px) scale(1.05); }
.fab svg { width: 24px; height: 24px; }
.fab-wa {
  background: linear-gradient(135deg, #4ade80, #16a34a);
  color: #fff;
  box-shadow: 0 12px 26px -8px rgba(22, 163, 74, .7), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.to-top {
  background: rgba(255, 255, 255, .75);
  color: var(--blue-700);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
}
.to-top.is-visible { opacity: 1; visibility: visible; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s ease, transform .65s cubic-bezier(.22, .8, .3, 1);
}
.reveal.is-in { opacity: 1; transform: none; }

/* decorative loops only run while their block is on screen */
.section:not(.is-live)::before,
.hero:not(.is-live) .orb,
.cta:not(.is-live) .orb,
.section:not(.is-live) .ic::after,
.section:not(.is-live) .ic-sm::after,
.section:not(.is-live) .callout-ic::after { animation-play-state: paused; }

/* icons: pop in once when their block is revealed, then a soft pulse ring
   in the icon's own colour — transform/opacity only, on the compositor */
.ic,
.ic-sm,
.callout-ic { position: relative; }
.reveal.is-in .ic,
.reveal.is-in .ic-sm,
.reveal.is-in .callout-ic { animation: ic-pop .7s cubic-bezier(.3, 1.5, .5, 1) .15s backwards; }
.ic::after,
.ic-sm::after,
.callout-ic::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid var(--accent, var(--blue-500));
  opacity: 0;
  animation: ic-pulse 4.5s ease-out infinite;
  pointer-events: none;
}
.card:nth-child(3n+2) .ic::after,
.common li:nth-child(2) .ic-sm::after { animation-delay: 1.5s; }
.card:nth-child(3n) .ic::after,
.common li:nth-child(3) .ic-sm::after { animation-delay: 3s; }
@keyframes ic-pop {
  from { opacity: 0; transform: scale(.5) rotate(-14deg); }
  to   { opacity: 1; transform: none; }
}
@keyframes ic-pulse {
  0%       { opacity: .55; transform: scale(1); }
  60%, 100% { opacity: 0; transform: scale(1.45); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .timeline li { grid-template-columns: 150px minmax(0, 1fr); }
  .timeline::before { inset-inline-start: 78px; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    inset-block-start: 84px;
    inset-inline: var(--pad);
    flex-direction: column;
    align-items: stretch;
    gap: .1rem;
    background: rgba(255, 255, 255, .98);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-md);
    padding: .6rem;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform .3s cubic-bezier(.3, .8, .3, 1), opacity .25s ease, visibility .25s ease;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: .75rem .9rem; }
  .nav-toggle { display: flex; }
  .header-actions { margin-inline-start: auto; }
}

@media (max-width: 900px) {
  .hide-sm { display: none; }

  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento .is-3,
  .bento .is-6 { grid-column: span 1; }
  .common ul { grid-template-columns: 1fr; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 1rem; }
  .plan-featured { grid-column: 1 / -1; order: -1; }
  .cta-top { grid-template-columns: 1fr; }
  .contact-panel { grid-template-columns: 1fr; }
  .contact-photo { min-height: 320px; order: -1; }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 84px; }
  .site-header { padding-top: .5rem; }
  .header-inner { margin-inline: .6rem; padding-inline: .8rem; min-height: 60px; }
  .hero { margin-top: -70px; padding-top: calc(3.5rem + 70px); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
  .hero-trust { border-radius: var(--r-md); padding: .6rem .9rem; }
  .grid-2,
  .bento { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .timeline::before { display: none; }
  .timeline li { grid-template-columns: 1fr; gap: .85rem; }
  .tl-badge { justify-self: start; }
  .tabs { display: grid; grid-template-columns: repeat(2, 1fr); width: 100%; }
  .tab { justify-content: flex-start; padding-inline: .8rem; }
  .btn-lg { padding: .8rem 1.4rem; font-size: 1rem; }
  .hero-cta .btn,
  .cta-actions .btn { flex: 1 1 100%; }
  .accordion details p { padding-inline-start: 1.35rem; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .brand img { height: 30px; }
  .fabs { inset-block-end: 1rem; inset-inline-start: 1rem; }
  .fab { width: 46px; height: 46px; }
}

/* ---------- Mobile: two-up blocks, centred copy ---------- */
@media (max-width: 700px) {
  .section-head,
  .cta-head { text-align: center; margin-inline: auto; }
  .note { text-align: start; }
  .cta-actions { justify-content: center; }

  /* short blocks sit two per row */
  .bento.features,
  .grid-2.secure { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }

  .features .card,
  .secure .card { padding: 1.1rem .9rem; text-align: center; }
  .features .card h3,
  .secure .card h3 { font-size: 1rem; margin-bottom: .3rem; }
  .features .card > p,
  .secure .card > p { font-size: .84rem; line-height: 1.7; }
  .card .ic { width: 42px; height: 42px; margin-inline: auto; margin-bottom: .7rem; border-radius: 12px; }
  .card .ic svg { width: 20px; height: 20px; }

  .common h4 { text-align: center; }
  .common ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
  .common li { flex-direction: column; text-align: center; font-size: .84rem; line-height: 1.6; }

  .panel-info { justify-content: center; text-align: center; }
  .chips { justify-content: center; }

  .callout { flex-direction: column; align-items: center; text-align: center; }
  .tl-body { text-align: start; }

  .plan { text-align: center; padding: 1.2rem .8rem; }
  .plan h3 { font-size: 1.1rem; }
  .plan-desc { font-size: .8rem; }
  .plan-price { justify-content: center; }
  .plan-price strong { font-size: 2.2rem; }
  .plan-cap { font-size: .85rem; }
  .plan-cta { min-height: 40px; padding-inline: .5rem; font-size: .88rem; }
  .plan-badge { inset-inline-start: 50%; transform: translateX(50%); white-space: nowrap; }

  .juris-head { flex-direction: column; text-align: center; gap: .6rem; }
  .contact-list { grid-template-columns: 1fr; }
  .lead-grid { grid-template-columns: 1fr; }
  .footer-grid { text-align: center; }
  .footer-brand img { margin-inline: auto; }
  .footer-brand p { margin-inline: auto; }
  .footer-badges { justify-content: center; }
  .footer-bottom { align-items: center; text-align: center; }

  .price-list h3,
  .price-extra h3 { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header,
  .fabs,
  .nav-toggle,
  .hero-bg,
  .cta-bg,
  .scroll-progress { display: none !important; }
  .panel { display: grid !important; }
  body { color: #000; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- LTR (English) adjustments ---------- */
[dir="ltr"] .scroll-progress { transform-origin: left center; }
[dir="ltr"] .calc-range {
  background: linear-gradient(to right,
              var(--cyan-500) 0,
              var(--blue-500) var(--calc-progress, 5%),
              rgba(255, 255, 255, .16) var(--calc-progress, 5%));
}
[dir="ltr"] .plan-price { justify-content: flex-start; }
@media (max-width: 700px) {
  [dir="ltr"] .plan-price { justify-content: center; }
  [dir="ltr"] .plan-badge { transform: translateX(-50%); }
}
