/* ============================================================
   GABI · Landing page — Carina IA
   ============================================================ */

:root {
  --bg:        #0b1020;
  --bg-2:      #10162e;
  --surface:   rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border:    rgba(255, 255, 255, 0.10);
  --text:      #eef1fb;
  --muted:     #a7b0cf;
  --brand:     #7c6bff;
  --brand-2:   #41d0c4;
  --accent:    #6d5efc;
  --radius:    18px;
  --radius-sm: 12px;
  --shadow:    0 24px 60px -20px rgba(0, 0, 0, 0.55);
  --maxw:      1160px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: radial-gradient(1200px 700px at 80% -10%, #1a2350 0%, transparent 60%),
              radial-gradient(900px 600px at 0% 10%, #17233f 0%, transparent 55%),
              var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, .brand-name {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

.grad-text {
  background: linear-gradient(100deg, var(--brand) 10%, var(--brand-2) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== Decorative orbs ===== */
.bg-orbs { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
}
.orb--1 { width: 460px; height: 460px; background: #6d5efc; top: -120px; right: -80px; }
.orb--2 { width: 380px; height: 380px; background: #41d0c4; top: 480px; left: -120px; opacity: 0.22; }
.orb--3 { width: 300px; height: 300px; background: #b06bff; bottom: 200px; right: 10%; opacity: 0.18; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn--lg { padding: 14px 26px; font-size: 16px; }
.btn--block { display: flex; width: 100%; justify-content: center; }
.btn--primary {
  background: linear-gradient(100deg, var(--brand), var(--accent));
  color: #fff;
  box-shadow: 0 10px 30px -8px rgba(109, 94, 252, 0.6);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -8px rgba(109, 94, 252, 0.7); }
.btn--ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: var(--surface-2); transform: translateY(-2px); }
.btn--light { background: #fff; color: #171a2e; }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(0,0,0,.4); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(11, 16, 32, 0.6);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-name { font-weight: 800; font-size: 20px; letter-spacing: 0.04em; }
.brand-logo { display: inline-flex; }

.carina-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding: 12px 20px 12px 22px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: background .2s ease, border-color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.carina-badge:hover {
  background: var(--surface-2);
  border-color: rgba(124,107,255,.55);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -14px rgba(124,107,255,.6);
}
.carina-badge-label { font-size: 15px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.carina-badge img {
  height: 34px;
  width: auto;
  display: block;
  background: #fff;
  border-radius: 8px;
  padding: 5px 10px;
}
.carina-badge-arrow { color: var(--muted); transition: transform .2s ease, color .2s ease; }
.carina-badge:hover .carina-badge-arrow { color: var(--text); transform: translate(2px, -2px); }

.nav { display: flex; gap: 26px; }
.nav a { color: var(--muted); font-size: 15px; font-weight: 500; transition: color .2s; }
.nav a:hover { color: var(--text); }

.header-cta { display: flex; gap: 10px; }

/* ===== Hero ===== */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding-block: 84px 72px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 0 4px rgba(65,208,196,.18); }
.pill--light { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.22); color: var(--text); margin-bottom: 22px; }

.hero h1 { font-size: clamp(2.3rem, 5vw, 3.5rem); font-weight: 800; margin: 20px 0 18px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34ch; }
.hero-actions { display: flex; gap: 14px; margin: 30px 0 22px; flex-wrap: wrap; }
.hero-trust {
  display: flex;
  gap: 20px;
  list-style: none;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}

/* ===== Chat window mockup ===== */
.hero-visual { position: relative; }
.chat-window {
  background: linear-gradient(180deg, rgba(24,31,58,.95), rgba(16,22,46,.95));
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(10px);
}
.chat-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.02);
}
.chat-avatar {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: grid; place-items: center;
  font-weight: 800; color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
}
.chat-heading { display: flex; flex-direction: column; line-height: 1.2; }
.chat-heading strong { font-size: 15px; }
.chat-status { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #38d39f; box-shadow: 0 0 0 3px rgba(56,211,159,.2); }
.chat-dots { margin-left: auto; color: var(--muted); letter-spacing: 2px; }

.chat-body {
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 300px;
}
.msg {
  max-width: 82%;
  padding: 11px 15px;
  border-radius: 16px;
  font-size: 14.5px;
  animation: pop .4s ease both;
}
.msg--in {
  align-self: flex-start;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-bottom-left-radius: 5px;
}
.msg--out {
  align-self: flex-end;
  background: linear-gradient(120deg, var(--brand), var(--accent));
  color: #fff;
  border-bottom-right-radius: 5px;
}
.msg--card {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
}
.prod-thumb {
  width: 46px; height: 46px; border-radius: 10px;
  background: rgba(255,255,255,.06);
  display: grid; place-items: center; font-size: 22px;
}
.msg--card strong { display: block; font-size: 14px; }
.prod-price { font-size: 13px; color: var(--muted); }
.prod-price s { opacity: .6; margin-right: 6px; }

.typing { display: inline-flex; gap: 4px; align-items: center; }
.typing span {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--muted);
  animation: blink 1.2s infinite ease-in-out;
}
.typing span:nth-child(2) { animation-delay: .2s; }
.typing span:nth-child(3) { animation-delay: .4s; }

.chat-input {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,.02);
}
.chat-input input {
  flex: 1;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--text);
  font-size: 14px;
}
.chat-input input::placeholder { color: var(--muted); }
.send-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(120deg, var(--brand), var(--accent));
  color: #fff;
  display: grid; place-items: center;
  cursor: pointer;
}

.visual-badge {
  position: absolute;
  bottom: -18px;
  left: -22px;
  background: #fff;
  color: #171a2e;
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.visual-badge strong { font-size: 20px; font-family: "Plus Jakarta Sans", sans-serif; }
.visual-badge span { font-size: 12px; color: #5b638a; }

/* ===== Logos ===== */
.logos { text-align: center; padding-block: 30px 10px; }
.logos-label { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 18px; }
.logos-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--muted);
  opacity: .8;
}

/* ===== Section heads ===== */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-2);
  margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }

/* ===== Features ===== */
.features { padding-block: 70px; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(124,107,255,.5); background: var(--surface-2); }
.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124,107,255,.25), rgba(65,208,196,.2));
  border: 1px solid var(--border);
  display: grid; place-items: center;
  font-size: 24px;
  margin-bottom: 16px;
}
.card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

/* ===== Demo ===== */
.demo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding-block: 70px;
}
.demo h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; margin-bottom: 16px; }
.demo-copy > p { color: var(--muted); font-size: 1.05rem; margin-bottom: 22px; }
.check-list { list-style: none; margin-bottom: 28px; display: grid; gap: 12px; }
.check-list li {
  position: relative;
  padding-left: 32px;
  color: var(--text);
}
.check-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; font-size: 13px;
  display: grid; place-items: center;
}
.chat-window--alt .chat-body { min-height: 340px; }

/* ===== How it works ===== */
.how { padding-block: 70px; }
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
}
.step-num {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 18px;
}
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* ===== Stats ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-block: 40px;
  text-align: center;
}
.stat strong {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
}
.stat span { color: var(--muted); font-size: 14px; }

/* ===== Pricing ===== */
.pricing { padding-block: 70px; }
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}
.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
}
.plan--featured {
  border-color: rgba(124,107,255,.6);
  background: linear-gradient(180deg, rgba(124,107,255,.12), var(--surface));
  box-shadow: 0 20px 50px -24px rgba(124,107,255,.6);
  transform: translateY(-8px);
}
.plan-tag {
  position: absolute;
  top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(100deg, var(--brand), var(--accent));
  color: #fff;
  font-size: 12px; font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
}
.plan h3 { font-size: 1.3rem; }
.plan-desc { color: var(--muted); font-size: 14px; margin: 6px 0 18px; }
.plan-price {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 22px;
}
.plan-price span { font-size: 1rem; color: var(--muted); font-weight: 500; }
.plan ul { list-style: none; display: grid; gap: 11px; margin-bottom: 26px; }
.plan li { color: var(--muted); font-size: 15px; }

/* ===== CTA band ===== */
.cta-band {
  margin-block: 40px 0;
  padding-block: 70px;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(124,107,255,.25), transparent 70%),
    linear-gradient(120deg, rgba(124,107,255,.12), rgba(65,208,196,.1));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-inner { text-align: center; }
.cta-inner h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; }
.cta-inner p { color: var(--muted); margin: 14px auto 28px; font-size: 1.1rem; max-width: 46ch; }

/* ===== Footer ===== */
.site-footer { padding-top: 60px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 50px;
  padding-bottom: 40px;
}
.footer-tag { color: var(--muted); margin: 14px 0 20px; font-size: 15px; max-width: 32ch; }
.powered { display: flex; align-items: center; gap: 12px; }
.powered span { color: var(--muted); font-size: 13px; }
.carina-logo {
  height: 34px; width: auto;
  border-radius: 6px;
  background: #fff;
  padding: 6px 10px;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.footer-col h4 { font-size: 15px; margin-bottom: 14px; }
.footer-col a { display: block; color: var(--muted); font-size: 14px; margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-block: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

/* ===== Animations ===== */
@keyframes pop {
  from { opacity: 0; transform: translateY(8px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes blink {
  0%, 60%, 100% { opacity: .3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 48px; padding-block: 56px 40px; }
  .lead { max-width: none; }
  .demo { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan--featured { transform: none; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 560px) {
  .header-cta .btn--ghost { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .visual-badge { left: 0; }
}
