/* =============================================
   FOUND ROOM — Global Styles
   Edit this file to change styles site-wide.
   ============================================= */

/* Variables — Studio Black */
:root {
  --white: #F0EDE8;           /* warm off-white — primary light/text */
  --off-white: #131110;       /* dark surface where off-white was used */
  --ink: #F0EDE8;             /* main text on dark backgrounds */
  --ink-mid: #A89F98;         /* secondary text */
  --ink-light: #706B64;       /* tertiary / muted text */
  --accent: #C8F135;          /* electric lime */
  --accent-hover: #AEDA1A;    /* lime hover */
  --accent-pale: rgba(200,241,53,0.10);
  --rule: rgba(255,255,255,0.07);
  --dark: #080808;            /* main page background */
  --dark-surface: #111010;    /* card / section surface */
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--dark);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ── Nav ──────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.6rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(8,8,8,0.82);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-logo {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1.0rem;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--ink-light);
  text-decoration: none;
  transition: color 0.18s;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-links a:hover { color: var(--ink); }

.nav-cta {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  color: #0a0905;
  background: var(--accent);
  text-decoration: none;
  padding: 0.55rem 1.3rem;
  transition: background 0.18s;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-cta:hover { background: var(--accent-hover); }

/* ── Section rule ─────────────────────────── */
.section-rule { width: 100%; height: 1px; background: var(--rule); }

/* ── Footer ───────────────────────────────── */
footer {
  background: #050505;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  padding: 5rem 6rem 3rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand {}

.footer-brand-name {
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  display: block;
  margin-bottom: 0.8rem;
}

.footer-brand-tagline {
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.35);
  max-width: 240px;
  margin-bottom: 1.6rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color 0.18s;
}
.footer-social a:hover { color: rgba(255,255,255,0.7); }

.footer-col-label {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-bottom: 1.2rem;
}

.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.18s;
}
.footer-col-links a:hover { color: rgba(255,255,255,0.85); }

.footer-bottom {
  padding: 1.4rem 6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.18);
  letter-spacing: 0.04em;
}

/* ── CTA section (shared across pages) ───── */
.cta-section {
  background: var(--dark-surface);
  padding: 8rem 6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.cta-left h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.cta-left h2 span { color: var(--accent); }

.cta-left p {
  font-size: 1.0rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.42);
  max-width: 420px;
}

.cta-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cta-form-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.32);
}

.cta-input-row {
  display: flex;
  border: 1px solid rgba(255,255,255,0.12);
}

.cta-input-row input {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: none;
  padding: 1.1rem 1.4rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--white);
  outline: none;
}

.cta-input-row input::placeholder { color: rgba(255,255,255,0.2); }

.cta-input-row button {
  background: var(--accent);
  border: none;
  padding: 1.1rem 1.8rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.83rem;
  font-weight: 500;
  color: #0a0905;
  cursor: pointer;
  transition: background 0.18s;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.cta-input-row button:hover { background: var(--accent-hover); }
.cta-input-row button:disabled { opacity: 0.55; cursor: default; }

.cta-note {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.2);
  line-height: 1.55;
}

.success-message {
  display: none;
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(255,255,255,0.6);
  padding: 1.2rem 0;
}

.form-embed-wrapper {
  width: 100%;
}

.form-embed-wrapper iframe {
  display: block;
  border: none;
  background: transparent;
  width: 100%;
}

/* ── Animations ───────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Parallax image band ──────────────────── */
.parallax-band {
  position: relative;
  height: 480px;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.parallax-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8,8,8,0.55) 0%,
    rgba(8,8,8,0.25) 50%,
    rgba(8,8,8,0.55) 100%
  );
}

.parallax-band-caption {
  position: absolute;
  bottom: 3rem;
  left: 6rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

@media (max-width: 960px) {
  /* Parallax fixed attachment doesn't work well on mobile — fall back */
  .parallax-band { background-attachment: scroll; height: 320px; }
  .parallax-band-caption { left: 1.5rem; bottom: 1.5rem; }
}

/* ── Shared section layout (sidebar style) ── */
.sidebar-section {
  padding: 8rem 6rem;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 6rem;
  align-items: start;
}

.section-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 0.5rem;
  position: sticky;
  top: 6rem;
}

.sidebar-content h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}

.sidebar-content p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-mid);
  max-width: 600px;
  margin-bottom: 1.2rem;
}


/* ── Shared text utilities ────────────────── */
.eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
}

/* ── Shared button styles ─────────────────── */
.btn-primary {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: #0a0905;
  background: var(--accent);
  text-decoration: none;
  padding: 0.9rem 1.8rem;
  transition: background 0.18s;
  letter-spacing: 0.02em;
}
.btn-primary:hover { background: var(--accent-hover); }

.btn-secondary {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  background: transparent;
  text-decoration: none;
  padding: 0.9rem 1.8rem;
  border: 1px solid rgba(255,255,255,0.18);
  transition: border-color 0.18s, color 0.18s;
  letter-spacing: 0.02em;
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.4); color: var(--white); }

/* ── Button hover glow ────────────────────── */
.btn-primary {
  box-shadow: 0 0 0 rgba(200,241,53,0);
  transition: background 0.18s, box-shadow 0.25s;
}
.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 28px rgba(200,241,53,0.38), 0 0 8px rgba(200,241,53,0.18);
}

.btn-secondary {
  transition: border-color 0.18s, color 0.18s, box-shadow 0.25s;
}
.btn-secondary:hover {
  border-color: rgba(200,241,53,0.65);
  color: var(--white);
  box-shadow: 0 0 20px rgba(200,241,53,0.12);
}

/* ── Hamburger button ─────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: 1rem;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}

/* X state */
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Mobile nav overlay ───────────────────── */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(8,8,8,0.97);
  backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
  padding: 6rem 2rem 4rem;
  gap: 0.2rem;
}

.mobile-nav-inner a {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.8rem, 6vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.18s;
}

.mobile-nav-inner a:hover { color: var(--white); }

.mobile-nav-cta {
  margin-top: 2rem;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--accent) !important;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  width: 100%;
}

/* ── Responsive ───────────────────────────── */
@media (max-width: 960px) {
  nav { padding: 1.3rem 1.5rem; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-nav { display: block; }
  .sidebar-section { grid-template-columns: 1fr; padding: 5rem 1.5rem; gap: 2rem; }
  .section-label { position: static; }
  .cta-section { grid-template-columns: 1fr; padding: 5rem 1.5rem; gap: 3rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; padding: 3rem 1.5rem 2rem; gap: 2.5rem; }
  .footer-bottom { padding: 1.2rem 1.5rem; flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* ── Lucide icon styles ───────────────────── */
[data-lucide] {
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  vertical-align: middle;
  flex-shrink: 0;
}

.icon-feature {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(200,241,53,0.25);
  border-radius: 2px;
  color: var(--accent);
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

.icon-feature [data-lucide] {
  width: 20px;
  height: 20px;
}

/* ── Cost group icon header ───────────────── */
.cost-group-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.cost-group-header .icon-feature {
  margin-bottom: 0;
}

.cost-group-header .cost-label {
  margin-bottom: 0;
}
