:root {
  --bg: #f4f6f8;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --line: #e5e7eb;
  --text: #0f172a;
  --muted: #475569;
  --primary: #0a66cc;
  --primary-dark: #084f9e;
  --accent: #0ea5e9;
  --ink: #0b1220;
  --shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
  --radius: 18px;
  --radius-lg: 24px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 100% -10%, #e2efff 0, transparent 42%),
    radial-gradient(circle at 0% 0%, #e8fff7 0, transparent 36%),
    var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.topbar {
  background: #030712;
  color: #e5e7eb;
  font-size: 13px;
}

.topbar .container {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(3, 7, 18, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.25s ease;
}

.site-header.scrolled {
  box-shadow: 0 14px 30px rgba(2, 6, 23, 0.4);
}

.nav-row {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  height: 46px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #e2e8f0;
  font-size: 14px;
  font-weight: 500;
}

.nav-link {
  position: relative;
  opacity: 0.95;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), #7dd3fc);
  transition: width 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.dropdown {
  position: relative;
}

.drop-trigger {
  border: 0;
  background: transparent;
  color: #e2e8f0;
  font: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
}

.drop-trigger svg {
  width: 14px;
  height: 14px;
}

.drop-panel {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%);
  width: min(740px, 90vw);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.drop-panel a {
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}

.drop-panel a:hover {
  background: var(--surface-soft);
}

.dropdown.open .drop-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 10px 18px;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #0b78df);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(10, 102, 204, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0a5ab4, var(--primary-dark));
}

.btn-secondary {
  background: #ffffff;
  color: var(--text);
  border-color: #d1d5db;
}

.btn-secondary:hover {
  background: #f8fafc;
}

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

.section {
  padding: 74px 0;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, #091325 0%, #0b1a30 55%, #102a46 100%);
  color: #ffffff;
}

.hero.has-video {
  background: #050b16;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hero-media video.ready {
  opacity: 0.42;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(3, 7, 18, 0.78) 0%, rgba(3, 7, 18, 0.56) 45%, rgba(3, 7, 18, 0.72) 100%),
    radial-gradient(circle at 86% 18%, rgba(56, 189, 248, 0.24), transparent 34%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.55;
  pointer-events: none;
}

.hero::before {
  width: 300px;
  height: 300px;
  right: -80px;
  top: -100px;
  background: #3b82f6;
}

.hero::after {
  width: 260px;
  height: 260px;
  left: -60px;
  bottom: -120px;
  background: #14b8a6;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 36px;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 6px 12px;
}

.hero h1 {
  margin: 16px 0 0;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.hero p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
  line-height: 1.7;
}

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

.panel {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(8px);
}

.panel h3 {
  margin: 0;
  font-size: 18px;
}

.panel ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  font-size: 14px;
}

.section-head {
  margin-bottom: 24px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(28px, 3.5vw, 42px);
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 12px 0 0;
  max-width: 760px;
  color: var(--muted);
  line-height: 1.72;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
}

.card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.68;
  font-size: 14px;
}

.card ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
}

.kpi {
  text-align: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.kpi strong {
  display: block;
  font-size: 28px;
  color: var(--primary);
}

.kpi span {
  color: var(--muted);
  font-size: 13px;
}

.media-showcase {
  margin-top: 22px;
}

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

.media-card {
  position: relative;
  min-height: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
}

.media-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.14) 0%, rgba(2, 6, 23, 0.76) 100%);
}

.media-card-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 22px;
}

.media-card-content h3 {
  margin: 0;
  font-size: 23px;
  letter-spacing: -0.01em;
}

.media-card-content p {
  margin: 10px 0 0;
  max-width: 420px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.7;
}

.media-card-delivery {
  background-image: url("/assets/img/bg-delivery.jpg");
}

.media-card-popular {
  background-image: url("/assets/img/bg-popular.jpg");
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.badge {
  font-size: 12px;
  color: #334155;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  padding: 6px 10px;
}

.cta-band {
  background: linear-gradient(135deg, #ffffff, #f8fbff);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  text-align: center;
}

.cta-band h3 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
}

.cta-band p {
  margin: 12px auto 0;
  max-width: 760px;
  color: var(--muted);
  line-height: 1.7;
}

.footer {
  background: #030712;
  color: #cbd5e1;
  padding: 54px 0 26px;
  margin-top: 54px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 24px;
}

.footer h4 {
  margin: 0 0 12px;
  color: #fff;
}

.footer a {
  display: block;
  margin: 6px 0;
  color: #cbd5e1;
}

.footer a:hover {
  color: #fff;
}

.copy {
  margin-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 16px;
  font-size: 12px;
  color: #94a3b8;
}

.form {
  display: grid;
  gap: 14px;
}

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

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  padding: 11px 12px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  background: #fff;
}

input:focus,
select:focus,
textarea:focus {
  outline: 0;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(10, 102, 204, 0.12);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.menu-btn,
.mobile-menu {
  display: none;
}

@media (max-width: 1024px) {
  .hero-grid,
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .topbar {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu {
    display: none;
    background: #030712;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .mobile-menu.open {
    display: block;
  }

  .mobile-menu .container {
    padding: 14px 0 18px;
    display: grid;
    gap: 8px;
  }

  .mobile-menu a {
    color: #e2e8f0;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
    font-size: 14px;
  }

  .hero-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .media-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 0;
  }

  .container {
    width: min(1200px, calc(100% - 34px));
  }
}
