/* =============================================
   InkaFlow AI — Design System
   Mobile-first, BEM, CSS Variables
   ============================================= */

:root {
  --bg:           #080808;
  --bg-card:      #101010;
  --bg-card-2:    #161616;
  --border:       #1e1e1e;
  --border-hover: #2e2e2e;
  --text:         #f0f0f0;
  --text-muted:   #888;
  --text-dim:     #444;
  --orange:       #f97316;
  --orange-hover: #ea6c0a;
  --orange-glow:  rgba(249,115,22,.12);
  --green:        #22c55e;
  --green-bg:     rgba(34,197,94,.1);
  --blue:         #3b82f6;
  --blue-bg:      rgba(59,130,246,.1);
  --purple:       #a855f7;
  --radius:       12px;
  --radius-lg:    20px;
  --max-w:        1120px;
  --transition:   .2s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Utilities ── */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section--dark { background: var(--bg-card); }
.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-glow);
  border: 1px solid rgba(249,115,22,.2);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.section__headline {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: #fff;
  margin-bottom: 16px;
}
.section__sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.7;
}
.section__header { text-align: center; margin-bottom: 56px; }
.section__header .section__sub { margin: 0 auto; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 26px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--orange);
  color: #fff;
}
.btn--primary:hover { background: var(--orange-hover); transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn--ghost:hover { border-color: var(--border-hover); color: var(--text); }
.btn--lg { padding: 16px 32px; font-size: 16px; }

/* ── Navbar ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(8,8,8,.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav__logo {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
}
.nav__logo span { color: var(--orange); }
.nav__links {
  display: none;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav__links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--text); }
.nav__right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang-switcher {
  display: flex;
  gap: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 4px;
}
.lang-btn {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--text-muted);
  transition: var(--transition);
}
.lang-btn.active {
  background: var(--orange);
  color: #fff;
}

@media (min-width: 768px) {
  .nav__links { display: flex; }
}

/* ── Hero ── */
.hero {
  padding: 130px 0 80px;
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 6px 14px;
  margin-bottom: 24px;
}
.hero__badge::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  flex-shrink: 0;
}
.hero__headline {
  font-size: clamp(34px, 6vw, 62px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.03em;
  color: #fff;
  margin-bottom: 20px;
}
.hero__headline em {
  font-style: normal;
  color: var(--orange);
}
.hero__sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 36px;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.hero__proof {
  font-size: 13px;
  color: var(--text-dim);
}

/* ── Dashboard Mockup ── */
.hero__visual { position: relative; }
.mockup {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,.6);
}
.mockup__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--bg-card-2);
  border-bottom: 1px solid var(--border);
}
.mockup__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.mockup__dot:nth-child(1) { background: #ff5f57; }
.mockup__dot:nth-child(2) { background: #febc2e; }
.mockup__dot:nth-child(3) { background: #28c840; }
.mockup__title {
  font-size: 11px;
  color: var(--text-dim);
  margin-left: 8px;
  font-weight: 500;
}
.mockup__body { padding: 18px; }
.mockup__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.mock-stat {
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  text-align: center;
}
.mock-stat__val {
  display: block;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}
.mock-stat__val--green { color: var(--green); }
.mock-stat__val--orange { color: var(--orange); }
.mock-stat__val--blue { color: var(--blue); }
.mock-stat__label { font-size: 10px; color: var(--text-dim); line-height: 1.3; }

.mockup__chat { margin-bottom: 16px; }
.chat-bubble {
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 10px;
  max-width: 80%;
  margin-bottom: 6px;
  line-height: 1.4;
}
.chat-bubble--in {
  background: var(--bg-card-2);
  color: var(--text-muted);
  border-bottom-left-radius: 2px;
}
.chat-bubble--out {
  background: rgba(37,211,102,.12);
  border: 1px solid rgba(37,211,102,.2);
  color: #4ade80;
  margin-left: auto;
  border-bottom-right-radius: 2px;
}
.chat-badge {
  font-size: 10px;
  color: var(--text-dim);
  text-align: right;
}

.mockup__leads { display: flex; flex-direction: column; gap: 6px; }
.lead-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  background: var(--bg-card-2);
  border-radius: 8px;
  padding: 8px 12px;
}
.lead-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.lead-dot--green { background: var(--green); }
.lead-dot--orange { background: var(--orange); }
.lead-dot--blue { background: var(--blue); }

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
  font-size: 12px;
  white-space: nowrap;
  animation: float 4s ease-in-out infinite;
}
.float-card strong { display: block; color: var(--text); font-size: 12px; }
.float-card span { color: var(--text-muted); font-size: 11px; }
.float-card--1 { top: -20px; right: -16px; animation-delay: 0s; }
.float-card--2 { bottom: 20px; left: -20px; animation-delay: 2s; }
.float-icon { font-size: 18px; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (min-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr 1fr; }
}

/* ── Logos ── */
.logos { padding: 32px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.logos__label {
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 20px;
}
.logos__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 32px;
}
.logo-pill {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dim);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 50px;
  letter-spacing: .03em;
}

/* ── Problem ── */
.problem__quote {
  text-align: center;
  font-size: 18px;
  font-style: italic;
  color: var(--text-muted);
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color var(--transition), transform var(--transition);
}
.card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.card--new { border-left: 2px solid rgba(249,115,22,.4); position: relative; }
.card__badge {
  position: absolute;
  top: 16px; right: 16px;
  font-size: 10px;
  font-weight: 700;
  background: var(--orange);
  color: #fff;
  padding: 2px 8px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.card__icon { font-size: 28px; margin-bottom: 14px; }
.card__title { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.card__text { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

@media (min-width: 768px) {
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── How it works ── */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  counter-reset: step;
}
.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step__num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--orange-glow);
  border: 1px solid rgba(249,115,22,.3);
  color: var(--orange);
  font-size: 18px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step__title { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.step__text { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step { grid-template-columns: 1fr; border-bottom: none; border-right: 1px solid var(--border); padding: 32px 40px 32px 0; }
  .step:last-child { border-right: none; }
}

/* ── Results ── */
.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.metric {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
}
.metric__val {
  font-size: clamp(36px, 6vw, 52px);
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -.03em;
}
.metric__label { font-size: 14px; color: var(--text-muted); }
.results__disclaimer {
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 32px;
}

@media (min-width: 768px) {
  .metrics { grid-template-columns: repeat(4, 1fr); }
}

/* ── Testimonials ── */
.testi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.testi {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.testi__stars { color: var(--orange); font-size: 14px; margin-bottom: 14px; }
.testi__text { font-size: 15px; color: var(--text); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testi__author { display: flex; align-items: center; gap: 12px; }
.testi__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--orange-glow);
  border: 1px solid rgba(249,115,22,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--orange);
  font-size: 14px;
  flex-shrink: 0;
}
.testi__name { font-size: 14px; font-weight: 700; color: #fff; }
.testi__role { font-size: 12px; color: var(--text-dim); }

@media (min-width: 768px) {
  .testi-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Pricing ── */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}
.plan {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
}
.plan--featured {
  border-color: var(--orange);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(249,115,22,.04) 100%);
}
.plan__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 700;
  background: var(--orange);
  color: #fff;
  padding: 3px 14px;
  border-radius: 50px;
  white-space: nowrap;
}
.plan__name { font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.plan__setup { font-size: 12px; color: var(--text-dim); margin-bottom: 8px; }
.plan__desc { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; line-height: 1.5; }
.plan__price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 28px; }
.plan__amount { font-size: 44px; font-weight: 900; color: #fff; letter-spacing: -.03em; }
.plan__period { font-size: 14px; color: var(--text-dim); }
.plan__features { list-style: none; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.plan__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}
.plan__features li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.plan .btn { width: 100%; justify-content: center; }

@media (min-width: 640px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(4, 1fr); }
  .plan { padding: 24px 20px; }
  .plan__amount { font-size: 36px; }
}

/* ── Guarantee ── */
.guarantee {
  background: linear-gradient(135deg, rgba(249,115,22,.08) 0%, transparent 100%);
  border: 1px solid rgba(249,115,22,.2);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
}
.guarantee__icon { font-size: 40px; margin-bottom: 16px; }
.guarantee__headline { font-size: 26px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.guarantee__text { font-size: 15px; color: var(--text-muted); max-width: 600px; margin: 0 auto; line-height: 1.7; }

/* ── About ── */
.about__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
.about__text { font-size: 16px; color: var(--text-muted); line-height: 1.8; margin-bottom: 28px; }
.about__founder {
  display: flex;
  align-items: center;
  gap: 14px;
}
.about__avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--orange-glow);
  border: 2px solid rgba(249,115,22,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--orange);
  font-size: 18px;
}
.about__founder-name { font-weight: 700; color: #fff; font-size: 15px; }
.about__founder-role { font-size: 13px; color: var(--text-dim); }
.about__stack {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.about__stack-title { font-size: 13px; color: var(--text-dim); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.about__stack-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.stack-pill {
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--text-muted);
}

@media (min-width: 1024px) {
  .about__inner { grid-template-columns: 1.4fr 1fr; }
}

/* ── Final CTA ── */
.cta-final {
  text-align: center;
  padding: 100px 0;
}
.cta-final__headline {
  font-size: clamp(26px, 4.5vw, 46px);
  font-weight: 900;
  color: #fff;
  max-width: 680px;
  margin: 0 auto 16px;
  line-height: 1.15;
  letter-spacing: -.02em;
}
.cta-final__sub {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 36px;
}
.cta-final__contact {
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-dim);
}

/* ── Footer ── */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.footer__logo { font-weight: 800; color: #fff; }
.footer__logo span { color: var(--orange); }
.footer__copy { font-size: 13px; color: var(--text-dim); }
.footer__contact { font-size: 13px; color: var(--text-muted); }

/* ── Scale plan variant ── */
.plan--scale {
  border-color: rgba(34,197,94,.3);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(34,197,94,.04) 100%);
}
.plan__badge--green {
  background: var(--green);
  color: #000;
}

/* ── Add-ons ── */
.addons-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.addon {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: border-color var(--transition), transform var(--transition);
}
.addon:hover { border-color: var(--border-hover); transform: translateY(-1px); }
.addon__icon { font-size: 24px; flex-shrink: 0; }
.addon__content { flex: 1; }
.addon__name { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.addon__desc { font-size: 12px; color: var(--text-muted); }
.addon__price {
  font-size: 15px;
  font-weight: 800;
  color: var(--orange);
  white-space: nowrap;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .addons-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .addons-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── DACH / International ── */
.dach__inner {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}
.dach__flags { font-size: 28px; margin-bottom: 16px; letter-spacing: 4px; }
.dach__text {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}
