:root {
  --bg: #f4f6f9;
  --bg-alt: #eef1f6;
  --surface: #ffffff;
  --surface-2: #f9fafb;
  --border: #e2e6ed;
  --border-strong: #cdd3df;
  --text: #111827;
  --text-muted: #5c6578;
  --primary: #1d4ed8;
  --primary-soft: rgba(29, 78, 216, 0.08);
  --accent: #059669;
  --accent-soft: rgba(5, 150, 105, 0.1);
  --warn: #d97706;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --container: 1140px;
  --header-h: 72px;
  --shadow: 0 4px 24px rgba(17, 24, 39, 0.06);
  --shadow-lg: 0 20px 50px rgba(17, 24, 39, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(29, 78, 216, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 78, 216, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

address {
  font-style: normal;
  color: var(--text-muted);
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(244, 246, 249, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1.5rem;
}

.logo {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo__icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), #3b82f6);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
}

.logo b {
  color: var(--primary);
}

.nav {
  display: flex;
  gap: 1.75rem;
}

.nav a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
}

.header__actions {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: 0.3s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--font);
  transition: all 0.2s;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
}

.btn--primary:hover {
  background: #1e40af;
  box-shadow: 0 4px 16px rgba(29, 78, 216, 0.3);
}

.btn--outline {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--text);
}

.btn--outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn--lg {
  padding: 0.85rem 1.5rem;
  font-size: 0.95rem;
}

/* Hero */
.hero {
  padding: calc(var(--header-h) + 4rem) 0 5rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 1rem;
  padding: 0.35rem 0.75rem;
  background: var(--accent-soft);
  border-radius: 6px;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero h1 span {
  color: var(--primary);
}

.hero__lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 1.75rem;
  line-height: 1.7;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero__metrics {
  display: flex;
  gap: 2rem;
}

.hero__metric strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

.hero__metric span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* CRM mock */
.crm-mock {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.crm-mock__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.crm-mock__body {
  display: grid;
  grid-template-columns: 140px 1fr;
  min-height: 320px;
}

.crm-mock__nav {
  border-right: 1px solid var(--border);
  padding: 1rem 0;
}

.crm-mock__nav span {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.crm-mock__nav span.active {
  background: var(--primary-soft);
  color: var(--primary);
  border-right: 2px solid var(--primary);
}

.crm-mock__main {
  padding: 1rem;
}

.pipeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.pipe-col h4 {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.deal-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
}

.deal-card strong {
  display: block;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.deal-card em {
  font-style: normal;
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 600;
}

.deal-card--ai {
  border-color: rgba(5, 150, 105, 0.3);
  background: var(--accent-soft);
}

.deal-card--ai::before {
  content: "IA";
  font-size: 0.6rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
  margin-bottom: 0.3rem;
}

/* Section */
.section {
  padding: 5rem 0;
}

.section--alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 560px;
  margin-bottom: 3rem;
}

.section-head--center {
  text-align: center;
  margin-inline: auto;
}

.section-head h2,
.page-hero h1 {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-head p,
.page-hero p {
  color: var(--text-muted);
  font-size: 1.02rem;
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

.feature-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.step-card {
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--primary);
}

.step-card__num {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.step-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Nav cards */
.nav-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.nav-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.2s;
}

.nav-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.nav-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.nav-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 1rem;
}

.nav-card span {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
}

/* Page hero */
.page-hero {
  padding: calc(var(--header-h) + 3rem) 0 2.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.split p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.bullet-list {
  list-style: none;
  margin: 1rem 0;
}

.bullet-list li {
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: 0.6rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 2px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
}

.contact-info__item {
  margin-bottom: 1.5rem;
}

.contact-info__item h3 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  font-family: var(--font);
  font-size: 0.92rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* CTA */
.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem 3rem;
  background: linear-gradient(135deg, var(--primary), #2563eb);
  border-radius: var(--radius-xl);
  color: #fff;
}

.cta-box h2 {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800;
  max-width: 420px;
}

.cta-box p {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-top: 0.35rem;
}

.cta-box .btn--primary {
  background: #fff;
  color: var(--primary);
}

.cta-box .btn--primary:hover {
  background: var(--bg);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 2rem;
  margin-top: 3rem;
  background: var(--surface);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer__tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 280px;
  margin-top: 0.75rem;
}

.footer__col h4 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.footer__col a,
.footer__col address {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.footer__col a:hover {
  color: var(--text);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.footer__bottom p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
}

.footer__legal a {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Legal */
.legal {
  padding: calc(var(--header-h) + 2rem) 0 4rem;
}

.legal__content {
  max-width: 700px;
  margin-inline: auto;
}

.legal__content h1 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.legal__updated {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.legal__content h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 1.75rem 0 0.6rem;
}

.legal__content p,
.legal__content li {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 0.6rem;
}

.legal__content ul {
  padding-left: 1.2rem;
}

.legal__content a {
  color: var(--primary);
}

/* Cookie */
.cookie-banner {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 200;
  max-width: 380px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-lg);
  transform: translateY(120%);
  opacity: 0;
  transition: 0.4s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner p {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.cookie-banner a {
  color: var(--primary);
  font-weight: 600;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.5rem;
}

.nav--mobile {
  display: none;
  flex-direction: column;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--surface);
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  gap: 1rem;
  z-index: 99;
}

.nav--mobile.open {
  display: flex;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: 0.6s ease;
}

.reveal.on {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .hero__grid,
  .split,
  .contact-grid,
  .footer__grid,
  .cta-box {
    grid-template-columns: 1fr;
    flex-direction: column;
    text-align: center;
  }

  .cta-box {
    align-items: center;
  }

  .feature-grid,
  .steps,
  .nav-cards,
  .pipeline {
    grid-template-columns: 1fr;
  }

  .crm-mock__body {
    grid-template-columns: 1fr;
  }

  .crm-mock__nav {
    display: none;
  }

  .nav {
    display: none;
  }

  .header__actions {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero__cta,
  .hero__metrics {
    justify-content: center;
  }

  .hero__lead {
    margin-inline: auto;
  }
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
