/* =========================================================
   Elite Rocket Site — styles
   Brand colors are sampled from the official logo.
   To change a color everywhere, edit it once here.
   ========================================================= */
:root {
  /* Backgrounds (dark navy, from the "Elite" lettering) */
  --navy-950: #060E24;
  --navy-900: #0B1736;
  --navy-800: #0F1F45;
  --navy-700: #182D5E;
  --logo-navy: #0D1B3D;

  /* Logo blues */
  --blue: #1E86FF;        /* "Rocket Site" lettering */
  --blue-deep: #0B57E3;   /* growth bars */
  --blue-light: #4FAEFF;  /* swoosh highlight — used for text on dark */

  /* Logo flame */
  --orange: #FF8A1E;
  --orange-hover: #FFA040;
  --flame: #FFC531;

  /* Text */
  --text: #FFFFFF;
  --muted: #B9C6E2;
  --line: rgba(255, 255, 255, 0.09);

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 96px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--navy-900);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 0.6em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.25rem, 6vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--blue-light); }
a:hover { color: var(--text); }
:focus-visible { outline: 3px solid var(--flame); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 820px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--orange); color: var(--navy-950); padding: 10px 16px;
  border-radius: var(--radius-sm); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Clearly marked placeholder text — replace before launch */
.placeholder {
  display: inline-block; padding: 1px 8px; border: 1px dashed var(--flame);
  border-radius: 6px; color: var(--flame); font-size: 0.9em; font-weight: 600;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 26px; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--orange); color: var(--navy-950);
  box-shadow: 0 10px 28px -10px rgba(255, 138, 30, 0.7);
}
.btn-primary:hover { background: var(--orange-hover); color: var(--navy-950); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: var(--text); }
.btn-sm { min-height: 44px; padding: 8px 20px; font-size: 0.95rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 23, 54, 0.88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
/* The logo is shown unaltered on a white badge so its dark "Elite" text stays readable on the navy site. */
.logo-badge {
  display: inline-flex; align-items: center; justify-content: center;
  background: #FFFFFF; border-radius: 12px; padding: 4px 6px;
  box-shadow: 0 6px 20px -8px rgba(30, 134, 255, 0.6);
}
.logo-badge img { height: 80px; width: auto; }
.brand-text { display: none; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; }
.brand-text span { color: var(--blue-light); }
/* Fallback if images/logo.png hasn't been added yet */
.brand.logo-missing .logo-badge { display: none; }
.brand.logo-missing .brand-text { display: inline; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.site-nav a:not(.btn) {
  display: block; padding: 10px 12px; color: var(--muted); text-decoration: none;
  font-weight: 600; font-size: 0.95rem; border-radius: 8px;
}
.site-nav a:not(.btn):hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav-cta { margin-left: 10px; }

.nav-toggle {
  display: none; width: 48px; height: 48px; border: 1px solid var(--line);
  background: var(--navy-800); border-radius: 12px; cursor: pointer; position: relative;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  position: absolute; left: 50%; width: 22px; height: 2px; margin-left: -11px;
  background: var(--text); border-radius: 2px; transition: transform .25s, opacity .25s;
}
.nav-toggle-bar { top: 50%; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; left: 0; margin-left: 0; }
.nav-toggle-bar::before { top: -7px; }
.nav-toggle-bar::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(56px, 9vw, 110px) 0 clamp(64px, 9vw, 120px);
  background:
    radial-gradient(700px 420px at 85% 20%, rgba(30, 134, 255, 0.28), transparent 70%),
    radial-gradient(500px 360px at 0% 100%, rgba(11, 87, 227, 0.25), transparent 70%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
}
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-block; margin-bottom: 14px; font-size: 0.85rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--orange);
}
.accent {
  background: linear-gradient(90deg, var(--orange), var(--flame));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(1.1rem, 2.2vw, 1.25rem); color: var(--muted); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 28px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue); box-shadow: 0 0 0 4px rgba(30, 134, 255, 0.2);
}

/* Decorative mock-up (illustration only) */
.hero-visual { position: relative; }
.mock-browser {
  background: var(--navy-800); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow), 0 0 80px -30px rgba(30, 134, 255, 0.6); overflow: hidden;
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: var(--navy-700); }
.mock-bar > span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); }
.mock-url { flex: 1; height: 10px; margin-left: 10px; border-radius: 99px; background: rgba(255, 255, 255, 0.1); }
.mock-body { padding: 26px 24px 28px; }
.mock-line { height: 12px; border-radius: 99px; background: rgba(255, 255, 255, 0.12); margin-bottom: 12px; }
.mock-line.strong { height: 20px; background: rgba(255, 255, 255, 0.85); }
.mock-line.blue { background: var(--blue); }
.w45 { width: 45%; } .w60 { width: 60%; } .w80 { width: 80%; }
.mock-buttons { display: flex; gap: 10px; margin: 20px 0 24px; }
.mock-btn { width: 96px; height: 30px; border-radius: 99px; }
.mock-btn.orange { background: var(--orange); }
.mock-btn.ghost { border: 2px solid var(--blue); }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-cards div { height: 70px; border-radius: 10px; background: rgba(30, 134, 255, 0.14); border: 1px solid rgba(30, 134, 255, 0.25); }
.mock-search {
  position: absolute; left: -28px; bottom: -34px; width: 62%;
  background: #FFFFFF; color: var(--logo-navy); border-radius: 14px; padding: 14px 16px 6px;
  box-shadow: var(--shadow);
}
.mock-search-row { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.9rem; margin-bottom: 12px; color: #4A5878; }
.mock-search .mock-line { background: #DCE4F2; height: 9px; margin-bottom: 9px; }
.mock-search .mock-line.blue { background: var(--blue); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-alt { background: var(--navy-950); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head p:last-child { color: var(--muted); }
.center-text { text-align: center; color: var(--muted); margin-top: 32px; }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 960px; margin: 0 auto; }

.card {
  background: linear-gradient(180deg, var(--navy-800), rgba(15, 31, 69, 0.6));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px;
  transition: border-color .25s, transform .25s;
}
.card:hover { border-color: rgba(30, 134, 255, 0.5); transform: translateY(-4px); }
.card > p { color: var(--muted); }

.icon {
  width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 20px;
  border-radius: 14px; color: var(--text);
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  box-shadow: 0 10px 24px -10px rgba(30, 134, 255, 0.8);
}
.icon svg { width: 26px; height: 26px; }

.checklist { list-style: none; padding: 0; margin: 0 0 4px; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.3em; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(255, 138, 30, 0.15)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF8A1E' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- Pricing ---------- */
.price-feature {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; max-width: 960px; margin: 0 auto;
  padding: 40px; border-radius: 22px;
  background:
    radial-gradient(500px 300px at 0% 0%, rgba(30, 134, 255, 0.22), transparent 70%),
    var(--navy-800);
  border: 1px solid rgba(30, 134, 255, 0.45); box-shadow: var(--shadow);
}
.price-feature-main > p:not(.price) { color: var(--muted); }
.price-feature-list h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--blue-light); margin-bottom: 16px; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.price-from { width: 100%; font-size: 0.85rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.price-amount { font-size: clamp(2.5rem, 6vw, 3.25rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.price-term { color: var(--muted); font-weight: 600; }
.note {
  max-width: 960px; margin: 28px auto 0; padding: 18px 22px; border-radius: var(--radius-sm);
  background: rgba(255, 197, 49, 0.06); border-left: 4px solid var(--flame);
  color: var(--muted); font-size: 0.97rem;
}
.note strong { color: var(--text); }

.excludes-title { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin: 24px 0 12px; }
.excludes { list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: 0.95rem; }
.excludes li { position: relative; padding-left: 30px; margin-bottom: 8px; }
.excludes li::before {
  content: ""; position: absolute; left: 0; top: 0.3em; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.07)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B9C6E2' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E") center / 10px no-repeat;
}

.plan { display: flex; flex-direction: column; }
.plan .excludes { margin-bottom: 28px; flex: 1; }
.plan .btn { align-self: flex-start; }
.plan-featured { border-color: rgba(255, 138, 30, 0.55); position: relative; }
.plan-tag {
  position: absolute; top: -13px; left: 28px; margin: 0; padding: 3px 12px; border-radius: 999px;
  background: var(--orange); color: var(--navy-950); font-size: 0.78rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.06em;
}

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: none; }
.step {
  position: relative; padding: 30px 24px; border-radius: var(--radius);
  background: var(--navy-800); border: 1px solid var(--line);
}
.step p { color: var(--muted); margin: 0; }
.step-num {
  display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px; border-radius: 50%;
  font-weight: 800; font-size: 1.15rem; color: var(--navy-950);
  background: linear-gradient(135deg, var(--flame), var(--orange));
}

/* ---------- Industries ---------- */
.industries { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.industry {
  text-align: center; padding: 28px 18px; border-radius: var(--radius);
  background: var(--navy-800); border: 1px solid var(--line); transition: border-color .25s, transform .25s;
}
.industry:hover { border-color: rgba(30, 134, 255, 0.5); transform: translateY(-4px); }
.industry .icon { margin: 0 auto 16px; }
.industry h3 { font-size: 1.08rem; }
.industry p { color: var(--muted); font-size: 0.93rem; margin: 0; }

/* ---------- FAQ ---------- */
.faq details {
  background: var(--navy-800); border: 1px solid var(--line); border-radius: var(--radius-sm);
  margin-bottom: 12px; transition: border-color .2s;
}
.faq details[open] { border-color: rgba(30, 134, 255, 0.5); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 20px 56px 20px 22px; font-weight: 700; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2.5px solid var(--orange); border-bottom: 2.5px solid var(--orange);
  transform: rotate(45deg); transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-body { padding: 0 22px 6px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact {
  background:
    radial-gradient(600px 400px at 100% 0%, rgba(30, 134, 255, 0.2), transparent 70%),
    var(--navy-900);
}
.contact-inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.contact-copy > p { color: var(--muted); }
.contact-details { margin: 28px 0 0; display: grid; gap: 12px; }
.contact-details div { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
.contact-details dt { font-weight: 700; min-width: 110px; }
.contact-details dd { margin: 0; }

.quote-form {
  background: var(--navy-800); border: 1px solid rgba(30, 134, 255, 0.35);
  border-radius: 22px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin: 0 0 18px; }
fieldset.field { border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 7px; padding: 0; }
.req { color: var(--orange); }
.optional { color: var(--muted); font-weight: 400; font-size: 0.88rem; }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--navy-950); border: 1.5px solid rgba(255, 255, 255, 0.16); border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #8090B2; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(30, 134, 255, 0.25); }
.field input[aria-invalid="true"] { border-color: #FF6B6B; }
.checkbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check {
  display: flex !important; align-items: center; gap: 10px; min-height: 48px; padding: 10px 14px; margin: 0 !important;
  border: 1.5px solid rgba(255, 255, 255, 0.16); border-radius: var(--radius-sm); background: var(--navy-950);
  cursor: pointer; font-weight: 500 !important; transition: border-color .2s, background-color .2s;
}
.check:hover { border-color: var(--blue); }
.check input { width: 20px; height: 20px; accent-color: var(--orange); flex-shrink: 0; }
.check:has(input:checked) { border-color: var(--orange); background: rgba(255, 138, 30, 0.08); }
.form-error { color: #FF8A8A; font-weight: 600; margin: -4px 0 14px; }
.form-notice { padding: 14px 16px; border-radius: var(--radius-sm); background: rgba(30, 134, 255, 0.12); border: 1px solid var(--blue); margin: 0 0 14px; }
.form-fineprint { color: var(--muted); font-size: 0.85rem; margin: 14px 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); border-top: 1px solid var(--line); padding: 56px 0 24px; }
.footer-inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.footer-brand p { color: var(--muted); margin-top: 16px; max-width: 30em; }
.brand-footer .logo-badge img { height: 120px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.footer-links a { color: var(--muted); text-decoration: none; display: inline-block; padding: 6px 0; }
.footer-links a:hover { color: var(--text); }
.footer-contact p { margin-bottom: 10px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--muted); }

/* ---------- Simple pages (thank-you, privacy, 404) ---------- */
.page-simple { min-height: 60vh; padding: clamp(56px, 9vw, 100px) 0; }
.page-simple .container { max-width: 760px; }
.page-simple p, .page-simple li { color: var(--muted); }
.page-simple h2 { font-size: 1.35rem; margin-top: 2em; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .industries { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  :root { --header-h: 80px; }
  .logo-badge img { height: 64px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--navy-950); border-bottom: 1px solid var(--line);
    padding: 12px 20px 24px; display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-nav a:not(.btn) { padding: 14px 12px; font-size: 1.05rem; }
  .nav-cta { margin: 12px 0 0; }
  .nav-cta .btn { width: 100%; min-height: 50px; }

  .hero-inner, .contact-inner, .price-feature { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin: 10px auto 30px; width: 100%; }
  .grid-3 { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .grid-2, .form-row, .checkbox-grid { grid-template-columns: 1fr; }
  .form-row { gap: 0; }
  .industries { grid-template-columns: 1fr 1fr; }
  .industry:last-child { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .mock-search { left: -6px; width: 72%; }
  .price-feature { padding: 28px 22px; }
  .plan .btn { align-self: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn:hover, .card:hover, .industry:hover { transform: none; }
}
