/* Smart Campus by Extko - Global Styles */
:root {
  --navy: #0b2447;
  --navy-2: #19376d;
  --teal: #14b8a6;
  --teal-2: #0d9488;
  --white: #ffffff;
  --soft: #f4f6fa;
  --gray: #6b7280;
  --gray-2: #e5e7eb;
  --text: #111827;
  --shadow: 0 10px 30px -12px rgba(11,36,71,0.18);
  --shadow-lg: 0 25px 50px -20px rgba(11,36,71,0.28);
  --radius: 12px;
  --container: 1200px;
  --gradient: linear-gradient(135deg, #0b2447 0%, #19376d 60%, #14b8a6 100%);
  --gradient-soft: linear-gradient(135deg, #e0f7f3 0%, #d1ecff 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-2); text-decoration: none; }

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

/* Lucide icon sizing */
[data-lucide] { width: 20px; height: 20px; stroke-width: 2; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--gray-2);
}
.nav {
  display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; color: var(--navy); font-size: 1.15rem;
}
.brand-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--gradient);
  display: grid; place-items: center;
  color: #fff; box-shadow: 0 6px 16px -6px rgba(20,184,166,.6);
  transition: transform .3s ease;
}
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.05); }
.brand-mark [data-lucide] { width: 20px; height: 20px; color: #fff; }
.brand-sub { color: var(--gray); font-weight: 500; font-size: 0.78rem; margin-left: 2px; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  color: var(--text); font-weight: 500; font-size: 0.95rem;
  padding: 8px 0; border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); border-bottom-color: var(--teal); }
.nav-cta { display: flex; gap: 10px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px; font-weight: 600;
  font-size: 0.95rem; cursor: pointer; border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s;
}
.btn [data-lucide] { width: 16px; height: 16px; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-accent { background: var(--teal); color: #fff; box-shadow: 0 8px 20px -8px rgba(20,184,166,.55); }
.btn-accent:hover { background: var(--teal-2); transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(20,184,166,.65); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--gray-2); }
.btn-outline:hover { border-color: var(--navy); background: var(--soft); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.menu-toggle {
  display: none; background: transparent; border: 0; cursor: pointer;
  width: 40px; height: 40px;
}
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px auto; transition: transform .25s; }

/* ---------- Hero ---------- */
.hero { background: var(--gradient); color: #fff; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(127,233,214,.18), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(20,184,166,.25), transparent 50%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none; opacity: .6;
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px;
  align-items: center; padding: 96px 0 104px; position: relative; z-index: 1;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.14); color: #d6f5ef; margin-bottom: 18px;
  border: 1px solid rgba(255,255,255,0.18);
}
.eyebrow [data-lucide] { width: 14px; height: 14px; }
.hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.08; font-weight: 800; margin-bottom: 18px; letter-spacing: -.02em;
}
.hero p.lead { font-size: 1.1rem; color: #d8e1ee; max-width: 560px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 28px; margin-top: 44px; flex-wrap: wrap; }
.hero-stats div { color: #cfe7e1; font-size: 0.9rem; }
.hero-stats strong { display: block; color: #fff; font-size: 1.5rem; font-weight: 700; }
.hero-image {
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.18);
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transition: transform .5s ease;
}
.hero-image:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }
.hero-image img { aspect-ratio: 4/3; object-fit: cover; }

.mobile-callout {
  display: inline-flex; align-items: center; gap: 8px;
  color: #7fe9d6; font-size: .85rem; font-weight: 600;
  letter-spacing: .04em; margin-bottom: 14px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(127,233,214,.1); border: 1px solid rgba(127,233,214,.25);
}
.mobile-callout [data-lucide] { width: 14px; height: 14px; }

/* ---------- Section base ---------- */
.section { padding: 96px 0; }
.section.alt { background: var(--soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .tag {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--teal-2); font-weight: 600; font-size: 0.8rem;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.section-head .tag [data-lucide] { width: 14px; height: 14px; }
.section-head h2 {
  color: var(--navy); font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  margin: 12px 0 14px; font-weight: 700; letter-spacing: -.01em;
}
.section-head p { color: var(--gray); font-size: 1.05rem; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 24px; }
.cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cards.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--gray-2);
  border-radius: var(--radius); padding: 28px;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, border-color .2s;
  position: relative; overflow: hidden;
}
.card::after {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: var(--gradient); transition: width .4s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::after { width: 100%; }
.card .icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--gradient-soft);
  color: var(--teal-2);
  display: grid; place-items: center;
  margin-bottom: 18px;
  transition: transform .3s ease, background .3s ease, color .3s ease;
}
.card .icon [data-lucide] { width: 22px; height: 22px; }
.card:hover .icon { transform: rotate(-6deg) scale(1.08); background: var(--gradient); color: #fff; }
.card h3 { color: var(--navy); font-size: 1.1rem; margin-bottom: 8px; }
.card p { color: var(--gray); font-size: 0.95rem; }
.card ul { margin-top: 12px; color: var(--gray); padding-left: 18px; font-size: 0.92rem; }
.card ul li { margin-bottom: 4px; }

/* ---------- Trust ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-card {
  background: #fff; border: 1px solid var(--gray-2);
  border-radius: var(--radius); padding: 28px; text-align: left;
  transition: transform .3s ease, box-shadow .3s ease;
}
.trust-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.trust-card h4 { color: var(--navy); margin-bottom: 8px; font-size: 1.05rem; }
.trust-card p { color: var(--gray); font-size: 0.92rem; }
.trust-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: #eaf6f3; color: var(--teal-2);
  padding: 5px 12px; border-radius: 999px; font-size: 0.75rem;
  font-weight: 600; margin-bottom: 14px;
}
.trust-pill [data-lucide] { width: 13px; height: 13px; }

/* ---------- Split feature row ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.split.reverse > :first-child { order: 2; }
.split img {
  border-radius: var(--radius); box-shadow: var(--shadow);
  aspect-ratio: 4/3; object-fit: cover;
  transition: transform .5s ease;
}
.split img:hover { transform: scale(1.02); }
.split h3 { color: var(--navy); font-size: 1.6rem; margin-bottom: 14px; letter-spacing: -.01em; }
.split p { color: var(--gray); margin-bottom: 14px; }
.checklist { list-style: none; }
.checklist li {
  padding-left: 32px; position: relative; margin-bottom: 12px; color: var(--text);
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--teal);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='11' fill='%23fff' stroke='none'/><polyline points='6 12.5 10 16.5 18 8.5' stroke='%230d9488'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='11'/></svg>") center/contain no-repeat;
}
.checklist li::after {
  content: "✓"; position: absolute; left: 0; top: 4px;
  width: 22px; height: 22px; display: grid; place-items: center;
  color: #fff; font-size: .8rem; font-weight: 800;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--gradient); color: #fff; border-radius: 18px;
  padding: 52px; display: flex; align-items: center; justify-content: space-between;
  gap: 24px; box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; right: -80px; top: -80px;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(127,233,214,.4), transparent 70%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h3 { font-size: 1.7rem; margin-bottom: 6px; letter-spacing: -.01em; }
.cta-band p { color: #d8e1ee; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #cfd6e1; padding: 64px 0 24px; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; }
.site-footer h5 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; }
.site-footer ul li {
  margin-bottom: 8px; font-size: 0.92rem;
  display: flex; align-items: center; gap: 8px;
}
.site-footer ul li [data-lucide] { width: 14px; height: 14px; opacity: .7; }
.site-footer a { color: #cfd6e1; transition: color .2s; }
.site-footer a:hover { color: var(--teal); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 36px; padding-top: 18px; font-size: 0.85rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}

/* ---------- Page header (inner pages) ---------- */
.page-hero {
  background: var(--gradient); color: #fff; padding: 80px 0 72px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(20,184,166,0.4), transparent 60%);
  pointer-events: none;
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); margin-bottom: 12px; letter-spacing: -.02em; }
.page-hero p { color: #d8e1ee; max-width: 700px; }
.breadcrumb { font-size: 0.85rem; color: #b9c5d6; margin-bottom: 14px; display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb a { color: #b9c5d6; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [data-lucide] { width: 12px; height: 12px; }

/* ---------- Modules list ---------- */
.module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.module-card {
  background: #fff; border: 1px solid var(--gray-2);
  border-radius: var(--radius); padding: 26px;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, border-color .2s;
  position: relative; overflow: hidden;
}
.module-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--gradient); transform: scaleY(0); transform-origin: top;
  transition: transform .35s ease;
}
.module-card:hover { border-color: transparent; transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.module-card:hover::before { transform: scaleY(1); }
.mod-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--gradient-soft); color: var(--teal-2);
  display: grid; place-items: center; margin-bottom: 16px;
  transition: transform .3s, background .3s, color .3s;
}
.mod-icon [data-lucide] { width: 22px; height: 22px; }
.module-card:hover .mod-icon { background: var(--gradient); color: #fff; transform: rotate(-6deg) scale(1.08); }
.module-card .num {
  color: var(--teal-2); font-weight: 700; font-size: 0.75rem;
  letter-spacing: 0.12em;
}
.module-card h3 { color: var(--navy); margin: 6px 0 8px; font-size: 1.1rem; }
.module-card p { color: var(--gray); font-size: 0.92rem; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row.full { grid-column: 1 / -1; }
.form-row label { font-weight: 600; color: var(--navy); font-size: 0.9rem; }
.form-row input, .form-row select, .form-row textarea {
  border: 1px solid var(--gray-2); border-radius: 10px;
  padding: 12px 14px; font-size: 0.95rem; font-family: inherit;
  background: #fff; transition: border-color .15s, box-shadow .15s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(20,184,166,0.15);
}
.form-row textarea { min-height: 130px; resize: vertical; }
.form-card {
  background: #fff; border: 1px solid var(--gray-2); border-radius: var(--radius);
  padding: 36px; box-shadow: var(--shadow);
}
.form-status {
  display: none; margin-top: 16px; padding: 12px 16px; border-radius: 8px;
  background: #eaf6f3; color: var(--teal-2); font-weight: 600;
}
.form-status.show { display: block; animation: fadeInUp .4s ease; }

.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; }
.contact-info { padding-top: 8px; }
.contact-info h3 { color: var(--navy); margin-bottom: 14px; }
.contact-info p { color: var(--gray); margin-bottom: 16px; }
.contact-info .info-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 0; border-top: 1px solid var(--gray-2);
  transition: transform .25s ease;
}
.contact-info .info-item:hover { transform: translateX(4px); }
.contact-info .info-item:first-of-type { border-top: 0; }
.contact-info .info-item .info-ic {
  flex: none; width: 38px; height: 38px; border-radius: 10px;
  background: var(--gradient-soft); color: var(--teal-2);
  display: grid; place-items: center;
}
.contact-info .info-item .info-ic [data-lucide] { width: 18px; height: 18px; }
.contact-info .info-item strong { color: var(--navy); display: block; margin-bottom: 2px; font-size: 0.95rem; }
.contact-info .info-item span { color: var(--gray); font-size: 0.9rem; }

/* ---------- Feature category section ---------- */
.feature-cat {
  display: grid; grid-template-columns: 280px 1fr; gap: 36px;
  padding: 40px 0; border-top: 1px solid var(--gray-2);
}
.feature-cat:first-of-type { border-top: 0; padding-top: 0; }
.feature-cat .cat-head .cat-ic {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--gradient); color: #fff;
  display: grid; place-items: center; margin-bottom: 14px;
  box-shadow: 0 10px 22px -10px rgba(20,184,166,.6);
}
.feature-cat .cat-head .cat-ic [data-lucide] { width: 22px; height: 22px; }
.feature-cat .cat-head h3 { color: var(--navy); font-size: 1.35rem; margin-bottom: 8px; }
.feature-cat .cat-head .tag {
  color: var(--teal-2); font-weight: 600; font-size: 0.78rem;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.feature-cat .cat-body { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feature-cat .cat-body .feat {
  background: #fff; border: 1px solid var(--gray-2);
  padding: 18px; border-radius: 10px;
  transition: transform .25s ease, box-shadow .25s, border-color .25s;
  display: flex; gap: 12px; align-items: flex-start;
}
.feature-cat .cat-body .feat:hover { transform: translateY(-3px); border-color: var(--teal); box-shadow: var(--shadow); }
.feature-cat .cat-body .feat .feat-ic {
  flex: none; width: 34px; height: 34px; border-radius: 8px;
  background: var(--gradient-soft); color: var(--teal-2);
  display: grid; place-items: center;
}
.feature-cat .cat-body .feat .feat-ic [data-lucide] { width: 16px; height: 16px; }
.feature-cat .cat-body strong { color: var(--navy); display: block; margin-bottom: 4px; font-size: 0.95rem; }
.feature-cat .cat-body span { color: var(--gray); font-size: 0.88rem; display: block; }

/* ---------- About story ---------- */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.story-grid img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; }
.values { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 36px; }

/* ---------- Mobile app coming soon ---------- */
.app-band {
  background: linear-gradient(135deg, #0b2447 0%, #19376d 100%);
  color: #fff; border-radius: 20px; padding: 56px;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px;
  align-items: center; box-shadow: var(--shadow-lg); overflow: hidden;
  position: relative;
}
.app-band::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 90% 20%, rgba(20,184,166,0.4), transparent 55%);
  pointer-events: none;
}
.app-band > * { position: relative; z-index: 1; }
.app-band .pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(20,184,166,0.18); color: #7fe9d6;
  padding: 6px 14px; border-radius: 999px; font-size: .78rem;
  font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 14px;
}
.app-band .pill [data-lucide] { width: 14px; height: 14px; }
.app-band h3 { font-size: 1.9rem; margin-bottom: 10px; letter-spacing: -.01em; }
.app-band p { color: #d8e1ee; margin-bottom: 22px; max-width: 520px; }
.store-row { display: flex; gap: 12px; flex-wrap: wrap; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: #fff; color: var(--navy); padding: 12px 20px;
  border-radius: 12px; font-weight: 600; font-size: .92rem;
  border: 1px solid rgba(255,255,255,0.2);
  cursor: not-allowed; opacity: .98;
  transition: transform .25s ease, box-shadow .25s;
}
.store-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(0,0,0,.4); }
.store-btn .ico {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--navy); color: #fff;
  display: grid; place-items: center;
}
.store-btn .ico [data-lucide] { width: 18px; height: 18px; }
.store-btn small { display: block; font-size: .65rem; color: var(--gray); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.store-btn strong { display: block; font-size: 1rem; color: var(--navy); font-weight: 700; line-height: 1.1; }
.app-visual { display: grid; place-items: center; }
.phone {
  width: 230px; aspect-ratio: 9/19; border-radius: 36px;
  background: linear-gradient(160deg, #14b8a6, #0d9488);
  border: 9px solid #0b1830; box-shadow: 0 40px 70px -25px rgba(0,0,0,.6);
  display: flex; flex-direction: column; padding: 18px 14px; color: #fff;
  animation: floaty 6s ease-in-out infinite;
}
.phone .notch { width: 64px; height: 6px; background: #0b1830; border-radius: 6px; margin: 0 auto 16px; }
.phone .row {
  background: rgba(255,255,255,0.18); border-radius: 10px;
  padding: 10px 12px; margin-bottom: 8px; font-size: .72rem;
  display: flex; align-items: center; gap: 10px;
  backdrop-filter: blur(6px);
}
.phone .row [data-lucide] { width: 16px; height: 16px; flex: none; }
.phone .row strong { display: block; font-size: .78rem; margin-bottom: 2px; }
.coming-tag {
  display: inline-block; background: var(--teal); color: #fff;
  padding: 3px 10px; border-radius: 999px; font-size: .65rem;
  font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  margin-left: 8px; vertical-align: middle;
}

/* ---------- Scroll-reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }
.reveal-delay-5 { transition-delay: .4s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: none; }
}
.hero h1, .hero p.lead, .hero-actions, .hero-stats, .eyebrow, .mobile-callout { animation: fadeInUp .8s ease both; }
.hero p.lead { animation-delay: .1s; }
.hero-actions { animation-delay: .2s; }
.hero-stats { animation-delay: .3s; }
.hero-image { animation: fadeInUp 1s ease .15s both; }
.page-hero h1 { animation: fadeInDown .7s ease both; }
.page-hero p { animation: fadeInUp .7s ease .1s both; }

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

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .nav-links.open {
    display: flex; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 16px 24px;
    border-bottom: 1px solid var(--gray-2); gap: 14px;
  }
  .hero-grid, .split, .story-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-image { transform: none; }
  .split.reverse > :first-child { order: 0; }
  .cards.cols-3, .cards.cols-4, .module-grid, .trust-grid, .values { grid-template-columns: repeat(2, 1fr); }
  .feature-cat { grid-template-columns: 1fr; gap: 16px; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .app-band { grid-template-columns: 1fr; padding: 36px; }
  .app-visual { order: -1; }
  .phone { width: 190px; }
}
@media (max-width: 560px) {
  .cards.cols-3, .cards.cols-4, .module-grid, .trust-grid, .values,
  .footer-grid, .cards.cols-2 { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero-grid { padding: 60px 0 70px; }
}

/* ---------- Shared runtime tweaks ---------- */
.site-main { display: block; }
.brand-mark-image { overflow: hidden; }
.brand-mark-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand-footer { align-items: center; }
.brand-sub-footer { color: #9fb0c8; }
.footer-tagline { margin-top: 14px; font-size: 0.92rem; max-width: 340px; color: #cfd6e1; }

.alert {
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 18px;
  border: 1px solid transparent;
}
.alert ul { margin: 8px 0 0 18px; }
.alert-success {
  background: #e9f8ef;
  border-color: #b7ebc5;
  color: #166534;
}
.alert-error {
  background: #fff1f2;
  border-color: #fecdd3;
  color: #9f1239;
}
.field-error {
  display: block;
  margin-top: 2px;
  color: #b91c1c;
  font-size: 0.8rem;
}
.g-recaptcha-wrap {
  margin-top: 18px;
}
.form-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.btn-block { width: 100%; }

/* ---------- Admin shell ---------- */
body.admin-shell {
  background: linear-gradient(180deg, #f7f9fc 0%, #eef3f9 100%);
}
.admin-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px 1fr;
}
.admin-sidebar {
  background: #071932;
  color: #d9e4f1;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 700;
  line-height: 1.2;
}
.admin-brand small {
  display: block;
  color: #8fa6c3;
  font-weight: 500;
}
.admin-nav {
  display: grid;
  gap: 8px;
}
.admin-nav a {
  color: #d9e4f1;
  padding: 12px 14px;
  border-radius: 12px;
  transition: background .2s ease, color .2s ease;
}
.admin-nav a:hover,
.admin-nav a.active {
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.admin-logout { margin-top: auto; }
.admin-main {
  padding: 28px;
}
.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.admin-kicker {
  color: var(--teal-2);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  margin-bottom: 6px;
}
.admin-topbar h1 {
  color: var(--navy);
  font-size: 1.8rem;
}
.admin-grid {
  display: grid;
  gap: 20px;
}
.admin-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 20px;
}
.admin-two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.admin-card {
  background: #fff;
  border: 1px solid var(--gray-2);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.admin-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.admin-card-head h2,
.admin-card h2 {
  color: var(--navy);
  font-size: 1.2rem;
}
.admin-card-head p {
  color: var(--gray);
  max-width: 640px;
}
.metric-card span {
  display: block;
  color: var(--gray);
  font-size: 0.9rem;
}
.metric-card strong {
  display: block;
  color: var(--navy);
  font-size: 2rem;
  margin: 10px 0 4px;
}
.metric-card small {
  color: var(--gray);
}
.admin-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.admin-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 14px;
}
.admin-list li {
  display: grid;
  gap: 4px;
}
.admin-list strong {
  color: var(--navy);
}
.admin-list span {
  color: var(--gray);
}
.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.admin-form-grid .full {
  grid-column: 1 / -1;
}
.stack-form .form-row input,
.stack-form .form-row select,
.stack-form .form-row textarea {
  width: 100%;
}
.stack-form textarea {
  min-height: 120px;
}
.logo-preview {
  margin-top: 12px;
  padding: 14px;
  border: 1px dashed var(--gray-2);
  border-radius: 14px;
  background: #fafcff;
}
.logo-preview img {
  max-height: 72px;
  max-width: 220px;
  object-fit: contain;
}
.checkbox-row {
  display: flex;
  align-items: end;
}
.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 600;
}
.checkbox-label input {
  width: 18px;
  height: 18px;
}
.meta-note {
  padding: 14px 16px;
  background: #f8fbff;
  border: 1px solid var(--gray-2);
  border-radius: 12px;
  color: var(--gray);
}
.table-wrap {
  overflow-x: auto;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
}
.admin-table th,
.admin-table td {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid #edf1f6;
  vertical-align: top;
}
.admin-table th {
  color: var(--navy);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.admin-table td small {
  display: block;
  color: var(--gray);
  margin-top: 4px;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}
.badge-on {
  background: #e8f7f0;
  color: #047857;
}
.badge-off {
  background: #fff1f2;
  color: #be123c;
}
.pagination-wrap {
  margin-top: 20px;
}
.admin-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.admin-detail-grid > div {
  padding: 14px 16px;
  border-radius: 14px;
  background: #f8fbff;
  border: 1px solid #edf1f6;
}
.admin-detail-grid strong,
.admin-message strong {
  display: block;
  color: var(--navy);
  margin-bottom: 6px;
}
.admin-message {
  padding: 18px 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--gray-2);
  margin-bottom: 14px;
}
.admin-message-muted {
  background: #fbfcfe;
}
.admin-message p {
  color: var(--gray);
  white-space: pre-line;
}
.admin-auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at top left, rgba(20,184,166,0.15), transparent 35%), linear-gradient(180deg, #071932 0%, #0b2447 100%);
}
.admin-auth-panel {
  width: min(100%, 480px);
  padding: 24px;
}
.admin-auth-card {
  background: rgba(255,255,255,0.95);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.5);
}
.admin-auth-badge {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: #eaf6f3;
  color: var(--teal-2);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.admin-auth-card h1 {
  color: var(--navy);
  margin-bottom: 8px;
}
.admin-auth-card p {
  color: var(--gray);
  margin-bottom: 22px;
}
.stack-form {
  display: grid;
  gap: 16px;
}
.stack-form .form-row {
  gap: 8px;
}
.stack-form label {
  font-weight: 600;
  color: var(--navy);
}
.stack-form input,
.stack-form select,
.stack-form textarea {
  border: 1px solid var(--gray-2);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.95rem;
  background: #fff;
}
.stack-form input:focus,
.stack-form select:focus,
.stack-form textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(20,184,166,0.14);
}
.stack-form textarea {
  resize: vertical;
}
@media (max-width: 960px) {
  .admin-layout {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .admin-metrics,
  .admin-two-up,
  .admin-detail-grid,
  .admin-form-grid {
    grid-template-columns: 1fr;
  }
  .admin-topbar {
    flex-direction: column;
    align-items: flex-start;
  }
}

.pagination-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.pagination-status {
  color: var(--gray);
  font-weight: 600;
}
