/* ============================================================
   AWBR INNOVATIONS — MASTER STYLESHEET
   Single source of truth for all pages
   ============================================================ */

/* ── Google Fonts ── */

/* ── Design Tokens ── */
:root {
  --bg:        #03060f;
  --bg-2:      #060c1a;
  --bg-3:      #0a1228;
  --border:    rgba(255,255,255,.08);
  --border-hi: rgba(255,255,255,.14);
  --text:      #e8edf8;
  --muted:     #8a9bb8;
  --cyan:      #38bdf8;
  --cyan-dim:  rgba(56,189,248,.12);
  --cyan-border: rgba(56,189,248,.25);
  --white:     #ffffff;
  --line:      rgba(255,255,255,.08);
  --font-sans: 'DM Sans', system-ui, sans-serif;
  --font-serif: 'DM Serif Display', Georgia, serif;
  --radius:    16px;
  --radius-lg: 24px;
  --shadow:    0 24px 64px rgba(0,0,0,.4);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }

/* ── Layout ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 32px; }

/* ── HEADER / NAV ── */
header {
  position: sticky;
  top: 0;
  z-index: 400;
  background: rgba(3,6,15,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

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

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
}
.brand-name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.2;
}
.brand-url {
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cyan);
  line-height: 1;
  margin-top: 3px;
}

/* Nav links */
nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

nav ul li > a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color .15s, background .15s;
  white-space: nowrap;
}

nav ul li > a:hover {
  color: var(--white);
  background: rgba(255,255,255,.06);
}

nav ul li > a.active {
  color: var(--white);
  font-weight: 700;
  background: none;
}

/* ── DROPDOWN ── */
.nav-dropdown {
  position: relative;
  padding-bottom: 16px;
  margin-bottom: -16px;
}

/* Hide checkbox — used only as toggle state. !important overrides mobile.css input rule */
.nav-dropdown-toggle {
  display: none !important;
  min-height: 0 !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.nav-dropdown-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  transition: color .15s, background .15s;
  white-space: nowrap;
}

.nav-dropdown:hover .nav-dropdown-label,
.nav-dropdown-toggle:checked + .nav-dropdown-label {
  color: var(--white);
  background: rgba(255,255,255,.06);
}

.nav-chevron {
  font-size: 10px;
  line-height: 1;
  transition: transform .2s ease;
  color: var(--muted);
}

.nav-dropdown:hover .nav-chevron,
.nav-dropdown-toggle:checked + .nav-dropdown-label .nav-chevron {
  transform: rotate(180deg);
  color: var(--cyan);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% - 16px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-2);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius);
  padding: 6px;
  min-width: 220px;
  list-style: none;
  z-index: 500;
  box-shadow: var(--shadow);
}

/* Desktop: hover opens menu */
.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}

/* Mobile: checkbox tap opens menu */
.nav-dropdown-toggle:checked ~ .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu li a {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
  transition: background .12s, color .12s;
  white-space: nowrap;
  background: none;
}

.nav-dropdown-menu li a:hover {
  background: var(--cyan-dim);
  color: var(--white);
}

.nav-dropdown-menu li a.active {
  background: var(--cyan-dim);
  color: var(--cyan);
  font-weight: 600;
}

/* ── TYPOGRAPHY ── */
h1 {
  font-family: var(--font-serif);
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--white);
  margin: 20px 0 24px;
}

h2 {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--white);
  margin: 12px 0 16px;
}

h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--white);
  margin: 0 0 10px;
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}

.lead {
  font-size: 18px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 680px;
}

.body-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}

/* ── BUTTONS ── */
.btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  transition: all .2s;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn.primary {
  background: var(--white);
  color: #03060f;
  border-color: var(--white);
}

.btn.primary:hover {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #03060f;
}

.btn.secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-hi);
}

.btn.secondary:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.2);
}

/* ── HERO ── */
.hero {
  padding: 100px 0 80px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(56,189,248,.07), transparent),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(56,189,248,.04), transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}

/* ── STRIP ── */
.strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  padding: 20px 0;
}

.strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.strip-item {
  padding: 8px 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--muted);
}

.strip-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: .5;
}

/* ── SECTIONS ── */
.section { padding: 88px 0; }
.section + .section { padding-top: 0; }

.section-header {
  max-width: 680px;
  margin-bottom: 48px;
}

.section-header p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 8px;
}

/* ── GRIDS ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ── CARDS ── */
.card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color .2s;
}

.card:hover { border-color: var(--border-hi); }

.card-icon { font-size: 26px; margin-bottom: 18px; display: block; }
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { font-size: 15px; line-height: 1.75; color: var(--muted); margin: 0; }

/* ── PANEL STACK ── */
.panel-stack { display: grid; gap: 14px; }

.panel {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
}

.panel-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 8px;
}

.panel-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
}

/* ── PLATFORM STACKED ── */
.platform-stacked {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.platform-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: start;
  padding: 48px;
  background: var(--bg-2);
}

.platform-row + .platform-row { border-top: 1px solid var(--border); }

.platform-logo-col {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6px;
}

.platform-bullets { display: grid; gap: 14px; margin-top: 20px; }

.pbullet {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}

.pbullet-arrow { color: var(--cyan); font-weight: 700; padding-top: 1px; }
.pbullet strong { color: var(--text); }

/* ── SPLIT LAYOUT ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ── CTA BAND ── */
.cta-band {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.cta-band h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  margin-bottom: 8px;
}

.cta-band p { font-size: 16px; color: var(--muted); line-height: 1.7; }
.cta-actions { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }

/* ── STEP CARDS ── */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.step-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.step-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}

.step-card h3 { font-size: 17px; margin-bottom: 8px; }
.step-card p { font-size: 14px; line-height: 1.7; color: var(--muted); }

/* ── FORMS ── */
form { display: grid; gap: 14px; }

input, textarea, select {
  width: 100%;
  background: var(--bg-3);
  color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  font: inherit;
  font-size: 15px;
  transition: border-color .15s;
  -webkit-appearance: none;
  appearance: none;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--cyan-border);
}

input::placeholder, textarea::placeholder { color: var(--muted); }

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a9bb8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-color: var(--bg-3);
  cursor: pointer;
}

select option { background: var(--bg-3); color: var(--text); }
textarea { min-height: 140px; resize: vertical; }

/* ── BADGE ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--cyan-border);
  background: var(--cyan-dim);
  color: #bae6fd;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.8); }
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding: 56px 0 40px;
}

.footer-brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.footer-brand-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 6px;
}

.footer-brand-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}

.footer-col a,
.footer-col span {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 10px;
  transition: color .15s;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0 28px;
  font-size: 13px;
  color: var(--muted);
}

/* ── CUSTOM SELECT (main.js) ── */
.custom-select-wrapper { position: relative; width: 100%; }
.custom-select-selected {
  width: 100%;
  background: var(--bg-3);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 40px 14px 16px;
  font: inherit;
  font-size: 15px;
  cursor: pointer;
  user-select: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a9bb8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.custom-select-selected.placeholder { color: var(--muted); }
.custom-select-wrapper.open .custom-select-selected { border-color: var(--cyan-border); border-radius: var(--radius) var(--radius) 0 0; }
.custom-select-options { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-3); border: 1px solid var(--cyan-border); border-top: none; border-radius: 0 0 var(--radius) var(--radius); z-index: 100; overflow: hidden; }
.custom-select-option { padding: 13px 16px; color: var(--text); cursor: pointer; font-size: 15px; transition: background .12s; }
.custom-select-option:hover { background: var(--cyan-dim); color: var(--white); }

/* ── MOBILE ── */
@media (max-width: 980px) {
  .container { padding: 0 20px; }
  .hero-grid,
  .grid-2,
  .grid-3,
  .split,
  .cta-band,
  .footer-main,
  .steps-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
  .platform-row { grid-template-columns: 1fr !important; gap: 24px !important; padding: 32px !important; }
  .platform-logo-col { justify-content: flex-start !important; }
  .cta-band { padding: 32px !important; }
  .cta-actions { flex-direction: row; flex-wrap: wrap; }
  .hero { padding: 64px 0 56px; }
  .section { padding: 64px 0; }
  h1 { font-size: clamp(36px, 8vw, 52px); }
  h2 { font-size: clamp(28px, 6vw, 38px); }
  header { position: relative; }
  .nav { flex-direction: column; height: auto; padding: 16px 0; gap: 12px; align-items: flex-start; }
  .brand { width: 100%; }
  nav { width: 100%; }
  nav ul { flex-wrap: wrap; gap: 4px; }
  nav ul li > a { font-size: 13px; padding: 6px 10px; }
  .nav-dropdown { padding-bottom: 0 !important; margin-bottom: 0 !important; }
  .nav-dropdown-label { font-size: 13px; padding: 6px 10px; cursor: pointer; }
  .nav-dropdown-menu {
    position: static !important;
    transform: none !important;
    box-shadow: none !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius) !important;
    margin-top: 4px !important;
    display: none !important;
    width: 100% !important;
    left: auto !important;
  }
  .nav-dropdown:hover .nav-dropdown-menu { display: none !important; }
  .nav-dropdown-toggle:checked ~ .nav-dropdown-menu { display: block !important; }
  .footer-main { gap: 32px; padding: 40px 0 32px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  h1 { font-size: 34px; }
  h2 { font-size: 26px; }
  .lead { font-size: 16px; }
  .card { padding: 24px; }
  .hero { padding: 48px 0 40px; }
  .section { padding: 48px 0; }
}
