:root {
  --green: #009a3e;
  --green-dark: #006b2d;
  --green-deep: #064a25;
  --green-soft: #eaf8ef;
  --blue: #2417e8;
  --blue-deep: #17108f;
  --blue-soft: #eeecff;
  --red: #f1262d;
  --red-deep: #b80f19;
  --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,.82); box-shadow: 0 10px 35px rgba(25,71,43,.08);
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 11px; min-width: 0; }
.brand img { width: 48px; height: 48px; flex: 0 0 auto; 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; min-width: 0; }
.brand strong { font-size: 1.02rem; letter-spacing: .02em; }
.brand small { margin-top: 2px; color: var(--muted); font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-actions { display: flex; align-items: center; gap: 8px; }
.icon-button, .install-button { border: 0; cursor: pointer; }
.icon-button { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; color: var(--green-dark); background: var(--green-soft); }
.icon-button svg { width: 19px; height: 19px; }
.install-button { display: inline-flex; align-items: center; gap: 7px; padding: 10px 14px; border-radius: 13px; color: white; background: var(--ink); 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: 540px; padding: clamp(34px, 6vw, 72px); overflow: hidden;
  border-radius: var(--radius-xl); color: white;
  background: linear-gradient(135deg, rgba(0,92,39,.98), rgba(0,154,62,.93) 47%, rgba(25,32,112,.96)), #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: 630px; margin: 24px 0 0; font-size: clamp(1rem, 1.6vw, 1.18rem); line-height: 1.65; color: rgba(255,255,255,.84); }
.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: 380px; }
.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: 15%; right: 1%; }
.pill-two { bottom: 17%; left: 0; }
.pill-three { bottom: 7%; right: 4%; }

.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: 285px; flex-direction: column; padding: 24px; overflow: hidden; text-align: left; 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; cursor: pointer; }
button.access-card { width: 100%; color: inherit; font: inherit; }
.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, .install-card::after { background: var(--green); }
.website-card::after { background: var(--green-deep); }
.library-card::after { background: var(--blue); }
.youtube-card::after { background: var(--red); }
.whatsapp-card::after { background: #25d366; }
.card-topline { align-self: flex-end; padding: 6px 9px; border-radius: 999px; color: var(--muted); background: #f1f5f2; font-size: .65rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.card-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-top: -22px; 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(--green-deep), #082b18); }
.library-card .card-icon { background: linear-gradient(145deg, var(--blue), var(--blue-deep)); }
.youtube-card .card-icon { background: linear-gradient(145deg, var(--red), var(--red-deep)); }
.whatsapp-card .card-icon { background: linear-gradient(145deg, #25d366, #128c4a); }
.install-card .card-icon { color: var(--green-dark); background: var(--green-soft); }
.card-icon svg { width: 26px; height: 26px; }
.card-content { margin-top: auto; padding-right: 28px; }
.card-content small { display: block; margin-bottom: 8px; color: var(--muted); font-weight: 700; }
.card-content strong { display: block; font-size: 1.42rem; 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; }
.access-card[aria-disabled="true"] { opacity: .58; cursor: not-allowed; }


.social-section { margin: 54px 0 34px; padding: 34px; border: 1px solid rgba(0,154,62,.10); border-radius: var(--radius-xl); background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(238,250,242,.96)); box-shadow: 0 18px 50px rgba(29,67,42,.08); }
.social-heading { margin-bottom: 20px; }
.social-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.social-card { --social-accent: var(--green); position: relative; display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 13px; min-height: 82px; padding: 15px 16px; overflow: hidden; border: 1px solid rgba(16,36,26,.07); border-radius: 18px; background: white; box-shadow: 0 8px 24px rgba(29,67,42,.06); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.social-card::before { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: var(--social-accent); opacity: .9; }
.social-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--social-accent) 28%, transparent); box-shadow: 0 14px 30px rgba(29,67,42,.10); }
.social-card > span:nth-child(2) { display: grid; min-width: 0; }
.social-card strong { font-size: 1rem; }
.social-card small { margin-top: 3px; overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; font-size: .74rem; }
.social-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; color: white; background: var(--social-accent); box-shadow: 0 8px 20px color-mix(in srgb, var(--social-accent) 26%, transparent); }
.social-icon svg { width: 25px; height: 25px; }
.social-letter { font-size: 1.65rem; font-weight: 900; line-height: 1; font-family: Arial, sans-serif; }
.x-letter { font-size: 1.35rem; }
.social-arrow { color: var(--social-accent); font-size: 1.15rem; font-weight: 900; }
.social-card.instagram { --social-accent: #c13584; }
.social-card.facebook { --social-accent: #1877f2; }
.social-card.tiktok { --social-accent: #111111; }
.social-card.x-social { --social-accent: #111111; }
.social-card.pinterest { --social-accent: #bd081c; }
.social-card.telegram { --social-accent: #229ed9; }
.social-card[aria-disabled="true"] { opacity: .58; cursor: not-allowed; }

.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); }

.feature-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 36px 0 0; }
.feature-strip div { display: grid; justify-items: center; padding: 18px 12px; border: 1px solid rgba(0,154,62,.09); border-radius: 18px; background: rgba(255,255,255,.72); text-align: center; }
.feature-strip strong { color: var(--green-dark); font-size: 1.25rem; }
.feature-strip span { margin-top: 3px; color: var(--muted); font-size: .76rem; }

.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; }
footer .bunker-credit { margin-top: 4px; font-size: .72rem; opacity: .72; }
footer .bunker-credit a { color: inherit; font-weight: 800; text-decoration: none; }
footer .bunker-credit a:hover { text-decoration: underline; opacity: 1; }

.bottom-nav { position: fixed; left: 50%; bottom: max(10px, env(safe-area-inset-bottom)); z-index: 30; display: none; grid-template-columns: repeat(5, 1fr); width: min(520px, calc(100% - 20px)); padding: 8px; border: 1px solid rgba(255,255,255,.82); border-radius: 22px; background: rgba(255,255,255,.92); 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 2px; border-radius: 14px; color: var(--muted); font-size: .59rem; font-weight: 760; }
.bottom-nav a:active { color: var(--green-dark); background: var(--green-soft); }
.bottom-nav svg { width: 20px; height: 20px; }

.toast { position: fixed; left: 50%; bottom: 96px; 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: 330px; margin-top: 12px; }
  .access-grid { grid-template-columns: repeat(2, 1fr); }
  .social-grid { grid-template-columns: repeat(2, 1fr); }
  .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: 285px; }
  .emblem-ring { width: min(260px, 82%); padding: 12px; }
  .floating-pill { font-size: .65rem; padding: 8px 9px; }
  .pill-one { top: 13%; right: -1%; }
  .pill-two { bottom: 18%; left: -1%; }
  .pill-three { bottom: 5%; right: 2%; }
  .quick-section { padding-top: 48px; }
  .section-heading { align-items: start; flex-direction: column; }
  .section-heading h2, .install-panel h2 { font-size: 2rem; }
  .access-grid { grid-template-columns: 1fr; }
  .access-card { min-height: 235px; padding: 21px; border-radius: 21px; }
  .social-section { margin-top: 42px; padding: 23px 18px; border-radius: 24px; }
  .social-grid { grid-template-columns: 1fr; }
  .social-card { min-height: 76px; padding: 13px 14px; }
  .contact-panel { align-items: stretch; flex-direction: column; padding: 18px; }
  .contact-number { justify-items: start; }
  .feature-strip { grid-template-columns: repeat(2, 1fr); }
  .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; } }
