/* ==========================================================================
   FixYours — Design System
   AI-powered marketing, automation & growth. Premium dark/gold theme,
   carried over from the original brand, sharpened for a tech-forward feel.
   ========================================================================== */

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

:root {
  --gold: #C9A84C;
  --gold-light: #E2C47A;
  --gold-dim: rgba(201, 168, 76, 0.14);
  --violet: #8B93F8;
  --violet-dim: rgba(139, 147, 248, 0.12);

  --bg: #0A0B0D;
  --bg-card: #131518;
  --bg-elevated: #191B1F;
  --text: #F2EFE9;
  --muted: #92948C;
  --muted-dim: #6C6E68;
  --border: rgba(201, 168, 76, 0.18);
  --border-soft: rgba(242, 239, 233, 0.09);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.5);
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.35);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Faint grain overlay — carried over from the original site */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 900;
}

/* Faint tech grid, fixed behind everything */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(242,239,233,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242,239,233,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}
.container-narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 28px;
}

section { padding: 110px 0; position: relative; }
.section-tight { padding: 72px 0; }
.border-top { border-top: 1px solid var(--border-soft); }
.bg-card { background: var(--bg-card); }

/* ─── Type ─── */
.label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.label::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}
.divider {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 0 0 32px;
  opacity: 0.7;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.section-title em { font-style: italic; color: var(--gold-light); }
.section-body {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.85;
  max-width: 680px;
}
.section-body strong, .card p strong, p strong { color: var(--text); font-weight: 500; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 38px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: #0A0B0D;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
  background-size: 200% 100%;
  animation: shimmer 2.8s infinite;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(201,168,76,0.3);
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-soft);
}
.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-2px);
}
.btn-sm { padding: 13px 26px; font-size: 11.5px; }
.btn-block { width: 100%; justify-content: center; }
@keyframes shimmer { to { background-position: -200% 0; } }

.cta-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* ─── Badge ─── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: var(--gold-dim);
  border: 1px solid var(--border);
  padding: 7px 16px;
  border-radius: 999px;
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px 2px var(--gold);
}

/* ─── Navbar ─── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(10, 11, 13, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-logo { height: 38px; width: auto; display: block; }
.nav-brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 16px;
  font-size: 0.86rem;
  color: var(--muted);
  border-radius: 8px;
  transition: color 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--text); }

.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-cta { display: inline-flex; }
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  background: none; border: 1px solid var(--border-soft); border-radius: 8px;
  color: var(--text);
  cursor: pointer;
}
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 600;
  background: var(--bg);
  padding: 20px 24px 40px;
  overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.mobile-link {
  display: block;
  padding: 16px 4px;
  font-size: 1.05rem;
  color: var(--text);
  border-bottom: 1px solid var(--border-soft);
}
.mobile-close { background: none; border: none; color: var(--text); width: 36px; height: 36px; cursor: pointer; }
.mobile-cta { margin-top: 28px; }

@media (max-width: 940px) {
  .nav-links, .nav-right .btn { display: none; }
  .nav-toggle { display: flex; }
}

/* ─── Breadcrumb ─── */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--muted-dim);
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold-light); }

/* ─── Hero ─── */
.hero { padding: 96px 0 100px; position: relative; overflow: hidden; }
.hero-glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 620px;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(560px 420px at 18% 20%, var(--gold-dim), transparent 60%),
    radial-gradient(480px 380px at 82% 10%, var(--violet-dim), transparent 60%);
  filter: blur(10px);
}
.hero .container { position: relative; z-index: 2; }

/* Background video treatment — shared by any section given .hero-with-video */
.hero-with-video .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.hero-with-video .hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10,11,13,0.88) 0%, rgba(10,11,13,0.78) 45%, rgba(10,11,13,0.92) 100%);
}
.hero-with-video .hero-glow { z-index: 1; opacity: 0.6; }
.hero-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 20px 0 24px;
  max-width: 900px;
}
.hero-headline em { font-style: italic; color: var(--gold-light); }
.hero-sub {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 620px;
  margin-bottom: 40px;
}
.hero-sub strong { color: var(--text); font-weight: 500; }
.hero-fine { margin-top: 18px; font-size: 0.82rem; color: var(--muted-dim); }

/* Small page hero (service/industry pages) */
.page-hero { padding: 64px 0 80px; position: relative; overflow: hidden; }
.page-hero .hero-glow { height: 420px; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.12;
  margin: 18px 0 20px;
  max-width: 820px;
}
.page-hero-title em { font-style: italic; color: var(--gold-light); }
.page-hero-sub { color: var(--muted); font-size: 1.05rem; line-height: 1.85; max-width: 620px; margin-bottom: 32px; }

/* ─── Cards / Grids ─── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }

.card {
  border: 1px solid var(--border-soft);
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.card:hover { border-color: var(--border); transform: translateY(-3px); }

.service-card { display: flex; flex-direction: column; height: 100%; }
.service-card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold-dim);
  border: 1px solid var(--border);
  color: var(--gold-light);
  margin-bottom: 22px;
  flex-shrink: 0;
}
.service-card-icon svg { width: 22px; height: 22px; }
.service-card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.service-card-desc { color: var(--muted); font-size: 0.94rem; line-height: 1.75; margin-bottom: 18px; }
.service-card-list { margin-bottom: 24px; flex-grow: 1; }
.service-card-list li {
  font-size: 0.86rem;
  color: var(--muted);
  padding-left: 18px;
  position: relative;
  margin-bottom: 8px;
  line-height: 1.6;
}
.service-card-list li::before {
  content: '→';
  color: var(--gold);
  position: absolute;
  left: 0;
  top: 0;
}
.service-card-link {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}
.service-card-link svg { width: 14px; height: 14px; transition: transform 0.2s; }
.service-card:hover .service-card-link svg { transform: translateX(3px); }

.industry-card {
  border: 1px solid var(--border-soft);
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}
.industry-card:hover { border-color: var(--border); transform: translateY(-3px); }
.industry-card-body { padding: 30px 28px 32px; }
.industry-card-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.industry-card-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; margin-bottom: 12px; }
.industry-card-desc { color: var(--muted); font-size: 0.92rem; line-height: 1.75; margin-bottom: 20px; }

/* ─── Step / process ─── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border-soft); border: 1px solid var(--border-soft); border-radius: var(--radius); overflow: hidden; margin-top: 56px; }
.step { background: var(--bg-card); padding: 40px 28px; position: relative; }
.step-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.85;
  line-height: 1;
  margin-bottom: 18px;
}
.step-title { font-size: 1.05rem; font-weight: 500; color: var(--text); margin-bottom: 10px; }
.step-desc { font-size: 0.88rem; color: var(--muted); line-height: 1.7; }

/* ─── Why grid ─── */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border-soft); border: 1px solid var(--border-soft); border-radius: var(--radius); overflow: hidden; margin-top: 56px; }
.why-item { background: var(--bg-card); padding: 32px 30px; display: flex; gap: 18px; align-items: flex-start; }
.why-icon { width: 34px; height: 34px; flex-shrink: 0; color: var(--gold); }
.why-icon svg { width: 100%; height: 100%; }
.why-title { font-size: 1rem; font-weight: 500; color: var(--text); margin-bottom: 6px; }
.why-desc { font-size: 0.88rem; color: var(--muted); line-height: 1.7; }

/* ─── Proof / placeholder ─── */
.proof-note {
  border: 1px dashed var(--border);
  background: rgba(201,168,76,0.04);
  border-radius: var(--radius);
  padding: 30px 30px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.8;
}
.proof-note strong { color: var(--text); }

/* ─── FAQ accordion ─── */
.faq-list { display: flex; flex-direction: column; gap: 1px; background: var(--border-soft); border: 1px solid var(--border-soft); border-radius: var(--radius); overflow: hidden; margin-top: 8px; }
.faq-item { background: var(--bg-card); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 30px;
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; transition: transform 0.3s var(--ease); }
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-a { padding: 0 30px 26px; max-width: 720px; }
.faq-a p { color: var(--muted); font-size: 0.92rem; line-height: 1.75; }

/* ─── Benefits list (checkmarks) ─── */
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.96rem;
  color: var(--text);
  padding: 12px 0;
  border-top: 1px solid var(--border-soft);
}
.check-list li:first-child { border-top: none; }
.check-list svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.check-list span { color: var(--muted); }
.check-list strong { color: var(--text); font-weight: 500; }

/* ─── CTA band ─── */
.cta-band { text-align: center; border-top: 1px solid var(--border-soft); position: relative; overflow: hidden; }
.cta-band::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 640px; height: 640px;
  background: radial-gradient(circle, var(--gold-dim) 0%, transparent 70%);
  pointer-events: none;
}
.cta-band .container { position: relative; z-index: 2; }
.cta-band-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 20px;
}
.cta-band-title em { font-style: italic; color: var(--gold-light); }
.cta-band-sub { color: var(--muted); font-size: 1rem; max-width: 480px; margin: 0 auto 40px; line-height: 1.8; }
.cta-band .cta-row { justify-content: center; }
.cta-fine { margin-top: 22px; font-size: 0.8rem; color: var(--muted-dim); }

/* ─── Founder / about ─── */
.founder-inner { display: flex; align-items: center; gap: 56px; }
.founder-photo-wrap { flex-shrink: 0; position: relative; }
.founder-photo {
  width: 176px; height: 176px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 1px solid var(--border);
  filter: grayscale(15%);
}
.founder-photo-wrap::after {
  content: '';
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  opacity: 0.35;
}
.founder-name { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; margin-bottom: 4px; }
.founder-role { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.founder-bio { font-size: 0.98rem; color: var(--muted); line-height: 1.85; max-width: 560px; }

/* ─── Stats (used sparingly, no invented numbers) ─── */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border-soft); border: 1px solid var(--border-soft); border-radius: var(--radius); overflow: hidden; margin-top: 48px; }
.stat { background: var(--bg-card); padding: 34px 20px; text-align: center; }
.stat-num { font-family: var(--font-display); font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 700; color: var(--gold); line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.04em; }

/* ─── Footer ─── */
.footer { border-top: 1px solid var(--border-soft); padding: 80px 0 32px; background: var(--bg-card); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; }
.footer-mantra { font-family: var(--font-display); font-style: italic; font-size: 1.05rem; color: var(--gold-light); margin-bottom: 12px; }
.footer-desc { color: var(--muted); font-size: 0.9rem; line-height: 1.8; max-width: 320px; margin-bottom: 20px; }
.footer-heading { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--muted); font-size: 0.88rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  color: var(--muted-dim); font-size: 0.8rem;
}
.footer-bottom a { color: var(--muted-dim); }
.footer-bottom a:hover { color: var(--gold-light); }

/* ─── Reveal ─── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── Utility ─── */
.mt-0 { margin-top: 0 !important; }
.mt-lg { margin-top: 56px; }
.text-muted { color: var(--muted); }
.max-w-sm { max-width: 560px; }
.hide-mobile { display: initial; }
.show-mobile { display: none; }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .stat-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  section { padding: 72px 0; }
  .hero { padding: 56px 0 64px; }
  .page-hero { padding: 44px 0 56px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .founder-inner { flex-direction: column; text-align: center; gap: 28px; }
  .founder-bio { max-width: 100%; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .btn, .cta-row .btn { width: 100%; justify-content: center; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .hide-mobile { display: none; }
  .show-mobile { display: initial; }
  .card { padding: 28px 22px; }
}
