/* Bunk360 marketing site. Same navy + gold language as the app. No external fonts or scripts. */
:root {
  --navy: #0b1f44;
  --navy-2: #16357a;
  --gold: #ffad08;
  --gold-2: #ffc53d;
  --ink: #0b1a33;
  --body: #33425a;
  --muted: #57667d;
  --line: #e2e8f0;
  --tint: #f3f6fb;
  --card: #ffffff;
  --green: #15803d;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(11, 31, 68, 0.05), 0 14px 34px -20px rgba(11, 31, 68, 0.3);
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, "Noto Sans", "Noto Sans Telugu", "Nirmala UI", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #fff;
  color: var(--body);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--navy-2);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.wrap {
  width: min(1180px, 100% - 32px);
  margin: 0 auto;
}

.narrow {
  width: min(780px, 100% - 32px);
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  border-radius: 8px;
  background: var(--gold);
  padding: 8px 14px;
  color: var(--navy);
  font-weight: 700;
}

.skip:focus {
  top: 12px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 20px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-lg {
  min-height: 52px;
  padding: 0 28px;
  font-size: 16px;
}

.btn-gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: var(--navy);
  box-shadow: 0 12px 24px -12px rgba(255, 173, 8, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-gold:hover {
  transform: translateY(-1px);
}

.btn-light {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  backdrop-filter: blur(6px);
}

.btn-light:hover {
  background: rgba(255, 255, 255, 0.18);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-ghost-dark {
  border-color: var(--line);
  background: #fff;
  color: var(--navy);
}

.btn-ghost-dark:hover {
  border-color: #c8d3e3;
  background: var(--tint);
}

/* ---------- Header ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 22, 51, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px -18px rgba(0, 0, 0, 0.6);
}

.top-row {
  display: flex;
  height: 68px;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand b {
  color: var(--gold);
}

.nav {
  display: flex;
  gap: 4px;
  margin-left: 12px;
}

.nav a {
  border-radius: 8px;
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.nav .nav-app {
  display: none;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.lang {
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: transparent;
  padding: 0 14px;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.lang:hover {
  background: rgba(255, 255, 255, 0.08);
}

.menu {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}

.menu span {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 22, 51, 0.96) 0%, rgba(8, 22, 51, 0.86) 42%, rgba(8, 22, 51, 0.35) 75%, rgba(8, 22, 51, 0.55) 100%),
    linear-gradient(0deg, rgba(8, 22, 51, 0.7), transparent 40%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 48px;
  padding: 88px 0 96px;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  border: 1px solid rgba(255, 197, 61, 0.45);
  border-radius: 999px;
  background: rgba(255, 173, 8, 0.12);
  padding: 6px 14px;
  color: var(--gold-2);
  font-size: 14px;
  font-weight: 700;
}

.hero h1 {
  color: #fff;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.lead {
  max-width: 560px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 1.6vw, 19px);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 600;
}

.hero-points li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--gold-2);
  font-weight: 800;
}

/* Illustrative dashboard */
.mock {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.97);
  padding: 14px;
  color: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7);
  transform: perspective(1400px) rotateY(-6deg);
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
}

.mock-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e2e8f0;
}

.mock-bar i:first-child { background: #f87171; }
.mock-bar i:nth-child(2) { background: #fbbf24; }
.mock-bar i:nth-child(3) { background: #34d399; }

.mock-bar span {
  margin-left: 8px;
  color: var(--muted);
}

.mock-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mock-kpis div,
.mock-tanks,
.mock-chart {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 10px 12px;
}

.mock small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.mock-kpis strong {
  display: block;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.mock-kpis em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.mock-kpis em.up,
.mock-kpis em.ok {
  color: var(--green);
}

.mock-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.tank {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
}

.tank b {
  position: relative;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #eef2f7;
}

.tank b::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 68%;
  border-radius: 999px;
  background: #22c55e;
}

.tank-hsd b::after {
  width: 46%;
  background: #2563eb;
}

.tank em {
  color: var(--muted);
  font-style: normal;
}

.mock-chart svg {
  width: 100%;
  height: 64px;
  margin-top: 6px;
}

.mock-chart polyline {
  fill: none;
  stroke: #2563eb;
  stroke-width: 2.5;
  vector-effect: non-scaling-stroke;
}

.mock-chart polygon {
  fill: rgba(37, 99, 235, 0.12);
}

.mock-check {
  margin-top: 10px;
  border-radius: 10px;
  background: #effaf3;
  padding: 9px 12px;
  color: #166534;
  font-size: 13px;
  font-weight: 700;
}

/* ---------- OMCs ---------- */
.omcs {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.omc-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding: 22px 0;
}

.omc-row p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.omc-row ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.omc-row img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

/* ---------- Sections ---------- */
.section {
  padding: 88px 0;
}

.section-tint {
  background: var(--tint);
}

.title {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  text-align: center;
}

.sub {
  max-width: 680px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 18px;
  text-align: center;
}

.left {
  margin-left: 0;
  text-align: left;
}

.light {
  color: #fff;
}

.sub.light {
  color: rgba(255, 255, 255, 0.85);
}

.benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 48px;
}

.benefits article,
.modules article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: 24px;
  box-shadow: var(--shadow);
}

.benefits h3,
.modules h3 {
  font-size: 18px;
}

.benefits p,
.modules p {
  margin: 8px 0 0;
  font-size: 15px;
}

.ic {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 14px;
  font-size: 22px;
  font-weight: 800;
}

.ic-blue { background: #e8f0ff; color: #1d4ed8; }
.ic-green { background: #e5f7ec; color: var(--green); }
.ic-gold { background: #fff4dc; color: #8a5300; }
.ic-violet { background: #f0ebff; color: #6d28d9; }

.modules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 48px;
}

.modules article {
  position: relative;
  padding-left: 28px;
  box-shadow: none;
}

.modules article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: var(--gold);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.steps li {
  position: relative;
}

.steps span {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--navy-2), var(--navy));
  color: var(--gold-2);
  font-size: 22px;
  font-weight: 800;
}

.steps h3 {
  font-size: 20px;
}

.steps p {
  margin: 8px 0 0;
}

/* Pricing */
.cycle {
  display: flex;
  width: max-content;
  max-width: 100%;
  gap: 4px;
  margin: 32px auto 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 4px;
}

.cycle button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  padding: 0 18px;
  color: var(--body);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.cycle button em {
  border-radius: 999px;
  background: #e5f7ec;
  padding: 2px 8px;
  color: #166534;
  font-size: 12px;
  font-style: normal;
}

.cycle button.on {
  background: linear-gradient(180deg, var(--navy-2), var(--navy));
  color: #fff;
}

.cycle button.on em {
  background: rgba(255, 197, 61, 0.2);
  color: var(--gold-2);
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 20px;
  margin-top: 36px;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  padding: 28px;
  box-shadow: var(--shadow);
}

.plan-pop {
  border: 2px solid var(--gold);
  box-shadow: 0 30px 60px -30px rgba(11, 31, 68, 0.45);
}

.tag {
  position: absolute;
  top: -14px;
  left: 28px;
  margin: 0;
  border-radius: 999px;
  background: var(--gold);
  padding: 3px 12px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

.plan h3 {
  font-size: 18px;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 14px 0 0;
}

.price strong {
  color: var(--ink);
  font-size: 40px;
  letter-spacing: -0.03em;
  line-height: 1;
}

.price span {
  color: var(--muted);
  font-weight: 600;
}

.yearly-note {
  margin: 4px 0 0;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
}

.plan ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 26px;
  padding: 0;
  list-style: none;
  font-size: 15px;
}

.plan li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--green);
  font-weight: 800;
}

.plan .btn {
  margin-top: auto;
}

.fine {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

/* Trust */
.trust {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
}

.trust-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-list li {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--tint);
  padding: 14px 18px 14px 48px;
  position: relative;
  color: var(--ink);
  font-weight: 600;
}

.trust-list li::before {
  content: "🔒";
  position: absolute;
  left: 16px;
  top: 13px;
}

/* FAQ */
details {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

details:first-of-type {
  margin-top: 40px;
}

summary {
  position: relative;
  padding: 18px 52px 18px 20px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  color: var(--navy-2);
  font-size: 24px;
  font-weight: 500;
  transform: translateY(-50%);
}

details[open] summary::after {
  content: "−";
}

details p {
  margin: 0;
  padding: 0 20px 18px;
}

/* Contact */
.contact {
  background:
    radial-gradient(60% 120% at 0% 0%, rgba(255, 173, 8, 0.16), transparent 60%),
    linear-gradient(135deg, #0d2350, #081633);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 48px;
}

.contact-ways {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.contact-ways a {
  color: var(--gold-2);
  font-size: 18px;
  font-weight: 700;
}

.demo-form {
  display: grid;
  gap: 14px;
  border-radius: 22px;
  background: #fff;
  padding: 28px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
}

.demo-form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.demo-form input,
.demo-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cfd8e6;
  border-radius: 12px;
  background: #f8fafc;
  padding: 0 14px;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

.demo-form input:focus,
.demo-form select:focus {
  border-color: var(--navy-2);
  background: #fff;
  outline: 3px solid rgba(255, 173, 8, 0.35);
  outline-offset: 0;
}

.demo-form [aria-invalid="true"] {
  border-color: #dc2626;
  background: #fff8f8;
}

.form-error {
  margin: 0;
  color: #b91c1c;
  font-size: 14px;
  font-weight: 700;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

/* 404 page */
.notfound {
  display: grid;
  min-height: 100vh;
  place-items: center;
  text-align: center;
}

.notfound img {
  margin: 0 auto 20px;
}

.notfound-cta {
  margin-top: 28px;
}

/* Footer */
.foot {
  background: #061128;
  color: rgba(255, 255, 255, 0.75);
}

.foot-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 28px 0;
  font-size: 14px;
}

.foot p {
  margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav a {
    padding: 8px 8px;
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .trust,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-grid {
    padding: 64px 0 72px;
  }
  .mock {
    max-width: 560px;
    transform: none;
  }
  .benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .modules,
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .plans .plan-pop {
    order: -1;
    grid-column: 1 / -1;
  }
  .menu {
    display: flex;
  }
  .nav {
    position: absolute;
    top: 68px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    margin: 0;
    background: #081633;
    padding: 8px 16px 16px;
    box-shadow: 0 20px 30px -20px rgba(0, 0, 0, 0.6);
  }
  .nav.open {
    display: flex;
  }
  .nav .nav-app {
    display: block;
    border-bottom: 0;
    color: var(--gold-2);
  }
  .nav a {
    padding: 14px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .signin {
    display: none;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 64px 0;
  }
  .top-row {
    gap: 12px;
  }
  .demo-top,
  .signin {
    display: none;
  }
  .benefits,
  .modules,
  .plans,
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .sub {
    font-size: 16px;
  }
  .hero-cta .btn {
    flex: 1 1 100%;
  }
  .mock-kpis strong {
    font-size: 17px;
  }
  .mock-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .omc-row {
    justify-content: center;
    text-align: center;
  }
  .omc-row ul {
    justify-content: center;
    gap: 20px;
  }
  .omc-row img {
    height: 36px;
  }
  .demo-form,
  .plan {
    padding: 22px;
  }
}

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