/* ── RESET & ROOT ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #ff5c1a;
  --primary-dark: #e04400;
  --primary-light: #ff7a40;
  --dark: #0d0d0d;
  --dark2: #141414;
  --dark3: #181818;
  --card: #1a1a1a;
  --card2: #1f1f1f;
  --border: rgba(255,255,255,0.07);
  --border2: rgba(255,255,255,0.12);
  --text: #f0ece6;
  --muted: #888;
  --muted2: #aaa;
  --white: #ffffff;
  --accent: #ffca3a;
  --green: #22c55e;
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

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

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: var(--font-head); letter-spacing: -0.5px; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 6%; height: 68px;
  background: rgba(13,13,13,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background .3s;
}
nav.scrolled { background: rgba(10,10,10,0.98); }

.logo {
  font-family: var(--font-head);
  font-size: 1.3rem; font-weight: 800;
  color: var(--white); text-decoration: none;
  letter-spacing: -0.5px; flex-shrink: 0;
}
.logo .lo { color: var(--primary); }

.nav-links { list-style: none; display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  font-size: 0.88rem; font-weight: 500;
  color: var(--muted); text-decoration: none;
  transition: color .2s; white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links .nav-cta {
  background: var(--primary); color: var(--white) !important;
  padding: 0.45rem 1.2rem; border-radius: var(--radius-sm);
  font-weight: 600 !important;
  transition: background .2s !important;
}
.nav-links .nav-cta:hover { background: var(--primary-dark) !important; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px;
}
.hamburger span {
  width: 22px; height: 2px;
  background: var(--white); border-radius: 2px; transition: .3s;
}

.mobile-nav {
  display: none;
  position: fixed; top: 68px; left: 0; right: 0;
  background: rgba(10,10,10,0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 6%;
  z-index: 199;
  flex-direction: column; gap: 1.1rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 1rem; font-weight: 500;
  color: var(--muted); text-decoration: none; transition: color .2s;
}
.mobile-nav a:hover { color: var(--white); }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--primary); color: var(--white);
  padding: 0.8rem 1.9rem; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.93rem;
  text-decoration: none; border: none; cursor: pointer;
  transition: background .2s, transform .18s, box-shadow .2s;
  box-shadow: 0 0 28px rgba(255,92,26,0.3);
}
.btn-primary:hover {
  background: var(--primary-dark); transform: translateY(-2px);
  box-shadow: 0 6px 36px rgba(255,92,26,0.45);
}
.btn-ghost {
  display: inline-block;
  background: transparent; color: var(--white);
  padding: 0.8rem 1.9rem; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.93rem;
  text-decoration: none; border: 1.5px solid rgba(255,255,255,0.2);
  transition: border-color .2s, background .2s;
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.04);
}
.btn-outline {
  display: inline-block;
  background: transparent; color: var(--primary);
  padding: 0.8rem 1.9rem; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.93rem;
  text-decoration: none; border: 1.5px solid var(--primary);
  transition: background .2s, color .2s;
}
.btn-outline:hover { background: var(--primary); color: var(--white); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 140px 6% 80px;
  text-align: center;
  background: var(--dark);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 65% 70% at 50% -10%, rgba(255,92,26,0.16) 0%, transparent 65%);
}
.page-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.page-tag {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--primary); margin-bottom: 1rem;
  background: rgba(255,92,26,0.1); border: 1px solid rgba(255,92,26,0.25);
  padding: 5px 14px; border-radius: 100px;
}
.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -1.5px; margin-bottom: 1.1rem;
}
.page-hero h1 em { color: var(--primary); font-style: normal; }
.page-hero p { color: var(--muted); font-size: 1.05rem; max-width: 520px; margin: 0 auto; }

/* ── SECTIONS ── */
.section { padding: 88px 6%; }
.section-alt { background: var(--dark2); }

.section-tag {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--primary); margin-bottom: 0.7rem;
}
.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 800; line-height: 1.13; margin-bottom: 0.9rem;
}
.section-title em { color: var(--primary); font-style: normal; }
.section-sub { color: var(--muted); max-width: 520px; font-size: 0.97rem; }
.section-header { margin-bottom: 3.2rem; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 0 auto; }

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

/* ── CARDS ── */
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
  transition: border-color .25s, transform .25s;
}
.card:hover { border-color: rgba(255,92,26,0.35); transform: translateY(-3px); }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(255,92,26,0.1); border: 1px solid rgba(255,92,26,0.22);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; margin-bottom: 1.1rem;
}
.card h3 {
  font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem;
}
.card p { color: var(--muted); font-size: 0.9rem; }
.card-link {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--primary); font-size: 0.84rem; font-weight: 600;
  text-decoration: none; margin-top: 1rem;
  transition: gap .18s;
}
.card-link:hover { gap: 9px; }

/* ── DIVIDER ── */
.divider { height: 1px; background: var(--border); margin: 0; }

/* ── STAT CHIPS ── */
.stats-row {
  display: flex; gap: 3rem; flex-wrap: wrap;
}
.stat-item { }
.stat-num {
  font-family: var(--font-head);
  font-size: 2.4rem; font-weight: 800; color: var(--white);
}
.stat-num em { color: var(--primary); font-style: normal; }
.stat-label { font-size: 0.82rem; color: var(--muted); margin-top: 3px; }

/* ── TOOLS MARQUEE ── */
.marquee-wrap { overflow: hidden; position: relative; }
.marquee-wrap::before, .marquee-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0;
  width: 120px; z-index: 2; pointer-events: none;
}
.marquee-wrap::before { left: 0; background: linear-gradient(90deg, var(--dark), transparent); }
.marquee-wrap::after  { right: 0; background: linear-gradient(-90deg, var(--dark), transparent); }
.marquee-wrap.alt::before { background: linear-gradient(90deg, var(--dark2), transparent); }
.marquee-wrap.alt::after  { background: linear-gradient(-90deg, var(--dark2), transparent); }
.marquee-track {
  display: flex; gap: 1.2rem;
  animation: marquee 22s linear infinite;
  width: max-content;
}
.tool-chip {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 100px; padding: 0.65rem 1.5rem;
  font-weight: 600; font-size: 0.88rem;
  white-space: nowrap; display: flex; align-items: center; gap: 8px;
}
.tool-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }

/* ── FAQ ── */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.4rem 0;
}
.faq-q {
  font-family: var(--font-head); font-size: 1rem; font-weight: 700;
  cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; gap: 1rem;
}
.faq-q .arrow { color: var(--primary); font-size: 1.1rem; transition: transform .25s; flex-shrink: 0; }
.faq-q.open .arrow { transform: rotate(45deg); }
.faq-a { color: var(--muted); font-size: 0.92rem; max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .25s; }
.faq-a.open { max-height: 300px; padding-top: 0.8rem; }

/* ── CTA BANNER ── */
.cta-banner {
  padding: 90px 6%; text-align: center;
  position: relative; overflow: hidden;
  background: var(--dark);
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(255,92,26,0.12) 0%, transparent 70%);
}
.cta-banner > * { position: relative; }
.cta-banner .section-title { font-size: clamp(1.9rem, 3.5vw, 3.2rem); margin-bottom: 1rem; }
.cta-banner p { color: var(--muted); max-width: 480px; margin: 0 auto 2.2rem; }
.cta-banner .btn-primary { font-size: 1rem; padding: 0.95rem 2.4rem; }

/* ── FOOTER ── */
footer {
  background: #070707;
  border-top: 1px solid var(--border);
  padding: 64px 6% 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.3fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-brand .logo { display: block; margin-bottom: 1rem; }
.footer-brand p { color: var(--muted); font-size: 0.86rem; line-height: 1.75; max-width: 250px; }
.social-row { display: flex; gap: 9px; margin-top: 1.2rem; }
.social-btn {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); text-decoration: none; font-size: 0.8rem;
  font-weight: 700; transition: all .2s;
}
.social-btn:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.footer-col h4 {
  font-size: 0.87rem; font-weight: 700;
  margin-bottom: 1.1rem; color: var(--white);
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.55rem; }
.footer-col ul a { color: var(--muted); text-decoration: none; font-size: 0.86rem; transition: color .2s; }
.footer-col ul a:hover { color: var(--primary); }
.contact-row { display: flex; gap: 9px; margin-bottom: 0.75rem; align-items: flex-start; }
.contact-row .ico { color: var(--primary); font-size: 0.85rem; margin-top: 2px; flex-shrink: 0; }
.contact-row span { color: var(--muted); font-size: 0.86rem; }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 1.5rem;
  font-size: 0.77rem; color: var(--muted);
}
.footer-bottom p { margin-bottom: 1rem; line-height: 1.7; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: center; }
.footer-links a { color: var(--muted); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--primary); }

/* ── ANIMATIONS ── */
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; } 50% { opacity: 0.35; }
}

.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .07s; }
.reveal-d2 { transition-delay: .14s; }
.reveal-d3 { transition-delay: .21s; }
.reveal-d4 { transition-delay: .28s; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-row { gap: 2rem; }
  .section { padding: 60px 5%; }
  .page-hero { padding: 120px 5% 60px; }
}
