:root {
  --green: #009a3e;
  --green-dark: #006b2d;
  --green-soft: #eaf8ef;
  --blue: #2417e8;
  --red: #f1262d;
  --ink: #10241a;
  --muted: #627167;
  --cream: #f6faf7;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(10, 60, 31, .14);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--cream);
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 5% 5%, rgba(0,154,62,.10), transparent 25%),
    radial-gradient(circle at 95% 12%, rgba(36,23,232,.08), transparent 25%),
    var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ambient {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(30px);
  opacity: .13;
  z-index: -1;
  pointer-events: none;
}

.ambient-one { background: var(--green); top: -250px; left: -180px; }
.ambient-two { background: var(--blue); top: 180px; right: -300px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 10px 12px 10px 10px;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 20px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 10px 35px rgba(25,71,43,.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(0,154,62,.18);
  box-shadow: 0 6px 15px rgba(0,154,62,.12);
}

.brand span { display: grid; }
.brand strong { font-size: 1.02rem; letter-spacing: .02em; }
.brand small { margin-top: 2px; color: var(--muted); font-size: .72rem; }

.install-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  border: 0;
  border-radius: 13px;
  color: white;
  background: var(--ink);
  cursor: pointer;
  font-weight: 750;
}

.install-button svg { width: 18px; }

main {
  width: min(1180px, calc(100% - 32px));
  margin: 22px auto 0;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  min-height: 520px;
  padding: clamp(34px, 6vw, 72px);
  overflow: hidden;
  border-radius: var(--radius-xl);
  color: white;
  background:
    linear-gradient(135deg, rgba(0,107,45,.96), rgba(0,154,62,.92) 48%, rgba(25,32,112,.94)),
    #007733;
  box-shadow: var(--shadow);
}

.hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -220px;
  bottom: -260px;
  border-radius: 50%;
  border: 80px solid rgba(255,255,255,.06);
}

.hero::after {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  left: -120px;
  top: -130px;
  border-radius: 50%;
  background: rgba(241,38,45,.14);
}

.hero-copy, .hero-emblem { position: relative; z-index: 2; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
}

.eyebrow.dark { color: var(--green-dark); }

.hero h1 {
  margin: 0;
  max-width: 650px;
  font-size: clamp(2.5rem, 5vw, 5.15rem);
  line-height: .96;
  letter-spacing: -.055em;
}

.hero h1 span { color: #caffd9; }

.hero p {
  max-width: 600px;
  margin: 24px 0 0;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.65;
  color: rgba(255,255,255,.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 13px 20px;
  border: 0;
  border-radius: 15px;
  cursor: pointer;
  font-weight: 820;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button svg { width: 21px; height: 21px; }

.button-primary {
  color: var(--green-dark);
  background: white;
  box-shadow: 0 10px 25px rgba(0,0,0,.14);
}

.button-light {
  color: white;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
}

.button-dark {
  color: white;
  background: var(--ink);
}

.hero-emblem {
  display: grid;
  place-items: center;
  min-height: 360px;
}

.emblem-ring {
  width: min(340px, 80%);
  aspect-ratio: 1;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  background: rgba(255,255,255,.10);
  box-shadow:
    inset 0 0 0 12px rgba(255,255,255,.05),
    0 30px 70px rgba(0,0,0,.20);
  backdrop-filter: blur(12px);
}

.emblem-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: white;
}

.floating-pill {
  position: absolute;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  color: white;
  background: rgba(10,36,25,.56);
  box-shadow: 0 12px 30px rgba(0,0,0,.16);
  backdrop-filter: blur(12px);
  font-size: .78rem;
  font-weight: 800;
}

.pill-one { top: 17%; right: 2%; }
.pill-two { bottom: 15%; left: 2%; }

.quick-section { padding: 74px 0 24px; }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.section-heading h2,
.install-panel h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  letter-spacing: -.045em;
}

.secure-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--green-dark);
  background: var(--green-soft);
  font-size: .78rem;
  font-weight: 750;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(0,154,62,.12);
}

.access-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.access-card {
  position: relative;
  display: flex;
  min-height: 290px;
  flex-direction: column;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(16,36,26,.07);
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: 0 14px 38px rgba(29,67,42,.08);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.access-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,154,62,.20);
  box-shadow: 0 20px 48px rgba(29,67,42,.13);
}

.access-card::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  right: -58px;
  top: -58px;
  border-radius: 50%;
  opacity: .10;
}

.campus-card::after { background: var(--green); }
.website-card::after { background: var(--blue); }
.whatsapp-card::after { background: #25d366; }

.card-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  color: white;
}

.campus-card .card-icon { background: linear-gradient(145deg, var(--green), var(--green-dark)); }
.website-card .card-icon { background: linear-gradient(145deg, var(--blue), #13108a); }
.whatsapp-card .card-icon { background: linear-gradient(145deg, #25d366, #128c4a); }

.card-icon svg { width: 26px; height: 26px; }

.card-content { margin-top: auto; }
.card-content small {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-weight: 700;
}
.card-content strong {
  display: block;
  font-size: 1.45rem;
  letter-spacing: -.025em;
}
.card-content p {
  margin: 11px 0 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: .94rem;
}

.card-arrow {
  position: absolute;
  right: 22px;
  bottom: 20px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: white;
  background: var(--ink);
  font-weight: 900;
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 34px 0;
  padding: 20px 24px;
  border: 1px solid rgba(0,154,62,.10);
  border-radius: var(--radius-lg);
  background: linear-gradient(90deg, white, #f1fbf5);
  box-shadow: 0 12px 34px rgba(29,67,42,.06);
}

.contact-profile {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-profile img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(0,154,62,.15);
}

.contact-profile div { display: grid; }
.contact-profile span { color: var(--muted); font-size: .76rem; }
.contact-profile strong { margin-top: 3px; font-size: 1.05rem; }
.contact-profile small { margin-top: 3px; color: var(--green-dark); font-weight: 750; }

.contact-number {
  display: grid;
  justify-items: end;
  padding: 12px 16px;
  border-radius: 15px;
  background: white;
  box-shadow: 0 8px 22px rgba(29,67,42,.07);
}

.contact-number span { color: var(--muted); font-size: .74rem; }
.contact-number strong { margin-top: 3px; color: var(--green-dark); }

.install-panel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  margin: 60px 0;
  padding: 30px;
  border-radius: var(--radius-xl);
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255,255,255,.94), rgba(234,248,239,.95)),
    white;
  border: 1px solid rgba(0,154,62,.12);
  box-shadow: var(--shadow);
}

.install-icon {
  width: 92px;
  height: 92px;
  padding: 7px;
  border-radius: 24px;
  background: white;
  box-shadow: 0 14px 32px rgba(0,154,62,.15);
}

.install-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 19px;
}

.install-panel p {
  max-width: 650px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

footer {
  display: grid;
  justify-items: center;
  gap: 8px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 20px 110px;
  text-align: center;
  color: var(--muted);
}

footer img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 15px;
}

footer p, footer small { margin: 0; }
footer p { font-size: .9rem; }

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: max(10px, env(safe-area-inset-bottom));
  z-index: 30;
  display: none;
  grid-template-columns: repeat(4, 1fr);
  width: min(430px, calc(100% - 20px));
  padding: 8px;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 22px;
  background: rgba(255,255,255,.90);
  box-shadow: 0 18px 48px rgba(14,50,28,.22);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.bottom-nav a {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 7px 4px;
  border-radius: 14px;
  color: var(--muted);
  font-size: .66rem;
  font-weight: 760;
}

.bottom-nav a:active {
  color: var(--green-dark);
  background: var(--green-soft);
}

.bottom-nav svg { width: 21px; height: 21px; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 92px;
  z-index: 50;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 12px 16px;
  border-radius: 13px;
  color: white;
  background: var(--ink);
  box-shadow: 0 12px 30px rgba(0,0,0,.2);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 14px);
  transition: .25s ease;
  font-size: .84rem;
  font-weight: 700;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

dialog {
  width: min(420px, calc(100% - 32px));
  padding: 30px;
  border: 0;
  border-radius: 26px;
  box-shadow: 0 30px 90px rgba(0,0,0,.28);
}

dialog::backdrop {
  background: rgba(9,31,18,.62);
  backdrop-filter: blur(4px);
}

dialog img {
  width: 78px;
  height: 78px;
  border-radius: 20px;
}

dialog h2 { margin: 18px 0 10px; }
dialog p { color: var(--muted); line-height: 1.55; }
.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--green-soft);
  cursor: pointer;
  font-size: 1.4rem;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    text-align: center;
  }
  .hero-copy { display: grid; justify-items: center; }
  .hero-emblem { min-height: 320px; margin-top: 12px; }
  .access-grid { grid-template-columns: 1fr; }
  .access-card { min-height: 220px; }
  .install-panel { grid-template-columns: auto 1fr; }
  .install-panel .button { grid-column: 1 / -1; width: 100%; }
}

@media (max-width: 620px) {
  .topbar, main, footer { width: min(100% - 20px, 1180px); }
  .topbar { margin-top: 10px; }
  .brand small { display: none; }
  .brand img { width: 44px; height: 44px; }
  .install-button { padding: 9px 11px; font-size: .82rem; }

  main { margin-top: 12px; }

  .hero {
    padding: 34px 22px 28px;
    border-radius: 25px;
  }

  .hero h1 { font-size: clamp(2.4rem, 13vw, 3.7rem); }
  .hero p { font-size: .98rem; }
  .hero-actions { display: grid; width: 100%; }
  .button { width: 100%; }

  .hero-emblem { min-height: 270px; }
  .emblem-ring { width: min(260px, 82%); padding: 12px; }
  .floating-pill { font-size: .68rem; padding: 8px 10px; }

  .quick-section { padding-top: 48px; }
  .section-heading { align-items: start; flex-direction: column; }
  .section-heading h2, .install-panel h2 { font-size: 2rem; }

  .access-card {
    min-height: 235px;
    padding: 21px;
    border-radius: 21px;
  }

  .contact-panel {
    align-items: stretch;
    flex-direction: column;
    padding: 18px;
  }

  .contact-number { justify-items: start; }

  .install-panel {
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 23px;
    border-radius: 24px;
  }

  .install-icon { width: 78px; height: 78px; }

  .bottom-nav { display: grid; }
  footer { padding-bottom: 130px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
