/* ─── Index File ─── */
:root {
  --navy: #101B2A;
  --navy-mid: #1A2740;
  --navy-light: #2A3A52;
  --navy-pale: #E8ECF2;
  --gold: #C9A84C;
  --gold-light: #F5D98B;
  --cream: #FAF7F2;
  --ink: #0A0F17;
  --ink-mid: #1A2533;
  --mist: #7B8A9B;
  --white: #FFFFFF;
  --section-pad: clamp(80px, 10vw, 140px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
}

/* ─── CURSOR ─── */
* { cursor: none !important; }
#cursor {
  position: fixed; width: 10px; height: 10px;
  background: var(--gold); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, width 0.3s, height 0.3s, background 0.3s;
  mix-blend-mode: multiply;
}
#cursor-ring {
  position: fixed; width: 36px; height: 36px;
  border: 1.5px solid var(--navy);
  border-radius: 50%; pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease-out, width 0.3s, height 0.3s, opacity 0.3s;
}
body:hover #cursor-ring { opacity: 1; }

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 60px;
  transition: background 0.4s, padding 0.4s, backdrop-filter 0.4s;
}
nav.scrolled {
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(20px);
  padding: 14px 60px;
  box-shadow: 0 1px 0 rgba(16, 27, 42, 0.08);
}
.nav-logo img { height: 42px; width: auto; vertical-align: middle; }
.nav-links {
  display: flex; align-items: center; gap: 36px; list-style: none;
}
.nav-links a {
  font-size: 14px; font-weight: 500; letter-spacing: 0.04em;
  color: var(--ink-mid); text-decoration: none;
  transition: color 0.2s; text-transform: uppercase;
}
.nav-links a:hover { color: var(--navy); }
.nav-cta { display: flex; align-items: center; gap: 12px; }

.btn-outline {
  padding: 10px 24px; border: 1.5px solid var(--navy);
  color: var(--navy); background: transparent;
  font-family: 'DM Sans', sans-serif; font-size: 13px;
  font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; transition: all 0.3s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-solid {
  padding: 10px 24px; background: var(--navy);
  color: var(--white); border: 1.5px solid var(--navy);
  font-family: 'DM Sans', sans-serif; font-size: 13px;
  font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; transition: all 0.3s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-solid:hover { background: var(--ink); border-color: var(--ink); }

/* ─── HAMBURGER ─── */
.nav-hamburger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 40px; height: 40px;
  background: transparent; border: 1.5px solid rgba(16,27,42,0.2);
  border-radius: 4px; padding: 0;
  transition: border-color 0.2s;
}
.nav-hamburger span {
  display: block; width: 20px; height: 1.5px;
  background: var(--navy); transition: all 0.3s;
}
.nav-hamburger:hover { border-color: var(--navy); }

/* ─── MOBILE MENU DRAWER ─── */
.mobile-menu {
  position: fixed; top: 0; right: -100%; width: min(320px, 88vw);
  height: 100vh; background: var(--cream);
  z-index: 2000; padding: 80px 32px 40px;
  display: flex; flex-direction: column; gap: 0;
  box-shadow: -20px 0 60px rgba(0,0,0,0.15);
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}
.mobile-menu.open { right: 0; }
.mobile-menu-overlay {
  position: fixed; inset: 0; background: rgba(10,15,23,0.5);
  z-index: 1999; opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-menu-overlay.open { opacity: 1; pointer-events: all; }
.mobile-menu-close {
  position: absolute; top: 20px; right: 20px;
  width: 40px; height: 40px; background: var(--navy-pale);
  border: none; border-radius: 50%;
  font-size: 16px; color: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.mobile-nav-links { list-style: none; margin-bottom: 32px; }
.mobile-nav-link {
  display: block; padding: 16px 0;
  border-bottom: 1px solid rgba(16,27,42,0.08);
  font-size: 15px; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-mid);
  text-decoration: none; transition: color 0.2s;
}
.mobile-nav-link:hover { color: var(--navy); }
.mobile-nav-cta {
  display: flex; flex-direction: column; gap: 12px; margin-top: 8px;
}

/* ─── HERO ─── */
#hero {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 120px 60px 80px;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(16, 27, 42, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(201, 168, 76, 0.08) 0%, transparent 50%);
}
.hero-grid-lines {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(16, 27, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 27, 42, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-left { position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--navy); margin-bottom: 28px;
}
.hero-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--gold); }
.hero-h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(52px, 5.5vw, 80px);
  font-weight: 300; line-height: 1.05;
  color: var(--ink); margin-bottom: 28px; letter-spacing: -0.01em;
}
.hero-h1 em { font-style: italic; color: var(--navy); }
.hero-h1 .gold { color: var(--gold); }
.hero-desc {
  font-size: 17px; line-height: 1.7;
  color: var(--mist); max-width: 480px;
  margin-bottom: 44px; font-weight: 400;
}
.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.btn-hero {
  padding: 16px 36px; background: var(--navy);
  color: var(--white); font-family: 'DM Sans', sans-serif;
  font-size: 14px; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; text-decoration: none;
  transition: all 0.3s; position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 10px;
}
.btn-hero::after {
  content: ''; position: absolute; inset: 0;
  background: var(--gold); transform: scaleX(0);
  transform-origin: left; transition: transform 0.4s; z-index: -1;
}
.btn-hero:hover { color: var(--ink); }
.btn-hero:hover::after { transform: scaleX(1); }
.hero-link {
  font-size: 14px; color: var(--navy); font-weight: 500;
  text-decoration: none; letter-spacing: 0.04em;
  border-bottom: 1px solid var(--gold); padding-bottom: 2px;
  transition: color 0.2s;
}
.hero-link:hover { color: var(--gold); }
.hero-stats {
  display: flex; gap: 40px; margin-top: 56px;
  padding-top: 40px; border-top: 1px solid rgba(16, 27, 42, 0.1);
}
.hero-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px; font-weight: 600; color: var(--navy); line-height: 1;
}
.hero-stat-label {
  font-size: 12px; color: var(--mist); letter-spacing: 0.08em;
  text-transform: uppercase; margin-top: 4px;
}
.hero-right {
  position: relative; z-index: 2;
  display: flex; justify-content: center; align-items: center;
}

/* ─── PHONE MOCKUP ─── */
.phone-mockup {
  width: 264px; height: 560px;
  background: var(--ink); border-radius: 32px;
  position: relative;
  box-shadow: 0 60px 120px rgba(0,0,0,0.25), 0 0 0 2px rgba(255,255,255,0.1) inset;
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
  margin: 0 auto;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-20px) rotate(-2deg); }
}
.phone-screen {
  position: absolute; inset: 12px 10px 12px 10px;
  border-radius: 28px; overflow: hidden;
  background: linear-gradient(160deg, #0F91AA 0%, #1A232E 100%);
}
.phone-notch {
  width: 10px; height: 10px; background: var(--ink);
  border-radius: 50%; position: absolute;
  top: 8px; left: 50%; transform: translateX(-50%); z-index: 10;
}
.phone-content { padding: 16px; }
.phone-header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px;
}
.phone-logo img { height: 20px; width: auto; }
.phone-section-title {
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 10px;
}

/* Phone stat cards (replacing fake lawyer cards) */
.phone-stat-card {
  background: rgba(255,255,255,0.08);
  border-radius: 12px; padding: 12px 14px;
  margin-bottom: 10px;
  border: 1px solid rgba(255,255,255,0.06);
}
.phone-stat-label {
  font-size: 9px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 4px;
}
.phone-stat-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 600; color: #0F91AA; line-height: 1.1;
}
.phone-stat-sub {
  font-size: 9px; color: rgba(255,255,255,0.35); margin-top: 2px;
}
.phone-launch-badge {
  display: flex; align-items: center; gap: 7px;
  background: rgba(201,168,76,0.15); border: 1px solid rgba(201,168,76,0.3);
  border-radius: 20px; padding: 6px 12px; margin-bottom: 12px;
  font-size: 9px; font-weight: 600; color: #C9A84C; letter-spacing: 0.06em;
  text-transform: uppercase;
}
.phone-launch-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #C9A84C;
  animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }
.phone-cats { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.phone-cat {
  padding: 5px 10px; background: rgba(255,255,255,0.12);
  border-radius: 20px; font-size: 9px; color: var(--white); font-weight: 500;
}
.phone-cat.active { background: #0F91AA; color: #fff; }

/* Floating badges */
.floating-badge {
  position: absolute; background: var(--white); border-radius: 14px;
  padding: 12px 16px; box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  font-size: 12px; font-weight: 500; display: flex; align-items: center; gap: 8px;
}
.badge-1 { top: 30%; right: -30px; animation: float2 5s ease-in-out infinite; }
.badge-2 { bottom: 25%; left: -40px; animation: float2 7s ease-in-out infinite 1s; }
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: #35A998; }
@keyframes float2 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

/* Hero stats container */
.hero-stats-container {
  display: flex; justify-content: center; gap: 40px;
  padding: 40px 60px; background: var(--white);
  border-top: 1px solid rgba(16,27,42,0.06);
  border-bottom: 1px solid rgba(16,27,42,0.06);
  flex-wrap: wrap;
}
.hero-stat-card { text-align: center; }

/* ─── JUDICIAL METRICS ─── */
.judicial-metrics-section {
  background: var(--navy); padding: var(--section-pad) 60px;
}
.metrics-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.metrics-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3vw, 42px); font-weight: 300;
  color: var(--white); margin-bottom: 12px;
}
.metrics-subtitle {
  font-size: 15px; color: rgba(255,255,255,0.5); margin-bottom: 48px;
}
.metrics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.metric-box {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  padding: 32px 24px; border-radius: 2px;
}
.metric-number {
  display: block; font-family: 'Cormorant Garamond', serif;
  font-size: 52px; font-weight: 600; color: var(--gold); line-height: 1;
}
.metric-label {
  display: block; font-size: 12px; color: rgba(255,255,255,0.4);
  letter-spacing: 0.08em; text-transform: uppercase; margin-top: 8px;
}
.wide-box {
  display: flex; align-items: center; justify-content: center;
  padding: 28px 36px;
}
.wide-box-content { text-align: center; }
.metric-label-alt {
  display: block; font-size: 12px; color: rgba(255,255,255,0.4);
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px;
}
.metric-number-large {
  display: block; font-family: 'Cormorant Garamond', serif;
  font-size: 64px; font-weight: 600; color: var(--gold); line-height: 1;
}
.wide-box-icon { font-size: 48px; opacity: 0.3; }

/* ─── MARQUEE ─── */
.marquee-wrap {
  background: var(--navy); padding: 18px 0; overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.marquee-track {
  display: flex; gap: 0;
  animation: marquee 25s linear infinite; width: max-content;
}
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.marquee-item {
  display: flex; align-items: center; gap: 20px; padding: 0 32px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,0.7); white-space: nowrap;
}
.marquee-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* ─── SECTIONS ─── */
section { padding: var(--section-pad) 60px; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--navy); margin-bottom: 20px;
}
.section-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--gold); }
.section-h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 300; line-height: 1.1; color: var(--ink); margin-bottom: 16px;
}
.section-h2 em { font-style: italic; color: var(--navy); }
.section-desc { font-size: 16px; line-height: 1.7; color: var(--mist); max-width: 540px; }

/* ─── HOW IT WORKS ─── */
#how { background: var(--white); }
.how-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: rgba(16, 27, 42, 0.08);
  margin-top: 64px; border: 1px solid rgba(16, 27, 42, 0.08);
}
.how-item {
  background: var(--white); padding: 48px 36px;
  position: relative; transition: background 0.3s;
}
.how-item:hover { background: var(--navy-pale); }
.how-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 72px; font-weight: 300;
  color: rgba(16, 27, 42, 0.08); line-height: 1;
  position: absolute; top: 20px; right: 24px;
}
.how-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--navy-pale);
  display: flex; align-items: center; justify-content: center; margin-bottom: 24px;
}
.how-icon svg { width: 24px; height: 24px; stroke: var(--navy); fill: none; stroke-width: 1.5; }
.how-title { font-size: 18px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.how-desc { font-size: 14px; line-height: 1.7; color: var(--mist); }

/* ─── SERVICES ─── */
#services {
  background: var(--cream);
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}
.services-left { position: sticky; top: 120px; }
.service-cards { display: flex; flex-direction: column; gap: 16px; }
.service-card {
  background: var(--white); padding: 28px 32px;
  border: 1px solid rgba(16, 27, 42, 0.08);
  transition: all 0.3s; position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--navy); transform: scaleY(0);
  transform-origin: bottom; transition: transform 0.3s;
}
.service-card:hover::before { transform: scaleY(1); }
.service-card:hover { transform: translateX(4px); box-shadow: 0 8px 32px rgba(16, 27, 42, 0.08); }
.service-card-header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px;
}
.service-card-title { font-size: 17px; font-weight: 600; color: var(--ink); }
.service-badge {
  font-size: 10px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--navy);
  background: var(--navy-pale); padding: 4px 10px; border-radius: 20px;
}
.service-badge.new { background: rgba(201, 168, 76, 0.15); color: var(--gold); }
.service-card-desc { font-size: 14px; line-height: 1.65; color: var(--mist); }
.service-features { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.service-feature {
  font-size: 11px; padding: 4px 12px;
  background: var(--navy-pale); color: var(--navy); border-radius: 20px; font-weight: 500;
}

/* ─── FOR LAWYERS SECTION ─── */
#lawyers { background: var(--navy); }
#lawyers .section-eyebrow { color: var(--gold-light); }
#lawyers .section-eyebrow::before { background: var(--gold); }
#lawyers .section-h2 { color: var(--white); }
#lawyers .section-h2 em { color: var(--gold-light); }
#lawyers .section-desc { color: rgba(255,255,255,0.6); }

.lawyers-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 56px;
}
.lawyer-join-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 36px 28px; border-radius: 2px;
  transition: all 0.3s;
}
.lawyer-join-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); }
.lawyer-join-icon { font-size: 36px; margin-bottom: 20px; }
.lawyer-join-title { font-size: 17px; font-weight: 600; color: var(--white); margin-bottom: 12px; }
.lawyer-join-desc { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.5); }

.lawyer-cta-banner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
  background: rgba(201,168,76,0.1); border: 1px solid rgba(201,168,76,0.25);
  padding: 32px 40px; margin-top: 40px;
}
.lawyer-cta-title { font-size: 20px; font-weight: 600; color: var(--white); margin-bottom: 6px; }
.lawyer-cta-sub { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.5; max-width: 540px; }

/* ─── NOTARY ─── */
#notary { background: var(--cream); }
.notary-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-top: 64px; }
.notary-visual {
  background: var(--ink); padding: 48px; border-radius: 2px;
  position: relative; overflow: hidden;
}
.notary-visual::before {
  content: ''; position: absolute;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.15) 0%, transparent 70%);
  top: -100px; right: -100px;
}
.notary-seal {
  width: 100px; height: 100px; border: 2px solid var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px; position: relative;
}
.notary-seal::before {
  content: ''; position: absolute; inset: 6px;
  border: 1px dashed rgba(201, 168, 76, 0.4); border-radius: 50%;
}
.notary-seal-icon { font-size: 40px; }
.notary-visual-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 300; color: var(--white);
  text-align: center; margin-bottom: 8px;
}
.notary-visual-sub {
  font-size: 12px; text-align: center; color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 32px;
}
.notary-docs { display: flex; flex-direction: column; gap: 12px; }
.notary-doc {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,0.05); padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.06); border-radius: 6px; transition: background 0.2s;
}
.notary-doc:hover { background: rgba(255,255,255,0.08); }
.notary-doc-icon {
  width: 36px; height: 36px; background: rgba(201, 168, 76, 0.15);
  border-radius: 8px; display: flex; align-items: center;
  justify-content: center; font-size: 16px; flex-shrink: 0;
}
.notary-doc-name { font-size: 13px; color: var(--white); font-weight: 500; }
.notary-doc-type { font-size: 11px; color: rgba(255,255,255,0.4); }
.notary-features { display: flex; flex-direction: column; gap: 24px; }
.notary-feature { display: flex; gap: 20px; }
.notary-feature-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: var(--navy-pale); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.notary-feature-icon svg { width: 22px; height: 22px; stroke: var(--navy); fill: none; stroke-width: 1.5; }
.notary-feature-title { font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.notary-feature-desc { font-size: 14px; color: var(--mist); line-height: 1.6; }

/* ─── PRICING ─── */
#pricing { background: var(--white); }
.pricing-tabs {
  display: flex; gap: 0; border: 1px solid rgba(16, 27, 42, 0.2);
  align-self: flex-start; margin-bottom: 48px; margin-top: 48px;
}
.pricing-tab {
  padding: 12px 32px; font-size: 13px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  background: transparent; border: none; color: var(--mist);
  font-family: 'DM Sans', sans-serif; transition: all 0.2s;
}
.pricing-tab.active { background: var(--navy); color: var(--white); }
.pricing-tab:hover:not(.active) { background: var(--navy-pale); color: var(--navy); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pricing-card {
  border: 1px solid rgba(16, 27, 42, 0.1); padding: 40px 36px;
  position: relative; transition: all 0.3s;
}
.pricing-card:hover { border-color: var(--navy); transform: translateY(-4px); }
.pricing-card.featured { background: var(--navy); border-color: var(--navy); }
.pricing-card.featured:hover { background: var(--ink); border-color: var(--ink); }
.pricing-popular {
  position: absolute; top: -1px; right: 32px;
  background: var(--gold); color: var(--ink);
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 5px 14px;
}
.pricing-plan {
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--navy); margin-bottom: 20px;
}
.pricing-card.featured .pricing-plan { color: rgba(255,255,255,0.6); }
.pricing-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px; font-weight: 300; color: var(--ink); line-height: 1; margin-bottom: 6px;
}
.pricing-card.featured .pricing-price { color: var(--white); }
.pricing-period { font-size: 13px; color: var(--mist); margin-bottom: 32px; }
.pricing-card.featured .pricing-period { color: rgba(255,255,255,0.5); }
.pricing-features { list-style: none; margin-bottom: 36px; display: flex; flex-direction: column; gap: 14px; }
.pricing-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--ink-mid);
}
.pricing-card.featured .pricing-features li { color: rgba(255,255,255,0.8); }
.pricing-check { color: var(--navy); flex-shrink: 0; margin-top: 1px; }
.pricing-card.featured .pricing-check { color: var(--gold); }
.btn-pricing {
  width: 100%; padding: 14px; border: 1.5px solid var(--navy);
  background: transparent; color: var(--navy);
  font-family: 'DM Sans', sans-serif; font-size: 13px;
  font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  transition: all 0.3s; text-decoration: none;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-pricing:hover { background: var(--navy); color: var(--white); }
.pricing-card.featured .btn-pricing { background: var(--white); color: var(--navy); border-color: var(--white); }
.pricing-card.featured .btn-pricing:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* ─── EARLY ACCESS (was testimonials) ─── */
#testimonials { background: var(--cream); }
.early-access-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 56px;
}
.early-access-card {
  background: var(--white); padding: 36px;
  border: 1px solid rgba(16, 27, 42, 0.06);
  transition: all 0.3s; display: flex; flex-direction: column;
}
.early-access-card:hover { box-shadow: 0 16px 48px rgba(16, 27, 42, 0.08); transform: translateY(-3px); }
.early-access-icon { font-size: 36px; margin-bottom: 16px; }
.early-access-role {
  font-size: 13px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--navy); margin-bottom: 12px;
}
.early-access-desc {
  font-size: 14px; line-height: 1.7; color: var(--mist);
  flex: 1; margin-bottom: 24px;
}
.early-access-btn {
  align-self: flex-start; font-size: 12px; padding: 10px 20px;
}

/* ─── LOGIN ─── */
#login { background: var(--ink); padding: var(--section-pad) 60px; }
.login-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.login-left .section-eyebrow { color: var(--gold-light); }
.login-left .section-eyebrow::before { background: var(--gold); }
.login-left .section-h2 { color: var(--white); }
.login-left .section-h2 em { color: var(--gold-light); }
.login-left .section-desc { color: rgba(255,255,255,0.5); }
.login-tabs {
  display: flex; gap: 0; margin-top: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.login-tab {
  padding: 14px 28px; font-size: 13px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  background: transparent; border: none; color: rgba(255,255,255,0.4);
  font-family: 'DM Sans', sans-serif;
  border-bottom: 2px solid transparent; margin-bottom: -1px; transition: all 0.2s;
}
.login-tab.active { color: var(--gold); border-bottom-color: var(--gold); }
.login-form-wrap { margin-top: 36px; }
.login-panel { display: none; }
.login-panel.active { display: block; }
.btn-login {
  width: 100%; padding: 16px; background: var(--navy);
  border: none; color: var(--white);
  font-family: 'DM Sans', sans-serif; font-size: 14px;
  font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  transition: all 0.3s; position: relative; overflow: hidden;
}
.btn-login::after {
  content: ''; position: absolute; inset: 0;
  background: var(--gold); transform: scaleX(0);
  transform-origin: left; transition: transform 0.4s; z-index: 0;
}
.btn-login:hover::after { transform: scaleX(1); }
.btn-login span { position: relative; z-index: 1; }
.btn-login:hover span { color: var(--ink); }
.form-footer { margin-top: 16px; text-align: center; font-size: 13px; color: rgba(255,255,255,0.3); }
.form-footer a { color: var(--gold); text-decoration: none; }
.login-info {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); padding: 36px;
}
.login-info-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 300; color: var(--white); margin-bottom: 20px;
}
.login-info-item { display: flex; gap: 16px; margin-bottom: 24px; }
.login-info-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(201, 168, 76, 0.1);
  display: flex; align-items: center; justify-content: center; border-radius: 10px;
}
.login-info-icon svg { width: 18px; height: 18px; stroke: var(--gold); fill: none; stroke-width: 1.5; }
.login-info-item-title { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.login-info-item-desc { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.5; }

/* ─── DOWNLOAD ─── */
#download {
  background: linear-gradient(135deg, var(--navy) 0%, var(--ink) 100%);
  text-align: center; position: relative; overflow: hidden;
}
#download::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(201, 168, 76, 0.08) 0%, transparent 60%);
}
#download .section-h2 { color: var(--white); max-width: 640px; margin: 0 auto 16px; }
#download .section-h2 em { color: var(--gold-light); }
#download .section-desc { color: rgba(255,255,255,0.5); margin: 0 auto 48px; max-width: 480px; }
.download-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.download-btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 28px; border: 1.5px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  color: var(--white); text-decoration: none; transition: all 0.3s; min-width: 200px;
}
.download-btn:hover { background: rgba(255,255,255,0.12); border-color: var(--gold); }
.download-btn-icon { font-size: 28px; }
.download-btn-text { text-align: left; }
.download-btn-small { font-size: 10px; color: rgba(255,255,255,0.5); letter-spacing: 0.06em; text-transform: uppercase; }
.download-btn-large { font-size: 16px; font-weight: 600; }
.download-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--ink);
  padding: 8px 20px; font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; margin-top: 32px;
}

/* ─── FOOTER ─── */
footer { background: var(--ink); color: rgba(255,255,255,0.4); padding: 60px 60px 40px; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px; margin-bottom: 48px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-logo img { height: 56px; width: auto; }
.footer-tagline { font-size: 14px; line-height: 1.6; margin-bottom: 24px; }
.footer-arabic { font-size: 22px; color: rgba(255,255,255,0.15); font-family: 'Cormorant Garamond', serif; }
.footer-col-title {
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--white); margin-bottom: 20px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; font-size: 12px; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: rgba(255,255,255,0.3); text-decoration: none; transition: color 0.2s; }
.footer-legal a:hover { color: var(--gold); }

/* ─── SCROLL REVEAL ─── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── RESPONSIVE: TABLET ─── */
@media (max-width: 1024px) {
  nav { padding: 16px 24px; }
  nav.scrolled { padding: 12px 24px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  section { padding: var(--section-pad) 24px; }
  .judicial-metrics-section { padding: var(--section-pad) 24px; }
  #hero { grid-template-columns: 1fr; padding: 120px 24px 80px; }
  .hero-right { display: none; }
  #services { grid-template-columns: 1fr; }
  .services-left { position: static; }
  .how-grid { grid-template-columns: repeat(2, 1fr); }
  .lawyers-grid { grid-template-columns: repeat(2, 1fr); }
  .early-access-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; }
  .login-layout { grid-template-columns: 1fr; }
  .notary-layout { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  #login { padding: var(--section-pad) 24px; }
  #download { padding: var(--section-pad) 24px; }
  footer { padding: 60px 24px 40px; }
  .hero-stats-container { padding: 32px 24px; }
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .lawyer-cta-banner { padding: 24px; }
}

/* ─── RESPONSIVE: MOBILE ─── */
@media (max-width: 640px) {
  .how-grid { grid-template-columns: 1fr; }
  .lawyers-grid { grid-template-columns: 1fr; }
  .early-access-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .footer-legal { flex-wrap: wrap; justify-content: center; gap: 16px; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .pricing-grid { max-width: 100%; }
  .metrics-grid { grid-template-columns: 1fr; }
  .wide-box { flex-direction: column; text-align: center; gap: 16px; }
  .wide-box-content { text-align: center; }
  .lawyer-cta-banner { flex-direction: column; align-items: flex-start; }
  #hero { padding: 100px 20px 60px; }
  section { padding: 60px 20px; }
  .judicial-metrics-section { padding: 60px 20px; }
  #login { padding: 60px 20px; }
  #download { padding: 60px 20px; }
  footer { padding: 48px 20px 32px; }
  .hero-stats-container { padding: 24px 20px; gap: 24px; }
  .pricing-tabs { flex-direction: column; }
  .pricing-tab { text-align: center; }
}