/* === VARIABLES === */
:root {
  --bg: #F8F5F0;
  --fg: #111110;
  --accent: #FF4B1F;
  --accent-soft: #FFF1EC;
  --muted: #6B6B6B;
  --border: #E5E0D8;
  --surface: #FFFFFF;
  --green: #10B981;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  overflow-x: hidden;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* === NAV === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(248, 245, 240, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--fg);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

/* === HERO === */
.hero {
  padding: 140px 32px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 24px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero__headline {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--fg);
}

.hero__headline em {
  font-style: normal;
  color: var(--accent);
}

.hero__sub {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 420px;
  line-height: 1.65;
  margin-bottom: 32px;
}

.hero__cta {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: opacity 0.2s;
  font-family: 'DM Sans', sans-serif;
}

.hero__cta:hover { opacity: 0.88; }

/* === BROWSER MOCK === */
.hero__visual {
  position: relative;
}

.browser-frame {
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06), 0 20px 60px rgba(0,0,0,0.04);
}

.browser-bar {
  background: #F3F2F0;
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.browser-dot.red { background: #FF5F57; }
.browser-dot.yellow { background: #FFBD2E; }
.browser-dot.green { background: #28CA41; }

.browser-url {
  margin-left: 12px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 0.75rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.browser-content {
  padding: 28px;
}

.mock-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.mock-hero {
  margin-bottom: 24px;
}

.mock-h1 {
  height: 22px;
  background: var(--fg);
  border-radius: 4px;
  margin-bottom: 10px;
  width: 100%;
}
.mock-h1.short { width: 60%; margin-bottom: 16px; }

.mock-btn {
  width: 120px;
  height: 36px;
  background: var(--accent);
  border-radius: 8px;
}

.mock-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.mock-card {
  background: var(--bg);
  border-radius: 8px;
  padding: 14px;
  border: 1px solid var(--border);
}

.mock-icon {
  width: 24px;
  height: 24px;
  background: var(--accent-soft);
  border-radius: 6px;
  margin-bottom: 10px;
}

.mock-text {
  height: 10px;
  background: var(--border);
  border-radius: 3px;
  margin-bottom: 8px;
}

.mock-text-sm {
  height: 8px;
  background: var(--border);
  border-radius: 3px;
  width: 70%;
}

.mock-pulse {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 40px;
}

.pulse-bar {
  flex: 1;
  border-radius: 4px;
  background: linear-gradient(to top, var(--accent-soft), var(--accent));
  animation: bar-grow 1.4s ease-in-out infinite alternate;
}
.p1 { height: 60%; animation-delay: 0s; }
.p2 { height: 100%; animation-delay: 0.2s; }
.p3 { height: 80%; animation-delay: 0.4s; }
.p4 { height: 50%; animation-delay: 0.6s; }

@keyframes bar-grow {
  0% { opacity: 0.4; }
  100% { opacity: 1; }
}

.agent-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  background: #F0FDF4;
  border: 1px solid #D1FAE5;
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #065F46;
}

/* === HOW IT WORKS === */
.how {
  background: var(--fg);
  color: var(--bg);
  padding: 100px 32px;
}

.how__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.how__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 40px;
}

.how__steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
}

.step-number {
  font-family: 'Syne', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.4;
  margin-bottom: 16px;
}

.step-content h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  font-family: 'Syne', sans-serif;
}

.step-content p {
  font-size: 0.95rem;
  color: rgba(248,245,240,0.6);
  line-height: 1.65;
}

.how__divider {
  width: 1px;
  height: 120px;
  background: rgba(248,245,240,0.1);
  margin: 30px 48px 0;
  align-self: center;
}

/* === FEATURES === */
.features {
  padding: 100px 32px;
}

.features__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.features__header {
  max-width: 560px;
  margin-bottom: 60px;
}

.features__title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 16px;
}

.features__sub {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.features__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.feature-card {
  background: var(--surface);
  padding: 40px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* === PRICING === */
.pricing {
  padding: 100px 32px;
  background: var(--bg);
}

.pricing__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.pricing__header {
  text-align: center;
  margin-bottom: 60px;
}

.pricing__title {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.pricing__cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pricing-card__label {
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 12px;
}

.pricing-card__price {
  font-family: 'Syne', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--fg);
}

.pricing-card__price span {
  font-size: 1.1rem;
  color: var(--muted);
  font-weight: 400;
}

.pricing-card__desc {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
  line-height: 1.55;
}

.pricing-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-card__features li {
  font-size: 0.9rem;
  color: var(--fg);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-card__features li::before {
  content: '';
  width: 16px;
  height: 16px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M2 5l2.5 2.5L8 3' stroke='white' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* === MANIFESTO === */
.manifesto {
  background: var(--accent);
  padding: 100px 32px;
  color: white;
}

.manifesto__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.manifesto__quote {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 60px;
  max-width: 760px;
  color: white;
}

.manifesto__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.stat__value {
  font-family: 'Syne', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: white;
}

.stat__label {
  font-size: 0.95rem;
  opacity: 0.75;
  line-height: 1.55;
  max-width: 300px;
}

/* === CLOSING === */
.closing {
  padding: 100px 32px;
  text-align: center;
}

.closing__inner {
  max-width: 800px;
  margin: 0 auto;
}

.closing__headline {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 20px;
}

.closing__sub {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.65;
}

/* === FOOTER === */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 32px;
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
}

.footer__tagline {
  font-size: 0.9rem;
  color: var(--muted);
  flex: 1;
}

.footer__legal {
  font-size: 0.8rem;
  color: var(--muted);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero__visual {
    order: -1;
  }
  .how__steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .how__divider { display: none; }
  .features__grid {
    grid-template-columns: 1fr;
  }
  .pricing__cards {
    grid-template-columns: 1fr;
  }
  .manifesto__stats {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .hero { padding: 120px 20px 60px; }
  .mock-grid { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}