/* ============================================================
   TheraLink — Landing Page Styles (Premium Redesign)
   Pure CSS3 · RTL · Responsive · Enterprise Healthcare SaaS
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand */
  --blue-50:  #eef4ff;
  --blue-100: #dbe6ff;
  --blue-200: #bcd2ff;
  --blue-300: #8fb2fb;
  --blue-400: #5a90f5;
  --blue-500: #2f6df6;
  --blue-600: #1f57e0;
  --blue-700: #1846bd;

  --green-300:#7fe0d2;
  --green-400:#33c9b8;
  --green-500:#16b8a6;
  --green-600:#0e9889;

  --ink-900: #0c1830;
  --ink-800: #16243c;
  --ink-700: #2f4055;
  --ink-500: #5b6b80;
  --ink-400: #8896a8;

  --bg:      #ffffff;
  --bg-soft: #f5f8fc;
  --bg-mist: #eaf1fb;
  --line:    #e7edf4;
  --line-2:  #d6e0ec;

  --grad-brand: linear-gradient(135deg, #2f6df6 0%, #16b8a6 100%);
  --grad-brand-soft: linear-gradient(135deg, rgba(47,109,246,.10), rgba(22,184,166,.10));
  --grad-dark: linear-gradient(135deg, #0c1c3a 0%, #0e3550 52%, #0c7a6e 100%);
  --grad-ink: linear-gradient(150deg, #0c1830 0%, #1a2f4d 100%);

  --radius-sm: 12px;
  --radius:    18px;
  --radius-lg: 26px;
  --radius-xl: 34px;

  --shadow-sm: 0 2px 12px rgba(13, 38, 76, .06);
  --shadow:    0 16px 44px rgba(13, 38, 76, .10);
  --shadow-lg: 0 34px 80px rgba(13, 38, 76, .16);
  --shadow-blue: 0 18px 48px rgba(47, 109, 246, .30);

  --container: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);

  --font: "Vazirmatn", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink-700);
  background: var(--bg);
  line-height: 1.85;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
input { font-family: inherit; }

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

/* ---------- Typography ---------- */
h1,h2,h3,h4 { color: var(--ink-900); font-weight: 800; line-height: 1.35; letter-spacing: -.01em; }
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.section-title.light, .light { color: #fff; }
.eyebrow {
  display: inline-block;
  font-size: .82rem; font-weight: 700; letter-spacing: .03em;
  color: var(--blue-600);
  background: var(--blue-50);
  padding: 8px 18px; border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow.light { color: #b8f0e8; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.16); }
.section-lead { font-size: clamp(1rem, 1.6vw, 1.18rem); color: var(--ink-500); max-width: 660px; margin-inline: auto; }
.section-lead.light { color: rgba(255,255,255,.86); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 60px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 1rem;
  padding: 14px 28px; border-radius: 999px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-lg { padding: 17px 36px; font-size: 1.06rem; }
.btn-sm { padding: 10px 20px; font-size: .92rem; }
.btn-block { width: 100%; }
.btn-primary {
  color: #fff; background: var(--grad-brand);
  box-shadow: var(--shadow-blue);
  position: relative; overflow: hidden;
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .6s var(--ease);
}
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 26px 60px rgba(47,109,246,.40); }
.btn-ghost {
  color: var(--blue-600); background: #fff;
  border: 1.5px solid var(--line-2);
}
.btn-ghost:hover { border-color: var(--blue-500); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.light-border { color: #fff; border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.06); }
.light-border:hover { background: rgba(255,255,255,.14); }

/* ============================================================
   Navbar
   ============================================================ */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.80);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.navbar.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); background: rgba(255,255,255,.92); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-logo { display: grid; place-items: center; filter: drop-shadow(0 6px 14px rgba(47,109,246,.40)); }
.brand-name { font-size: 1.34rem; color: var(--ink-900); letter-spacing: -.02em; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { font-weight: 600; font-size: .96rem; color: var(--ink-700); position: relative; transition: color .2s; }
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; right: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--grad-brand); transition: width .25s var(--ease); border-radius: 2px;
}
.nav-links a:not(.btn):hover { color: var(--blue-600); }
.nav-links a:not(.btn):hover::after { width: 100%; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2.4px; background: var(--ink-900); border-radius: 3px; transition: transform .3s, opacity .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.4px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.4px) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; padding: 70px 0 80px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 60% at 85% 8%, rgba(22,184,166,.14), transparent 60%),
    radial-gradient(55% 55% at 2% 18%, rgba(47,109,246,.16), transparent 60%),
    linear-gradient(180deg, #f6fbff 0%, #fff 62%);
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(60px); z-index: 0; opacity: .5; }
.orb-1 { width: 360px; height: 360px; background: radial-gradient(circle, rgba(47,109,246,.5), transparent 70%); top: 8%; inset-inline-start: -120px; }
.orb-2 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(22,184,166,.45), transparent 70%); bottom: 18%; inset-inline-end: -100px; }
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 54px; align-items: center;
}
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .82rem; font-weight: 700; color: var(--green-600);
  background: #e7faf6; border: 1px solid #c2efe7;
  padding: 8px 16px; border-radius: 999px; margin-bottom: 22px;
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 0 rgba(22,184,166,.5); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(22,184,166,.5); } 70% { box-shadow: 0 0 0 10px rgba(22,184,166,0); } 100% { box-shadow: 0 0 0 0 rgba(22,184,166,0); } }
.hero-title { font-size: clamp(2.2rem, 4.8vw, 3.5rem); line-height: 1.22; letter-spacing: -.02em; }
.hero-title { background: linear-gradient(120deg, var(--ink-900), var(--blue-600)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-subtitle { font-size: clamp(1.05rem, 1.8vw, 1.32rem); font-weight: 600; color: var(--ink-700); margin-top: 20px; }
.hero-support { color: var(--ink-500); margin-top: 16px; max-width: 540px; font-size: 1.02rem; }
.hero-cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 22px; margin-top: 32px; flex-wrap: wrap; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--ink-500); }
.hero-trust .ic { width: 18px; height: 18px; color: var(--green-500); fill: var(--green-500); flex: none; }

/* Hero mockup */
.hero-mockup { position: relative; perspective: 1600px; }
.mock-window {
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
  border: 1px solid var(--line);
  transform: rotateY(-10deg) rotateX(4deg);
  transition: transform .6s var(--ease);
  transform-origin: center;
}
.hero-mockup:hover .mock-window { transform: rotateY(-3deg) rotateX(1deg); }
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.mock-bar .dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.red { background: #ff5f57; } .dot.yellow { background: #febc2e; } .dot.green { background: #28c840; }
.mock-title { margin-inline-start: 10px; font-size: .82rem; font-weight: 600; color: var(--ink-400); }
.mock-live { margin-inline-start: auto; font-size: .72rem; font-weight: 600; color: var(--green-600); }
.mock-body { display: grid; grid-template-columns: 56px 1fr; min-height: 340px; }
.mock-side { background: var(--grad-ink); padding: 16px 0; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.mock-logo { width: 34px; height: 34px; border-radius: 10px; background: var(--grad-brand); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: .9rem; }
.mock-nav { width: 26px; height: 6px; border-radius: 4px; background: rgba(255,255,255,.16); }
.mock-nav.active { background: var(--green-300); }
.mock-main { padding: 18px; display: flex; flex-direction: column; gap: 14px; background: var(--bg-soft); }
.mock-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mock-stat { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 11px 10px; text-align: center; }
.mock-stat .ms-k { display: block; font-size: .64rem; color: var(--ink-400); margin-bottom: 5px; }
.mock-stat .ms-v { display: block; font-size: 1.05rem; font-weight: 800; color: var(--ink-900); }
.mock-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.mock-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.mock-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.mock-card-head > span:first-child { font-size: .78rem; font-weight: 700; color: var(--ink-700); }
.trend { font-size: .68rem; font-weight: 700; padding: 2px 7px; border-radius: 999px; }
.trend.up { color: var(--green-600); background: #e6faf5; }
.mock-h { display: block; height: 8px; width: 55%; border-radius: 5px; background: var(--ink-400); opacity: .4; margin-bottom: 14px; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 72px; }
.bars i { flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; background: var(--grad-brand); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal-grid i { aspect-ratio: 1; border-radius: 5px; background: var(--bg-soft); border: 1px solid var(--line); }
.cal-grid i.ev { background: var(--green-500); border-color: var(--green-600); }
.mock-card.list { }
.mock-line { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .76rem; }
.mock-line:last-child { border-bottom: none; }
.mock-line b { color: var(--ink-900); font-weight: 700; }
.mock-line .tag { font-size: .62rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.mock-line .tag.blue { color: var(--blue-600); background: var(--blue-50); }
.mock-line .tag.green { color: var(--green-600); background: #e6faf5; }
.mock-line .time { margin-inline-start: auto; color: var(--ink-400); font-weight: 600; }
.mock-link { font-size: .66rem; font-weight: 700; color: var(--blue-600); }

.float-card {
  position: absolute; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 12px 16px; display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow); animation: floaty 4.5s ease-in-out infinite;
}
.float-card b { display: block; font-size: .84rem; color: var(--ink-900); }
.float-card small { font-size: .72rem; color: var(--ink-400); }
.float-card .fc-ic { font-size: 1.4rem; }
.fc-1 { top: 6%; left: -22px; }
.fc-2 { bottom: 8%; right: -18px; animation-delay: 1.6s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ============================================================
   Section base
   ============================================================ */
.section { padding: 96px 0; position: relative; }
.section:not(.ai):not(.final-cta):nth-of-type(even) { background: var(--bg-soft); }

/* ============================================================
   Trust
   ============================================================ */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.trust-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; position: relative; overflow: hidden; }
.trust-card::after { content: ""; position: absolute; inset: 0; background: var(--grad-brand-soft); opacity: 0; transition: opacity .35s; z-index: 0; }
.trust-card > * { position: relative; z-index: 1; }
.trust-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--blue-200); }
.trust-card:hover::after { opacity: 1; }
.t-ic { width: 54px; height: 54px; border-radius: 15px; background: var(--grad-brand); display: grid; place-items: center; margin-bottom: 18px; box-shadow: var(--shadow-blue); }
.t-ic svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.8; }
.t-ic svg path:first-child { fill: rgba(255,255,255,.15); }
.trust-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.trust-card p { font-size: .94rem; color: var(--ink-500); }

/* ============================================================
   Brand Story (Therapist · Link · Client)
   ============================================================ */
.brand-story { background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); overflow: hidden; }
.bs-bridge {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px;
  max-width: 920px; margin: 0 auto 54px;
}
.bs-node {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 24px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s;
  position: relative;
}
.bs-node:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.bs-node.therapist { border-top: 4px solid var(--blue-500); }
.bs-node.client { border-top: 4px solid var(--green-500); }
.bs-ic {
  width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 22px; display: grid; place-items: center;
  font-size: 2.2rem; background: var(--bg-mist); border: 1px solid var(--blue-100);
}
.bs-node.client .bs-ic { background: #e6faf5; border-color: #c2efe7; }
.bs-node h3 { font-size: 1.3rem; margin-bottom: 8px; }
.bs-node p { font-size: .92rem; color: var(--ink-500); }

.bs-link { display: flex; align-items: center; gap: 0; position: relative; min-width: 150px; }
.bs-line {
  position: relative; flex: 1; height: 3px; min-width: 46px;
  background: linear-gradient(90deg, rgba(47,109,246,.15), rgba(47,109,246,.6), rgba(22,184,166,.6), rgba(22,184,166,.15));
  overflow: hidden; border-radius: 3px;
}
.bs-line::after {
  content: ""; position: absolute; top: 50%; width: 12px; height: 12px; border-radius: 50%;
  background: var(--blue-500); box-shadow: 0 0 14px var(--blue-500);
  transform: translateY(-50%); animation: flowX 2.6s linear infinite;
}
.bs-line:last-of-type::after { background: var(--green-500); box-shadow: 0 0 14px var(--green-500); animation-delay: 1.3s; }
@keyframes flowX { 0% { inset-inline-start: -14px; } 100% { inset-inline-start: 100%; } }

.bs-hub {
  position: relative; flex: none; width: 92px; height: 92px; border-radius: 50%;
  background: var(--grad-brand); color: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow-blue); margin: 0 -6px; z-index: 2;
}
.bs-hub svg { width: 34px; height: 34px; }
.bs-hub-label {
  position: absolute; bottom: -22px; inset-inline: 0; text-align: center;
  font-size: .72rem; font-weight: 800; color: var(--blue-600); letter-spacing: .04em;
}
.bs-pulse {
  position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(47,109,246,.5);
  animation: hubPulse 2.4s ease-out infinite;
}
@keyframes hubPulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

.bs-dot { position: absolute; top: 50%; width: 8px; height: 8px; border-radius: 50%; transform: translateY(-50%); opacity: 0; }
.bs-dot.d1 { background: var(--blue-400); inset-inline-start: 30%; animation: dotFade 2.6s linear infinite; }
.bs-dot.d2 { background: var(--green-400); inset-inline-start: 62%; animation: dotFade 2.6s linear infinite 1.3s; }
@keyframes dotFade { 0%,100% { opacity: 0; } 50% { opacity: 1; } }

.bs-copy { max-width: 760px; margin: 0 auto; text-align: center; }
.bs-lead { font-size: clamp(1.02rem, 1.7vw, 1.2rem); color: var(--ink-700); line-height: 2; }
.bs-lead b { color: var(--blue-600); }
.bs-sub { margin-top: 16px; font-size: 1rem; color: var(--ink-500); line-height: 2; }

/* ============================================================
   Problem
   ============================================================ */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.problem-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; position: relative; overflow: hidden; transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; }
.problem-card::before { content: ""; position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 4px; background: var(--grad-brand); opacity: 0; transition: opacity .35s; }
.problem-card:hover { transform: translateY(-6px); border-color: var(--blue-300); box-shadow: var(--shadow); }
.problem-card:hover::before { opacity: 1; }
.p-num { font-size: 2.4rem; font-weight: 900; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; opacity: .9; }
.problem-card h3 { font-size: 1.14rem; margin: 6px 0 10px; }
.problem-card p { font-size: .94rem; color: var(--ink-500); }

/* ============================================================
   Features
   ============================================================ */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px;
  box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; position: relative; overflow: hidden;
}
.feature-card::before {
  content: ""; position: absolute; top: -40%; inset-inline-start: 50%; width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(47,109,246,.10), transparent 70%); transform: translateX(50%); opacity: 0; transition: opacity .4s;
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--blue-200); }
.feature-card:hover::before { opacity: 1; }
.f-ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px; }
.f-ic svg { width: 30px; height: 30px; }
.f-ic.blue { background: linear-gradient(135deg, var(--blue-500), var(--blue-700)); box-shadow: 0 14px 30px rgba(47,109,246,.30); }
.f-ic.green { background: linear-gradient(135deg, var(--green-500), var(--green-600)); box-shadow: 0 14px 30px rgba(22,184,166,.30); }
.feature-card h3 { font-size: 1.25rem; margin-bottom: 16px; }
.feature-card ul li { position: relative; padding-inline-start: 26px; margin-bottom: 10px; font-size: .95rem; color: var(--ink-700); }
.feature-card ul li::before { content: ""; position: absolute; inset-inline-start: 0; top: 9px; width: 16px; height: 16px; border-radius: 50%; background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f57e0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4 4 10-10'/%3E%3C/svg%3E") center/11px no-repeat; }

/* ============================================================
   AI Section
   ============================================================ */
/* Coming soon markers */
.soon-ribbon {
  position: absolute; top: 22px; right: 22px; z-index: 3;
  display: inline-flex; align-items: center; gap: 7px;
  background: linear-gradient(135deg, #ffb443, #ff8a3d); color: #3a2400;
  font-size: .82rem; font-weight: 800; padding: 9px 18px; border-radius: 999px;
  box-shadow: 0 10px 26px rgba(255,138,61,.40); letter-spacing: .01em;
  animation: soonFloat 3s ease-in-out infinite;
}
@keyframes soonFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.soon-chip {
  display: inline-block; margin-inline-start: 8px; vertical-align: middle;
  font-size: .72rem; font-weight: 800; color: #3a2400;
  background: #ffd28a; padding: 3px 10px; border-radius: 999px;
}
.tag-soon {
  display: inline-block; margin-inline-start: 8px; vertical-align: middle;
  font-size: .66rem; font-weight: 800; color: var(--green-600);
  background: #e6faf5; border: 1px solid #c2efe7; padding: 2px 9px; border-radius: 999px;
}
.footer-col .tag-soon { font-size: .62rem; }
.ai { background: var(--grad-dark); color: #fff; overflow: hidden; }
.ai-bg { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size: 30px 30px; }
.ai-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 50% at 80% 20%, rgba(22,184,166,.30), transparent 60%); }
.ai-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.ai-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 32px; }
.ai-feature { display: flex; gap: 14px; align-items: flex-start; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 18px; backdrop-filter: blur(6px); transition: transform .3s var(--ease), background .3s, border-color .3s; }
.ai-feature:hover { transform: translateY(-5px); background: rgba(255,255,255,.12); border-color: rgba(127,224,210,.4); }
.ai-feature .af-ic { font-size: 1.5rem; }
.ai-feature b { display: block; font-size: .98rem; color: #fff; margin-bottom: 3px; }
.ai-feature p { font-size: .85rem; color: rgba(255,255,255,.75); }

.ai-visual { position: relative; }
.ai-window { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-lg); padding: 22px; backdrop-filter: blur(10px); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.ai-win-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.ai-badge { background: var(--grad-brand); color: #fff; font-weight: 700; font-size: .8rem; padding: 6px 14px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; }
.ai-spark { animation: spin 4s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.ai-live { color: #ff9a9a; font-size: .8rem; font-weight: 600; display: inline-flex; align-items: center; gap: 7px; }
.rec-dot { width: 8px; height: 8px; border-radius: 50%; background: #ff6b6b; animation: blink 1.4s infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
.ai-wave { display: flex; align-items: flex-end; gap: 4px; height: 46px; margin-bottom: 18px; }
.ai-wave i { flex: 1; background: linear-gradient(var(--green-300), var(--blue-300)); border-radius: 4px; animation: wave 1.1s ease-in-out infinite; }
.ai-wave i:nth-child(odd) { animation-delay: .3s; }
.ai-wave i:nth-child(3n) { animation-delay: .55s; }
@keyframes wave { 0%,100% { height: 20%; } 50% { height: 100%; } }
.ai-transcript { background: rgba(0,0,0,.20); border-radius: 14px; padding: 16px; font-size: .9rem; }
.ai-transcript p { color: rgba(255,255,255,.85); margin-bottom: 8px; }
.ai-transcript .sp { font-weight: 700; }
.ai-transcript .sp.t { color: var(--blue-300); }
.ai-transcript .sp.m { color: var(--green-300); }
.ai-summary { margin-top: 12px; background: rgba(22,184,166,.16); border: 1px solid rgba(22,184,166,.4); border-radius: 12px; padding: 14px; }
.ai-sum-label { font-size: .74rem; font-weight: 700; color: var(--green-300); display: inline-flex; align-items: center; gap: 6px; }
.ai-summary p { color: #fff; font-weight: 600; margin: 6px 0 10px; font-size: .88rem; }
.ai-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.ai-tags span { font-size: .7rem; font-weight: 700; color: var(--green-300); background: rgba(22,184,166,.18); padding: 4px 10px; border-radius: 999px; }
.ai-glow { position: absolute; inset: -40px; background: radial-gradient(circle, rgba(22,184,166,.4), transparent 60%); filter: blur(40px); z-index: -1; }

/* ============================================================
   Compare
   ============================================================ */
.compare-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 26px; align-items: center; }
.compare-card { border-radius: var(--radius-lg); padding: 36px 32px; border: 1px solid var(--line); position: relative; }
.compare-card.before { background: #fff; }
.compare-card.after { background: var(--grad-brand-soft); border-color: var(--blue-200); box-shadow: var(--shadow); }
.compare-card h3 { font-size: 1.3rem; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.cmp-tag { font-size: .78rem; font-weight: 700; color: #fff; padding: 5px 12px; border-radius: 999px; background: var(--ink-400); }
.cmp-tag.good { background: var(--grad-brand); }
.compare-card ul li { position: relative; padding-inline-start: 28px; margin-bottom: 14px; font-weight: 500; }
.compare-card.before ul li::before { content: "✕"; position: absolute; inset-inline-start: 0; top: 0; color: #e06a6a; font-weight: 800; }
.compare-card.after ul li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 0; color: var(--green-600); font-weight: 800; }
.compare-arrow { color: var(--blue-500); }
.compare-arrow svg { width: 44px; height: 44px; }

/* ============================================================
   Workflow
   ============================================================ */
.flow { display: flex; align-items: stretch; justify-content: space-between; gap: 0; flex-wrap: nowrap; overflow-x: auto; padding: 10px 4px 24px; }
.flow-step { flex: 1; min-width: 120px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 14px; text-align: center; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s; position: relative; }
.flow-step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.flow-step.hl { background: var(--grad-brand); border-color: transparent; box-shadow: var(--shadow-blue); }
.flow-step.hl b, .flow-step.hl span { color: #fff; }
.flow-ic { font-size: 1.9rem; margin-bottom: 10px; }
.flow-step b { display: block; color: var(--ink-900); font-size: 1rem; }
.flow-step span { font-size: .8rem; color: var(--ink-400); }
.flow-connector { flex: 0 0 26px; align-self: center; height: 2px; background: linear-gradient(90deg, var(--blue-300), var(--green-300)); position: relative; }
.flow-connector::after { content: ""; position: absolute; inset-inline-end: -2px; top: 50%; transform: translateY(-50%); border: 5px solid transparent; border-inline-start-color: var(--green-300); }

/* ============================================================
   Showcase
   ============================================================ */
.tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 36px; flex-wrap: wrap; }
.tab { padding: 11px 24px; border-radius: 999px; font-weight: 700; font-size: .95rem; color: var(--ink-500); background: #fff; border: 1px solid var(--line); transition: all .25s; }
.tab:hover { color: var(--blue-600); border-color: var(--blue-300); }
.tab.active { color: #fff; background: var(--grad-brand); border-color: transparent; box-shadow: var(--shadow-blue); }
.tab-panel { display: none; animation: fadeUp .5s var(--ease); }
.tab-panel.active { display: block; }

.showcase-mock { max-width: 940px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.sm-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; background: var(--ink-900); color: #fff; }
.sm-head > span:first-child { font-weight: 700; font-size: 1.05rem; }
.sm-date { font-size: .82rem; color: rgba(255,255,255,.7); }
.sm-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 22px 24px; background: var(--bg-soft); }
.sm-stat { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.sm-l { display: block; font-size: .8rem; color: var(--ink-400); margin-bottom: 6px; }
.sm-stat b { font-size: 1.5rem; color: var(--ink-900); }
.sm-body { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 24px; }
.sm-chart, .sm-list, .sm-table, .sm-ai { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.sm-ch-title { display: block; font-weight: 700; font-size: .92rem; color: var(--ink-900); margin-bottom: 14px; }
.mini-bars { display: flex; align-items: flex-end; gap: 10px; height: 120px; }
.mini-bars i { flex: 1; height: var(--h); border-radius: 8px 8px 3px 3px; background: var(--grad-brand); }
.sm-row { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: .9rem; color: var(--ink-700); }
.sm-row:last-child { border-bottom: none; }
.sm-row .av { width: 30px; height: 30px; border-radius: 50%; flex: none; }
.sm-row .av.blue { background: var(--blue-500); } .sm-row .av.green { background: var(--green-500); }
.sm-row i { color: var(--ink-400); font-style: normal; margin-inline-start: auto; font-size: .82rem; }
.sm-row b { margin-inline-start: auto; color: var(--blue-600); font-weight: 700; }
.sm-note { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; }
.sm-note b { display: block; color: var(--ink-900); font-size: .9rem; margin-bottom: 4px; }
.sm-note p { font-size: .82rem; color: var(--ink-500); }
.sm-ai-box { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: .85rem; color: var(--ink-700); margin-bottom: 12px; }

@media (max-width: 760px) {
  .sm-body { grid-template-columns: 1fr; }
  .sm-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   Why
   ============================================================ */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 26px; text-align: center; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.why-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--blue-200); }
.w-ic { width: 66px; height: 66px; margin: 0 auto 18px; border-radius: 20px; display: grid; place-items: center; font-size: 1.9rem; background: var(--grad-brand-soft); border: 1px solid var(--blue-100); }
.why-card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.why-card p { font-size: .92rem; color: var(--ink-500); }

/* ============================================================
   Audience
   ============================================================ */
.audience-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.aud-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; display: flex; gap: 18px; align-items: flex-start; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.aud-card.wide { grid-column: 1 / -1; }
.aud-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--blue-200); }
.a-ic { font-size: 2rem; width: 60px; height: 60px; flex: none; border-radius: 16px; background: var(--bg-mist); display: grid; place-items: center; }
.aud-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.aud-card p { font-size: .94rem; color: var(--ink-500); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.faq-item.open { box-shadow: var(--shadow); border-color: var(--blue-200); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 22px 24px; font-size: 1.05rem; font-weight: 700; color: var(--ink-900); text-align: start; }
.faq-plus { position: relative; width: 22px; height: 22px; flex: none; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; inset-inline-start: 50%; top: 50%; background: var(--blue-500); border-radius: 2px; transition: transform .3s var(--ease); }
.faq-plus::before { width: 18px; height: 2.4px; transform: translate(-50%,-50%); }
.faq-plus::after { width: 2.4px; height: 18px; transform: translate(-50%,-50%); }
.faq-item.open .faq-plus::after { transform: translate(-50%,-50%) scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a p { padding: 0 24px 22px; color: var(--ink-500); font-size: .96rem; }

/* ============================================================
   Final CTA
   ============================================================ */
.final-cta { background: var(--grad-dark); color: #fff; position: relative; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size: 28px 28px; }
.cta-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 20% 30%, rgba(47,109,246,.35), transparent 60%); }
.cta-inner { position: relative; z-index: 1; text-align: center; max-width: 760px; }
.cta-form { display: flex; gap: 12px; margin: 32px auto 0; max-width: 680px; flex-wrap: wrap; justify-content: center; }
.cta-form input { flex: 1; min-width: 180px; padding: 15px 20px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.1); color: #fff; font-size: .98rem; }
.cta-form input::placeholder { color: rgba(255,255,255,.6); }
.cta-form input:focus { outline: none; border-color: var(--green-300); background: rgba(255,255,255,.16); }
.cta-note { margin-top: 14px; font-size: .9rem; color: var(--green-300); min-height: 20px; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: #0b1626; color: rgba(255,255,255,.7); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; padding-bottom: 44px; }
.footer .brand-name, .footer-brand p { color: rgba(255,255,255,.7); }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { margin-top: 14px; font-size: .92rem; max-width: 280px; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-col a { display: block; margin-bottom: 10px; font-size: .92rem; transition: color .2s; }
.footer-col a:hover { color: var(--blue-300); }
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; font-size: .82rem; font-weight: 700; transition: background .2s; }
.footer-social a:hover { background: var(--blue-500); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; }
.footer-bottom .container { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; font-size: .84rem; color: rgba(255,255,255,.5); text-align: center; }

/* ============================================================
   To Top
   ============================================================ */
.to-top { position: fixed; inset-inline-end: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 14px; background: var(--grad-brand); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-blue); opacity: 0; visibility: hidden; transform: translateY(16px); transition: all .3s var(--ease); z-index: 90; }
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top svg { width: 22px; height: 22px; }
.to-top:hover { transform: translateY(-4px); }

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-mockup { max-width: 560px; margin-inline: auto; }
  .ai-grid { grid-template-columns: 1fr; gap: 40px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .section { padding: 68px 0; }
  .nav-links {
    position: fixed; inset-inline: 0; top: 74px; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 14px 22px 40px;
    transform: translateY(-120%); transition: transform .35s var(--ease);
    box-shadow: var(--shadow); overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a:not(.btn) { padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links .btn { margin-top: 16px; justify-content: center; }
  .nav-toggle { display: flex; }

  .trust-grid, .feature-grid, .problem-grid, .why-grid, .audience-grid { grid-template-columns: 1fr; }

  .bs-bridge { grid-template-columns: 1fr; max-width: 420px; gap: 0; }
  .bs-link { flex-direction: column; min-width: 0; width: 100%; padding: 8px 0; }
  .bs-line { width: 3px; height: 52px; min-width: 0; background: linear-gradient(180deg, rgba(47,109,246,.15), rgba(47,109,246,.6), rgba(22,184,166,.6), rgba(22,184,166,.15)); }
  .bs-line::after { inset-inline-start: 50%; top: auto; animation: flowY 2.6s linear infinite; }
  @keyframes flowY { 0% { inset-block-start: -14px; } 100% { inset-block-start: 100%; } }
  .bs-hub { margin: 6px 0; }
  .bs-hub-label { inset-inline: 0; bottom: -22px; }
  .compare-grid { grid-template-columns: 1fr; }
  .compare-arrow { transform: rotate(90deg); justify-self: center; }
  .flow { flex-wrap: nowrap; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .hero-cta .btn { flex: 1; }
  .float-card { display: none; }
  .ai-features { grid-template-columns: 1fr; }
  .mock-window { transform: none; }
  .soon-ribbon { top: 14px; right: 14px; font-size: .72rem; padding: 7px 13px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}


/* ============ Footer Enamad ============ */

.footer-enamad {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-width: 0;
  text-align: center;
}

.footer-enamad-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.8;
  color: inherit;
}

.footer-enamad-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 1px solid rgba(128, 128, 128, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-enamad-link img {
  display: block;
  width: 100px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.footer-enamad-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Responsive */
@media (max-width: 768px) {
  .footer-enamad {
    align-items: center;
    width: 100%;
    margin-top: 12px;
  }

  .footer-enamad-link {
    padding: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-enamad-link {
    transition: none;
  }

  .footer-enamad-link:hover {
    transform: none;
  }
}

