/* ═══════════════════════════════════════════════════════
   FRETCOM SITE v2 — Design Tokens & Shared CSS
═══════════════════════════════════════════════════════ */
:root {
  --fc-bg:      #07091A;
  --fc-bg1:     #0B1123;
  --fc-bg2:     #101828;
  --fc-bg3:     #162035;
  --fc-bd:      #172540;
  --fc-bd1:     #1F2E4A;
  --fc-t0:      #DDE5F0;
  --fc-t1:      #8A9FC0;
  --fc-t2:      #435070;
  --fc-cyan:    #00C8E0;
  --fc-cyan2:   #00E5FF;
  --fc-orange:  #F05A28;
  --fc-orange2: #FF7A4A;
  --fc-amber:   #F0A020;
  --fc-red:     #E53040;
  --fc-green:   #1EC87A;
  --fc-indigo:  #6B8AFF;
  --fc-r:       4px;
  --fc-r2:      8px;
  --fc-max:     1200px;
  --fc-font:    'Space Grotesk', system-ui, sans-serif;
  --fc-mono:    'JetBrains Mono', 'Fira Code', monospace;
}

/* ── Reset ── */
.fc-site *, .fc-site *::before, .fc-site *::after { box-sizing:border-box; margin:0; padding:0; }
.fc-site { font-family:var(--fc-font); background:var(--fc-bg); color:var(--fc-t0); -webkit-font-smoothing:antialiased; }
.fc-site img, .fc-site svg { display:block; }
.fc-site a { color:inherit; text-decoration:none; }
.fc-site button { font-family:inherit; cursor:pointer; }

/* ── Container ── */
.fc-wrap    { max-width:var(--fc-max); margin:0 auto; padding:0 24px; }
.fc-wrap-sm { max-width:800px;         margin:0 auto; padding:0 24px; }
.fc-wrap-xs { max-width:560px;         margin:0 auto; padding:0 24px; }

/* ── Typography ── */
.fc-eyebrow {
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--fc-mono); font-size:11px; font-weight:500;
  letter-spacing:.1em; text-transform:uppercase; color:var(--fc-cyan);
  margin-bottom:20px;
}
.fc-eyebrow::before { content:''; width:20px; height:1px; background:var(--fc-cyan); flex-shrink:0; }
.fc-eyebrow.orange  { color:var(--fc-orange); }
.fc-eyebrow.orange::before { background:var(--fc-orange); }

.fc-h1 { font-size:clamp(2.6rem,5.5vw,4.4rem); font-weight:700; line-height:1.1; letter-spacing:-.025em; }
.fc-h2 { font-size:clamp(1.8rem,3.5vw,2.8rem); font-weight:700; line-height:1.16; letter-spacing:-.018em; }
.fc-h3 { font-size:clamp(1.1rem,2vw,1.4rem);   font-weight:600; line-height:1.3; }
.fc-h4 { font-size:1rem; font-weight:600; line-height:1.4; }
.fc-lead { font-size:clamp(1rem,1.6vw,1.15rem); color:var(--fc-t1); line-height:1.75; }

.fc-accent      { color:var(--fc-cyan); }
.fc-accent-org  { color:var(--fc-orange); }
.fc-mono        { font-family:var(--fc-mono); }
.fc-grad-text   {
  background:linear-gradient(135deg,var(--fc-cyan) 0%,var(--fc-indigo) 100%);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}
.fc-grad-orange {
  background:linear-gradient(135deg,var(--fc-orange) 0%,var(--fc-orange2) 100%);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}

/* ── Buttons ── */
.fc-btn {
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  height:44px; padding:0 24px; border-radius:var(--fc-r);
  font-family:var(--fc-font); font-size:14px; font-weight:600;
  cursor:pointer; border:none; outline:none; white-space:nowrap;
  transition:opacity .15s, transform .15s, box-shadow .15s;
  position:relative; overflow:hidden;
}
.fc-btn::after {
  content:''; position:absolute; inset:0;
  background:rgba(255,255,255,0); transition:background .15s;
}
.fc-btn:hover { transform:translateY(-1px); }
.fc-btn:hover::after { background:rgba(255,255,255,.06); }
.fc-btn:active { transform:translateY(0); }

/* PRIMARY — orange */
.fc-btn-primary {
  background:var(--fc-orange); color:#fff;
  box-shadow:0 4px 20px rgba(240,90,40,.25);
}
.fc-btn-primary:hover { box-shadow:0 6px 28px rgba(240,90,40,.45); }

/* OUTLINE */
.fc-btn-outline { background:transparent; color:var(--fc-t0); border:1px solid var(--fc-bd1); }
.fc-btn-outline:hover { border-color:var(--fc-cyan); color:var(--fc-cyan); }

/* GHOST cyan */
.fc-btn-ghost { background:transparent; color:var(--fc-cyan); border:1px solid rgba(0,200,224,.25); }
.fc-btn-ghost:hover { background:rgba(0,200,224,.06); border-color:rgba(0,200,224,.5); }

/* GHOST orange */
.fc-btn-ghost-org { background:transparent; color:var(--fc-orange); border:1px solid rgba(240,90,40,.3); }
.fc-btn-ghost-org:hover { background:rgba(240,90,40,.06); box-shadow:0 0 20px rgba(240,90,40,.15); }

.fc-btn-sm  { height:36px; padding:0 16px; font-size:13px; }
.fc-btn-lg  { height:54px; padding:0 36px; font-size:16px; }

/* ── Badges ── */
.fc-badge {
  display:inline-flex; align-items:center; gap:5px;
  padding:3px 10px; border-radius:2px;
  font-family:var(--fc-mono); font-size:10px; font-weight:500; letter-spacing:.06em;
  background:rgba(0,200,224,.08); color:var(--fc-cyan);
  border:1px solid rgba(0,200,224,.2);
}
.fc-badge-org { background:rgba(240,90,40,.08); color:var(--fc-orange); border-color:rgba(240,90,40,.25); }
.fc-badge-red { background:rgba(229,48,64,.08); color:var(--fc-red);    border-color:rgba(229,48,64,.25); }
.fc-badge-grn { background:rgba(30,200,122,.08);color:var(--fc-green);  border-color:rgba(30,200,122,.25); }
.fc-badge-ind { background:rgba(107,138,255,.08);color:var(--fc-indigo);border-color:rgba(107,138,255,.25); }

/* ── Status dot ── */
.fc-dot {
  display:inline-block; width:7px; height:7px; border-radius:50%; flex-shrink:0;
}
.fc-dot-grn { background:var(--fc-green); }
.fc-dot-org { background:var(--fc-orange); }
.fc-dot-red { background:var(--fc-red); }
.fc-dot-cyn { background:var(--fc-cyan); }
.fc-dot-pulse { animation:fc-blink 2s ease-in-out infinite; }
@keyframes fc-blink { 0%,100%{opacity:1} 50%{opacity:.3} }

/* ── Cards ── */
.fc-card {
  background:var(--fc-bg1); border:1px solid var(--fc-bd);
  border-radius:var(--fc-r2); padding:28px 24px;
  transition:border-color .2s, transform .2s, box-shadow .2s;
  position:relative;
}
.fc-card:hover {
  border-color:var(--fc-bd1); transform:translateY(-3px);
  box-shadow:0 12px 40px rgba(0,0,0,.35);
}
.fc-card-glow:hover {
  border-color:rgba(0,200,224,.3);
  box-shadow:0 12px 40px rgba(0,0,0,.35), 0 0 40px rgba(0,200,224,.06);
}
.fc-card-glow-org:hover {
  border-color:rgba(240,90,40,.3);
  box-shadow:0 12px 40px rgba(0,0,0,.35), 0 0 40px rgba(240,90,40,.08);
}
.fc-card-accent-top::before {
  content:''; position:absolute; top:0; left:0; right:0; height:2px;
  background:linear-gradient(90deg,transparent,var(--fc-cyan),transparent);
  opacity:0; transition:opacity .3s; border-radius:var(--fc-r2) var(--fc-r2) 0 0;
}
.fc-card-accent-top:hover::before { opacity:1; }
.fc-card-accent-top.org::before { background:linear-gradient(90deg,transparent,var(--fc-orange),transparent); }

/* ── Sections ── */
.fc-section    { padding:96px 0; }
.fc-section-sm { padding:64px 0; }
.fc-section-dark { background:var(--fc-bg1); }
.fc-section-alt  { background:var(--fc-bg2); }
.fc-divider { height:1px; background:var(--fc-bd); }

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

/* ── Icon box ── */
.fc-icon-box {
  width:44px; height:44px; border-radius:var(--fc-r); flex-shrink:0;
  background:rgba(0,200,224,.07); border:1px solid rgba(0,200,224,.15);
  display:flex; align-items:center; justify-content:center;
  color:var(--fc-cyan); margin-bottom:18px; transition:background .2s, border-color .2s;
}
.fc-icon-box.org { background:rgba(240,90,40,.07); border-color:rgba(240,90,40,.18); color:var(--fc-orange); }
.fc-icon-box.ind { background:rgba(107,138,255,.07); border-color:rgba(107,138,255,.18); color:var(--fc-indigo); }
.fc-icon-box.grn { background:rgba(30,200,122,.07); border-color:rgba(30,200,122,.18); color:var(--fc-green); }

/* ── Grid backgrounds ── */
.fc-grid-bg {
  background-image:
    linear-gradient(rgba(23,37,64,.4) 1px,transparent 1px),
    linear-gradient(90deg,rgba(23,37,64,.4) 1px,transparent 1px);
  background-size:48px 48px;
}
.fc-grid-bg-fine {
  background-image:
    linear-gradient(rgba(23,37,64,.3) 1px,transparent 1px),
    linear-gradient(90deg,rgba(23,37,64,.3) 1px,transparent 1px);
  background-size:28px 28px;
}

/* ── Glow ── */
.fc-glow { position:absolute; border-radius:50%; pointer-events:none; filter:blur(80px); opacity:.1; }
.fc-glow-cyan   { background:var(--fc-cyan); }
.fc-glow-orange { background:var(--fc-orange); }
.fc-glow-indigo { background:var(--fc-indigo); }

/* ── Animated counter ── */
.fc-counter { font-variant-numeric:tabular-nums; }

/* ── Scroll reveal ── */
.fc-reveal { opacity:0; transform:translateY(28px); transition:opacity .65s ease, transform .65s ease; }
.fc-reveal.fc-visible { opacity:1; transform:translateY(0); }
.fc-reveal-left  { opacity:0; transform:translateX(-24px); transition:opacity .65s ease, transform .65s ease; }
.fc-reveal-left.fc-visible { opacity:1; transform:translateX(0); }
.fc-reveal-right { opacity:0; transform:translateX(24px); transition:opacity .65s ease, transform .65s ease; }
.fc-reveal-right.fc-visible { opacity:1; transform:translateX(0); }
.fc-d1 { transition-delay:.1s; }
.fc-d2 { transition-delay:.2s; }
.fc-d3 { transition-delay:.3s; }
.fc-d4 { transition-delay:.4s; }
.fc-d5 { transition-delay:.5s; }

/* ── Nav ── */
.fc-nav {
  position:fixed; top:0; left:0; right:0; z-index:200;
  height:64px; display:flex; align-items:center;
  border-bottom:1px solid transparent;
  transition:background .3s, border-color .3s, backdrop-filter .3s;
}
.fc-nav.fc-nav-scrolled {
  background:rgba(7,9,26,.9); border-color:var(--fc-bd);
  backdrop-filter:blur(20px);
}
.fc-nav-inner {
  display:flex; align-items:center;
  max-width:var(--fc-max); margin:0 auto; padding:0 24px; width:100%; gap:0;
}
.fc-nav-logo { display:flex; align-items:center; gap:10px; margin-right:36px; }
.fc-nav-logo img { height:30px; width:auto; }
.fc-nav-logo-txt { font-size:17px; font-weight:700; letter-spacing:-.01em; }

/* Nav items with dropdowns */
.fc-nav-links { display:flex; align-items:center; gap:2px; flex:1; position:relative; }
.fc-nav-item { position:relative; }
.fc-nav-link {
  padding:6px 14px; border-radius:3px; display:flex; align-items:center; gap:4px;
  font-size:14px; font-weight:500; color:var(--fc-t1); cursor:pointer;
  transition:color .15s, background .15s; white-space:nowrap;
}
.fc-nav-link:hover, .fc-nav-link.fc-active { color:var(--fc-t0); background:rgba(255,255,255,.04); }
.fc-nav-link svg { transition:transform .2s; }
.fc-nav-item:hover .fc-nav-link svg { transform:rotate(180deg); }

/* Dropdown */
.fc-dropdown {
  position:absolute; top:calc(100% + 8px); left:0; min-width:220px;
  background:var(--fc-bg1); border:1px solid var(--fc-bd1); border-radius:6px;
  padding:8px; box-shadow:0 16px 48px rgba(0,0,0,.5);
  opacity:0; pointer-events:none; transform:translateY(-6px);
  transition:opacity .18s, transform .18s;
}
.fc-nav-item:hover .fc-dropdown { opacity:1; pointer-events:auto; transform:translateY(0); }
.fc-dropdown-link {
  display:flex; align-items:center; gap:10px; padding:10px 12px; border-radius:4px;
  font-size:13px; color:var(--fc-t1); transition:color .15s, background .15s;
}
.fc-dropdown-link:hover { color:var(--fc-t0); background:rgba(255,255,255,.04); }
.fc-dropdown-link-icon {
  width:28px; height:28px; border-radius:3px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  background:rgba(0,200,224,.07); color:var(--fc-cyan);
}
.fc-dropdown-divider { height:1px; background:var(--fc-bd); margin:6px 0; }

.fc-nav-cta { display:flex; align-items:center; gap:10px; }
.fc-nav-toggle { display:none; cursor:pointer; color:var(--fc-t0); background:none; border:none; }

/* Mobile */
.fc-mobile-menu {
  display:none; position:fixed; inset:64px 0 0 0; z-index:199;
  background:var(--fc-bg1); border-top:1px solid var(--fc-bd);
  flex-direction:column; padding:24px; overflow-y:auto;
}
.fc-mobile-menu.fc-open { display:flex; }
.fc-mobile-link { padding:14px 0; font-size:17px; font-weight:500; color:var(--fc-t0); border-bottom:1px solid var(--fc-bd); }
.fc-mobile-sub  { padding:10px 16px; font-size:14px; color:var(--fc-t1); border-bottom:1px solid rgba(23,37,64,.4); }
.fc-mobile-sub:hover { color:var(--fc-t0); }

/* ── Footer ── */
.fc-footer { background:var(--fc-bg1); border-top:1px solid var(--fc-bd); padding:64px 0 40px; }
.fc-footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:48px; margin-bottom:48px; }
.fc-footer-label { font-size:11px; font-weight:600; text-transform:uppercase; letter-spacing:.08em; color:var(--fc-t2); margin-bottom:16px; }
.fc-footer-link { display:block; font-size:14px; color:var(--fc-t1); margin-bottom:10px; transition:color .15s; }
.fc-footer-link:hover { color:var(--fc-t0); }
.fc-footer-bottom { display:flex; justify-content:space-between; align-items:center; padding-top:24px; border-top:1px solid var(--fc-bd); font-size:12px; color:var(--fc-t2); }

/* ── Pricing ── */
.fc-price-card { background:var(--fc-bg1); border:1px solid var(--fc-bd); border-radius:8px; padding:36px 32px; position:relative; transition:transform .2s, border-color .2s; }
.fc-price-card:hover { transform:translateY(-4px); }
.fc-price-card.fc-featured { border-color:var(--fc-orange); box-shadow:0 0 0 1px rgba(240,90,40,.3), inset 0 0 60px rgba(240,90,40,.025); }
.fc-price-featured-tag { position:absolute; top:-13px; left:50%; transform:translateX(-50%); background:var(--fc-orange); color:#fff; font-size:10px; font-weight:700; letter-spacing:.08em; padding:4px 14px; border-radius:2px; white-space:nowrap; }

/* ── Gradient line ── */
.fc-hero-line { position:absolute; top:0; left:0; right:0; height:2px; background:linear-gradient(90deg,transparent,var(--fc-orange),var(--fc-cyan),transparent); animation:fc-line 4s ease-in-out infinite; }
@keyframes fc-line { 0%,100%{opacity:.6} 50%{opacity:1} }

/* ── Stats pill ── */
.fc-stat-pill {
  display:inline-flex; align-items:center; gap:8px;
  padding:4px 14px; border-radius:40px;
  background:rgba(240,90,40,.06); border:1px solid rgba(240,90,40,.2);
  font-size:12px; color:var(--fc-orange); font-family:var(--fc-mono);
}

/* ── Progress bar ── */
.fc-progress { height:3px; background:var(--fc-bg3); border-radius:2px; overflow:hidden; }
.fc-progress-bar { height:100%; border-radius:2px; transition:width 1s ease; }

/* ── Flow step ── */
.fc-flow-step {
  display:flex; align-items:flex-start; gap:16px; padding:20px 0;
  border-bottom:1px solid rgba(23,37,64,.5);
}
.fc-flow-step:last-child { border-bottom:none; }
.fc-flow-num {
  width:32px; height:32px; border-radius:50%; flex-shrink:0;
  background:rgba(240,90,40,.08); border:1px solid rgba(240,90,40,.25);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--fc-mono); font-size:11px; color:var(--fc-orange); font-weight:600;
}

/* ── Scrolling event feed ── */
@keyframes fc-scroll-up {
  0%   { transform:translateY(0); }
  100% { transform:translateY(-50%); }
}
.fc-scroll-feed { animation:fc-scroll-up 18s linear infinite; }
.fc-scroll-feed:hover { animation-play-state:paused; }

/* ── Hover glow ── */
.fc-hover-glow { transition:box-shadow .2s; }
.fc-hover-glow:hover { box-shadow:0 0 30px rgba(0,200,224,.12); }
.fc-hover-glow-org:hover { box-shadow:0 0 30px rgba(240,90,40,.15); }

/* ── Number animation ── */
@keyframes fc-count-up { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:translateY(0)} }
.fc-num-anim { animation:fc-count-up .5s ease forwards; }

/* ── API code block ── */
.fc-api-block { background:var(--fc-bg); border:1px solid var(--fc-bd); border-radius:6px; padding:22px 26px; font-family:var(--fc-mono); font-size:12px; color:var(--fc-t1); line-height:1.9; overflow-x:auto; }
.fc-api-key { color:var(--fc-cyan); }
.fc-api-val { color:var(--fc-green); }
.fc-api-str { color:var(--fc-amber); }
.fc-api-cmt { color:var(--fc-t2); }

/* ── Responsive ── */
@media(max-width:1024px) {
  .fc-grid-4 { grid-template-columns:repeat(2,1fr); }
  .fc-footer-grid { grid-template-columns:1fr 1fr; gap:32px; }
}
@media(max-width:768px) {
  .fc-grid-2,.fc-grid-3,.fc-grid-4 { grid-template-columns:1fr; }
  .fc-section { padding:64px 0; }
  .fc-nav-links,.fc-nav-cta .fc-btn-outline { display:none; }
  .fc-nav-toggle { display:flex; }
  .fc-footer-grid { grid-template-columns:1fr; gap:28px; }
  .fc-footer-bottom { flex-direction:column; gap:12px; text-align:center; }
}
@media(max-width:480px) {
  .fc-wrap { padding:0 16px; }
  .fc-section { padding:48px 0; }
}

/* ═══════════════════════════════════════════════════════
   ANIMATIONS PREMIUM — Transport lines, micro-interactions
═══════════════════════════════════════════════════════ */

/* ── Animated route line ── */
@keyframes fc-dash-flow {
  from { stroke-dashoffset: 24; }
  to   { stroke-dashoffset: 0; }
}
.fc-route-anim {
  stroke-dasharray: 6 18;
  animation: fc-dash-flow 1.8s linear infinite;
}

/* ── Vehicle pulse dot ── */
@keyframes fc-vehicle-pulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.5); opacity: .6; }
}
.fc-vehicle-dot { animation: fc-vehicle-pulse 2s ease-in-out infinite; }

/* ── Alert flash ── */
@keyframes fc-alert-flash {
  0%,100% { background: rgba(229,48,64,.06); }
  50%      { background: rgba(229,48,64,.14); }
}
.fc-alert-live { animation: fc-alert-flash 2.5s ease-in-out infinite; }

/* ── Shimmer skeleton ── */
@keyframes fc-shimmer {
  from { background-position: -200% 0; }
  to   { background-position:  200% 0; }
}
.fc-skeleton {
  background: linear-gradient(90deg, var(--fc-bg2) 25%, var(--fc-bg3) 50%, var(--fc-bg2) 75%);
  background-size: 200% 100%;
  animation: fc-shimmer 1.6s ease-in-out infinite;
  border-radius: 3px;
}

/* ── Card lift on hover (stronger) ── */
.fc-lift { transition: transform .22s ease, box-shadow .22s ease; }
.fc-lift:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(0,0,0,.4); }

/* ── Typing cursor ── */
@keyframes fc-cursor {
  0%,100% { opacity: 1; } 50% { opacity: 0; }
}
.fc-cursor::after {
  content: '|'; margin-left: 2px;
  animation: fc-cursor .8s step-end infinite;
  color: var(--fc-cyan);
}

/* ── Number tick ── */
@keyframes fc-tick { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:none; } }
.fc-tick { animation: fc-tick .3s ease forwards; }

/* ── Fade slide in (for alerts panel) ── */
@keyframes fc-slide-in {
  from { opacity:0; transform:translateX(-12px); }
  to   { opacity:1; transform:none; }
}
.fc-slide-in { animation: fc-slide-in .3s ease forwards; }

/* ── Floating badge (hero area) ── */
@keyframes fc-float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.fc-float { animation: fc-float 4s ease-in-out infinite; }
.fc-float-slow { animation: fc-float 6s ease-in-out infinite; }

/* ── Gradient border spin ── */
@keyframes fc-border-spin {
  from { --angle: 0deg; }
  to   { --angle: 360deg; }
}

/* ── Step connector pulse ── */
@keyframes fc-connector {
  0%   { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
.fc-step-connector {
  height: 1px;
  background: linear-gradient(90deg, var(--fc-bd1), var(--fc-cyan), var(--fc-orange), var(--fc-bd1));
  background-size: 200% 100%;
  animation: fc-connector 3s linear infinite;
}

/* ── How it works arrows ── */
@keyframes fc-arrow-flow {
  0%   { opacity: 0; transform: translateX(-8px); }
  50%  { opacity: 1; }
  100% { opacity: 0; transform: translateX(8px); }
}
.fc-arrow-anim { animation: fc-arrow-flow 1.6s ease-in-out infinite; }

/* ── Live ping ── */
@keyframes fc-ping {
  0%   { transform: scale(1); opacity: .7; }
  100% { transform: scale(2.5); opacity: 0; }
}
.fc-ping-ring {
  position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid currentColor; opacity: 0;
  animation: fc-ping 2s ease-out infinite;
}

/* ── Section entry with stagger ── */
.fc-stagger > * { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.fc-stagger.fc-visible > *:nth-child(1) { opacity:1; transform:none; transition-delay:.05s; }
.fc-stagger.fc-visible > *:nth-child(2) { opacity:1; transform:none; transition-delay:.15s; }
.fc-stagger.fc-visible > *:nth-child(3) { opacity:1; transform:none; transition-delay:.25s; }
.fc-stagger.fc-visible > *:nth-child(4) { opacity:1; transform:none; transition-delay:.35s; }

/* ── Map route animated SVG ── */
.fc-map-route {
  stroke-dasharray: 8 14;
  animation: fc-dash-flow 2.2s linear infinite;
  opacity: .6;
}
.fc-map-route-fast {
  stroke-dasharray: 4 8;
  animation: fc-dash-flow 1.2s linear infinite;
}

/* ── How-it-works step numbers ── */
.fc-step-num {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--fc-mono); font-size: 13px; font-weight: 700;
  position: relative; flex-shrink: 0;
  transition: transform .2s;
}
.fc-step-num:hover { transform: scale(1.1); }

/* ── Responsive additions ── */
@media(max-width:768px) {
  .fc-step-flow { grid-template-columns: 1fr; }
  .fc-price-grid { grid-template-columns: 1fr; }
  .fc-about-grid { grid-template-columns: 1fr !important; }
  .fc-contact-grid { grid-template-columns: 1fr !important; }
}

/* ═══════════════════════════════════════════════════════
   DROPDOWN FIX — Stable hover, extended hit zone
═══════════════════════════════════════════════════════ */
.fc-has-dropdown { position: relative; }

/* Bridge gap between trigger and dropdown with pseudo-element */
.fc-has-dropdown::after {
  content: ''; position: absolute;
  top: 100%; left: 0; right: 0; height: 12px;
  /* Invisible bridge so mouse moving to dropdown doesn't lose hover */
}

.fc-dropdown {
  position: absolute; top: calc(100% + 12px); left: 0; min-width: 230px;
  background: var(--fc-bg1); border: 1px solid var(--fc-bd1); border-radius: 8px;
  padding: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.02);
  /* Hidden by default */
  opacity: 0; pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease;
  z-index: 300;
}
.fc-dropdown.fc-dd-open {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}
/* Remove old :hover rule — now JS-controlled */
.fc-nav-item:hover .fc-dropdown { opacity: 0; pointer-events: none; transform: translateY(-6px); }
.fc-nav-item:hover .fc-dropdown.fc-dd-open { opacity: 1; pointer-events: auto; transform: translateY(0); }

.fc-dropdown-inner { display: flex; flex-direction: column; gap: 2px; }

/* ── Mobile section label ── */
.fc-mobile-section-label {
  padding: 14px 0 6px;
  font-size: 10px; color: var(--fc-t2);
  text-transform: uppercase; letter-spacing: .1em; font-weight: 600;
  border-bottom: 1px solid rgba(23,37,64,.4);
}

/* ═══════════════════════════════════════════════════════
   MOBILE RESPONSIVE — Critical fixes
═══════════════════════════════════════════════════════ */
/* Prevent horizontal overflow globally */
html, body { max-width: 100%; overflow-x: hidden; }
*, *::before, *::after { box-sizing: border-box; }

/* Mobile menu full height scroll */
.fc-mobile-menu {
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Hero responsive */
@media (max-width: 768px) {
  .fc-page-hero, .page-hero, .about-hero, .contact-hero {
    padding: 100px 0 56px !important;
  }
  /* Kill two-column layouts on mobile */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"] {
    display: block !important;
  }
  .fc-grid-2, .fc-grid-3, .fc-grid-4 { grid-template-columns: 1fr !important; }

  /* Nav CTA — hide outline button */
  .fc-nav-cta .fc-btn-outline { display: none; }

  /* Buttons — full stretch on small screen */
  .fc-btn-lg { height: 48px; padding: 0 24px; font-size: 15px; }

  /* Footer grid single column */
  .fc-footer-grid { grid-template-columns: 1fr !important; gap: 28px; }
  .fc-footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  /* Cards full width */
  .fc-card { padding: 20px 16px; }

  /* Price grid */
  .fc-price-grid { grid-template-columns: 1fr !important; }

  /* Step flow */
  .fc-step-flow {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }
  .fc-step-flow::before { display: none !important; }

  /* How it works steps */
  [style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns:repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
  }

  /* Step border-radius reset on mobile */
  [style*="border-radius:8px 0 0 8px"],
  [style*="border-radius:0 8px 8px 0"] {
    border-radius: 8px !important;
  }

  /* Stat pills wrap */
  .fc-stat-pill { font-size: 11px; }

  /* Compare table scroll */
  .fc-compare-table { font-size: 11px; }
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* Contact hero grid */
  .contact-hero [style*="grid-template-columns:1fr 1fr"] { gap: 40px !important; }

  /* About hero grid */
  .about-hero [style*="grid-template-columns:1fr 1fr"] { gap: 48px !important; }
}

@media (max-width: 480px) {
  .fc-wrap { padding: 0 16px; }
  .fc-h1 { font-size: 2.2rem; }
  .fc-h2 { font-size: 1.6rem; }
  .fc-section { padding: 48px 0; }
  .fc-nav-inner { padding: 0 16px; }

  /* Stack hero CTAs */
  .fc-hero-cta { flex-direction: column; align-items: stretch !important; }
  .fc-hero-cta .fc-btn { justify-content: center; }
}

/* ═══════════════════════════════════════════════════════
   LEGAL PAGES — Shared styles
═══════════════════════════════════════════════════════ */
.fc-legal-hero {
  padding: 120px 0 64px;
  position: relative; overflow: hidden;
  background: var(--fc-bg1);
}
.fc-legal-hero-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(23,37,64,.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,37,64,.3) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
}
.fc-legal-body {
  max-width: 800px; margin: 0 auto; padding: 64px 24px 96px;
}
.fc-legal-body h2 {
  font-size: 1.3rem; font-weight: 700; color: var(--fc-t0);
  margin: 40px 0 12px; padding-bottom: 10px;
  border-bottom: 1px solid var(--fc-bd);
}
.fc-legal-body h2:first-child { margin-top: 0; }
.fc-legal-body h3 {
  font-size: 1rem; font-weight: 600; color: var(--fc-cyan);
  margin: 24px 0 8px;
}
.fc-legal-body p {
  font-size: 14px; color: var(--fc-t1); line-height: 1.8; margin-bottom: 14px;
}
.fc-legal-body ul {
  padding-left: 20px; margin-bottom: 14px;
}
.fc-legal-body li {
  font-size: 14px; color: var(--fc-t1); line-height: 1.75; margin-bottom: 6px;
}
.fc-legal-body a { color: var(--fc-cyan); text-decoration: underline; }
.fc-legal-date {
  font-size: 12px; color: var(--fc-t2); font-family: var(--fc-mono);
  margin-bottom: 36px; display: block;
}
.fc-legal-nav {
  position: sticky; top: 80px;
  background: var(--fc-bg1); border: 1px solid var(--fc-bd);
  border-radius: 6px; padding: 16px; font-size: 12px;
  max-height: calc(100vh - 100px); overflow-y: auto;
}
.fc-legal-nav a {
  display: block; color: var(--fc-t2); padding: 5px 0;
  border-bottom: 1px solid rgba(23,37,64,.3); transition: color .15s;
}
.fc-legal-nav a:hover { color: var(--fc-cyan); }
