/* ============================================
   Tint'Car — Shared design system
   Premium dark / yellow / white
   ============================================ */

:root {
  --bg:        #07070a;
  --bg-2:      #0d0d11;
  --surface:   #121217;
  --surface-2: #1a1a21;
  --border:    rgba(255,255,255,0.08);
  --border-2:  rgba(255,255,255,0.14);

  --text:      #f5f5f7;
  --muted:     #9a9aa3;
  --dim:       #6a6a72;

  --gold:      #ffb800;
  --gold-2:    #ffd24a;
  --gold-deep: #c98a00;
  --gold-glow: 0 0 0 1px rgba(255,184,0,.35), 0 10px 40px -10px rgba(255,184,0,.55);

  --radius-s: 8px;
  --radius:   14px;
  --radius-l: 22px;

  --max: 1280px;

  --serif: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --brand-font: "Plus Jakarta Sans", "Sora", "Inter", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

html {
  background: var(--bg);
  color: var(--text);
  font-family: var(--serif);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(255,184,0,.08), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(255,184,0,.04), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  overflow-x: hidden;
}

/* fine grain noise */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .35;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.45 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

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

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(40px, 7vw, 92px); }
h2 { font-size: clamp(32px, 4.6vw, 60px); letter-spacing: -0.03em; }
h3 { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.02em; line-height: 1.15; }
h4 { font-size: 18px; letter-spacing: -0.01em; line-height: 1.2; }

p { margin: 0; color: var(--muted); }
p.lead { font-size: clamp(17px, 1.4vw, 21px); color: #cfcfd4; line-height: 1.5; max-width: 60ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,184,0,.25);
  background: linear-gradient(180deg, rgba(255,184,0,.08), rgba(255,184,0,.02));
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
}

.gold { color: var(--gold); }
.white { color: var(--text); }

/* ============================================
   Layout
   ============================================ */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 2;
}

section { position: relative; z-index: 2; }

/* ============================================
   Nav
   ============================================ */
.nav-wrap {
  position: sticky; top: 0; z-index: 50;
  padding: 14px 0;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(7,7,10,0.72);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--brand-font);
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.03em;
  font-size: 24px;
  color: #fff;
  text-decoration: none;
}
.brand-logo {
  height: 44px; width: auto;
  display: block;
  object-fit: contain;
  /* Logo is on solid black bg — clip subtly into the dark UI */
  border-radius: 8px;
}
.brand-mark {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: #000;
  border: 1px solid var(--border-2);
  overflow: hidden;
  flex: none;
}
.brand-mark img { width: 110%; height: 110%; object-fit: contain; }
.brand .apos { color: var(--gold); margin: 0 -1px; }

.nav-links {
  display: flex; align-items: center; gap: 4px;
  list-style: none; margin: 0; padding: 6px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.nav-links a {
  display: inline-block;
  padding: 9px 16px;
  font-size: 13.5px;
  font-weight: 500;
  color: #c8c8cf;
  border-radius: 999px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.04); }
.nav-links a.active {
  color: #0a0a0a;
  background: var(--gold);
  font-weight: 700;
}

.nav-cta { display: flex; align-items: center; gap: 10px; }

.nav-burger {
  display: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border-2);
  background: rgba(255,255,255,0.03);
  color: #fff;
  cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-burger svg { width: 18px; height: 18px; }

@media (max-width: 1100px) {
  .nav-cta .btn-secondary { display: none; }
}
@media (max-width: 980px) {
  .nav-links { display: none; position: absolute; top: 70px; left: 16px; right: 16px;
    flex-direction: column; align-items: stretch; padding: 12px;
    background: rgba(15,15,20,.96); backdrop-filter: blur(20px);
    border-radius: 18px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; }
  .nav-burger { display: inline-flex; }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600; font-size: 14px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s, box-shadow .3s, background .2s, color .2s;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(180deg, #ffd24a, #ffb800);
  color: #0a0a0a;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.45),
    0 10px 30px -10px rgba(255,184,0,.6),
    0 0 0 1px rgba(255,184,0,.35);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.45),
    0 14px 40px -10px rgba(255,184,0,.75),
    0 0 0 1px rgba(255,184,0,.55);
}
.btn-secondary {
  background: rgba(255,255,255,0.04);
  border-color: var(--border-2);
  color: #fff;
}
.btn-secondary:hover { background: rgba(255,255,255,0.08); }

.btn-ghost {
  background: transparent; color: var(--text);
  border-color: rgba(255,255,255,0.18);
}
.btn-ghost:hover { background: rgba(255,255,255,0.04); }

.btn-arrow { transition: transform .2s; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ============================================
   Card
   ============================================ */
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012));
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.card.lift { transition: transform .3s, border-color .3s, background .3s; }
.card.lift:hover {
  transform: translateY(-4px);
  border-color: rgba(255,184,0,.35);
  background: linear-gradient(180deg, rgba(255,184,0,0.05), rgba(255,255,255,0.012));
}

/* ============================================
   Footer
   ============================================ */
.footer {
  margin-top: 120px;
  padding: 64px 0 36px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, rgba(255,184,0,.025));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
.footer h5 {
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 18px;
  font-family: var(--mono); font-weight: 600;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { padding: 6px 0; }
.footer li a { color: var(--muted); font-size: 14px; transition: color .15s; }
.footer li a:hover { color: #fff; }
.footer-bottom {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; gap: 20px;
  flex-wrap: wrap;
  font-size: 12px; color: var(--dim);
}

/* ============================================
   Section helpers
   ============================================ */
.section { padding: 120px 0; }
.section-sm { padding: 80px 0; }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; margin-bottom: 64px;
}
.section-head .left { max-width: 640px; }
.section-head .left > * + * { margin-top: 16px; }
@media (max-width: 760px) {
  .section-head { flex-direction: column; align-items: flex-start; }
  .section { padding: 80px 0; }
}

/* ============================================
   Decorative glow / hairline
   ============================================ */
.glow-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,184,0,.6), transparent);
  border: 0;
  margin: 0;
}

/* ============================================
   Page hero
   ============================================ */
.page-hero {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.page-hero .breadcrumb {
  font-family: var(--mono); font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--dim);
  margin-bottom: 24px;
}
.page-hero .breadcrumb .sep { color: var(--gold); margin: 0 8px; }
.page-hero h1 { max-width: 14ch; }
.page-hero p.lead { margin-top: 24px; }

/* ============================================
   Floating CTA — persistent on every page
   ============================================ */
@property --grad-r {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.floating-cta {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
}
.floating-cta > * { pointer-events: auto; }

.gradient-btn {
  --grad-r: 0deg;
  position: relative;
  display: inline-flex;
  cursor: pointer;
  text-decoration: none;
  border-radius: 999px;
  padding: 2px;
  background: conic-gradient(
    from var(--grad-r),
    #ffd24a 0deg,
    #ffb800 60deg,
    #ff8c00 120deg,
    #c98a00 180deg,
    #ffb800 240deg,
    #ffe580 300deg,
    #ffd24a 360deg
  );
  box-shadow:
    0 12px 40px -8px rgba(255,184,0,.55),
    0 0 0 1px rgba(255,184,0,.25);
  animation: gradientSpin 4s linear infinite;
  transition: transform .25s;
}
.gradient-btn:hover { transform: translateY(-2px) scale(1.02); }

.gradient-btn::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 999px;
  background: #0a0a0e;
  z-index: 1;
}
.gradient-btn .gb-inner {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.gradient-btn .gb-inner .gb-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
  animation: live 1.6s ease-in-out infinite;
}
.gradient-btn .gb-inner svg { width: 14px; height: 14px; }

@keyframes gradientSpin {
  from { --grad-r: 0deg; }
  to   { --grad-r: 360deg; }
}

/* Fallback for browsers without @property — rotate via transform */
@supports not (background: conic-gradient(from var(--grad-r), red, blue)) {
  .gradient-btn {
    background: linear-gradient(135deg, #ffd24a, #ffb800, #c98a00, #ffb800, #ffd24a);
    background-size: 300% 300%;
    animation: gradientSlide 4s linear infinite;
  }
  @keyframes gradientSlide {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
  }
}

/* Secondary call icon button — circular */
.call-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(15,15,20,.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-2);
  color: var(--gold);
  display: grid; place-items: center;
  text-decoration: none;
  transition: .2s;
}
.call-btn:hover { background: var(--gold); color: #0a0a0a; transform: scale(1.05); }
.call-btn svg { width: 20px; height: 20px; }

@media (max-width: 600px) {
  .floating-cta { bottom: 14px; right: 14px; }
  .gradient-btn .gb-inner { padding: 12px 18px; font-size: 13px; }
  .call-btn { width: 46px; height: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  .gradient-btn { animation: none !important; }
  .gradient-btn .gb-inner .gb-dot { animation: none !important; }
}

/* ============================================
   Scroll reveal — applied globally
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
}
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: .05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .15s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .25s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .35s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .45s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .55s; }

.reveal-left { transform: translateX(-50px); }
.reveal-left.is-visible { transform: translateX(0); }
.reveal-right { transform: translateX(50px); }
.reveal-right.is-visible { transform: translateX(0); }

.reveal-zoom { transform: scale(.94); }
.reveal-zoom.is-visible { transform: scale(1); }

.section-head,
.hero-stats,
.timeline .tl-step,
.compare-row,
details.faq,
.price-card,
.film,
.svc-detail,
.benefit,
.metric {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.section-head.is-visible,
.hero-stats.is-visible,
.timeline .tl-step.is-visible,
.compare-row.is-visible,
details.faq.is-visible,
.price-card.is-visible,
.film.is-visible,
.svc-detail.is-visible,
.benefit.is-visible,
.metric.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero photo parallax target */
.hero-photo { transition: transform .2s ease-out; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > *, .reveal-left, .reveal-right, .reveal-zoom,
  .section-head, .hero-stats, .timeline .tl-step,
  .compare-row, details.faq, .price-card, .film, .svc-detail,
  .benefit, .metric {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
}
