/* EdVyn home page. Loaded after the vendor home CSS and the inline theme variables. */

@font-face { font-family: 'EdvynSans'; font-weight: 400; font-display: swap;
  src: url('../fonts/Ubuntu-Regular.woff2') format('woff2'), url('../fonts/Ubuntu-Regular.woff') format('woff'); }
@font-face { font-family: 'EdvynSans'; font-weight: 600; font-display: swap;
  src: url('../fonts/Ubuntu-Medium.woff2') format('woff2'), url('../fonts/Ubuntu-Medium.woff') format('woff'); }
@font-face { font-family: 'EdvynSans'; font-weight: 700; font-display: swap;
  src: url('../fonts/Ubuntu-Bold.woff2') format('woff2'), url('../fonts/Ubuntu-Bold.woff') format('woff'); }
@font-face { font-family: 'EdvynSans'; font-weight: 800; font-display: swap;
  src: url('../fonts/Ubuntu-Bold.woff2') format('woff2'), url('../fonts/Ubuntu-Bold.woff') format('woff'); }

:root {
  --edv-purple: #4A1262;
  --edv-purple-deep: #2E0839;
  --edv-purple-soft: #7A3A94;
  --edv-tint: #F7F2FA;
  --edv-tint-line: #E7D9EF;
  --edv-amber: #F5A524;
  --edv-ink: #1C1C1C;
  --edv-muted: #5E5E5C;
  --edv-line: #E8E8E6;

  /* Re-point the vendor theme variables so older sections (about, contact, app) match. */
  --primary-color: #4A1262;
  --secondary-color: #4A1262;
  --secondary-color1: #7A3A94;
  --primary-background-color: #F7F2FA;
  --text--secondary-color: #5E5E5C;
}

body, .main, .navbar { font-family: 'EdvynSans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
.main { color: var(--edv-ink); }
html { scroll-behavior: smooth; }

/* Vendor components, restyled */
.commonBtn, .main .commonBtn { background: var(--edv-purple) !important; border-color: var(--edv-purple) !important; color: #fff !important; border-radius: 12px !important; }
.commonBtn:hover { background: var(--edv-purple-deep) !important; }
.navbar .listItems a:hover, .navbar .listItems a.active { color: var(--edv-purple) !important; }
.navbar .btn, .navbar .commonBtn { border-radius: 12px; }
.sectionTitle span { font-family: 'EdvynSans', sans-serif; }

/* Buttons */
.edv-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 14px; font-weight: 700; font-size: 15px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; line-height: 1.2; }
.edv-btn:hover { transform: translateY(-2px); text-decoration: none; }
.edv-btn--accent { background: var(--edv-amber); color: #2b1600 !important; box-shadow: 0 10px 24px rgba(245,165,36,.35); }
.edv-btn--accent:hover { background: #ffb53f; color: #2b1600 !important; }
.edv-btn--primary { background: var(--edv-purple); color: #fff !important; box-shadow: 0 10px 24px rgba(74,18,98,.25); }
.edv-btn--primary:hover { background: var(--edv-purple-deep); color: #fff !important; }
.edv-btn--ghost { background: rgba(255,255,255,.08); color: #fff !important; border-color: rgba(255,255,255,.35); }
.edv-btn--ghost:hover { background: rgba(255,255,255,.18); color: #fff !important; }
.edv-btn--ghost-dark { background: #fff; color: var(--edv-purple) !important; border-color: var(--edv-tint-line); }
.edv-btn--ghost-dark:hover { border-color: var(--edv-purple); color: var(--edv-purple) !important; }

.edv-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--edv-purple); background: var(--edv-tint); border: 1px solid var(--edv-tint-line); padding: 6px 12px; border-radius: 999px; margin-bottom: 16px; }

/* ---------- Hero ---------- */
.edv-hero { position: relative; overflow: hidden; color: #fff; padding: 72px 0 96px; background: linear-gradient(135deg, var(--edv-purple-deep) 0%, var(--edv-purple) 55%, #6b2a8a 100%); }
.edv-hero__bg { position: absolute; inset: 0; background:
  radial-gradient(600px 300px at 85% 10%, rgba(245,165,36,.28), transparent 60%),
  radial-gradient(500px 400px at 5% 90%, rgba(255,255,255,.08), transparent 60%);
  pointer-events: none; }
.edv-hero__inner { position: relative; z-index: 1; }
.edv-hero .edv-eyebrow { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); color: #fff; }
.edv-hero__title { font-size: clamp(34px, 5vw, 56px); line-height: 1.08; font-weight: 800; letter-spacing: -.02em; margin: 0 0 20px; color: #fff; }
.edv-hero__title span { color: #FFD28A; }
.edv-hero__lead { font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.86); max-width: 560px; margin: 0 0 28px; }
.edv-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.edv-hero__chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 18px; }
.edv-hero__chips li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,.9); }
.edv-hero__chips svg { color: #FFD28A; }

/* Hero product illustration */
.edv-mock { position: relative; min-height: 430px; max-width: 560px; margin: 0 auto; }
.edv-mock__dash { position: absolute; left: 0; top: 36px; width: 70%; background: #fff; color: var(--edv-ink); border-radius: 22px; box-shadow: 0 30px 70px rgba(20,0,30,.4); overflow: hidden; }
.edv-mock__bar { display: flex; align-items: center; gap: 6px; padding: 14px 16px; background: #faf7fc; border-bottom: 1px solid var(--edv-line); }
.edv-mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: #e3d5ec; }
.edv-mock__bar span { margin-left: 10px; font-size: 12px; font-weight: 700; color: var(--edv-muted); }
.edv-mock__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 16px; }
.edv-mock__stats div { background: var(--edv-tint); border-radius: 14px; padding: 12px; text-align: center; }
.edv-mock__stats b { display: block; font-size: 24px; color: var(--edv-purple); line-height: 1.1; }
.edv-mock__stats small { font-size: 11px; color: var(--edv-muted); }
.edv-mock__rows { padding: 0 16px 16px; }
.edv-mock__rows > div { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--edv-line); font-size: 13px; }
.edv-mock__rows em { flex: 1; font-style: normal; font-weight: 600; }
.edv-av { width: 30px; height: 30px; border-radius: 10px; background: #efe3f6; color: var(--edv-purple); font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.edv-av--b { background: #fdf0d8; color: #8a5a06; } .edv-av--c { background: #e3f1ea; color: #1e7a54; } .edv-av--d { background: #e6eef5; color: #1f4c74; }
.edv-mock__rows u { text-decoration: none; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.edv-mock__rows .ok { background: #e4f2ea; color: #1e7a54; } .edv-mock__rows .late { background: #faf0dc; color: #7a5410; }

.edv-mock__phone { position: absolute; right: -6px; top: 0; width: 196px; height: 392px; background: #130518; border-radius: 34px; padding: 10px; box-shadow: 0 30px 70px rgba(10,0,16,.55); }
.edv-mock__notch { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 70px; height: 18px; background: #130518; border-radius: 12px; z-index: 2; }
.edv-mock__scan { height: 100%; border-radius: 26px; background: linear-gradient(180deg, #2a0b38, #12041a); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 18px; }
.edv-mock__face, .edv-visual__face { position: relative; width: 140px; height: 140px; color: rgba(255,255,255,.9); }
.edv-mock__face b, .edv-visual__face b { position: absolute; width: 26px; height: 26px; border: 3px solid var(--edv-amber); }
.edv-mock__face b:nth-of-type(1), .edv-visual__face b:nth-of-type(1) { top: -6px; left: -6px; border-right: 0; border-bottom: 0; border-top-left-radius: 10px; }
.edv-mock__face b:nth-of-type(2), .edv-visual__face b:nth-of-type(2) { top: -6px; right: -6px; border-left: 0; border-bottom: 0; border-top-right-radius: 10px; }
.edv-mock__face b:nth-of-type(3), .edv-visual__face b:nth-of-type(3) { bottom: -6px; left: -6px; border-right: 0; border-top: 0; border-bottom-left-radius: 10px; }
.edv-mock__face b:nth-of-type(4), .edv-visual__face b:nth-of-type(4) { bottom: -6px; right: -6px; border-left: 0; border-top: 0; border-bottom-right-radius: 10px; }
.edv-mock__line { position: absolute; left: 6px; right: 6px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--edv-amber), transparent); animation: edvScan 2.4s ease-in-out infinite; }
@keyframes edvScan { 0% { top: 8%; } 50% { top: 88%; } 100% { top: 8%; } }
.edv-mock__ok { display: inline-flex; align-items: center; gap: 6px; background: #1e7a54; color: #fff; font-size: 12px; font-weight: 700; padding: 8px 12px; border-radius: 999px; }

.edv-mock__chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--edv-ink); font-size: 12.5px; font-weight: 700; padding: 10px 14px; border-radius: 14px; box-shadow: 0 14px 30px rgba(20,0,30,.3); }
.edv-mock__chip svg { color: var(--edv-purple); }
.edv-mock__chip--a { left: 10px; bottom: 4px; } .edv-mock__chip--b { right: 34px; bottom: -10px; }

/* ---------- Highlights strip ---------- */
.edv-strip { background: #fff; border-bottom: 1px solid var(--edv-line); }
.edv-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.edv-strip__grid > div { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: center; padding: 26px 18px; border-right: 1px solid var(--edv-line); }
.edv-strip__grid > div:last-child { border-right: 0; }
.edv-strip__grid svg { grid-row: span 2; color: var(--edv-purple); background: var(--edv-tint); padding: 10px; width: 44px; height: 44px; border-radius: 12px; }
.edv-strip__grid b { font-size: 15px; } .edv-strip__grid span { font-size: 13px; color: var(--edv-muted); }

/* ---------- Generic sections ---------- */
.edv-section { padding: 88px 0; }
.edv-section--tint { background: var(--edv-tint); }
.edv-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.edv-head h2, .edv-h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; color: var(--edv-ink); margin: 0 0 14px; }
.edv-head p, .edv-lead { font-size: 17px; line-height: 1.65; color: var(--edv-muted); margin: 0; }
.edv-lead { margin-bottom: 22px; }

.edv-card { height: 100%; background: #fff; border: 1px solid var(--edv-line); border-radius: 22px; padding: 28px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.edv-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(74,18,98,.12); border-color: var(--edv-tint-line); }
.edv-card__icon { width: 52px; height: 52px; border-radius: 16px; background: var(--edv-tint); color: var(--edv-purple); display: grid; place-items: center; margin-bottom: 18px; }
.edv-card h3 { font-size: 18px; font-weight: 700; margin: 0 0 8px; color: var(--edv-ink); }
.edv-card p { font-size: 14.5px; line-height: 1.6; color: var(--edv-muted); margin: 0; }
.edv-card--center { text-align: center; } .edv-card--center .edv-card__icon { margin-left: auto; margin-right: auto; }

.edv-ticks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 14px; }
.edv-ticks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 16px; line-height: 1.55; color: var(--edv-ink); }
.edv-ticks svg { color: var(--edv-purple); margin-top: 2px; }
.edv-ticks--tight { gap: 12px; margin-bottom: 0; }

/* Facial attendance visual */
.edv-visual { position: relative; max-width: 440px; aspect-ratio: 1 / 1; margin: 0 auto; display: grid; place-items: center; }
.edv-visual__ring { position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #6b2a8a, var(--edv-purple-deep)); box-shadow: 0 30px 70px rgba(74,18,98,.35); }
.edv-visual__face { width: 46%; height: 46%; color: #fff; }
.edv-visual__tag { position: absolute; display: inline-flex; align-items: center; gap: 8px; background: #fff; border-radius: 14px; padding: 10px 14px; font-size: 13px; font-weight: 700; box-shadow: 0 14px 30px rgba(20,0,30,.18); }
.edv-visual__tag svg { color: var(--edv-purple); }
.edv-visual__tag--a { top: 10%; right: 0; } .edv-visual__tag--b { bottom: 12%; left: 0; }

/* Roles */
.edv-tabs { justify-content: center; gap: 8px; margin-bottom: 30px; flex-wrap: wrap; }
.edv-tabs .nav-link { border-radius: 999px; padding: 10px 22px; font-weight: 700; color: var(--edv-muted); background: #fff; border: 1px solid var(--edv-line); }
.edv-tabs .nav-link.active { background: var(--edv-purple); color: #fff; border-color: var(--edv-purple); }
.edv-tabpane { background: #fff; border: 1px solid var(--edv-line); border-radius: 26px; padding: 36px; max-width: 980px; margin: 0 auto; box-shadow: 0 12px 40px rgba(74,18,98,.06); }
.edv-tabpane h3 { font-size: 24px; font-weight: 800; margin: 0 0 18px; letter-spacing: -.01em; }
.edv-roleart { display: grid; place-items: center; height: 190px; border-radius: 24px; background: linear-gradient(135deg, var(--edv-tint), #efe3f6); color: var(--edv-purple); }

/* Steps */
.edv-step { background: #fff; border: 1px solid var(--edv-tint-line); border-radius: 22px; padding: 30px; height: 100%; }
.edv-step__n { width: 42px; height: 42px; border-radius: 14px; background: var(--edv-purple); color: #fff; font-weight: 800; display: grid; place-items: center; margin-bottom: 16px; }
.edv-step h3 { font-size: 19px; font-weight: 700; margin: 0 0 8px; } .edv-step p { margin: 0; color: var(--edv-muted); line-height: 1.6; }

/* Pricing CTA */
.edv-pricebox { max-width: 860px; margin: 0 auto; background: #fff; border: 1px solid var(--edv-tint-line); border-radius: 26px; padding: 36px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; box-shadow: 0 14px 40px rgba(74,18,98,.08); }
.edv-pricebox__cta { display: grid; gap: 12px; }
.edv-pricebox__cta .edv-btn { justify-content: center; }

/* FAQ */
.edv-faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.edv-faq .accordion-item { border: 1px solid var(--edv-line); border-radius: 16px !important; overflow: hidden; }
.edv-faq .accordion-button { font-weight: 700; font-size: 16px; padding: 20px 22px; color: var(--edv-ink); background: #fff; box-shadow: none; }
.edv-faq .accordion-button:not(.collapsed) { color: var(--edv-purple); background: var(--edv-tint); }
.edv-faq .accordion-body { color: var(--edv-muted); line-height: 1.65; padding: 6px 22px 22px; }

/* Closing CTA */
.edv-cta { padding: 0 0 88px; }
.edv-cta__box { background: linear-gradient(135deg, var(--edv-purple-deep), var(--edv-purple)); border-radius: 30px; padding: 48px; display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; color: #fff; position: relative; overflow: hidden; }
.edv-cta__box::after { content: ''; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(245,165,36,.35), transparent 70%); }
.edv-cta__box h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin: 0 0 8px; color: #fff; letter-spacing: -.01em; }
.edv-cta__box p { margin: 0; color: rgba(255,255,255,.85); font-size: 16px; }
.edv-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .edv-hero { padding: 48px 0 64px; }
  .edv-mock { min-height: 400px; margin-top: 12px; }
  .edv-strip__grid { grid-template-columns: 1fr 1fr; }
  .edv-strip__grid > div:nth-child(2) { border-right: 0; }
  .edv-strip__grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--edv-line); }
  .edv-section { padding: 64px 0; }
  .edv-pricebox { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
  .edv-mock__dash { width: 100%; top: 0; position: relative; }
  .edv-mock__phone, .edv-mock__chip { display: none; }
  .edv-mock { min-height: 0; }
  .edv-strip__grid { grid-template-columns: 1fr; }
  .edv-strip__grid > div { border-right: 0; border-bottom: 1px solid var(--edv-line); padding: 18px 8px; }
  .edv-tabpane { padding: 22px; }
  .edv-cta__box { padding: 30px 24px; }
  .edv-hero__cta .edv-btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .edv-mock__line { animation: none; top: 50%; } html { scroll-behavior: auto; } .edv-btn, .edv-card { transition: none; } }

/* ---------- Website / reminders / AI section ---------- */
.edv-section--dark { background: linear-gradient(135deg, var(--edv-purple-deep), var(--edv-purple)); color: #fff; position: relative; overflow: hidden; }
.edv-section--dark::before { content: ''; position: absolute; left: -80px; bottom: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(245,165,36,.22), transparent 70%); }
.edv-section--dark .container { position: relative; z-index: 1; }
.edv-head--light h2 { color: #fff; }
.edv-head--light p { color: rgba(255,255,255,.82); }
.edv-section--dark .edv-eyebrow { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); color: #fff; }
.edv-feature { height: 100%; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); border-radius: 24px; padding: 30px; }
.edv-feature__icon { width: 56px; height: 56px; border-radius: 18px; background: var(--edv-amber); color: #2b1600; display: grid; place-items: center; margin-bottom: 20px; }
.edv-feature h3 { font-size: 21px; font-weight: 800; margin: 0 0 10px; color: #fff; letter-spacing: -.01em; }
.edv-feature p { color: rgba(255,255,255,.85); line-height: 1.6; margin: 0 0 16px; font-size: 15px; }
.edv-feature ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.edv-feature li { position: relative; padding-left: 24px; font-size: 14.5px; line-height: 1.5; color: rgba(255,255,255,.92); }
.edv-feature li::before { content: ''; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--edv-amber); }
.edv-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.edv-badges span { display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--edv-purple); font-size: 12.5px; font-weight: 700; padding: 7px 12px; border-radius: 999px; }

.edv-ticks li, .edv-ticks span, .edv-ticks b { color: var(--edv-ink); }
.edv-feature li, .edv-feature p, .edv-feature h3 { color: inherit; }
.edv-feature h3 { color: #fff; } .edv-feature p { color: rgba(255,255,255,.85); } .edv-feature li { color: rgba(255,255,255,.92); }
.edv-hero a, .edv-cta a { text-decoration: none; }
.edv-mock__dash, .edv-mock__dash em { color: var(--edv-ink); }

.edv-tabpane .edv-ticks li, .edv-tabpane .edv-ticks span, .edv-ticks li span { color: var(--edv-ink) !important; }

@media (min-width: 576px) and (max-width: 991px) { .edv-mock { max-width: 600px; } .edv-mock__dash { width: 74%; } .edv-mock__phone { width: 178px; height: 360px; right: -14px; } .edv-mock__chip--a { left: 6px; bottom: 28px; } }


/* ---------- Bus tracking flow ---------- */
.edv-flow { display: flex; align-items: stretch; justify-content: center; gap: 0; max-width: 1100px; margin: 0 auto; }
.edv-flow__card { flex: 1 1 0; min-width: 0; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: 24px; padding: 26px 26px 28px; }
.edv-flow__art { display: block; width: 100%; max-width: 220px; height: auto; margin: 0 auto 18px; }
.edv-flow__tag { display: block; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--edv-amber); margin-bottom: 8px; }
.edv-flow__card h3 { font-size: 21px; font-weight: 800; margin: 0 0 8px; color: #fff; letter-spacing: -.01em; }
.edv-flow__card p { margin: 0; font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.85); }
.edv-flow__link { flex: 0 0 96px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.edv-flow__link span { font-size: 12px; font-weight: 700; color: #fff; text-align: center; }
.edv-flow__link i { position: relative; display: block; width: 100%; height: 0; border-top: 4px dotted var(--edv-amber); }
.edv-flow__link i::after { content: ''; position: absolute; right: -4px; top: -10px; border-left: 12px solid var(--edv-amber); border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.edv-flow__note { text-align: center; margin: 28px 0 0; font-size: 15px; color: rgba(255,255,255,.8); }
@media (max-width: 991px) {
  .edv-flow { flex-direction: column; align-items: stretch; max-width: 460px; }
  .edv-flow__link { flex: 0 0 auto; flex-direction: row; padding: 12px 0; gap: 12px; }
  .edv-flow__link i { width: 0; height: 36px; border-top: 0; border-left: 4px dotted var(--edv-amber); }
  .edv-flow__link i::after { right: auto; left: -10px; top: auto; bottom: -4px; border-top: 12px solid var(--edv-amber); border-left: 8px solid transparent; border-right: 8px solid transparent; border-bottom: 0; }
}

/* ---------- Footer app links ---------- */
.edv-footer-apps { margin-top: 22px; }
.edv-footer-apps .title { display: block; font-weight: 700; margin-bottom: 10px; }
.edv-footer-apps__row { display: flex; flex-wrap: wrap; gap: 16px; }
.edv-footer-apps__row a { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px; text-decoration: none; }
.edv-footer-apps__row img { height: 44px; width: auto; display: block; }
.edv-footer-apps__row small { font-size: 12px; opacity: .8; color: inherit; }
