/* ═══════════════════════════════════════
   ATLAS MARKETING SITE — Glass Cockpit
   Shared styles for landing, pricing, and contact pages
   ═══════════════════════════════════════ */

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

:root {
  --blue: #2563EB;
  --blue-light: #3B82F6;
  --blue-glow: rgba(37, 99, 235, 0.22);
  --blue-deep: #1d4ed8;
  --lavender: #a78bfa;

  /* Dark (hero / header) */
  --dark-bg: #0f1117;
  --dark-surface: rgba(14, 16, 24, 0.55);
  --dark-text: #e2e4ee;
  --dark-text-dim: #7d8196;
  --dark-border: rgba(255,255,255,0.08);

  /* Light (content) */
  --light-bg: #e8eaef;
  --light-surface: rgba(255, 255, 255, 0.55);
  --light-surface-solid: #ffffff;
  --light-text: #1a1c2e;
  --light-text-dim: #6e7187;
  --light-border: rgba(0,0,0,0.08);
  --light-glass-border: rgba(0,0,0,0.08);

  /* Semantic */
  --green: #16a34a;
  --red: #dc2626;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--light-bg);
  color: var(--light-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-footer {
  margin-top: auto;
}


/* ═══════════════════════════════════════
   SHARED COMPONENTS
   ═══════════════════════════════════════ */

/* ── NAVIGATION ─────────────────────── */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}

.site-nav.scrolled {
  background: rgba(15, 17, 23, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--dark-border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--dark-text);
}

.nav-brand img {
  height: 32px;
  filter: invert(1);
}

.nav-brand span {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark-text-dim);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}

.nav-links a:hover {
  color: var(--dark-text);
  background: rgba(255,255,255,0.06);
}

.nav-links a.active {
  color: var(--dark-text);
}

.nav-cta {
  background: var(--blue);
  color: #fff !important;
  font-weight: 600 !important;
  box-shadow: 0 0 20px var(--blue-glow);
  transition: filter 0.15s, box-shadow 0.15s, background 0.15s !important;
}

.nav-cta:hover {
  filter: brightness(1.15);
  background: var(--blue) !important;
  box-shadow: 0 0 30px rgba(37, 99, 235, 0.35) !important;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
  stroke: var(--dark-text);
  stroke-width: 2;
  fill: none;
}


/* ── PAGE HEADER (shared by pricing & contact) ── */

.page-header {
  padding: 140px 32px 80px;
  background: var(--dark-bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header h1 {
  font-size: 44px;
  font-weight: 700;
  color: var(--dark-text);
  letter-spacing: -1px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: fadeInUp 0.6s ease 0.1s forwards;
}

.page-header p {
  font-size: 17px;
  color: var(--dark-text-dim);
  max-width: 520px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: fadeInUp 0.6s ease 0.25s forwards;
}

.header-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--light-bg));
  z-index: 1;
  pointer-events: none;
}


/* ── BUTTONS ────────────────────────── */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--blue);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 0 24px var(--blue-glow);
  transition: filter 0.15s, box-shadow 0.15s, transform 0.15s;
}

.btn-primary:hover {
  filter: brightness(1.15);
  box-shadow: 0 0 36px rgba(37, 99, 235, 0.4);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: var(--dark-text-dim);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid var(--dark-border);
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.btn-secondary:hover {
  color: var(--dark-text);
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.04);
}

.btn-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}


/* ── SECTION HEADERS ────────────────── */

.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 60px;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--blue);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--light-text);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 16px;
  color: var(--light-text-dim);
  line-height: 1.7;
}


/* ── FORM ELEMENTS (shared) ─────────── */

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--light-text-dim);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--light-border);
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--light-text);
  background: var(--light-surface-solid);
  transition: border-color 0.15s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #a0a3b5;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.submit-btn {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--blue);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 0 20px var(--blue-glow);
  transition: filter 0.15s, transform 0.15s;
}

.submit-btn:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}

.submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  filter: none;
}

.form-message {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 20px;
  display: none;
}

.form-message.error {
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.2);
  color: var(--red);
  display: block;
}

.form-message.success {
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid rgba(22, 163, 74, 0.2);
  color: var(--green);
  display: block;
}


/* ── FOOTER ─────────────────────────── */

.site-footer {
  padding: 32px;
  background: var(--dark-bg);
  border-top: 1px solid var(--dark-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--dark-text-dim);
}

.footer-brand img {
  height: 18px;
  filter: invert(1);
  opacity: 0.5;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 13px;
  color: var(--dark-text-dim);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: var(--dark-text);
}


/* ═══════════════════════════════════════
   LANDING PAGE
   ═══════════════════════════════════════ */

/* ── HERO SECTION (dark) ────────────── */

.hero {
  position: relative;
  min-height: 100vh;
  background: var(--dark-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 32px 80px;
  overflow: hidden;
}

/* Animated orbs (matching login page) */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.10;
  animation: orbFloat 20s ease-in-out infinite;
}

.hero-orb:nth-child(1) {
  width: 600px; height: 600px;
  background: var(--blue);
  top: -15%; left: -10%;
  animation-duration: 22s;
}

.hero-orb:nth-child(2) {
  width: 450px; height: 450px;
  background: var(--blue-light);
  bottom: -20%; right: -10%;
  animation-duration: 18s;
  animation-delay: -5s;
}

.hero-orb:nth-child(3) {
  width: 350px; height: 350px;
  background: var(--lavender);
  top: 40%; left: 55%;
  animation-duration: 25s;
  animation-delay: -10s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
}

.hero-logo {
  height: 72px;
  filter: invert(1);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeInDown 0.7s ease forwards;
}

.hero h1 {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--dark-text);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeInUp 0.6s ease 0.2s forwards;
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--blue-light), var(--lavender));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 19px;
  color: var(--dark-text-dim);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  animation: fadeInUp 0.6s ease 0.35s forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  opacity: 0;
  animation: fadeInUp 0.6s ease 0.5s forwards;
}

/* ── DARK-TO-LIGHT TRANSITION ───────── */

.hero-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent, var(--light-bg));
  z-index: 1;
  pointer-events: none;
}


/* ── FEATURES SECTION (light) ───────── */

.features {
  padding: 80px 32px 100px;
  background: var(--light-bg);
}

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

.feature-card {
  background: var(--light-surface);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--light-glass-border);
  border-radius: 12px;
  padding: 32px 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.8;
  fill: none;
}

.feature-icon.blue    { background: rgba(37, 99, 235, 0.12); }
.feature-icon.blue svg { stroke: var(--blue); }

.feature-icon.green    { background: rgba(22, 163, 74, 0.12); }
.feature-icon.green svg { stroke: #16a34a; }

.feature-icon.orange    { background: rgba(234, 88, 12, 0.12); }
.feature-icon.orange svg { stroke: #ea580c; }

.feature-icon.lavender    { background: rgba(124, 58, 237, 0.12); }
.feature-icon.lavender svg { stroke: #7c3aed; }

.feature-icon.yellow    { background: rgba(202, 138, 4, 0.12); }
.feature-icon.yellow svg { stroke: #ca8a04; }

.feature-icon.pink    { background: rgba(219, 39, 119, 0.12); }
.feature-icon.pink svg { stroke: #db2777; }

.feature-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--light-text);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--light-text-dim);
  line-height: 1.6;
}


/* ── BUILT FOR SECTION ──────────────── */

.built-for {
  padding: 80px 32px;
  background: var(--light-bg);
}

.built-for-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.built-for-text h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--light-text);
  margin-bottom: 16px;
  line-height: 1.25;
}

.built-for-text p {
  font-size: 15px;
  color: var(--light-text-dim);
  line-height: 1.7;
  margin-bottom: 20px;
}

.use-cases {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.use-case {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--light-text);
}

.use-case-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--blue-glow);
}

.built-for-visual {
  background: var(--dark-bg);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  padding: 32px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Mini mockup of the Atlas interface */
.mockup-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 36px;
  background: rgba(14, 16, 24, 0.8);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 6px;
}

.mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}

.mockup-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--dark-text-dim);
  font-size: 13px;
}

.mockup-content svg {
  width: 48px;
  height: 48px;
  stroke: var(--blue);
  stroke-width: 1.2;
  fill: none;
  opacity: 0.6;
}

.mockup-content span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.5px;
}


/* ── CTA SECTION (dark) ─────────────── */

.cta-section {
  padding: 100px 32px;
  background: var(--dark-bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: var(--blue);
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.06;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 16px;
  color: var(--dark-text-dim);
  margin-bottom: 32px;
  line-height: 1.7;
}

.cta-note {
  font-size: 13px;
  color: var(--dark-text-dim);
  margin-top: 16px;
}


/* ═══════════════════════════════════════
   PRICING PAGE
   ═══════════════════════════════════════ */

/* ── PRICING SECTION (light) ────────── */

.pricing {
  padding: 60px 32px 80px;
  background: var(--light-bg);
}

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

.pricing-card {
  background: var(--light-surface);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--light-glass-border);
  border-radius: 12px;
  padding: 36px 28px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}

.pricing-card.featured {
  border: 2px solid var(--blue);
  box-shadow: 0 0 40px var(--blue-glow);
}

.pricing-card.featured:hover {
  box-shadow: 0 0 50px rgba(37, 99, 235, 0.3), 0 12px 40px rgba(0,0,0,0.06);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.tier-name {
  font-size: 20px;
  font-weight: 600;
  color: var(--light-text);
  margin-bottom: 8px;
}

.price {
  font-size: 48px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 4px;
}

.price-period {
  font-size: 14px;
  color: var(--light-text-dim);
  margin-bottom: 28px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 28px;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--light-text-dim);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.pricing-features li.included svg {
  stroke: var(--green);
}

.pricing-features li.excluded {
  opacity: 0.45;
}

.pricing-features li.excluded svg {
  stroke: var(--light-text-dim);
}

.pricing-addon {
  text-align: center;
  font-size: 13px;
  color: var(--light-text-dim);
  padding: 8px 0;
  margin-bottom: 4px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.pricing-select-btn {
  display: block;
  width: 100%;
  padding: 12px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: filter 0.15s, transform 0.15s, background 0.15s;
  border: none;
}

.pricing-select-btn.primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 0 16px var(--blue-glow);
}

.pricing-select-btn.primary:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}

.pricing-select-btn.secondary {
  background: transparent;
  color: var(--blue);
  border: 1px solid var(--blue);
}

.pricing-select-btn.secondary:hover {
  background: rgba(37, 99, 235, 0.06);
}

.quote-cta {
  text-align: center;
  margin-top: 32px;
  font-size: 14px;
  color: var(--light-text-dim);
}

.quote-cta a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
}

.quote-cta a:hover {
  text-decoration: underline;
}


/* ── REGISTRATION MODAL ─────────────── */

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
}

.modal-content {
  background: var(--light-surface-solid);
  border: 1px solid var(--light-glass-border);
  border-radius: 12px;
  padding: 36px 32px;
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalDropIn 0.2s ease;
}

@keyframes modalDropIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: background 0.15s;
}

.modal-close:hover {
  background: var(--light-border);
}

.modal-close svg {
  width: 20px;
  height: 20px;
  stroke: var(--light-text-dim);
  stroke-width: 2;
  fill: none;
}

.modal-tier-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  background: var(--blue);
  padding: 6px 14px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.modal-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--light-text);
  margin-bottom: 4px;
}

.modal-subtitle {
  font-size: 14px;
  color: var(--light-text-dim);
  margin-bottom: 24px;
}

.slug-input-row {
  display: flex;
  align-items: center;
  gap: 0;
}

.slug-input-row input {
  border-radius: 6px 0 0 6px;
  border-right: none;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
}

.slug-input-row input:focus + .slug-suffix {
  border-color: var(--blue);
}

.slug-suffix {
  padding: 10px 14px;
  background: var(--light-bg);
  border: 1px solid var(--light-border);
  border-left: none;
  border-radius: 0 6px 6px 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--light-text-dim);
  white-space: nowrap;
  transition: border-color 0.15s;
}

.slug-hint {
  font-size: 12px;
  color: var(--light-text-dim);
  margin-top: 6px;
}

.slug-hint.error {
  color: var(--red);
}

.subscribe-disclaimer {
  font-size: 12px;
  color: var(--light-text-dim);
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}

.subscribe-disclaimer a {
  color: var(--light-text-dim);
  text-decoration: underline;
}

.subscribe-disclaimer strong {
  color: var(--light-text);
  font-weight: 600;
}


/* ═══════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════ */

/* ── Contact header orb ─────────────── */
.page-header.contact-header::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: var(--blue);
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.06;
  pointer-events: none;
}

.page-header.contact-header .header-fade {
  height: 120px;
}

/* ── CONTACT CONTENT ────────────────── */

.contact-section {
  padding: 60px 32px 100px;
  background: var(--light-bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 880px;
  margin: 0 auto;
}

/* Left: Contact info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-info h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--light-text);
  margin-bottom: 4px;
}

.contact-info > p {
  font-size: 15px;
  color: var(--light-text-dim);
  line-height: 1.7;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--blue);
  stroke-width: 1.8;
  fill: none;
}

.contact-item-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-item-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--light-text-dim);
}

.contact-item-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--light-text);
}

.contact-item-value a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.15s;
}

.contact-item-value a:hover {
  color: var(--blue-light);
}

/* Right: Contact form */
.contact-card {
  background: var(--light-surface-solid);
  border: 1px solid var(--light-glass-border);
  border-radius: 12px;
  padding: 36px 32px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}

/* Contact page uses light bg for form inputs */
.contact-card .form-group input,
.contact-card .form-group textarea {
  background: var(--light-bg);
}


/* ═══════════════════════════════════════
   LEGAL PAGES (Terms, Privacy)
   ═══════════════════════════════════════ */

.legal-section {
  padding: 60px 32px 100px;
  background: var(--light-bg);
}

.legal-content {
  max-width: 720px;
  margin: 0 auto;
}

.legal-block {
  margin-bottom: 32px;
}

.legal-block h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--light-text);
  margin-bottom: 12px;
}

.legal-block h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--light-text);
  margin-top: 16px;
  margin-bottom: 8px;
}

.legal-block p {
  font-size: 14px;
  color: var(--light-text-dim);
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-block p:last-child {
  margin-bottom: 0;
}

.legal-block a {
  color: var(--blue);
  text-decoration: none;
}

.legal-block a:hover {
  text-decoration: underline;
}

.legal-block strong {
  color: var(--light-text);
  font-weight: 600;
}


/* ═══════════════════════════════════════
   QUOTE BUILDER
   ═══════════════════════════════════════ */

.quote-section {
  padding: 60px 32px 100px;
  background: var(--light-bg);
}

.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 960px;
  margin: 0 auto;
}

.quote-config {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.quote-config h2,
.quote-form-card h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--light-text);
  margin-bottom: 0;
}

.quote-form-subtitle {
  font-size: 14px;
  color: var(--light-text-dim);
  margin-bottom: 8px;
}

.quote-field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quote-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--light-text-dim);
}

.quote-field-hint {
  font-size: 13px;
  color: var(--light-text-dim);
  margin: -2px 0 4px;
}

/* Tier cards */
.quote-tier-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.quote-tier-card {
  position: relative;
  background: var(--light-surface-solid);
  border: 2px solid var(--light-glass-border);
  border-radius: 10px;
  padding: 18px 16px;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.quote-tier-card:hover {
  border-color: rgba(37, 99, 235, 0.3);
}

.quote-tier-card.selected {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-glow);
}

.quote-tier-badge {
  position: absolute;
  top: -9px;
  right: 12px;
  background: var(--blue);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 2px 10px;
  border-radius: 10px;
}

.quote-tier-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--light-text);
  margin-bottom: 4px;
}

.quote-tier-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--light-text);
  font-family: 'JetBrains Mono', monospace;
}

.quote-tier-price span {
  font-size: 13px;
  font-weight: 400;
  color: var(--light-text-dim);
  font-family: 'DM Sans', sans-serif;
}

.quote-tier-desc {
  font-size: 12px;
  color: var(--light-text-dim);
  margin-top: 6px;
}

/* Stepper */
.quote-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--light-glass-border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--light-surface-solid);
  width: fit-content;
}

.quote-stepper-btn {
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-text);
  transition: background 0.12s;
}

.quote-stepper-btn:hover:not(:disabled) {
  background: rgba(37, 99, 235, 0.08);
  color: var(--blue);
}

.quote-stepper-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.quote-stepper-value {
  width: 48px;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
  color: var(--light-text);
  border-left: 1px solid var(--light-glass-border);
  border-right: 1px solid var(--light-glass-border);
  padding: 10px 0;
}

.quote-sites-total {
  font-size: 13px;
  color: var(--light-text-dim);
  margin-top: 2px;
}

/* Price breakdown */
.quote-breakdown {
  background: var(--light-surface-solid);
  border: 1px solid var(--light-glass-border);
  border-radius: 10px;
  padding: 20px;
}

.quote-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 14px;
  color: var(--light-text);
}

.quote-line-dimmed {
  color: var(--light-text-dim);
}

.quote-line-amount {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
}

.quote-line.quote-total {
  border-top: 1px solid var(--light-glass-border);
  margin-top: 8px;
  padding-top: 14px;
  font-weight: 700;
  font-size: 16px;
}

.quote-line.quote-total .quote-line-amount {
  color: var(--blue);
  font-weight: 700;
  font-size: 18px;
}

/* Quote form card */
.quote-form-card {
  background: var(--light-surface-solid);
  border: 1px solid var(--light-glass-border);
  border-radius: 12px;
  padding: 36px 32px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.quote-form-card .form-group input,
.quote-form-card .form-group textarea {
  background: var(--light-bg);
}

.quote-optional {
  font-weight: 400;
  color: var(--light-text-dim);
  font-size: 11px;
}

.quote-form-fine-print {
  font-size: 12px;
  color: var(--light-text-dim);
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}


/* ═══════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════ */

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll-triggered fade in */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */

/* Landing: 2-column features grid */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .built-for-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .built-for-visual {
    max-width: 480px;
    margin: 0 auto;
  }
}

/* Pricing: single-column grid */
@media (max-width: 840px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  /* Reorder: Trial first, then Professional (featured), then Standard */
  .pricing-card:nth-child(1) { order: 2; }
  .pricing-card:nth-child(2) { order: 3; }
  .pricing-card:nth-child(3) { order: 1; }
}

/* Mobile: all pages */
@media (max-width: 640px) {
  .site-nav { padding: 0 20px; }

  .nav-links {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(15, 17, 23, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 16px 20px;
    border-bottom: 1px solid var(--dark-border);
    gap: 4px;
  }

  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; width: 100%; }
  .nav-toggle { display: block; }

  /* Landing hero */
  .hero {
    padding: 100px 20px 60px;
    min-height: auto;
    padding-bottom: 120px;
  }

  .hero h1 { font-size: 36px; }
  .hero-sub { font-size: 16px; }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  /* Landing features */
  .features { padding: 60px 20px 80px; }
  .features-grid { grid-template-columns: 1fr; }
  .section-header h2 { font-size: 28px; }

  /* Landing built-for */
  .built-for { padding: 60px 20px; }
  .built-for-text h2 { font-size: 26px; }

  /* Landing CTA */
  .cta-section { padding: 70px 20px; }
  .cta-section h2 { font-size: 28px; }

  /* Page header (pricing + contact) */
  .page-header { padding: 120px 20px 60px; }
  .page-header h1 { font-size: 32px; }

  /* Pricing */
  .pricing { padding: 40px 20px 60px; }
  .modal-content { padding: 28px 24px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  /* Contact */
  .contact-section { padding: 40px 20px 80px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-card { padding: 28px 24px; }

  /* Quote */
  .quote-section { padding: 40px 20px 80px; }
  .quote-grid { grid-template-columns: 1fr; gap: 32px; }
  .quote-form-card { padding: 28px 24px; }
  .quote-tier-cards { grid-template-columns: 1fr; }

  /* Legal */
  .legal-section { padding: 40px 20px 80px; }

  /* Footer */
  .site-footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 24px 20px;
  }
}
