/* ── Variables ── */
:root {
  --teal: #C0392B;
  --teal-light: #D44F3A;
  --teal-dark: #8B1A1A;
  --charcoal: #0F172A;
  --charcoal-mid: #1E293B;
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-500: #64748B;
  --gray-700: #334155;
  --font: 'Inter', -apple-system, sans-serif;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.06);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--charcoal-mid); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-100);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--charcoal);
  letter-spacing: -0.5px;
}
.nav-logo-img {
  height: 60px;
  width: auto;
  display: block;
}
.footer-logo-img {
  height: 60px;
  width: auto;
  display: block;
  margin-bottom: 0.75rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--teal); }
.btn-demo {
  background: var(--teal) !important;
  color: var(--white) !important;
  padding: 0.55rem 1.3rem;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}
.btn-demo:hover { background: var(--teal-dark) !important; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all 0.3s;
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    background: var(--white);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--gray-100);
    gap: 1.2rem;
  }
  .nav-links.open { display: flex; }
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 72% 38%, rgba(192,57,43,0.22) 0%, transparent 52%),
    radial-gradient(ellipse at 15% 82%, rgba(192,57,43,0.09) 0%, transparent 42%),
    var(--charcoal);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 76px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}
.hero-bg-wolf {
  position: absolute;
  top: 50%;
  right: 2%;
  transform: translateY(-50%);
  width: clamp(280px, 40vw, 560px);
  opacity: 0.14;
  filter: drop-shadow(0 0 70px rgba(192,57,43,0.45));
  user-select: none;
  pointer-events: none;
  z-index: 0;
}
.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
  position: relative;
  z-index: 1;
}
.hero-tags {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}
.hero-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--teal-light);
  border: 1px solid rgba(212,79,58,0.45);
  background: rgba(192,57,43,0.12);
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
}
.hero-headline {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 55%, rgba(255,255,255,0.6) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 1.5rem;
  max-width: 700px;
}
@media (max-width: 768px) {
  .hero-bg-wolf {
    right: auto;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(240px, 75vw, 380px);
    opacity: 0.06;
    filter: none;
  }
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.cta-primary {
  background: var(--teal);
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.15s;
}
.cta-primary:hover { background: var(--teal-dark); transform: translateY(-1px); }
.cta-ghost {
  border: 1.5px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.85);
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: border-color 0.2s, color 0.2s;
}
.cta-ghost:hover { border-color: var(--teal-light); color: var(--teal-light); }

/* ── Layout Utilities ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section-pad { padding: 6rem 0; }
.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--teal);
  margin-bottom: 0.75rem;
}
.section-heading {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--charcoal);
  letter-spacing: -0.5px;
  max-width: 560px;
  margin-bottom: 3rem;
  line-height: 1.15;
}

/* ── Services ── */
.services { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.service-card {
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 2rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.6rem;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal);
}
.card-link:hover { color: var(--teal-dark); }

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ── How It Works ── */
.how-it-works { background: var(--gray-50); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.step-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 2rem;
}
.step-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--teal);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}
.step-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.6rem;
}
.step-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.65;
}

@media (max-width: 768px) {
  .steps-grid { grid-template-columns: 1fr; }
}

/* ── Who It's For ── */
.who-its-for { background: var(--white); }
.who-its-for .section-heading { max-width: none; white-space: nowrap; font-size: clamp(1.2rem, 2.2vw, 2.2rem); }
.who-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.who-card {
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 2rem;
  transition: box-shadow 0.2s;
}
.who-card:hover { box-shadow: var(--shadow); }
.who-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--teal-dark);
  background: #FDDEDE;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}
.who-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.6rem;
}
.who-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.65;
}

@media (max-width: 640px) {
  .who-grid { grid-template-columns: 1fr; }
}

/* ── Integrations ── */
.integrations { background: var(--gray-50); }
.integrations-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.integration-badge {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-700);
  transition: border-color 0.2s, color 0.2s;
}
.integration-badge:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* ── CTA Banner ── */
.cta-banner {
  background: var(--charcoal);
  padding: 5rem 0;
}
.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-banner-text h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.6rem;
  letter-spacing: -0.5px;
}
.cta-banner-text p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  max-width: 460px;
}
.cta-banner-btn {
  background: var(--teal);
  color: var(--white);
  padding: 0.9rem 2.2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: background 0.2s;
  flex-shrink: 0;
}
.cta-banner-btn:hover { background: var(--teal-dark); }

@media (max-width: 640px) {
  .cta-banner-inner { flex-direction: column; align-items: flex-start; }
}

/* ── Footer ── */
.footer {
  background: var(--charcoal-mid);
  padding: 4rem 0 0;
  color: rgba(255,255,255,0.5);
}
.footer-inner {
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand { flex: 1; min-width: 200px; }
.footer-logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
}
.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.65;
  max-width: 240px;
}
.footer-links {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}
.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--white);
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a {
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--teal-light); }
.footer-bottom {
  padding: 1.5rem 0;
  font-size: 0.8rem;
}

/* ── Demo Form Section ── */
.demo-section { background: var(--gray-50); }
.demo-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}
.demo-left .section-heading { margin-bottom: 1rem; }
.demo-desc {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 2rem;
}
.demo-perks {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.demo-perks li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal-mid);
}
.demo-perks li svg { color: var(--teal); flex-shrink: 0; }

.demo-form {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 2.5rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}
.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--charcoal-mid);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.7rem 1rem;
  border: 1px solid var(--gray-100);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--charcoal-mid);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
}
.form-group textarea { resize: vertical; }
.form-submit {
  width: 100%;
  background: var(--teal);
  color: var(--white);
  border: none;
  padding: 0.9rem;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 0.4rem;
}
.form-submit:hover { background: var(--teal-dark); }

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1rem;
  gap: 0.75rem;
}
.form-success h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--charcoal);
}
.form-success p {
  font-size: 0.9rem;
  color: var(--gray-500);
}

@media (max-width: 900px) {
  .demo-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
  .demo-form { padding: 1.5rem; }
}

/* ── Scroll Animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
