/* ── FOUST BROTHERS LLC — DIGITAL DIVISION ── */
/* css/style.css */

:root {
  color-scheme: dark;
  --bg-primary: #020810;
  --bg-secondary: #050d1a;
  --bg-card: #080f1e;
  --bg-card-hover: #0d1830;
  --cyan: #00e5ff;
  --cyan-dim: #00b8cc;
  --cyan-glow: rgba(0,229,255,0.15);
  --cyan-glow-strong: rgba(0,229,255,0.4);
  --orange: #ff6a00;
  --white: #e8f4f8;
  --white-dim: #8aa8b8;
  --border: rgba(0,229,255,0.2);
  --font-display: 'Orbitron', monospace;
  --font-mono: 'Share Tech Mono', monospace;
  --font-body: 'Rajdhani', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg-primary); color: var(--white); font-family: var(--font-body); font-size: 16px; line-height: 1.6; overflow-x: hidden; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--cyan-dim); border-radius: 2px; }

/* ── MATH BACKGROUND ── */
.math-bg {
  position: fixed; inset: 0; z-index: 0; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='600'%3E%3Ctext x='20' y='40' fill='%2300e5ff' font-size='14' font-family='monospace'%3E%E2%88%87%C2%B2%CF%86%20%3D%20%CF%81/%CE%B5%E2%82%80%3C/text%3E%3Ctext x='200' y='80' fill='%2300e5ff' font-size='12' font-family='monospace'%3EF%20%3D%20ma%3C/text%3E%3Ctext x='400' y='60' fill='%2300e5ff' font-size='16' font-family='monospace'%3Ee%5E(i%CF%80)%20%2B%201%20%3D%200%3C/text%3E%3Ctext x='50' y='150' fill='%2300e5ff' font-size='13' font-family='monospace'%3E%CE%BB%20%3D%20h/mv%3C/text%3E%3Ctext x='300' y='200' fill='%2300e5ff' font-size='15' font-family='monospace'%3E%CF%83%20%3D%20%E2%88%9A(%CE%A3(x-%CE%BC)%C2%B2/N)%3C/text%3E%3Ctext x='100' y='280' fill='%2300e5ff' font-size='14' font-family='monospace'%3Edy/dx%20%3D%20lim%3C/text%3E%3Ctext x='400' y='320' fill='%2300e5ff' font-size='11' font-family='monospace'%3Ef(x)%20%3D%20ax%C2%B2%20%2B%20bx%20%2B%20c%3C/text%3E%3Ctext x='650' y='260' fill='%2300e5ff' font-size='13' font-family='monospace'%3E%CF%88%20%3D%20Ae%5E(ikx)%3C/text%3E%3Ctext x='30' y='400' fill='%2300e5ff' font-size='16' font-family='monospace'%3E%CF%80r%C2%B2%3C/text%3E%3Ctext x='450' y='420' fill='%2300e5ff' font-size='14' font-family='monospace'%3Ev%20%3D%20c/n%3C/text%3E%3Ctext x='680' y='380' fill='%2300e5ff' font-size='11' font-family='monospace'%3EE%20%3D%20mc%C2%B2%3C/text%3E%3Cline x1='0' y1='120' x2='800' y2='120' stroke='%2300e5ff' stroke-width='0.3'/%3E%3Cline x1='0' y1='350' x2='800' y2='350' stroke='%2300e5ff' stroke-width='0.3'/%3E%3Ccircle cx='620' cy='300' r='80' fill='none' stroke='%2300e5ff' stroke-width='0.5'/%3E%3Ccircle cx='620' cy='300' r='50' fill='none' stroke='%2300e5ff' stroke-width='0.3'/%3E%3Cline x1='540' y1='220' x2='700' y2='380' stroke='%2300e5ff' stroke-width='0.3'/%3E%3Cline x1='700' y1='220' x2='540' y2='380' stroke='%2300e5ff' stroke-width='0.3'/%3E%3C/svg%3E");
  background-size: 800px 600px;
  pointer-events: none;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(2,8,16,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; height: 64px;
}

.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; cursor: pointer; }
#navOrb { width: 32px; height: 32px; border-radius: 50%; box-shadow: 0 0 12px var(--cyan), 0 0 24px rgba(0,229,255,0.3); animation: orbPulse 3s ease-in-out infinite; }
@keyframes orbPulse { 0%,100%{ box-shadow: 0 0 12px var(--cyan), 0 0 24px rgba(0,229,255,0.3); } 50%{ box-shadow: 0 0 20px var(--cyan), 0 0 40px rgba(0,229,255,0.5); } }

.nav-brand-text { display: flex; flex-direction: column; }
.nav-brand-name { font-family: var(--font-display); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em; color: var(--white); line-height: 1; }
.nav-brand-sub { font-family: var(--font-mono); font-size: 0.55rem; color: var(--cyan); letter-spacing: 0.2em; line-height: 1.4; }

.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { font-family: var(--font-display); font-size: 0.6rem; font-weight: 600; letter-spacing: 0.2em; color: var(--white-dim); text-decoration: none; transition: color 0.2s; position: relative; cursor: pointer; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a.active::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 1px; background: var(--cyan); }

.nav-cta {
  display: flex !important; align-items: center; gap: 6px;
  padding: 8px 16px !important; border: 1px solid var(--cyan) !important;
  background: transparent; color: var(--cyan) !important;
  font-family: var(--font-display) !important; font-size: 0.6rem !important;
  font-weight: 700; letter-spacing: 0.15em; text-decoration: none;
  transition: all 0.2s; clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.nav-cta:hover { background: var(--cyan-glow); box-shadow: 0 0 20px var(--cyan-glow-strong); color: var(--cyan) !important; }
.nav-cta::before { content: '⚡'; font-size: 0.7rem; }

.nav-toggle { display: none; background: none; border: 1px solid var(--border); color: var(--cyan); padding: 6px 10px; cursor: pointer; font-size: 1.2rem; }

/* ── PAGE SYSTEM ── */
.page { display: none; }
.page.active { display: block; }

/* ── HERO ── */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-top: 64px; }

.hero-grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(0,229,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0,229,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px; pointer-events: none;
}

.hero-module-bar { position: absolute; top: 80px; left: 0; right: 0; padding: 10px 2rem; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border); font-family: var(--font-mono); font-size: 0.65rem; color: var(--cyan); letter-spacing: 0.1em; }
.module-bar-left { display: flex; align-items: center; gap: 8px; }
.module-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); animation: blink 2s step-end infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.2} }
.module-line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--cyan), transparent); margin-left: 12px; max-width: 200px; }
.module-bar-right { display: flex; align-items: center; gap: 6px; color: var(--white-dim); }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #00ff88; animation: blink 1.5s step-end infinite; }

.boot-sequence { position: absolute; top: 130px; left: 2rem; font-family: var(--font-mono); font-size: 0.6rem; color: rgba(0,229,255,0.4); line-height: 1.8; }
.boot-sequence span { display: block; animation: fadeIn 0.5s ease forwards; opacity: 0; }
.boot-sequence span:nth-child(1) { animation-delay: 0.2s; }
.boot-sequence span:nth-child(2) { animation-delay: 0.7s; }
.boot-sequence span:nth-child(3) { animation-delay: 1.2s; }
.boot-sequence span:nth-child(4) { animation-delay: 1.7s; }
.boot-sequence span:nth-child(5) { animation-delay: 2.2s; color: #00ff88; }
@keyframes fadeIn { to { opacity: 1; } }

/* Orb container */
.hero-orb-container { position: relative; width: 400px; height: 400px; display: flex; align-items: center; justify-content: center; margin: 0 auto -60px; }
#orbThree { position: absolute; top: 0; left: 0; width: 400px; height: 400px; filter: drop-shadow(0 0 60px rgba(100,0,255,0.65)); }
.orb-status-ring { position: absolute; width: 200px; height: 200px; border-radius: 50%; border: 1px solid rgba(0,229,255,0.15); animation: statusRingPulse 3s ease-in-out infinite; }
@keyframes statusRingPulse { 0%,100%{ transform: scale(1); opacity: 0.4; } 50%{ transform: scale(1.15); opacity: 0.8; } }

/* Side panels */
.hero-panel-left { position: absolute; left: 2rem; bottom: 30%; display: flex; flex-direction: column; gap: 8px; }
.hero-panel-right { position: absolute; right: 2rem; bottom: 30%; display: flex; flex-direction: column; gap: 8px; min-width: 160px; }

.sys-card { background: rgba(5,13,26,0.85); border: 1px solid var(--border); padding: 10px 14px; backdrop-filter: blur(8px); transition: border-color 0.2s; clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px)); }
.sys-card:hover { border-color: var(--cyan); }
.sys-card-label { font-family: var(--font-mono); font-size: 0.5rem; color: var(--cyan); letter-spacing: 0.15em; margin-bottom: 2px; }
.sys-card-value { font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; color: var(--white); letter-spacing: 0.05em; }
.sys-card-value.online { color: #00ff88; }

/* Hero main text */
.hero-content { position: relative; z-index: 2; text-align: center; padding: 0 2rem; margin-top: 8vh; display: flex; flex-direction: column; align-items: center; }
.hero-directive { font-family: var(--font-mono); font-size: 0.65rem; color: var(--white-dim); letter-spacing: 0.3em; margin-bottom: 1rem; }
.hero-headline { font-family: var(--font-display); font-size: clamp(3.5rem, 10vw, 8rem); font-weight: 900; line-height: 0.9; letter-spacing: 0.02em; text-transform: uppercase; }
.hero-headline .line1, .hero-headline .line2 { color: var(--white); display: block; }
.hero-headline .line3 { color: var(--cyan); display: block; text-shadow: 0 0 30px rgba(0,229,255,0.5), 0 0 60px rgba(0,229,255,0.2); }
.hero-sub { font-family: var(--font-mono); font-size: 0.65rem; color: var(--white-dim); letter-spacing: 0.3em; margin: 1.5rem 0 2.5rem; display: flex; align-items: center; justify-content: center; gap: 12px; }
.hero-sub::before, .hero-sub::after { content: ''; flex: 1; max-width: 80px; height: 1px; background: var(--border); }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn-primary { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; background: transparent; border: 1px solid var(--cyan); color: var(--cyan); font-family: var(--font-display); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.2em; text-decoration: none; text-transform: uppercase; transition: all 0.3s; clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%); position: relative; overflow: hidden; cursor: pointer; }
.btn-primary::before { content: ''; position: absolute; inset: 0; background: var(--cyan-glow); transform: scaleX(0); transform-origin: left; transition: transform 0.3s; }
.btn-primary:hover::before { transform: scaleX(1); }
.btn-primary:hover { box-shadow: 0 0 30px var(--cyan-glow-strong); }

.btn-secondary { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; background: transparent; border: 1px solid var(--border); color: var(--white-dim); font-family: var(--font-display); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.2em; text-decoration: none; text-transform: uppercase; transition: all 0.3s; clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%); cursor: pointer; }
.btn-secondary:hover { border-color: var(--white-dim); color: var(--white); }

/* ── TICKER ── */
.ticker { position: relative; z-index: 2; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 10px 0; overflow: hidden; background: rgba(0,229,255,0.02); margin-top: 4rem; }
.ticker-inner { display: flex; gap: 3rem; white-space: nowrap; width: max-content; }
.ticker-item { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.6rem; color: var(--white-dim); letter-spacing: 0.15em; }
.ticker-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--cyan); }

/* ── SECTIONS ── */
section { padding: 6rem 2rem; position: relative; z-index: 1; }

.section-module-label { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.6rem; color: var(--cyan); letter-spacing: 0.2em; margin-bottom: 1rem; }
.section-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.section-title { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; text-transform: uppercase; letter-spacing: 0.05em; color: var(--white); margin-bottom: 0.5rem; line-height: 1; }
.section-subtitle { font-family: var(--font-mono); font-size: 0.65rem; color: var(--white-dim); letter-spacing: 0.3em; margin-bottom: 3rem; }

/* ── SERVICES GRID ── */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5px; background: var(--border); border: 1px solid var(--border); max-width: 1200px; margin: 0 auto; }
.service-card { background: var(--bg-card); padding: 2rem; cursor: pointer; transition: background 0.2s; position: relative; }
.service-card:hover { background: var(--bg-card-hover); }
.service-card-module { font-family: var(--font-mono); font-size: 0.55rem; color: var(--cyan); letter-spacing: 0.2em; margin-bottom: 0.75rem; display: flex; align-items: center; gap: 6px; }
.sc-indicator { width: 4px; height: 4px; border-radius: 50%; background: var(--cyan); animation: blink 2s step-end infinite; }
.service-card-title { font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; color: var(--white); letter-spacing: 0.05em; margin-bottom: 0.75rem; line-height: 1.3; }
.service-card-desc { font-size: 0.8rem; color: var(--white-dim); line-height: 1.6; margin-bottom: 1.5rem; }
.service-card-features { list-style: none; margin-bottom: 1.5rem; }
.service-card-features li { font-family: var(--font-mono); font-size: 0.6rem; color: var(--white-dim); padding: 3px 0; display: flex; align-items: center; gap: 6px; }
.service-card-features li::before { content: '›'; color: var(--cyan); font-size: 0.8rem; }
.service-card-cta { font-family: var(--font-mono); font-size: 0.6rem; color: var(--white-dim); letter-spacing: 0.15em; transition: color 0.2s; }
.service-card:hover .service-card-cta { color: var(--cyan); }

/* ── QUALITY BADGE ── */
.quality-badge {
  margin-top: 1.5rem;
  border: 2px solid var(--cyan);
  padding: 12px 16px;
  text-align: center;
  width: 160px;
  height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: rotate(-4deg);
  box-shadow: 0 0 10px rgba(0,229,255,0.2), inset 0 0 10px rgba(0,229,255,0.05);
  overflow: visible;
}
.quality-badge.stamped { animation: stamp 0.5s cubic-bezier(0.175,0.885,0.32,1.275) forwards; }
.quality-badge-title { font-family: var(--font-display); font-size: 0.9rem; font-weight: 900; color: var(--cyan); letter-spacing: 0.1em; line-height: 1.1; }
.quality-badge-sub { font-family: var(--font-mono); font-size: 0.45rem; color: var(--white-dim); letter-spacing: 0.1em; margin-top: 6px; line-height: 1.6; }

@keyframes stamp {
  0%   { opacity: 0; transform: scale(2) rotate(-4deg); }
  60%  { opacity: 1; transform: scale(0.92) rotate(-4deg); }
  80%  { opacity: 1; transform: scale(1.04) rotate(-4deg); }
  100% { opacity: 1; transform: scale(1) rotate(-4deg); }
}
footer { background: var(--bg-secondary); border-top: 1px solid var(--border); padding: 4rem 2rem 2rem; overflow: visible; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 3rem; max-width: 1200px; margin: 0 auto 3rem; overflow: visible; }
.footer-brand-header { display: flex; align-items: center; gap: 10px; margin-bottom: 1rem; }
.footer-orb { width: 24px; height: 24px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #4af, #00e5ff 40%, #006688 80%, #002233); box-shadow: 0 0 10px rgba(0,229,255,0.4); }
.footer-brand-name { font-family: var(--font-display); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; }
.footer-brand-sub { font-family: var(--font-mono); font-size: 0.5rem; color: var(--cyan); letter-spacing: 0.2em; }
.footer-tagline { font-size: 0.8rem; color: var(--white-dim); line-height: 1.6; margin-bottom: 1.5rem; }
.footer-motto { border: 1px solid var(--cyan); padding: 12px 16px; font-family: var(--font-display); font-size: 0.75rem; font-weight: 700; color: var(--cyan); letter-spacing: 0.1em; line-height: 1.4; }
.footer-section-label { font-family: var(--font-mono); font-size: 0.6rem; color: var(--white-dim); letter-spacing: 0.2em; margin-bottom: 1.5rem; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.footer-contact-item { margin-bottom: 1.2rem; }
.footer-contact-label { font-family: var(--font-mono); font-size: 0.55rem; color: var(--cyan); letter-spacing: 0.15em; margin-bottom: 4px; }
.footer-contact-value { font-family: var(--font-body); font-size: 0.85rem; color: var(--white); font-weight: 500; }
.footer-contact-value a { color: var(--white); text-decoration: none; transition: color 0.2s; }
.footer-contact-value a:hover { color: var(--cyan); }
.footer-nav-links { list-style: none; }
.footer-nav-links li { margin-bottom: 8px; }
.footer-nav-links a { font-family: var(--font-mono); font-size: 0.65rem; color: var(--white-dim); text-decoration: none; letter-spacing: 0.1em; transition: color 0.2s; display: flex; align-items: center; gap: 6px; cursor: pointer; }
.footer-nav-links a::before { content: '›'; color: var(--cyan); }
.footer-nav-links a:hover { color: var(--cyan); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; max-width: 1200px; margin: 0 auto; }
.footer-copy { font-family: var(--font-mono); font-size: 0.55rem; color: var(--white-dim); letter-spacing: 0.1em; white-space: nowrap; }
.footer-copy span { display: inline; }
.footer-philosophy { font-family: var(--font-mono); font-size: 0.55rem; color: var(--white-dim); letter-spacing: 0.1em; text-align: right; }
.footer-legal-links { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.footer-legal-links a { font-family: var(--font-mono); font-size: 0.5rem; color: var(--cyan); letter-spacing: 0.15em; text-decoration: none; opacity: 0.7; transition: opacity 0.2s; cursor: pointer; }
.footer-legal-links a:hover { opacity: 1; }

/* ── ABOUT PAGE ── */
.about-hero-section { padding-top: 64px; min-height: 100vh; display: flex; flex-direction: column; position: relative; z-index: 1; }
.about-module-bar { padding: 10px 2rem; display: flex; align-items: center; border-bottom: 1px solid var(--border); font-family: var(--font-mono); font-size: 0.65rem; color: var(--cyan); letter-spacing: 0.1em; background: rgba(2,8,16,0.5); }
.about-split { display: grid; grid-template-columns: 1fr 1fr; flex: 1; min-height: calc(100vh - 104px); }
.about-img-panel { position: relative; border-right: 1px solid var(--border); overflow: hidden; background: #010810; }
.about-img-inner { position: relative; width: 100%; height: 100%; min-height: 520px; overflow: hidden; }
.about-img-caption { position: absolute; bottom: 24px; left: 24px; border: 1px solid rgba(0,229,255,0.3); background: rgba(2,8,16,0.85); padding: 10px 14px; backdrop-filter: blur(8px); z-index: 2; }
.about-img-ref { font-family: var(--font-mono); font-size: 0.55rem; color: var(--white-dim); letter-spacing: 0.15em; margin-bottom: 4px; }
.about-img-tagline { font-family: var(--font-mono); font-size: 0.65rem; color: var(--cyan); letter-spacing: 0.1em; }
.about-content-panel { padding: 4rem 3rem; display: flex; flex-direction: column; justify-content: center; }
.about-headline { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900; text-transform: uppercase; letter-spacing: 0.02em; color: var(--white); line-height: 1.05; margin-bottom: 2rem; }
.about-headline-cyan { color: var(--cyan); display: block; text-shadow: 0 0 30px rgba(0,229,255,0.4); }
.about-body { font-size: 0.95rem; color: var(--white-dim); line-height: 1.8; margin-bottom: 1.2rem; }
.about-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); margin-top: 2.5rem; }
.about-info-card { background: var(--bg-card); padding: 1.2rem 1rem; }
.about-info-label { font-family: var(--font-mono); font-size: 0.5rem; color: var(--cyan); letter-spacing: 0.2em; margin-bottom: 4px; }
.about-info-value { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--white); }
.about-values { margin-top: 3rem; }
.value-item { border-left: 2px solid var(--border); padding: 1rem 1.5rem; margin-bottom: 1.5rem; transition: border-color 0.2s; }
.value-item:hover { border-left-color: var(--cyan); }
.value-title { font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; color: var(--white); letter-spacing: 0.1em; margin-bottom: 6px; }
.value-desc { font-size: 0.85rem; color: var(--white-dim); line-height: 1.6; }

/* ── BILLING PAGE ── */
.rate-section-label { font-family: var(--font-mono); font-size: 0.6rem; color: var(--cyan); letter-spacing: 0.2em; margin-bottom: 1.5rem; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.rate-table { border: 1px solid var(--border); background: var(--bg-card); margin-bottom: 3rem; }
.rate-table-header { display: flex; justify-content: space-between; padding: 10px 1.5rem; background: rgba(0,229,255,0.05); border-bottom: 1px solid var(--border); font-family: var(--font-mono); font-size: 0.55rem; color: var(--white-dim); letter-spacing: 0.2em; }
.rate-row { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border); transition: background 0.2s; }
.rate-row:last-child { border-bottom: none; }
.rate-row:hover { background: rgba(0,229,255,0.03); }
.rate-row-active { background: rgba(0,229,255,0.04); }
.rate-row-left { display: flex; align-items: center; gap: 1rem; }
.rate-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); flex-shrink: 0; }
.rate-dot.cyan { background: var(--cyan); box-shadow: 0 0 6px var(--cyan); }
.rate-tier { font-family: var(--font-display); font-size: 0.75rem; font-weight: 700; color: var(--white); letter-spacing: 0.05em; margin-bottom: 2px; }
.rate-sub { font-family: var(--font-mono); font-size: 0.55rem; color: var(--white-dim); letter-spacing: 0.1em; }
.rate-amount { font-family: var(--font-display); font-size: 1.1rem; font-weight: 900; color: var(--white); letter-spacing: 0.02em; }
.rate-amount.cyan { color: var(--cyan); text-shadow: 0 0 15px rgba(0,229,255,0.4); }
.rate-amount.included { color: #00ff88; font-size: 0.75rem; letter-spacing: 0.1em; }
.rate-amount-block { text-align: right; }
.rate-amount-unit { font-family: var(--font-mono); font-size: 0.5rem; color: var(--white-dim); letter-spacing: 0.1em; }
.rate-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5px; background: var(--border); border: 1px solid var(--border); margin-bottom: 3rem; }
.rate-stat { background: var(--bg-card); padding: 1.5rem; text-align: center; }
.rate-stat-value { font-family: var(--font-display); font-size: 2rem; font-weight: 900; color: var(--cyan); display: block; text-shadow: 0 0 20px rgba(0,229,255,0.3); }
.rate-stat-label { font-family: var(--font-mono); font-size: 0.55rem; color: var(--white-dim); letter-spacing: 0.15em; margin-top: 4px; }
.specialized-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5px; background: var(--border); border: 1px solid var(--border); }
.specialized-card { background: var(--bg-card); padding: 2rem; position: relative; }
.specialized-card::before { content: ''; position: absolute; top: 0; left: 0; width: 2px; height: 40px; background: var(--cyan); opacity: 0.3; }
.specialized-label { font-family: var(--font-mono); font-size: 0.55rem; color: var(--white-dim); letter-spacing: 0.2em; margin-bottom: 0.75rem; }
.specialized-price { font-family: var(--font-display); font-size: 1.6rem; font-weight: 900; color: var(--cyan); letter-spacing: 0.02em; margin-bottom: 0.75rem; text-shadow: 0 0 20px rgba(0,229,255,0.3); }
.specialized-desc { font-family: var(--font-mono); font-size: 0.6rem; color: var(--white-dim); letter-spacing: 0.05em; line-height: 1.6; }
.billing-intro { max-width: 700px; margin-bottom: 3rem; font-size: 0.9rem; color: var(--white-dim); line-height: 1.8; }
.billing-principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5px; background: var(--border); border: 1px solid var(--border); margin-bottom: 4rem; }
.billing-card { background: var(--bg-card); padding: 2rem; }
.billing-card-icon { font-size: 1.5rem; margin-bottom: 1rem; }
.billing-card-title { font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; color: var(--white); letter-spacing: 0.1em; margin-bottom: 0.75rem; }
.billing-card-desc { font-size: 0.8rem; color: var(--white-dim); line-height: 1.7; }
.billing-faq { max-width: 800px; }
.faq-item { border-bottom: 1px solid var(--border); padding: 1.5rem 0; }
.faq-q { font-family: var(--font-display); font-size: 0.8rem; font-weight: 700; color: var(--cyan); letter-spacing: 0.05em; margin-bottom: 0.75rem; }
.faq-a { font-size: 0.85rem; color: var(--white-dim); line-height: 1.7; }

/* ── WORK ORDER PAGE ── */
.work-order-layout { display: grid; grid-template-columns: 1fr 380px; gap: 4rem; align-items: start; max-width: 1200px; margin: 0 auto; }
.wof { background: var(--bg-card); border: 1px solid var(--border); padding: 2.5rem; }
.wof-header { font-family: var(--font-mono); font-size: 0.6rem; color: var(--cyan); letter-spacing: 0.2em; margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; }
.form-group { margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
label { display: block; font-family: var(--font-mono); font-size: 0.6rem; color: var(--cyan); letter-spacing: 0.15em; margin-bottom: 6px; }
input, select, textarea { width: 100%; background: rgba(0,0,0,0.4); border: 1px solid var(--border); color: var(--white); font-family: var(--font-mono); font-size: 0.75rem; padding: 10px 14px; outline: none; transition: border-color 0.2s, box-shadow 0.2s; appearance: none; -webkit-appearance: none; color-scheme: dark; }
input:focus, select:focus, textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 1px var(--cyan-dim), inset 0 0 10px var(--cyan-glow); }
input::placeholder, textarea::placeholder { color: rgba(138,168,184,0.4); }
select option { background: #050d1a !important; color: #e8f4f8 !important; }
select option:disabled { color: rgba(138,168,184,0.4) !important; background: #050d1a !important; }
select option:checked, select option:hover { background: #0d1830 !important; color: #00e5ff !important; }
textarea { resize: vertical; min-height: 120px; }
.form-submit { width: 100%; padding: 16px; background: transparent; border: 1px solid var(--cyan); color: var(--cyan); font-family: var(--font-display); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; cursor: pointer; transition: all 0.3s; clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%); display: flex; align-items: center; justify-content: center; gap: 8px; }
.form-submit:hover { background: var(--cyan-glow); box-shadow: 0 0 30px var(--cyan-glow-strong); }
.form-submit.success { border-color: #00ff88; color: #00ff88; }
.woi-card { border: 1px solid var(--border); padding: 1.5rem; margin-bottom: 1rem; background: var(--bg-card); }
.woi-label { font-family: var(--font-mono); font-size: 0.55rem; color: var(--cyan); letter-spacing: 0.2em; margin-bottom: 8px; }
.woi-value { font-size: 0.85rem; color: var(--white); line-height: 1.6; font-weight: 500; }
.success-msg { display: none; text-align: center; padding: 2rem; border: 1px solid #00ff88; background: rgba(0,255,136,0.05); margin-top: 1rem; }
.success-msg.show { display: block; }
.success-msg h3 { font-family: var(--font-display); font-size: 1rem; color: #00ff88; margin-bottom: 0.5rem; }
.success-msg p { font-family: var(--font-mono); font-size: 0.7rem; color: var(--white-dim); }

/* ── LEGAL PAGES ── */
.legal-layout { max-width: 800px; margin: 0 auto; }
.legal-section { border: 1px solid var(--border); background: var(--bg-card); margin-bottom: 1rem; }
.legal-section-head { font-family: var(--font-mono); font-size: 0.6rem; color: var(--cyan); letter-spacing: 0.2em; padding: 1rem 1.5rem 0.5rem; border-bottom: 1px solid var(--border); }
.legal-section-body { font-size: 0.82rem; color: var(--white-dim); line-height: 1.8; padding: 0.75rem 1.5rem 1rem; }
.legal-section-body ul { padding-left: 1.2rem; margin: 0.5rem 0; }
.legal-section-body li { margin-bottom: 0.4rem; }
.legal-section-body strong { color: var(--white); font-weight: 600; }

/* ── CONTAINER ── */
.container { max-width: 1200px; margin: 0 auto; }

/* ── UTILITY ── */
.cyan { color: var(--cyan); }
.mono { font-family: var(--font-mono); }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-split { grid-template-columns: 1fr; }
  .about-img-panel { min-height: 300px; }
  .about-content-panel { padding: 2rem; }
  .about-info-grid { grid-template-columns: 1fr 1fr; }
  .work-order-layout { grid-template-columns: 1fr; }
  .hero-panel-left, .hero-panel-right { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .billing-principles { grid-template-columns: 1fr; }
  .rate-stats { grid-template-columns: 1fr 1fr; }
}

/* ── MOBILE NAV FIX ── */
@media (max-width: 700px) {
  /* Hide clock on mobile so hamburger isn't pushed out of place */
  #navClock { display: none; }

  /* Show hamburger, push it to the right */
  .nav-toggle { display: block; margin-left: auto; }

  /* Hide nav links by default */
  .nav-links { display: none; }

  /* When open: drop down as full-width overlay below nav bar */
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px;
    left: 0; right: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    padding: 1rem 2rem;
    gap: 1rem;
    z-index: 99;
  }

  .services-grid { grid-template-columns: 1fr; }
  .hero-headline { font-size: clamp(2.5rem, 12vw, 5rem); }
  .section-title { font-size: clamp(1.8rem, 8vw, 3rem); }
  .about-headline { font-size: clamp(1.5rem, 7vw, 2.2rem); }
  .about-info-grid { grid-template-columns: 1fr; }
  .about-info-value { font-size: 1rem; word-break: break-word; white-space: normal; }
  .about-info-card { padding: 1rem; }
  .about-content-panel { padding: 1.5rem; }
  section { padding: 4rem 1rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal-links { justify-content: center; }
  .footer-philosophy { text-align: center; }
  .hero-content { padding: 0 1rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; clip-path: none; }
  .wof { padding: 1.5rem; }
  .work-order-layout { gap: 2rem; }
  .rate-stats { grid-template-columns: 1fr 1fr; }
  .specialized-grid { grid-template-columns: 1fr; }
  .rate-row { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .rate-amount-block { text-align: left; }
  .rate-amount { font-size: 1rem; }
}
