/* RouteLocker 2 customer support website — styles */

:root {
  --bg: #0b0d10;
  --surface: #14171d;
  --surface-2: #1c2028;
  --text: #f3f5f8;
  --text-muted: #9ba3b2;
  --accent: #2d8af5;
  --accent-2: #64b2ff;
  --accent-soft: rgba(45, 138, 245, 0.15);
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --radius-sm: 12px;
  --max-w: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --gradient: linear-gradient(135deg, #1b2d4d 0%, #10131a 55%, #0b0d10 100%);
}


* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: .6rem 1rem;
  background: var(--accent);
  color: #fff;
  z-index: 1000;
  border-radius: var(--radius-sm);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 13, 16, 0.82);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
}
.site-header .shell {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: .9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
}
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: .35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: block;
  padding: .45rem .8rem;
  border-radius: 999px;
  color: var(--text-muted);
  font-size: .94rem;
  font-weight: 600;
}
.nav-links a:hover, .nav-links a[aria-current="page"] {
  color: var(--text);
  background: var(--surface-2);
  text-decoration: none;
}
.nav-links a.nav-store-link {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 6px 18px rgba(45,138,245,0.22);
}
.nav-links a.nav-store-link:hover {
  background: var(--accent-2);
  color: #fff;
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Shell & layout */
.shell { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 4rem 0; }
.section-sm { padding: 2.5rem 0; }

/* Hero */
.hero {
  padding: 5rem 0 3.5rem;
  background: var(--gradient);
  border-bottom: 1px solid var(--border);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 3rem;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: .75rem;
}
.page-title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.05;
  margin: 0 0 1rem;
  font-weight: 900;
}
.lead {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 0 1.8rem;
}
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .85rem 1.4rem;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: 0;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 6px 22px rgba(45,138,245,0.25);
}
.button:hover { transform: translateY(-2px); text-decoration: none; }
.button-ghost {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .85rem 1.4rem;
  background: var(--surface-2);
  color: var(--text);
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: 1px solid var(--border);
}
.button-muted {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  box-shadow: none;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.7rem;
  box-shadow: var(--shadow);
  transition: transform .2s ease;
}
.card:hover { transform: translateY(-4px); }
.card h3 { margin: .5rem 0 .5rem; font-size: 1.25rem; }
.card p { color: var(--text-muted); margin: 0; }
.card-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-2);
  font-size: 1.3rem;
  margin-bottom: .8rem;
}

/* Feature sections with screenshots */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 5rem;
}
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-row h2 { font-size: 2rem; margin: .4rem 0 1rem; }
.feature-row ul { padding-left: 1.2rem; color: var(--text-muted); }
.feature-row li { margin-bottom: .6rem; }

/* Screenshot frame */
.phone-frame {
  position: relative;
  justify-self: center;
  width: 260px;
  border-radius: 38px;
  background: #111;
  padding: 10px;
  box-shadow: 0 28px 70px rgba(0,0,0,0.35), inset 0 0 0 1px rgba(255,255,255,0.08);
}
.phone-frame img {
  width: 100%;
  aspect-ratio: 1206/2622;
  border-radius: 30px;
  object-fit: cover;
  background: #1c2028;
}
.phone-notch {
  display: none;
}

/* Screenshot grid */
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.screenshot-item {
  text-align: center;
}
.screenshot-item .phone-frame { width: 200px; margin: 0 auto; }
.screenshot-item p { font-size: .95rem; color: var(--text-muted); margin-top: 1rem; }

/* FAQ */
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: .75rem;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.1rem 1.4rem;
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-answer {
  padding: 0 1.4rem 1.4rem;
  color: var(--text-muted);
}
.faq-answer p { margin: 0; }

/* Article / help pages */
.help-article {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}
.help-article h1 { font-size: 2.6rem; margin-bottom: .6rem; }
.help-article h2 { font-size: 1.5rem; margin: 2.2rem 0 .8rem; }
.help-article h3 { font-size: 1.2rem; margin: 1.6rem 0 .6rem; }
.help-article p, .help-article li { color: var(--text-muted); }
.help-article ul { padding-left: 1.3rem; }
.help-article li { margin-bottom: .5rem; }

/* Tip box */
.tip {
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  padding: 1rem 1.2rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
}
.tip strong { color: var(--text); }

/* Contact / form */
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-weight: 700; margin-bottom: .35rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: .8rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font: inherit;
}
.form-note {
  color: var(--text-muted);
  font-size: .95rem;
  margin: .2rem 0 1rem;
}
.form-status {
  padding: .9rem 1rem;
  border-radius: var(--radius-sm);
  margin: 1rem 0;
  font-weight: 700;
}
.form-status-pending {
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.form-status-success {
  color: #dff7e7;
  background: rgba(38, 166, 91, 0.18);
  border: 1px solid rgba(38, 166, 91, 0.42);
}
.form-status-error {
  color: #ffe1e1;
  background: rgba(219, 68, 68, 0.18);
  border: 1px solid rgba(219, 68, 68, 0.42);
}
.form-actions { margin-top: 1.5rem; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 2.5rem 0;
  margin-top: 3rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
}
.footer-brand { display: flex; align-items: center; gap: .7rem; font-weight: 800; margin-bottom: .6rem; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: .45rem; }
.footer-links a { color: var(--text-muted); font-size: .95rem; }
.copyright { color: var(--text-muted); font-size: .9rem; margin-top: 2rem; }

/* Breadcrumbs */
.breadcrumbs {
  font-size: .9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.breadcrumbs a { color: var(--text-muted); }

/* Mobile */
@media (max-width: 900px) {
  .hero-grid, .feature-row, .feature-row.reverse { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feature-row.reverse { direction: ltr; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1rem;
    gap: .25rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; border-radius: var(--radius-sm); }
  .menu-toggle { display: block; }
}
@media (max-width: 620px) {
  .card-grid, .card-grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .phone-frame { width: 220px; }
  .section { padding: 2.5rem 0; }
}

/* Print */
@media print {
  .site-header, .site-footer, .menu-toggle, .actions { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; text-decoration: underline; }
}

/* iOS safe-area support (requires viewport-fit=cover) */
.site-header { padding-top: env(safe-area-inset-top); }
.site-footer { padding-bottom: env(safe-area-inset-bottom); }
