/* =====================================================
   WASEELA LANDING — Bold Luxury
   Editorial sophistication × startup energy
===================================================== */

:root {
  --bg: #F4F8FF;
  --bg-soft: #EAF1FB;
  --navy: #102A43;
  --navy-deep: #081A2F;
  --text: #182334;
  --text-muted: #5D6B82;
  --gold: #E79A36;
  --gold-deep: #C87812;
  --gold-light: #FFE1B8;
  --coral: #FF6B57;
  --yellow: #FFD84D;
  --sky: #39A0FF;
  --lavender: #8168FF;
  --mint: #22C58B;
  --pink: #E95C9C;

  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow: 0 8px 24px rgba(16, 42, 67, 0.08);
  --shadow-lg: 0 18px 50px rgba(16, 42, 67, 0.14);
  --shadow-gold: 0 12px 36px rgba(231, 154, 54, 0.28);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Tajawal', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  direction: rtl;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 16px;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn .material-icons-round { font-size: 22px; }
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-lg { padding: 16px 34px; font-size: 17px; }
.btn-xl { padding: 22px 50px; font-size: 20px; }
.btn-full { width: 100%; }

.btn-gold {
  background: linear-gradient(135deg, #D4A678 0%, #B8804E 100%);
  color: #fff;
  box-shadow: var(--shadow-gold);
}
.btn-gold::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease);
}
.btn-gold:hover::before { transform: translateX(100%); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 44px rgba(196, 149, 106, 0.45); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--gold);
}
.btn-outline:hover { background: var(--gold); color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--text);
}
.btn-ghost:hover { background: rgba(0,0,0,0.05); }

/* ---------- Section Heads ---------- */
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.section-head .kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--gold-deep);
  text-transform: uppercase;
  margin-bottom: 12px;
  padding: 6px 16px;
  background: var(--gold-light);
  border-radius: var(--radius-pill);
}
.section-head .kicker.gold { background: rgba(255,255,255,0.15); color: var(--yellow); }
.section-head h2 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.15;
  margin: 8px 0 16px;
  letter-spacing: -0.5px;
}
.section-head p {
  font-size: 18px;
  color: var(--text-muted);
}
.section-head.light h2 { color: #fff; }
.section-head.light p { color: rgba(255,255,255,0.8); }

.grad {
  background: linear-gradient(135deg, var(--coral) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===================================================
   NAV
=================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(244, 248, 255, 0.84);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  border-bottom-color: rgba(57, 160, 255, 0.16);
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 22px;
  color: var(--navy);
}
.nav-logo img { width: 36px; height: 36px; border-radius: 10px; }
.nav-links {
  display: flex;
  gap: 28px;
  margin-inline-start: auto;
}
.nav-links a {
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  position: relative;
}
.nav-links a:hover { color: var(--gold-deep); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; gap: 10px; }
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--gold-light);
  align-items: center;
  justify-content: center;
}
.nav-toggle .material-icons-round { color: var(--text); }

/* ===================================================
   HERO
=================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 138px 0 54px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(57, 160, 255, 0.28), transparent 28%),
    radial-gradient(circle at 84% 24%, rgba(255, 107, 87, 0.20), transparent 24%),
    radial-gradient(circle at 72% 82%, rgba(129, 104, 255, 0.18), transparent 24%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 48%, #16446A 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background: url('Background.png') center/900px auto repeat;
  opacity: 0.06;
  mix-blend-mode: screen;
  pointer-events: none;
}

.confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.conf {
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  opacity: 0.55;
  animation: float 12s ease-in-out infinite;
}
.conf.c1 { top: 10%; left: 8%; background: var(--yellow); }
.conf.c2 { top: 18%; right: 12%; background: var(--coral); width: 18px; height: 18px; border-radius: 6px; transform: rotate(20deg); animation-delay: -2s; }
.conf.c3 { top: 60%; left: 5%; background: var(--mint); width: 16px; height: 16px; animation-delay: -4s; }
.conf.c4 { bottom: 20%; right: 8%; background: var(--lavender); width: 20px; height: 20px; border-radius: 5px; animation-delay: -6s; }
.conf.c5 { top: 35%; left: 50%; background: var(--sky); width: 10px; height: 10px; animation-delay: -3s; }
.conf.c6 { top: 75%; right: 35%; background: var(--pink); width: 12px; height: 12px; transform: rotate(45deg); animation-delay: -5s; }
.conf.c7 { top: 25%; right: 45%; background: var(--gold); width: 8px; height: 8px; animation-delay: -1s; }
.conf.c8 { bottom: 15%; left: 30%; background: var(--yellow); width: 14px; height: 14px; transform: rotate(30deg); animation-delay: -7s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(180deg); }
}

.hero-grid {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: start;
}

.hero-text { animation: fadeUp 0.8s var(--ease) 0.1s both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}
.hero-badge .material-icons-round { font-size: 18px; color: var(--yellow); }

.hero-title {
  font-family: 'Cairo', 'Tajawal', system-ui, sans-serif;
  font-size: clamp(40px, 6.4vw, 80px);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0;
  word-spacing: 0.22em;
  margin-bottom: 28px;
  color: var(--text);
}
.hero-title .hero-grad {
  font-family: 'Cairo', 'Tajawal', system-ui, sans-serif;
  font-weight: 900;
  display: inline-block;
  margin-inline-start: 0.18em;
}
.hero-grad {
  background: linear-gradient(135deg, var(--coral) 0%, var(--gold) 50%, var(--coral) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite;
}
@keyframes shimmer {
  to { background-position: -200% 0; }
}

.hero-sub {
  font-size: 19px;
  line-height: 1.8;
  color: rgba(255,255,255,0.78);
  margin-bottom: 28px;
  max-width: 760px;
}
.hero-sub strong { color: #fff; font-weight: 800; }

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.hero .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.08);
}

.hero .btn-outline:hover {
  background: rgba(255,255,255,0.14);
  color: #fff;
}

/* The 4 proof pills — soft creamy bubbles that match the hero background.
   Same look as the .hero-badge above the title for visual consistency. */
.hero-proof {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 22px;
  max-width: 560px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--gold-light);
  color: var(--gold-deep);
  font-size: 14px;
  font-weight: 700;
  min-height: 48px;
  box-sizing: border-box;
  line-height: 1.3;
  text-align: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(196, 149, 106, 0.08);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.hero-proof span:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196, 149, 106, 0.18);
}

.hero-proof .material-icons-round {
  font-size: 18px;
  color: var(--gold);
  flex-shrink: 0;
}

.hero-bullets {
  list-style: none;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.74);
}
.hero-bullets .material-icons-round { font-size: 18px; color: var(--mint); }

/* Hero Visual */
.hero-visual {
  position: relative;
  min-height: 520px;
  animation: fadeUp 0.8s var(--ease) 0.3s both;
}

.hero-stage {
  position: relative;
  min-height: 520px;
  padding-top: 24px;
}

.stage-orb {
  position: absolute;
  border-radius: 50%;
  opacity: 0.9;
}

.stage-orb.orb-1 {
  width: 220px;
  height: 220px;
  top: 30px;
  right: 40px;
  background: radial-gradient(circle, rgba(57,160,255,0.45) 0%, rgba(57,160,255,0) 70%);
}

.stage-orb.orb-2 {
  width: 260px;
  height: 260px;
  bottom: 10px;
  left: 20px;
  background: radial-gradient(circle, rgba(255,107,87,0.32) 0%, rgba(255,107,87,0) 70%);
}

.stage-shell {
  position: relative;
  z-index: 1;
  border-radius: 32px;
  padding: 24px;
  background: rgba(7, 25, 45, 0.52);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(18px);
  box-shadow: 0 28px 70px rgba(0,0,0,0.28);
}

.stage-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  margin-bottom: 18px;
}

.stage-window {
  display: flex;
  gap: 8px;
}

.stage-window i {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
}

.stage-window i:nth-child(1) { background: rgba(255,107,87,0.95); }
.stage-window i:nth-child(2) { background: rgba(255,216,77,0.95); }
.stage-window i:nth-child(3) { background: rgba(34,197,139,0.95); }

.stage-toolbar-label {
  color: rgba(255,255,255,0.88);
  font-size: 15px;
  font-weight: 700;
}

.stage-toolbar-chip {
  margin-inline-start: auto;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.stage-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 18px;
}

.stage-main,
.stage-card {
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(243,247,255,0.98) 100%);
  border: 1px solid rgba(16,42,67,0.08);
  box-shadow: 0 20px 45px rgba(5, 20, 40, 0.12);
}

.stage-main {
  padding: 22px;
}

.stage-main-top {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.stage-metric {
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff 0%, #EFF5FF 100%);
  border: 1px solid rgba(16,42,67,0.08);
}

.stage-metric strong {
  display: block;
  font-size: 28px;
  line-height: 1.05;
  color: var(--navy);
}

.stage-metric span {
  display: block;
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
}

.stage-question-card {
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(135deg, #ffffff 0%, #F5F9FF 100%);
  border: 1px solid rgba(16,42,67,0.08);
}

.stage-card-kicker {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(57,160,255,0.10);
  color: var(--sky);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 12px;
}

.stage-question-card h3 {
  font-size: 28px;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 18px;
}

.stage-options {
  display: grid;
  gap: 10px;
}

.stage-option {
  padding: 13px 16px;
  border-radius: 16px;
  background: #fff;
  color: var(--text);
  border: 1px solid rgba(16,42,67,0.08);
  font-size: 15px;
  font-weight: 700;
}

.stage-option.active {
  background: linear-gradient(135deg, rgba(34,197,139,0.14) 0%, rgba(57,160,255,0.12) 100%);
  border-color: rgba(34,197,139,0.32);
  color: #146C54;
}

.stage-side {
  display: grid;
  gap: 18px;
}

.stage-card {
  padding: 22px;
}

.stage-card-cert {
  background: linear-gradient(180deg, #FFF7EB 0%, #FFFFFF 100%);
}

.stage-cert-head {
  color: var(--gold-deep);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 10px;
}

.stage-cert-name {
  font-size: 28px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 10px;
}

.stage-card-cert p,
.stage-ann-copy {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.8;
}

.stage-card-foot,
.stage-ann-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.stage-card-foot span,
.stage-ann-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}

.stage-card-foot .material-icons-round,
.stage-ann-meta .material-icons-round {
  font-size: 17px;
  color: var(--gold);
}

.stage-card-ann {
  background: linear-gradient(180deg, #EFF6FF 0%, #FFFFFF 100%);
}

.stage-ann-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,107,87,0.12);
  color: var(--coral);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 12px;
}

.stage-ann-title {
  font-size: 24px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 8px;
}

.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounce 2s var(--ease) infinite;
  border: 1px solid rgba(255,255,255,0.14);
  z-index: 2;
}
.hero-scroll .material-icons-round { color: rgba(255,255,255,0.92); font-size: 28px; }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===================================================
   TRUST BADGES (4 reasons to trust)
=================================================== */
.trust-badges {
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  padding: 50px 0;
  position: relative;
  overflow: hidden;
}
.trust-badges::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(196, 149, 106, 0.15), transparent 40%),
    radial-gradient(circle at 80% 50%, rgba(255, 217, 61, 0.08), transparent 40%);
}
.tb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}
.tb-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(196,149,106,0.25);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  transition: transform 0.3s var(--ease), background 0.3s, border-color 0.3s;
}
.tb-item:hover {
  transform: translateY(-4px);
  background: rgba(196,149,106,0.12);
  border-color: var(--gold);
}
.tb-icon {
  font-size: 36px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.2));
}
.tb-item div { display: flex; flex-direction: column; gap: 2px; }
.tb-item strong {
  color: #fff;
  font-weight: 800;
  font-size: 16px;
}
.tb-item small {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
}

/* ===================================================
   AUDIENCES
=================================================== */
.audiences {
  padding: 100px 0;
  background:
    radial-gradient(circle at 88% 10%, rgba(57,160,255,0.08), transparent 24%),
    radial-gradient(circle at 12% 80%, rgba(255,107,87,0.08), transparent 20%),
    var(--bg);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.audience-card {
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(240,245,255,0.98) 100%);
  border: 1px solid rgba(16,42,67,0.08);
  box-shadow: var(--shadow);
}

.audience-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(57,160,255,0.16), rgba(231,154,54,0.18));
  color: var(--navy);
  margin-bottom: 18px;
}

.audience-icon .material-icons-round { font-size: 28px; }

.audience-card h3 {
  font-size: 24px;
  color: var(--text);
  margin-bottom: 10px;
}

.audience-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 16px;
}

.audience-card ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.audience-card li {
  position: relative;
  padding-inline-start: 18px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.audience-card li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky), var(--coral));
}

/* ===================================================
   COMPARISON TABLE
=================================================== */
.compare {
  padding: 100px 0;
  background: var(--bg);
}
.cmp-table {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--gold-light);
}
.cmp-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  align-items: stretch;
  border-bottom: 1px solid var(--gold-light);
  transition: background 0.2s;
}
.cmp-row:last-of-type { border-bottom: none; }
.cmp-row:hover:not(.cmp-head) { background: rgba(196,149,106,0.04); }

.cmp-cell {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cmp-head .cmp-cell {
  font-weight: 900;
  font-size: 17px;
  background: linear-gradient(135deg, var(--bg-soft), #fff);
  padding: 22px 24px;
}
.cmp-head .cmp-cell.cmp-bad {
  background: linear-gradient(135deg, #ffe5e0, #fff);
  color: #c0392b;
}
.cmp-head .cmp-cell.cmp-good {
  background: linear-gradient(135deg, var(--gold-light), #fff);
  color: var(--gold-deep);
}

.cmp-task {
  background: linear-gradient(135deg, var(--bg-soft), #fff);
  font-weight: 800;
  color: var(--navy);
  border-inline-end: 1px solid var(--gold-light);
}
.cmp-task .material-icons-round {
  color: var(--gold);
  font-size: 24px;
  background: var(--gold-light);
  padding: 8px;
  border-radius: 10px;
}

.cmp-cell.cmp-bad {
  color: #c0392b;
  border-inline-end: 1px solid var(--gold-light);
}
.cmp-cell.cmp-good {
  color: #1e7a3e;
  font-weight: 700;
}
.cmp-x {
  width: 28px; height: 28px;
  background: rgba(231, 76, 60, 0.15);
  color: #c0392b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 14px;
  flex-shrink: 0;
}
.cmp-check {
  width: 28px; height: 28px;
  background: rgba(107, 203, 119, 0.2);
  color: #1e7a3e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 14px;
  flex-shrink: 0;
}

.cmp-summary {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  padding: 30px 24px;
  background: linear-gradient(135deg, var(--bg-soft), #fff);
  border-top: 2px solid var(--gold-light);
}
.cmp-sum-item {
  text-align: center;
  padding: 24px;
  border-radius: var(--radius);
}
.cmp-sum-item.cmp-bad {
  background: linear-gradient(135deg, #ffe5e0, #fff);
  color: #c0392b;
}
.cmp-sum-item.cmp-good {
  background: linear-gradient(135deg, rgba(107,203,119,0.15), #fff);
  color: #1e7a3e;
}
.cmp-sum-item .material-icons-round {
  font-size: 48px;
  margin-bottom: 8px;
  display: block;
}
.cmp-sum-item strong {
  display: block;
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 4px;
}
.cmp-sum-item small { font-size: 14px; font-weight: 600; opacity: 0.8; }
.cmp-vs {
  font-size: 32px;
  font-weight: 900;
  color: var(--gold);
  background: var(--gold-light);
  padding: 12px 20px;
  border-radius: 50%;
  width: 80px; height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===================================================
   BEFORE/AFTER (AHA)
=================================================== */
.aha { padding: 100px 0; background: var(--bg); }

.ba-wrap {
  position: relative;
  height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--gold);
  user-select: none;
  cursor: ew-resize;
}
.ba-side {
  position: absolute;
  top: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ba-before {
  left: 0; right: 0;
  background: linear-gradient(135deg, #B8B8B8, #888);
  filter: grayscale(0.5);
}
.ba-after {
  left: 0; right: 0;
  width: 50%;
  background: linear-gradient(135deg, var(--coral), var(--yellow), var(--mint));
  clip-path: inset(0 0 0 0);
}
.ba-content {
  text-align: center;
  color: #fff;
  padding: 40px;
}
.ba-tag {
  display: inline-block;
  background: rgba(0,0,0,0.4);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 16px;
  letter-spacing: 1px;
}
.ba-tag.gold { background: rgba(255,255,255,0.95); color: var(--gold-deep); }
.ba-emoji { font-size: 88px; margin-bottom: 16px; }
.ba-msg {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 24px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.ba-icons {
  display: flex;
  justify-content: center;
  gap: 24px;
}
.ba-icons .material-icons-round {
  font-size: 36px;
  background: rgba(255,255,255,0.2);
  padding: 14px;
  border-radius: 50%;
  backdrop-filter: blur(6px);
}
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--gold);
  transform: translateX(-50%);
  z-index: 5;
  cursor: ew-resize;
}
.ba-handle span {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  background: var(--gold);
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ba-handle span::before {
  content: '';
  width: 0; height: 0;
  border: 7px solid transparent;
  border-right-color: #fff;
  margin-right: 5px;
}
.ba-handle span::after {
  content: '';
  width: 0; height: 0;
  border: 7px solid transparent;
  border-left-color: #fff;
  margin-left: 5px;
}

/* ===================================================
   3-STEP STORYBOARD
=================================================== */
.steps { padding: 100px 0; background: var(--bg-soft); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.step-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--gold-light);
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.step-num {
  position: absolute;
  top: -20px;
  right: 24px;
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 900;
  box-shadow: var(--shadow-gold);
}
.step-icon {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--coral), var(--yellow));
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.step-icon .material-icons-round { font-size: 38px; color: #fff; }
.step-card h3 {
  font-size: 26px;
  font-weight: 900;
  margin-bottom: 12px;
}
.step-card p {
  color: var(--text-muted);
  margin-bottom: 18px;
}
.step-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.step-card li {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  padding-inline-start: 22px;
  position: relative;
}
.step-card li::before {
  content: '✓';
  position: absolute;
  right: 0;
  top: 0;
  color: var(--mint);
  font-weight: 900;
}

/* ===================================================
   AI QUIZ DEMO (TRY)
=================================================== */
.trydemo {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  position: relative;
  overflow: hidden;
}
.trydemo::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(196,149,106,0.2), transparent 35%),
    radial-gradient(circle at 80% 70%, rgba(255,217,61,0.1), transparent 35%);
}
.trydemo .container { position: relative; z-index: 1; }

.trydemo-card {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
  border: 2px solid var(--gold);
}

.td-input-row {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}
#td-topic {
  flex: 1;
  padding: 18px 22px;
  border: 2px solid var(--gold-light);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  direction: rtl;
}
#td-topic:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(196,149,106,0.15);
}
#td-go {
  padding: 18px 28px;
  flex-shrink: 0;
}

.td-suggestions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--text-muted);
}
.td-chip {
  padding: 6px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--gold-light);
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-deep);
  transition: all 0.2s;
}
.td-chip:hover {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}

.td-loading {
  display: none;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  margin-top: 16px;
}
.td-loading.show { display: flex; }
.td-spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--gold-light);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.td-load-msg span {
  display: block;
  font-weight: 800;
  font-size: 16px;
  color: var(--navy);
}
.td-load-msg small {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

.td-results {
  display: none;
  margin-top: 16px;
  flex-direction: column;
  gap: 14px;
}
.td-results.show { display: flex; }
.td-q {
  background: var(--bg-soft);
  border: 1.5px solid var(--gold-light);
  border-radius: var(--radius);
  padding: 18px 20px;
  animation: slideIn 0.4s var(--ease) both;
}
.td-q:nth-child(1) { animation-delay: 0.1s; }
.td-q:nth-child(2) { animation-delay: 0.25s; }
.td-q:nth-child(3) { animation-delay: 0.4s; }
.td-q:nth-child(4) { animation-delay: 0.55s; }
.td-q:nth-child(5) { animation-delay: 0.7s; }
@keyframes slideIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.td-q-num {
  display: inline-block;
  width: 28px; height: 28px;
  background: var(--gold);
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-weight: 900;
  line-height: 28px;
  font-size: 13px;
  margin-inline-end: 8px;
}
.td-q-text {
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 12px;
  color: var(--navy);
}
.td-q-opts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.td-q-opt {
  background: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--gold-light);
}

.td-cta {
  display: none;
  margin-top: 24px;
  padding: 28px;
  background: linear-gradient(135deg, var(--coral), var(--gold));
  border-radius: var(--radius);
  text-align: center;
  color: #fff;
  animation: slideIn 0.5s var(--ease) 0.9s both;
}
.td-cta.show { display: block; }
.td-cta h4 { font-size: 28px; font-weight: 900; margin-bottom: 6px; }
.td-cta p { font-size: 16px; margin-bottom: 16px; opacity: 0.95; }
.td-cta .btn {
  background: #fff;
  color: var(--gold-deep);
  border: none;
}
.td-cta .btn:hover { background: var(--navy); color: #fff; }

/* ===================================================
   FEATURES TABS
=================================================== */
.features { padding: 100px 0; background: var(--bg); }

.tabs-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  padding: 8px;
  background: #fff;
  border-radius: var(--radius-pill);
  border: 1px solid var(--gold-light);
  max-width: max-content;
  margin-inline: auto;
  flex-wrap: wrap;
  justify-content: center;
}
.tab-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.tab-btn .material-icons-round { font-size: 18px; }
.tab-btn:hover { color: var(--text); }
.tab-btn.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #fff;
  box-shadow: var(--shadow-gold);
}

.tabs-panels {
  position: relative;
  min-height: 480px;
}
.tab-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  animation: fadeUp 0.5s var(--ease);
}
.tab-panel.active { display: grid; }

.tp-text h3 {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.tp-text p {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.tp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tp-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 16px;
}
.tp-list .material-icons-round {
  font-size: 24px;
  color: var(--gold);
  background: var(--gold-light);
  padding: 4px;
  border-radius: 50%;
}

.tp-visual {
  background: linear-gradient(135deg, var(--bg-soft), #fff);
  border-radius: var(--radius-lg);
  padding: 36px;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold-light);
  position: relative;
  overflow: hidden;
}

/* Quiz mock */
.mq-card {
  width: 100%;
  max-width: 380px;
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.mq-header {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-weight: 600;
}
.mq-q {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 18px;
  color: var(--navy);
}
.mq-opts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.mq-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--bg-soft);
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s;
}
.mq-opt span {
  width: 28px; height: 28px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 13px;
}
.mq-opt.correct {
  background: rgba(107, 203, 119, 0.15);
  color: #2D7A36;
  border: 1.5px solid var(--mint);
}
.mq-opt.correct span { background: var(--mint); color: #fff; }
.mq-progress {
  height: 6px;
  background: var(--gold-light);
  border-radius: 3px;
  overflow: hidden;
}
.mq-progress i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--coral));
}

/* Discussion mock */
.tp-disc { flex-direction: column; gap: 10px; align-items: stretch; padding: 24px; }
.md-msg {
  background: #fff;
  padding: 12px 16px;
  border-radius: 16px 16px 16px 4px;
  font-size: 14px;
  font-weight: 800;
  max-width: 80%;
  box-shadow: var(--shadow);
  color: var(--text);
}
.md-msg b { color: var(--gold-deep); display: block; font-size: 13px; font-weight: 900; margin-bottom: 4px; }
.md-msg.right {
  background: var(--gold-light);
  border-radius: 16px 16px 4px 16px;
  align-self: flex-end;
}
.md-input {
  background: var(--bg-soft);
  padding: 14px 18px;
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 8px;
}

/* Groups mock */
.tp-groups { flex-direction: column; gap: 12px; align-items: stretch; padding: 24px; }
.mg-team {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  padding: 16px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.mg-team span { font-size: 32px; }
.mg-team b { font-weight: 900; font-size: 16px; flex: 1; }
.mg-team i { font-size: 13px; color: var(--text-muted); font-style: normal; }
.mg-team.t1 { border-inline-start: 4px solid var(--coral); }
.mg-team.t2 { border-inline-start: 4px solid var(--sky); }
.mg-team.t3 { border-inline-start: 4px solid var(--lavender); }

/* Cert mock */
.mc-cert {
  width: 320px;
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.mc-bar { height: 8px; background: var(--gold); border-radius: 4px; margin-bottom: 14px; }
.mc-medal { font-size: 36px; margin-bottom: 6px; }
.mc-h { font-size: 20px; font-weight: 900; color: var(--gold-deep); margin-bottom: 8px; }
.mc-line { width: 60px; height: 2px; background: var(--gold); margin: 0 auto 12px; }
.mc-name {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 2px dashed var(--gold);
}
.mc-reason { font-size: 14px; color: var(--text-muted); }

/* Announcement mock */
.ma-card {
  width: 100%;
  max-width: 380px;
  background: #fff;
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  border-inline-start: 4px solid var(--coral);
}
.ma-tag {
  display: inline-block;
  background: rgba(255,140,90,0.15);
  color: var(--coral);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 10px;
}
.ma-h { font-size: 20px; font-weight: 900; margin-bottom: 8px; color: var(--navy); }
.ma-body { font-size: 14px; color: var(--text-muted); margin-bottom: 12px; line-height: 1.7; }
.ma-foot {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--gold-deep);
  font-weight: 700;
  border-top: 1px dashed var(--gold-light);
  padding-top: 10px;
}
.ma-foot .material-icons-round { font-size: 16px; }

/* ===================================================
   CERT GALLERY
=================================================== */
.certs-gallery { padding: 100px 0; background: var(--bg-soft); }

.cg-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 30px 6px;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.cg-track::-webkit-scrollbar { display: none; }

.cg-item {
  flex: 0 0 280px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s var(--ease);
}
.cg-item:hover { transform: translateY(-8px) scale(1.02); }
.cg-item:hover .cgc { box-shadow: 0 24px 60px rgba(0,0,0,0.18); }

.cgc {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px 18px 26px;
  box-shadow: var(--shadow);
  margin-bottom: 12px;
  height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.cg-simple { border-top: 8px solid var(--c, var(--gold)); }
.cg-simple .cgc-bar { display: none; }
.cg-simple.alt { background: linear-gradient(180deg, #fff, #FAFAFA); }
.cg-bordered .cgc-frame {
  border: 3px solid var(--c);
  width: 100%;
  height: 100%;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.cg-modern { padding: 0; flex-direction: row; }
.cg-modern .cgc-side {
  width: 12px;
  background: var(--c);
}
.cg-modern .cgc-body {
  flex: 1;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.cg-navy {
  background: linear-gradient(135deg, var(--c), #2C4A6F);
  color: #fff;
}
.cg-navy h3, .cg-navy h4 { color: #fff; }
.cg-navy .cgc-line { background: var(--gold); }
.cg-navy p { color: rgba(255,255,255,0.85); }
.cg-kids {
  background: #fff;
  position: relative;
}
.cgk {
  position: absolute;
  border-radius: 50%;
  opacity: 0.6;
}
.cgk.c1 { top: 12px; right: 14px; width: 26px; height: 26px; background: var(--yellow); }
.cgk.c2 { top: 14px; left: 18px; width: 20px; height: 20px; background: var(--mint); }
.cgk.c3 { bottom: 18px; left: 24px; width: 22px; height: 22px; background: var(--sky); }
.cg-kids .cgc-medal {
  font-size: 44px;
  margin-bottom: 6px;
}

.cgc-icon { font-size: 32px; margin-bottom: 6px; }
.cgc h4 {
  font-size: 16px;
  font-weight: 900;
  color: var(--c, var(--gold));
  margin-bottom: 8px;
}
.cgc-line {
  width: 56px;
  height: 2px;
  background: var(--c, var(--gold));
  margin: 0 auto 10px;
}
.cgc-line.green { background: var(--mint); }
.cgc h3 {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 8px;
}
.cgc p {
  font-size: 13px;
  color: var(--text-muted);
}
.cg-bordered .cgc h4 { font-size: 14px; }
.cg-bordered .cgc h3 { font-size: 18px; }
.cg-modern .cgc h3 { font-size: 18px; }
.cg-modern .cgc h4 { font-size: 14px; }
.cg-name {
  display: inline-block;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-muted);
  background: var(--gold-light);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
}

.cg-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}
.cg-arrow {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.cg-arrow:hover {
  background: var(--gold);
  color: #fff;
}
.cg-arrow .material-icons-round { color: var(--gold); }
.cg-arrow:hover .material-icons-round { color: #fff; }

/* ===================================================
   TESTIMONIALS
=================================================== */
.quotes { padding: 100px 0; background: var(--bg); }

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.qcard {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  border: 1px solid var(--gold-light);
}
.qcard.q1 { transform: rotate(-1.5deg); }
.qcard.q2 { transform: rotate(1deg); }
.qcard.q3 { transform: rotate(-1deg); }
.qcard.q4 { transform: rotate(1.5deg); }
.qcard.q5 { transform: rotate(-0.5deg); }
.qcard.q6 { transform: rotate(0.5deg); }
.qcard:hover {
  transform: rotate(0) translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-lg);
}
.qc-tape {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 80px;
  height: 24px;
  background: rgba(196, 149, 106, 0.4);
  border-radius: 2px;
  border: 1px dashed rgba(196,149,106,0.6);
}
.qc-avatar {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c1, var(--gold)), var(--c2, var(--coral)));
  color: #fff;
  font-weight: 900;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.qc-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 16px;
  font-weight: 500;
}
.qc-author strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
}
.qc-author small {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===================================================
   PRICING
=================================================== */
.pricing { padding: 100px 0; background: var(--bg-soft); }

.promo-banner {
  display: flex;
  align-items: center;
  gap: 18px;
  background: linear-gradient(135deg, rgba(231, 76, 60, 0.10), rgba(255, 107, 107, 0.06));
  color: #b03a2e;
  border: 1.5px solid rgba(231, 76, 60, 0.28);
  padding: 20px 28px;
  border-radius: var(--radius);
  margin-bottom: 40px;
  max-width: 720px;
  margin-inline: auto;
  box-shadow: 0 4px 18px rgba(231, 76, 60, 0.10);
  backdrop-filter: blur(6px);
}
.promo-banner .material-icons-round {
  font-size: 36px;
  flex-shrink: 0;
  color: #c0392b;
}
.promo-banner strong {
  display: block;
  font-size: 17px;
  margin-bottom: 4px;
  color: #a82a1f;
}
.promo-banner p {
  font-size: 14px;
  opacity: 0.92;
  line-height: 1.5;
  color: #b03a2e;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.plan {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--gold-light);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.plan:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.plan-popular {
  transform: scale(1.04);
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-gold);
}
.plan-popular:hover { transform: scale(1.04) translateY(-8px); }
.popular-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), var(--coral));
  color: #fff;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-gold);
}

.plan-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: var(--shadow);
}
.plan-icon .material-icons-round { color: #fff; font-size: 32px; }

.plan h3 {
  font-size: 26px;
  font-weight: 900;
  margin-bottom: 6px;
}
.plan-price {
  margin: 12px 0 4px;
}
.plan-price.has-strike {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.price-strike {
  font-size: 24px;
  font-weight: 800;
  color: #c0392b;
  text-decoration: line-through;
  text-decoration-color: #c0392b;
  text-decoration-thickness: 3px;
  position: relative;
  display: inline-block;
  opacity: 0.85;
}
.price-now {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.price-now span {
  font-size: 56px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -2px;
  line-height: 1;
}
.price-now small {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 600;
}
.plan-price > span:not(.price-strike) {
  font-size: 56px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -2px;
  line-height: 1;
}
.plan-price > small {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 600;
}
.price-banner {
  display: inline-block;
  background: linear-gradient(135deg, #ff4757, #c0392b);
  color: #fff;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 16px;
  box-shadow: 0 4px 14px rgba(192, 57, 43, 0.3);
  animation: pulseRed 2.4s ease-in-out infinite;
}
@keyframes pulseRed {
  0%, 100% { box-shadow: 0 4px 14px rgba(192, 57, 43, 0.3); transform: scale(1); }
  50% { box-shadow: 0 6px 22px rgba(192, 57, 43, 0.5); transform: scale(1.03); }
}
.plan-tag {
  font-size: 14px;
  color: var(--gold-deep);
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--gold-light);
}

.plan-feats {
  list-style: none;
  flex: 1;
  margin-bottom: 24px;
}
.plan-feats li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.6;
}
.plan-feats .material-icons-round {
  font-size: 20px;
  color: var(--mint);
  flex-shrink: 0;
}

/* ===================================================
   FAQ
=================================================== */
.faq { padding: 100px 0; background: var(--bg); }

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--gold-light);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item:hover { border-color: var(--gold); }
.faq-item[open] {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 24px;
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  width: 32px; height: 32px;
  background: var(--gold-light);
  color: var(--gold-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  transition: transform 0.3s var(--ease), background 0.2s;
  flex-shrink: 0;
}
.faq-item[open] summary::after {
  content: '×';
  background: var(--gold);
  color: #fff;
  transform: rotate(180deg);
}
.faq-item p {
  padding: 0 24px 22px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
}

/* ===================================================
   FINAL CTA
=================================================== */
.cta-final {
  position: relative;
  padding: 120px 0;
  text-align: center;
  overflow: hidden;
  color: #fff;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, #0B1E36 0%, #1B3A5B 55%, #25527D 100%);
  z-index: 0;
}
.cta-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 18% 28%, rgba(196, 149, 106, 0.30), transparent 45%),
    radial-gradient(ellipse at 82% 75%, rgba(196, 149, 106, 0.18), transparent 45%),
    radial-gradient(circle at 50% 110%, rgba(255, 255, 255, 0.06), transparent 40%);
}
.cta-final .container { position: relative; z-index: 1; }
.cta-final h2 {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.cta-final h2 .grad {
  background: linear-gradient(135deg, #E8D4B8 0%, #FAF7F2 50%, #C4956A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cta-final p {
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 36px;
  opacity: 0.92;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}
.cta-final .btn {
  background: linear-gradient(135deg, #D4A678 0%, #B8804E 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
}
.cta-final .btn:hover {
  background: linear-gradient(135deg, #E2B785 0%, #C68F5B 100%);
  transform: translateY(-2px);
}

.cta-bullets {
  list-style: none;
  display: flex;
  gap: 28px;
  justify-content: center;
  margin-top: 28px;
  font-size: 15px;
  font-weight: 600;
  flex-wrap: wrap;
}
.cta-bullets li { opacity: 0.9; }

/* ===================================================
   FOOTER
=================================================== */
.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.foot-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
}
.foot-logo img { width: 40px; height: 40px; border-radius: 10px; }
.foot-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 18px;
  max-width: 360px;
}
.foot-social {
  display: flex;
  gap: 10px;
}
.foot-social a {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  color: var(--gold);
}
.foot-social a:hover {
  background: var(--gold);
  color: #fff;
}
.foot-col h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 16px;
}
.foot-col a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  transition: color 0.2s;
}
.foot-col a:hover { color: var(--gold); }
.foot-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}

/* ===================================================
   RESPONSIVE
=================================================== */
@media (max-width: 1100px) {
  .hero-grid { gap: 32px; }
  .stage-layout { grid-template-columns: 1fr; }
  .stage-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tab-panel { grid-template-columns: 1fr; gap: 30px; }
  .quotes-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-actions { display: flex; gap: 6px; margin-inline-start: auto; }
  .nav-actions .btn { padding: 6px 14px; font-size: 13px; }
  .nav-toggle { display: none; }
  body.nav-open .nav-links {
    display: flex;
    position: fixed;
    top: 60px;
    left: 0; right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--gold-light);
    box-shadow: var(--shadow);
  }
  body.nav-open .nav-actions {
    display: flex;
    position: fixed;
    top: 240px;
    left: 24px; right: 24px;
    z-index: 99;
  }

  .hero { padding: 110px 0 36px; min-height: auto; }
  .hero-title { font-size: 46px; line-height: 1.2; }
  .hero-sub { font-size: 17px; }
  /* Mobile: keep the 2x2 grid; just tighten padding slightly */
  .hero-proof { gap: 10px; max-width: 100%; }
  .hero-proof span { padding: 12px 14px; min-height: 52px; }
  .hero-visual { min-height: auto; }
  .hero-stage { min-height: auto; padding-top: 8px; }
  .stage-shell { padding: 18px; border-radius: 28px; }
  .stage-layout { grid-template-columns: 1fr; }
  .stage-side { grid-template-columns: 1fr; }
  .stage-main-top { grid-template-columns: 1fr; }
  .stage-question-card h3 { font-size: 22px; }
  .audience-grid { grid-template-columns: 1fr; }

  .tb-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .ba-wrap { height: 360px; }
  .ba-emoji { font-size: 60px; }
  .ba-msg { font-size: 18px; }
  .ba-icons .material-icons-round { font-size: 24px; padding: 10px; }

  .steps-grid { grid-template-columns: 1fr; gap: 20px; }
  .step-card { padding: 32px 24px; }

  .trydemo-card { padding: 24px; }
  .td-input-row { flex-direction: column; }
  #td-go { width: 100%; }
  .td-q-opts { grid-template-columns: 1fr; }

  .tabs-nav { gap: 4px; padding: 6px; }
  .tab-btn { padding: 8px 12px; font-size: 13px; }
  .tab-btn .material-icons-round { font-size: 16px; }
  .tp-text h3 { font-size: 28px; }

  .quotes-grid { grid-template-columns: 1fr; }
  .qcard { transform: none !important; }

  .plans { grid-template-columns: 1fr; gap: 20px; }
  .plan-popular { transform: none; }
  .plan-popular:hover { transform: translateY(-8px); }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .foot-bottom { flex-direction: column; text-align: center; }

  .section-head { margin-bottom: 40px; }
  .section-head h2 { font-size: 32px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 38px; }
  .hero-ctas .btn { width: 100%; }
  /* Small phones: keep 2x2 grid + outline-button look */
  .hero-proof { gap: 8px; }
  .hero-proof span {
    padding: 10px 10px;
    font-size: 12.5px;
    min-height: 54px;
  }
  .hero-proof .material-icons-round { font-size: 16px; }
  .hero-bullets { gap: 12px; flex-direction: column; }
  .stage-toolbar { flex-wrap: wrap; }
  .stage-toolbar-chip { width: 100%; justify-content: center; margin-inline-start: 0; }
  .stage-option { padding: 12px 14px; font-size: 14px; }
  .stage-cert-name { font-size: 24px; }
  .stage-ann-title { font-size: 20px; }
  .tb-grid { grid-template-columns: 1fr; }
  .cta-final h2 { font-size: 32px; }
  .cta-bullets { flex-direction: column; gap: 8px; }
}

/* Welcome banner for logged-in users */
.auth-welcome-banner {
  position: relative;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: #fff;
  padding: 10px 24px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.auth-welcome-banner a {
  background: rgba(255, 255, 255, 0.95);
  color: var(--gold-deep);
  padding: 4px 14px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s;
}
.auth-welcome-banner a:hover { transform: scale(1.05); }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================================
   PRO ADDITIONS
=================================================== */

/* Scroll progress bar — slim gradient line at top of page */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--coral), var(--gold), var(--yellow));
  z-index: 200;
  transition: width 0.1s linear;
  box-shadow: 0 1px 8px rgba(196, 149, 106, 0.4);
}

/* Sticky CTA bar — slides down after hero */
.sticky-cta {
  position: fixed;
  top: -80px;
  left: 0; right: 0;
  z-index: 99;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  color: #fff;
  padding: 12px 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  transition: top 0.4s var(--ease);
  border-bottom: 2px solid var(--gold);
}
.sticky-cta.show { top: 70px; }
.sticky-cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}
.sticky-cta-msg {
  flex: 1;
  font-weight: 700;
  font-size: 15px;
}
.sticky-cta-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  font-size: 22px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.sticky-cta-close:hover {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

/* Live notification toast */
.live-toast {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 95;
  background: #fff;
  border: 1px solid var(--gold-light);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 320px;
  transform: translateX(-120%);
  opacity: 0;
  transition: transform 0.5s var(--ease-bounce), opacity 0.3s;
}
.live-toast.show {
  transform: translateX(0);
  opacity: 1;
}
.live-toast-dot {
  width: 10px; height: 10px;
  background: #4caf50;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}
.live-toast-dot::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: #4caf50;
  opacity: 0.4;
  animation: ping 1.5s ease-in-out infinite;
}
@keyframes ping {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(2); opacity: 0; }
}
.live-toast-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}
.live-toast-text strong { color: var(--navy); font-weight: 800; }

/* Magnetic button effect */
.btn-gold, .btn-xl {
  will-change: transform;
}

/* Glowing accent rings for hero CTAs (subtle pulse) */
.hero-ctas .btn-gold {
  position: relative;
}
.hero-ctas .btn-gold::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--coral), var(--gold), var(--yellow));
  z-index: -1;
  opacity: 0;
  filter: blur(12px);
  transition: opacity 0.3s;
}
.hero-ctas .btn-gold:hover::after { opacity: 0.5; }

/* Trust badges responsive */
@media (max-width: 900px) {
  .tb-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .tb-grid { grid-template-columns: 1fr; }
  .tb-item { padding: 14px 16px; }
  .tb-icon { font-size: 30px; }
}

/* Comparison table responsive */
@media (max-width: 900px) {
  .cmp-row { grid-template-columns: 1fr; }
  .cmp-cell { border-bottom: 1px solid var(--gold-light); padding: 14px 18px; font-size: 15px; }
  .cmp-cell:last-child { border-bottom: none; }
  .cmp-task { background: linear-gradient(135deg, var(--navy), var(--navy-deep)); color: #fff; }
  .cmp-task .material-icons-round { background: rgba(255,255,255,0.15); color: var(--gold); }
  .cmp-head { display: none; }
  .cmp-cell.cmp-bad::before { content: '❌ التقليدية: '; font-weight: 800; margin-inline-end: 4px; }
  .cmp-cell.cmp-good::before { content: '✅ وسيلة: '; font-weight: 800; margin-inline-end: 4px; }
  .cmp-cell.cmp-bad .cmp-x, .cmp-cell.cmp-good .cmp-check { display: none; }
  .cmp-summary { grid-template-columns: 1fr; gap: 12px; }
  .cmp-vs { margin: 0 auto; width: 60px; height: 60px; font-size: 24px; }
}

/* Sticky CTA responsive */
@media (max-width: 600px) {
  .sticky-cta-msg { font-size: 13px; }
  .sticky-cta .btn { padding: 8px 14px; font-size: 13px; }
  .live-toast {
    bottom: 16px;
    left: 16px;
    right: 16px;
    max-width: none;
  }
}
