/* ============================================================
   Divine Campus — Design System
   Modern EdTech / SaaS
   ============================================================ */

:root {
  /* Palette */
  --c-bg:        #ffffff;
  --c-surface:   #f8fafc;
  --c-surface-2: #f1f5f9;
  --c-border:    #e2e8f0;
  --c-border-2:  #cbd5e1;
  --c-text:      #030712; /* Deep Midnight */
  --c-text-2:    #4B5563; /* Slate Gray */
  --c-text-3:    #64748b;
  --c-muted:     #94a3b8;

  --c-brand:     #4f638f; /* Logo Slate Steel Blue */
  --c-brand-2:   #34466b; /* Darker Slate Blue */
  --c-brand-3:   #f07f2a; /* Logo Bright Orange Accent */
  --c-brand-soft:#f0f4f8; /* Soft slate-blue tint */
  --c-brand-ink: #c66f3e; /* Logo Copper Rust */

  --c-gold:      #f07f2a; /* Warm Orange/Gold */
  --c-gold-soft: #fef3c7;

  --c-success:   #10b981; /* Emerald Green */
  --c-danger:    #ef4444;

  /* Redesign Blueprint Specific Variables */
  --color-primary: #4f638f;
  --color-primary-light: #34466b;
  --color-accent: #f07f2a;
  --color-accent-light: #c66f3e;
  --color-success: #10b981;
  --color-warning: #f07f2a;
  --color-error: #ef4444;
  --color-info: #c66f3e;
  
  --color-white: #FFFFFF;
  --color-gray-50: #F9FAFB;
  --color-gray-100: #F3F4F6;
  --color-gray-200: #E5E7EB;
  --color-gray-300: #D1D5DB;
  --color-gray-400: #9CA3AF;
  --color-gray-500: #6B7280;
  --color-gray-600: #4B5563;
  --color-gray-700: #374151;
  --color-gray-800: #1F2937;
  --color-gray-900: #111827;

  /* Typography */
  --f-sans: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --f-disp: 'Space Grotesk', 'Inter', sans-serif;

  /* Spacing & radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 28px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.04);
  --shadow-md: 0 4px 6px -1px rgba(15,23,42,.08), 0 2px 4px -2px rgba(15,23,42,.05);
  --shadow-lg: 0 20px 25px -5px rgba(15,23,42,.10), 0 8px 10px -6px rgba(15,23,42,.06);
  --shadow-xl: 0 30px 60px -15px rgba(30,27,75,.25);

  --container: 1200px;
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--c-brand); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--c-brand-2); }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
h1,h2,h3,h4 { font-family: var(--f-disp); letter-spacing: -0.02em; color: var(--c-text); margin: 0; line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 600; }
p  { margin: 0 0 1rem; color: var(--c-text-2); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 50px 0; }
.section-sm { padding: 32px 0; }
.section-tight { padding: 24px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-sans);
  font-size: .82rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--c-brand);
  background: var(--c-brand-soft);
  padding: 6px 14px; border-radius: var(--r-pill);
}
.eyebrow.gold { color: #92400e; background: var(--c-gold-soft); }

.section-head { max-width: 720px; margin: 0 auto 32px; text-align: center; }
.section-head .eyebrow { margin-bottom: 12px; }
.section-head p { font-size: 1.08rem; color: var(--c-text-2); margin-top: 10px; }

.lead { font-size: 1.15rem; color: var(--c-text-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--r-pill);
  font-weight: 600; font-size: .95rem;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(135deg, var(--c-brand) 0%, var(--c-brand-2) 100%);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(79,70,229,.55);
}
.btn-primary:hover { color: #fff; box-shadow: 0 14px 28px -10px rgba(79,70,229,.7); }
.btn-secondary {
  background: #fff; color: var(--c-text); border-color: var(--c-border);
}
.btn-secondary:hover { color: var(--c-brand); border-color: var(--c-brand); }
.btn-ghost { background: transparent; color: var(--c-text); }
.btn-ghost:hover { color: var(--c-brand); background: var(--c-brand-soft); }
.btn-dark { background: var(--c-brand-ink); color: #fff; }
.btn-dark:hover { background: #0f0c2e; color: #fff; }
.btn-lg { padding: 16px 28px; font-size: 1rem; }

.arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(226,232,240,.7);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 0;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 38px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text .name { font-family: var(--f-disp); font-weight: 700; font-size: 1.1rem; color: var(--c-text); }
.brand-text .tag  { font-size: .72rem; color: var(--c-text-3); letter-spacing: .02em; }

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-block;
  padding: 8px 14px; border-radius: var(--r-md);
  color: var(--c-text-2); font-weight: 500; font-size: .95rem;
}
.nav-links a:hover { color: var(--c-brand); background: var(--c-brand-soft); }
.nav-links a.active { color: var(--c-brand); background: var(--c-brand-soft); }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; background: transparent; border: 1px solid var(--c-border);
  width: 42px; height: 42px; border-radius: var(--r-md);
  align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--c-text); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: var(--c-text);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top:  6px; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--c-border);
    padding: 12px 16px 16px;
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
    gap: 2px;
  }
  .nav.open .nav-links { max-height: 600px; }
  .nav-links a { padding: 12px 14px; }
  .nav-cta .btn-secondary { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 48px 0 54px;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(240,127,42,.15), transparent 60%),
    radial-gradient(700px 420px at 10% 110%, rgba(79,99,143,.15), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #fafbff 100%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
}
.hero h1 .grad {
  background: linear-gradient(135deg, var(--c-brand) 0%, var(--c-brand-3) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { margin: 14px 0 20px; max-width: 540px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-trust {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding-top: 22px; border-top: 1px solid var(--c-border);
  font-size: .9rem; color: var(--c-text-3);
}
.hero-trust strong { color: var(--c-text); font-weight: 600; }
.hero-trust .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--c-muted); }

/* Hero visual — abstract dashboard mock */
.hero-visual {
  position: relative; padding: 8px;
  background: linear-gradient(135deg, rgba(79,70,229,.15), rgba(124,58,237,.05));
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl);
}
.hero-card {
  background: #fff; border-radius: 22px; padding: 22px;
  border: 1px solid var(--c-border);
}
.hero-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.hero-card-title { font-weight: 600; font-size: .95rem; color: var(--c-text); }
.hero-pill { font-size: .72rem; font-weight: 600; padding: 4px 10px; border-radius: var(--r-pill); background: #dcfce7; color: #166534; }
.hero-stat-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 18px; }
.hero-stat { background: var(--c-surface); border-radius: var(--r-md); padding: 12px; }
.hero-stat .v { font-family: var(--f-disp); font-weight: 700; font-size: 1.35rem; color: var(--c-text); }
.hero-stat .l { font-size: .72rem; color: var(--c-text-3); margin-top: 2px; }
.hero-bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; padding: 8px 0; }
.hero-bars span {
  flex: 1; background: linear-gradient(180deg, var(--c-brand-3), var(--c-brand-2));
  border-radius: 6px 6px 0 0; opacity: .85;
}
.hero-workflows { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 18px; }
.hero-flow { display: flex; align-items: center; gap: 10px; padding: 10px; background: var(--c-surface); border-radius: var(--r-md); font-size: .85rem; color: var(--c-text); }
.hero-flow .ic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; color: #fff; font-size: .8rem; font-weight: 700; }
.hero-flow .ic.a { background: linear-gradient(135deg,#4f46e5,#7c3aed); }
.hero-flow .ic.b { background: linear-gradient(135deg,#0ea5e9,#06b6d4); }
.hero-flow .ic.c { background: linear-gradient(135deg,#f59e0b,#f97316); }
.hero-flow .ic.d { background: linear-gradient(135deg,#10b981,#059669); }

.hero-float {
  position: absolute; background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--r-lg); padding: 14px 16px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px;
}
.hero-float.f1 { top: -22px; left: -28px; }
.hero-float.f2 { bottom: -18px; right: -22px; }
.hero-float .icon {
  width: 38px; height: 38px; border-radius: var(--r-md);
  display: grid; place-items: center; color: #fff;
}
.hero-float .icon.green { background: linear-gradient(135deg, #10b981, #059669); }
.hero-float .icon.gold  { background: linear-gradient(135deg, #f59e0b, #d97706); }
.hero-float .t { font-weight: 700; font-size: .95rem; color: var(--c-text); line-height: 1.1; }
.hero-float .s { font-size: .76rem; color: var(--c-text-3); }

@media (max-width: 900px) {
  .hero { padding: 64px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-float.f1 { left: -10px; top: -16px; }
  .hero-float.f2 { right: -10px; bottom: -16px; }
}

/* ---------- Logo strip ---------- */
.logos {
  padding: 32px 0; border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border);
  background: #fff;
}
.logos-label { text-align: center; font-size: .82rem; color: var(--c-text-3); text-transform: uppercase; letter-spacing: .12em; font-weight: 600; margin-bottom: 22px; }
.logos-row {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; align-items: center;
}
.logos-row .lg {
  font-family: var(--f-disp); font-weight: 600; color: var(--c-text-3);
  text-align: center; font-size: .98rem; letter-spacing: .02em;
  padding: 8px; opacity: .8;
}
@media (max-width: 800px) { .logos-row { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Feature cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .cards, .cards.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .cards, .cards.cols-4, .cards.cols-2 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg);
  padding: 20px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative; overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--c-brand) 0%, var(--c-brand-3) 50%, var(--c-brand-2) 100%);
  transform: scaleX(0);
  transition: transform .3s ease;
  transform-origin: left;
}
.card:hover::before {
  transform: scaleX(1);
}
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 25px -5px rgba(12, 90, 219, 0.15), 0 8px 10px -6px rgba(12, 90, 219, 0.1); border-color: var(--c-brand-3); }
.card .icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center; color: #fff; margin-bottom: 14px;
  background: linear-gradient(135deg, var(--c-brand) 0%, var(--c-brand-2) 100%);
  box-shadow: 0 10px 20px -10px rgba(79,70,229,.6);
}
.card h3 { margin-bottom: 8px; }
.card p { font-size: .95rem; margin: 0; }
.card .more {
  margin-top: 16px; font-weight: 600; font-size: .9rem; color: var(--c-brand);
  display: inline-flex; align-items: center; gap: 6px;
}

/* Variants of icon color */
.icon-grad-2 { background: linear-gradient(135deg, #0ea5e9, #06b6d4) !important; box-shadow: 0 10px 20px -10px rgba(6,182,212,.6) !important; }
.icon-grad-3 { background: linear-gradient(135deg, #f59e0b, #f97316) !important; box-shadow: 0 10px 20px -10px rgba(245,158,11,.6) !important; }
.icon-grad-4 { background: linear-gradient(135deg, #10b981, #059669) !important; box-shadow: 0 10px 20px -10px rgba(16,185,129,.6) !important; }
.icon-grad-5 { background: linear-gradient(135deg, #ef4444, #ec4899) !important; box-shadow: 0 10px 20px -10px rgba(236,72,153,.6) !important; }
.icon-grad-6 { background: linear-gradient(135deg, #6366f1, #8b5cf6) !important; box-shadow: 0 10px 20px -10px rgba(99,102,241,.6) !important; }
.icon-grad-7 { background: linear-gradient(135deg, #14b8a6, #06b6d4) !important; box-shadow: 0 10px 20px -10px rgba(20,184,166,.6) !important; }
.icon-grad-8 { background: linear-gradient(135deg, #a855f7, #d946ef) !important; box-shadow: 0 10px 20px -10px rgba(168,85,247,.6) !important; }

/* ---------- Stat strip ---------- */
.stats-band {
  background: linear-gradient(135deg, var(--c-brand-ink) 0%, #312e81 100%);
  border-radius: var(--r-xl);
  padding: 48px;
  color: #fff;
  position: relative; overflow: hidden;
}
.stats-band::before {
  content: ''; position: absolute; top: -60px; right: -60px; width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(245,158,11,.25), transparent 70%);
}
.stats-band::after {
  content: ''; position: absolute; bottom: -80px; left: -40px; width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(124,58,237,.3), transparent 70%);
}
.stats-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center;
}
.stat-v { font-family: var(--f-disp); font-weight: 700; font-size: clamp(2rem, 4vw, 3rem); color: #fff; }
.stat-v .accent { color: var(--c-gold); }
.stat-l { font-size: .95rem; color: rgba(255,255,255,.7); margin-top: 6px; }
@media (max-width: 700px) {
  .stats-band { padding: 32px 24px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

/* ---------- Trust KPI ---------- */
.trust-kpi-wrap { padding-top: 30px; padding-bottom: 30px; }
.trust-kpi {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.kpi-item {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 16px;
  text-align: center;
  transition: all 0.2s ease;
}
.kpi-item:hover {
  border-color: var(--c-brand-3);
  background: var(--c-brand-soft);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.kpi-item .num {
  font-family: var(--f-disp);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: var(--c-brand-ink);
  line-height: 1.2;
}
.kpi-item .label {
  margin-top: 6px;
  font-size: .86rem;
  color: var(--c-text-3);
  font-weight: 600;
}
@media (max-width: 900px) {
  .trust-kpi { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .trust-kpi { grid-template-columns: 1fr; }
}

/* ---------- Split sections ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } .split.reverse > *:first-child { order: 2; } }
.split h2 { margin-bottom: 16px; }
.split .check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--c-text); font-size: .98rem; }
.check-list .tick {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  background: var(--c-brand-soft); color: var(--c-brand);
  display: grid; place-items: center; font-weight: 700;
}

.split-visual {
  border-radius: var(--r-xl); overflow: hidden;
  background: linear-gradient(135deg, #eef2ff, #faf5ff);
  padding: 8px; box-shadow: var(--shadow-lg);
}
.split-visual img { border-radius: 22px; width: 100%; height: auto; }

/* ---------- Products comparison ---------- */
.product-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 900px) { .product-cards { grid-template-columns: 1fr; } }
.product-card {
  background: #fff; border-radius: var(--r-xl); padding: 36px;
  border: 1px solid var(--c-border);
  position: relative; overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.product-card.featured {
  background: linear-gradient(180deg, #1e1b4b 0%, #312e81 100%);
  color: #fff; border-color: transparent;
}
.product-card.featured h3,
.product-card.featured .product-price { color: #fff; }
.product-card.featured p,
.product-card.featured .product-feat li { color: rgba(255,255,255,.85); }
.product-card.featured .product-feat .tick { background: rgba(245,158,11,.2); color: var(--c-gold); }
.product-card .badge {
  display: inline-block; padding: 5px 12px; border-radius: var(--r-pill);
  background: var(--c-gold-soft); color: #92400e; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px;
}
.product-card.featured .badge { background: rgba(245,158,11,.25); color: var(--c-gold); }
.product-price { font-family: var(--f-disp); font-size: 1.3rem; font-weight: 700; margin: 6px 0 10px; }
.product-feat { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 12px; }
.product-feat li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.product-feat .tick {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--c-brand-soft); color: var(--c-brand);
  display: grid; place-items: center; font-weight: 700; font-size: .7rem; flex-shrink: 0;
}

/* ---------- Team cards ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .team-grid { grid-template-columns: 1fr; } }
.team-card {
  background: #fff; border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--c-border);
  transition: transform .25s ease, box-shadow .25s ease;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.team-photo {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #eef2ff, #faf5ff);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.team-info { padding: 22px; }
.team-info .name { font-family: var(--f-disp); font-weight: 700; font-size: 1.1rem; color: var(--c-text); margin-bottom: 4px; }
.team-info .role { font-size: .85rem; color: var(--c-brand); font-weight: 600; letter-spacing: .02em; }
.team-info .bio { font-size: .88rem; color: var(--c-text-2); margin-top: 12px; line-height: 1.55; }

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 1000px) { .testimonial-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .testimonial-grid { grid-template-columns: 1fr; } }
.testimonial {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg);
  padding: 28px; display: flex; flex-direction: column;
}
.testimonial .quote-mark { font-family: var(--f-disp); font-size: 3rem; line-height: 1; color: var(--c-brand); opacity: .25; margin-bottom: -8px; }
.testimonial .quote { font-size: .98rem; color: var(--c-text); line-height: 1.65; flex: 1; }
.testimonial .meta { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--c-border); }
.testimonial .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c-brand), var(--c-brand-2));
  color: #fff; display: grid; place-items: center; font-weight: 700;
}
.testimonial .who .n { font-weight: 600; font-size: .95rem; color: var(--c-text); }
.testimonial .who .o { font-size: .82rem; color: var(--c-text-3); }

/* ---------- Forms ---------- */
.form-card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-xl);
  padding: 36px; box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: .85rem; font-weight: 600; color: var(--c-text); }
.field label .req { color: var(--c-danger); }
.field input, .field select, .field textarea {
  padding: 12px 14px; border-radius: var(--r-md);
  border: 1px solid var(--c-border-2); background: #fff; color: var(--c-text);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--c-brand);
  box-shadow: 0 0 0 4px rgba(79,70,229,.12);
}
.field textarea { min-height: 140px; resize: vertical; }
.field .hint { font-size: .78rem; color: var(--c-text-3); }

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 8px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 0 16px;
  transition: all 0.2s ease;
}
.faq-item:hover {
  border-color: var(--c-brand-3);
  background: var(--c-brand-soft);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--c-text);
  padding: 16px 4px;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--c-brand);
  font-size: 1.2rem;
  font-weight: 700;
}
.faq-item[open] summary::after { content: '-'; }
.faq-item p {
  margin: 0;
  padding: 0 4px 16px;
  color: var(--c-text-2);
  font-size: .95rem;
}

/* ---------- Global expansion ---------- */
.global-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 980px) {
  .global-grid { grid-template-columns: 1fr; }
}
.global-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 24px;
}
.global-card h3 { margin-bottom: 10px; }
.global-card p { margin: 0; font-size: .94rem; }
.global-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 10px;
}
.global-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .9rem;
  color: var(--c-text);
}
.global-list .tick {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--c-brand-soft);
  color: var(--c-brand);
  font-size: .7rem;
  font-weight: 700;
}

/* ---------- Page header ---------- */
.page-head {
  padding: 88px 0 64px;
  background:
    radial-gradient(800px 380px at 80% -40%, rgba(240,127,42,.12), transparent 60%),
    radial-gradient(600px 320px at -10% 120%, rgba(79,99,143,.12), transparent 60%),
    linear-gradient(180deg, #fafaff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--c-border);
  text-align: center;
}
.page-head .eyebrow { margin-bottom: 14px; }
.page-head h1 { margin-bottom: 14px; }
.page-head p { max-width: 680px; margin: 0 auto; font-size: 1.1rem; color: var(--c-text-2); }
.crumb { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--c-text-3); margin-bottom: 18px; }
.crumb a { color: var(--c-text-3); }
.crumb a:hover { color: var(--c-brand); }

/* ---------- CTA strip ---------- */
.cta-strip {
  background: linear-gradient(135deg, var(--c-brand-ink) 0%, #4c1d95 100%);
  border-radius: var(--r-xl);
  padding: 56px;
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: center;
  color: #fff;
  position: relative; overflow: hidden;
}
.cta-strip::before {
  content: ''; position: absolute; right: -80px; top: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(245,158,11,.3), transparent 70%);
}
.cta-strip h2 { color: #fff; margin-bottom: 10px; }
.cta-strip p { color: rgba(255,255,255,.78); margin: 0; }
.cta-strip .ctas { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-strip .btn-secondary { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #fff; backdrop-filter: blur(10px); }
.cta-strip .btn-secondary:hover { background: rgba(255,255,255,.18); color: #fff; }
@media (max-width: 800px) {
  .cta-strip { grid-template-columns: 1fr; padding: 36px 28px; text-align: center; }
  .cta-strip .ctas { justify-content: center; }
}

/* ---------- Footer ---------- */
.footer {
  background: #0b0a23;
  color: rgba(255,255,255,.7);
  padding: 72px 0 28px;
  margin-top: 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; font-family: var(--f-sans); font-weight: 600; }
.footer a { color: rgba(255,255,255,.7); }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .92rem; }
.footer .brand-block .brand img { filter: brightness(0) invert(1); height: 40px; }
.footer .brand-block p { color: rgba(255,255,255,.6); font-size: .92rem; max-width: 320px; margin-top: 14px; }
.footer .badges { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.footer .badges img { height: 42px; border-radius: 6px; }
.footer .contact-block li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: rgba(255,255,255,.7); }
.footer .contact-block li .ic { color: var(--c-brand-3); flex-shrink: 0; margin-top: 2px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: #fff;
  display: grid; place-items: center;
  transition: background .2s ease, transform .2s ease;
}
.socials a:hover { background: var(--c-brand); transform: translateY(-2px); }

.footer-bottom {
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  font-size: .85rem; color: rgba(255,255,255,.55);
}
.sanskrit {
  text-align: center; padding: 16px 0;
  font-family: 'Noto Sans Devanagari', serif;
  color: var(--c-gold); font-size: 1.1rem; letter-spacing: .04em;
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 8px !important; }
.mt-2 { margin-top: 16px !important; }
.mt-3 { margin-top: 24px !important; }
.mt-4 { margin-top: 32px !important; }
.mt-5 { margin-top: 48px !important; }
.mb-0 { margin-bottom: 0 !important; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.bg-surface { background: var(--c-surface); }
.bg-soft { background: linear-gradient(180deg, #fafaff 0%, #ffffff 100%); }

/* ---------- Anim ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; }
.reveal.in { animation: fadeUp .7s ease forwards; }

/* ---------- Redesign Redux Layouts ---------- */

/* Mega Menu Dropdown */
.has-dropdown { position: relative; }
.has-dropdown > a::after { content: ' ▼'; font-size: 0.65rem; vertical-align: middle; margin-left: 4px; opacity: 0.7; }
.mega-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px);
  width: 640px; background: #fff; border: 1px solid var(--c-border);
  box-shadow: var(--shadow-xl); border-radius: var(--r-lg);
  padding: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 100;
}
.has-dropdown:hover .mega-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega-col h5 { font-family: var(--f-sans); font-size: 0.85rem; text-transform: uppercase; color: var(--c-brand); margin: 0 0 10px; font-weight: 700; letter-spacing: 0.05em; }
.mega-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.mega-col a { color: var(--c-text-2) !important; font-size: 0.88rem; font-weight: 500; display: block; padding: 4px 0; }
.mega-col a:hover { color: var(--c-brand) !important; background: none !important; }

/* Filter Buttons & Grid */
.filter-row { display: flex; justify-content: center; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.filter-btn {
  background: var(--c-surface); border: 1px solid var(--c-border);
  padding: 6px 16px; border-radius: var(--r-pill); font-size: 0.85rem; font-weight: 600;
  color: var(--c-text-2); transition: all 0.2s ease;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--c-brand); color: #fff; border-color: var(--c-brand);
}
.logo-card { transition: opacity 0.3s ease, transform 0.3s ease; }
.logo-card.hidden { opacity: 0; transform: scale(0.9); pointer-events: none; position: absolute; width: 0; height: 0; padding: 0; margin: 0; overflow: hidden; border: none; }

/* AI 2x2 Grid */
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 768px) { .ai-grid { grid-template-columns: 1fr; } }
.ai-card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg);
  padding: 24px; transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex; flex-direction: column; justify-content: space-between;
}
.ai-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ai-card .icon {
  width: 44px; height: 44px; border-radius: 10px; background: rgba(139, 92, 246, 0.1);
  color: #8B5CF6; display: grid; place-items: center; font-size: 1.25rem; margin-bottom: 16px;
}
.ai-card h4 { margin: 0 0 8px; font-family: var(--f-disp); font-size: 1.2rem; color: var(--c-text); }
.ai-card p { font-size: 0.92rem; color: var(--c-text-2); margin-bottom: 16px; flex-grow: 1; }
.ai-card .badge-stat {
  display: inline-block; padding: 4px 10px; border-radius: var(--r-pill);
  font-size: 0.78rem; font-weight: 700; background: rgba(6, 167, 125, 0.1); color: #06A77D;
  align-self: flex-start;
}

/* App Mockups & Portal Layouts */
.portal-section { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.portal-section.reverse { grid-template-columns: 1.1fr 1fr; }
@media (max-width: 900px) {
  .portal-section, .portal-section.reverse { grid-template-columns: 1fr; gap: 32px; }
}
.portal-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
@media (max-width: 480px) { .portal-features { grid-template-columns: 1fr; } }
.portal-feat-item { display: flex; gap: 8px; font-size: 0.9rem; color: var(--c-text-2); align-items: flex-start; }
.portal-feat-item span { color: var(--c-success); font-weight: bold; }
.portal-mock {
  border-radius: var(--r-xl); background: linear-gradient(135deg, var(--c-surface-2), var(--c-surface));
  padding: 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--c-border);
}
.portal-mock-inner {
  background: #fff; border-radius: var(--r-lg); border: 1px solid var(--c-border-2);
  padding: 16px; font-size: 0.8rem; color: var(--c-text-2);
}
.portal-mock-header {
  border-bottom: 1px solid var(--c-border); padding-bottom: 8px; margin-bottom: 12px;
  display: flex; justify-content: space-between; align-items: center;
}

/* Slider / Testimonial Carousel */
.slider-container { position: relative; overflow: hidden; width: 100%; max-width: 800px; margin: 0 auto; }
.slider-track { display: flex; transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1); }
.slide { min-width: 100%; box-sizing: border-box; padding: 10px; }
.slider-controls { display: flex; justify-content: center; gap: 12px; margin-top: 24px; align-items: center; }
.slider-btn {
  background: #fff; border: 1px solid var(--c-border); width: 40px; height: 40px;
  border-radius: 50%; display: grid; place-items: center; cursor: pointer; transition: all 0.2s;
  box-shadow: var(--shadow-sm); font-weight: bold;
}
.slider-btn:hover { background: var(--c-brand); color: #fff; border-color: var(--c-brand); }
.slider-dots { display: flex; gap: 6px; }
.slider-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-border-2); cursor: pointer; transition: background 0.2s; }
.slider-dot.active { background: var(--c-brand); width: 18px; border-radius: 4px; }

