/* =========================================================
   Bucaneve Techno — App Marketing & Growth Landing Page
   Dark, premium, performance-marketing aesthetic
   ========================================================= */

:root {
  /* Palette */
  --bg:            #06080f;
  --bg-soft:       #0a0d18;
  --surface:       rgba(255, 255, 255, 0.035);
  --surface-2:     rgba(255, 255, 255, 0.06);
  --border:        rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text:          #eef0f8;
  --muted:         #a3aac2;
  --faint:         #6d7490;

  --violet:  #8b5cf6;
  --indigo:  #6366f1;
  --sky:     #38bdf8;
  --cyan:    #22d3ee;
  --green:   #34d399;
  --rose:    #fb7185;

  --grad: linear-gradient(120deg, var(--violet) 0%, var(--indigo) 45%, var(--sky) 100%);
  --grad-soft: linear-gradient(120deg, rgba(139, 92, 246, 0.16), rgba(99, 102, 241, 0.1) 45%, rgba(56, 189, 248, 0.14));

  /* Type */
  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  /* Layout */
  --container: 1180px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --shadow-violet: 0 12px 40px -12px rgba(139, 92, 246, 0.55);
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);

  color-scheme: dark;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }

::selection { background: rgba(139, 92, 246, 0.45); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #232941; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #303a5c; }

:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 1000;
  background: var(--violet); color: #fff; padding: 0.6rem 1.2rem;
  border-radius: 8px; font-weight: 600; transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 4.5vw, 40px); }

.section { padding-block: clamp(84px, 9vw, 120px); position: relative; }

.section-head { max-width: 760px; margin-bottom: clamp(2.6rem, 5vw, 3.8rem); }
.section-head.center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.22);
  padding: 0.45rem 1rem; border-radius: 999px;
  white-space: nowrap;
  margin-bottom: 1.4rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  font-weight: 700; line-height: 1.14; letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
}
.section-sub { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.15rem); max-width: 640px; }
.section-head.center .section-sub { margin-inline: auto; }
.section-sub strong { color: var(--text); font-weight: 600; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; line-height: 1;
  border-radius: 999px; padding: 1rem 1.9rem;
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition), border-color var(--transition), color var(--transition), opacity var(--transition);
  white-space: nowrap;
}
.btn svg { width: 1.05em; height: 1.05em; transition: transform var(--transition); flex: none; }
.btn:hover svg { transform: translateX(4px); }
.btn-lg { padding: 1.12rem 2.2rem; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: var(--shadow-violet);
  overflow: hidden; isolation: isolate;
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.35) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 0.7s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 48px -12px rgba(139, 92, 246, 0.7); }
.btn-primary:hover::after { transform: translateX(120%); }

.btn-ghost {
  background: var(--surface-2); color: var(--text);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.1); border-color: rgba(139, 92, 246, 0.55); }

.btn-wa {
  background: #25d366; color: #fff;
  box-shadow: 0 14px 40px -14px rgba(37, 211, 102, 0.6);
}
.btn-wa:hover { transform: translateY(-2px); background: #1ebe5d; box-shadow: 0 18px 48px -14px rgba(37, 211, 102, 0.75); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(3.5rem, 6vw, 5.5rem) 0 clamp(70px, 9vw, 100px);
  background:
    radial-gradient(900px 480px at 88% -10%, rgba(56, 189, 248, 0.13), transparent 60%),
    radial-gradient(1000px 560px at 8% -6%, rgba(139, 92, 246, 0.18), transparent 62%),
    var(--bg);
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 75%);
}
.hero-glow {
  position: absolute; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(139, 92, 246, 0.15), transparent 70%);
  transform: translate(-50%, -50%); left: 50%; top: 40%;
  pointer-events: none; z-index: 0; will-change: left, top;
}

.hero-top {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  margin-bottom: clamp(2.4rem, 4.5vw, 3.6rem);
  position: relative; z-index: 1;
}
.hero-logo { height: clamp(38px, 4vw, 48px); width: auto; }
.hero-top-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display); font-size: 0.82rem; font-weight: 600;
  color: var(--muted);
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 999px; padding: 0.55rem 1.15rem;
  backdrop-filter: blur(8px);
}
.hero-top-badge svg { width: 15px; height: 15px; color: var(--cyan); }

.hero-layout {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5.4vw, 4.1rem);
  font-weight: 800; line-height: 1.06; letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}
.hero-sub { font-size: clamp(1.08rem, 1.8vw, 1.3rem); font-weight: 500; color: var(--text); max-width: 660px; margin-bottom: 0.9rem; }
.hero-desc { color: var(--muted); font-size: 1.04rem; max-width: 640px; }
.hero-led { margin-top: 1.5rem; color: var(--muted); font-size: 0.97rem; }
.hero-led strong { color: var(--text); font-weight: 600; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 0.7rem 1.5rem; margin-top: 1.5rem; }
.hero-trust li { display: flex; align-items: center; gap: 0.55rem; font-size: 0.85rem; color: var(--muted); }
.hero-trust .check-icon { width: 20px; height: 20px; margin-top: 0; }
.hero-trust .check-icon svg { width: 10px; height: 10px; }

/* --- Hero visual: phone mockup --- */
.hero-visual { position: relative; display: flex; justify-content: center; }
.chips { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.phone-glow {
  position: absolute; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(139, 92, 246, 0.3), transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  filter: blur(14px); pointer-events: none;
}
.phone {
  position: relative; z-index: 2;
  width: 300px;                     /* fallback for browsers without min() */
  width: min(300px, 76vw);
  height: 640px;                    /* fallback: keeps the 9:19.2 phone proportion */
  height: min(640px, 162vw);        /* 76vw × (19.2 / 9) — works without aspect-ratio support */
  background: #0b0f1e; border: 10px solid #141a31; border-radius: 46px;
  overflow: hidden;
  box-shadow:
    0 44px 90px -32px rgba(139, 92, 246, 0.55),
    0 18px 40px -18px rgba(0, 0, 0, 0.7),
    inset 0 0 0 2px rgba(255, 255, 255, 0.06);
}
.phone-notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 24px; background: #141a31;
  border-radius: 0 0 14px 14px; z-index: 30;
}
.phone-screen {
  position: relative; height: 100%;
  display: flex; flex-direction: column; gap: 12px;
  padding: 46px 16px 12px;
  background: linear-gradient(175deg, #101630, #0a0e1e 60%);
}

.statusbar { display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 600; color: #cbd2e8; padding: 0 10px; }
.statusbar-icons { display: flex; gap: 6px; align-items: center; }
.statusbar-icons svg { width: 14px; height: 12px; fill: currentColor; }

.app-head { display: flex; align-items: center; gap: 10px; }
.app-logo {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  display: grid; place-items: center;
  background: var(--grad); color: #fff;
  box-shadow: 0 6px 16px -6px rgba(139, 92, 246, 0.7);
}
.app-logo svg { width: 16px; height: 16px; }
.app-head-text strong { display: block; font-size: 13px; font-weight: 700; line-height: 1.2; }
.app-head-text small { display: block; font-size: 10px; color: #8b93ad; }
.app-bell { margin-left: auto; position: relative; color: #cbd2e8; }
.app-bell svg { width: 18px; height: 18px; }
.app-bell i {
  position: absolute; top: 1px; right: 2px; width: 6px; height: 6px;
  background: var(--rose); border-radius: 50%; border: 1.5px solid #0b0f1e;
}

.app-greet h4 { font-size: 15px; font-weight: 700; }
.app-greet p { font-size: 10.5px; color: #8b93ad; margin-top: 2px; }

.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kpi {
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px; padding: 10px 12px;
}
.kpi-label { display: block; font-size: 9px; color: #8b93ad; text-transform: uppercase; letter-spacing: 0.07em; }
.kpi-val { display: block; font-family: var(--font-display); font-weight: 700; font-size: 17px; margin-top: 3px; }
.kpi-delta { font-size: 9.5px; font-weight: 600; }
.kpi-delta.up { color: var(--green); }

.app-card {
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px; padding: 12px;
}
.card-title { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 10.5px; font-weight: 600; color: #cbd2e8; }
.card-pill {
  font-size: 9px; font-weight: 700; color: #c4b5fd; white-space: nowrap;
  background: rgba(139, 92, 246, 0.16); padding: 2px 8px; border-radius: 999px;
}
.card-pill.green { color: #34d399; background: rgba(52, 211, 153, 0.14); }

.bars { display: flex; align-items: flex-end; gap: 6px; height: 68px; margin-top: 12px; }
.bar {
  flex: 1; border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, var(--violet), var(--sky));
  opacity: 0.9;
}

.progress { height: 6px; background: rgba(255, 255, 255, 0.08); border-radius: 999px; margin-top: 10px; overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--grad); border-radius: inherit; }
.campaign-meta { display: flex; justify-content: space-between; margin-top: 8px; font-size: 10px; color: #8b93ad; }
.campaign-meta em { font-style: normal; color: var(--text); font-weight: 600; }

.scale-btn {
  margin-top: auto;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--grad); color: #fff;
  border-radius: 13px; padding: 12px;
  font-family: var(--font-display); font-weight: 700; font-size: 12px;
  box-shadow: 0 12px 28px -10px rgba(139, 92, 246, 0.65);
}
.scale-btn svg { width: 14px; height: 14px; }

.bottom-nav {
  display: flex; justify-content: space-around; align-items: center;
  padding: 10px 6px 2px; border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #5b6480;
}
.bottom-nav span { display: grid; place-items: center; }
.bottom-nav svg { width: 18px; height: 18px; }
.bottom-nav .bn-active { color: #a78bfa; }

/* --- Floating chips --- */
.chip {
  position: absolute; z-index: 5;
  display: flex; align-items: center; gap: 0.55rem;
  background: rgba(13, 17, 32, 0.94); border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px; padding: 0.62rem 0.95rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 44px -18px rgba(0, 0, 0, 0.65);
  animation: float 5.2s ease-in-out infinite;
}
.chip-icon { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.chip-icon svg { width: 15px; height: 15px; }
.chip-green { background: rgba(52, 211, 153, 0.16); color: var(--green); }
.chip-violet { background: rgba(139, 92, 246, 0.18); color: #a78bfa; }
.chip-cyan { background: rgba(34, 211, 238, 0.16); color: var(--cyan); }
.chip-text { font-family: var(--font-display); font-size: 0.86rem; font-weight: 600; color: var(--muted); }
.chip-text em { font-style: normal; font-weight: 800; color: var(--text); margin-right: 0.3rem; }

.chip-1 { top: 7%; left: -4%; }
.chip-2 { bottom: 24%; left: -9%; animation-delay: 0.9s; }
.chip-3 { top: 44%; right: -7%; animation-delay: 1.7s; }

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

/* ---------- Problem ---------- */
.problem { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%); }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.problem-card {
  display: flex; align-items: flex-start; gap: 1rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 1.5rem 1.4rem;
  transition: transform var(--transition), border-color var(--transition), background-color var(--transition);
}
.problem-card p { font-weight: 500; font-size: 0.98rem; line-height: 1.5; padding-top: 0.45rem; }
.problem-card:hover { transform: translateY(-4px); border-color: rgba(251, 113, 133, 0.35); background: rgba(251, 113, 133, 0.04); }
.problem-card .icon-wrap {
  flex: none; width: 46px; height: 46px; border-radius: var(--radius-sm);
  display: grid; place-items: center;
  background: rgba(251, 113, 133, 0.1); color: var(--rose);
  border: 1px solid rgba(251, 113, 133, 0.22);
}
.problem-card .icon-wrap svg { width: 22px; height: 22px; }

.problem-callout {
  display: flex; align-items: center; gap: 1.3rem;
  margin-top: 2.6rem; padding: 1.9rem 2.1rem;
  border-radius: 20px;
  border: 1px solid rgba(139, 92, 246, 0.35);
  background: var(--grad-soft);
  position: relative; overflow: hidden;
}
.callout-icon {
  flex: none; width: 54px; height: 54px; border-radius: 15px;
  display: grid; place-items: center;
  background: var(--grad); color: #fff;
  box-shadow: var(--shadow-violet);
}
.callout-icon svg { width: 25px; height: 25px; }
.callout-text {
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  font-weight: 600; line-height: 1.45;
}
.callout-strong { font-weight: 800; }
@media (max-width: 560px) {
  .problem-callout { flex-direction: column; text-align: center; padding: 1.7rem 1.3rem; gap: 1rem; }
  .callout-br { display: none; }
}

/* ---------- Solution ---------- */
.solution { background: var(--bg); }
.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.solution-card {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2.1rem 1.9rem;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.solution-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--grad);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.solution-card:hover { transform: translateY(-6px); border-color: rgba(139, 92, 246, 0.4); box-shadow: 0 24px 60px -28px rgba(139, 92, 246, 0.4); }
.solution-card:hover::before { transform: scaleX(1); }
.solution-card .icon-wrap {
  width: 54px; height: 54px; border-radius: 15px;
  display: grid; place-items: center;
  background: rgba(139, 92, 246, 0.13); color: #a78bfa;
  border: 1px solid rgba(139, 92, 246, 0.28);
  margin-bottom: 1.3rem;
}
.solution-card .icon-wrap svg { width: 25px; height: 25px; }
.solution-card h3 { font-family: var(--font-display); font-size: 1.14rem; font-weight: 700; margin-bottom: 0.55rem; }
.solution-card p { color: var(--muted); font-size: 0.94rem; line-height: 1.65; }

/* ---------- Why Bucaneve ---------- */
.why { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft)100%); }
.why-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.why-lead { color: var(--muted); font-size: 1.08rem; margin-bottom: 1.8rem; max-width: 560px; }

.check-list { display: grid; gap: 0.85rem; margin-bottom: 2rem; }
.check-list li { display: flex; align-items: flex-start; gap: 0.85rem; font-weight: 500; font-size: 0.99rem; }
.check-icon {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; margin-top: 0.1rem;
  background: rgba(52, 211, 153, 0.13); color: var(--green);
}
.check-icon svg { width: 12px; height: 12px; }

.why-quote {
  border-left: 3px solid var(--violet);
  padding: 0.9rem 0 0.9rem 1.4rem;
  background: var(--grad-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--muted); font-size: 1.02rem; font-style: italic; max-width: 560px;
}
.why-quote strong { color: var(--text); font-style: normal; }

.profile-card {
  position: relative; text-align: center;
  background: linear-gradient(165deg, rgba(139, 92, 246, 0.15), rgba(6, 8, 15, 0.4) 48%, rgba(56, 189, 248, 0.12));
  border: 1px solid rgba(139, 92, 246, 0.32);
  border-radius: 28px; padding: 3.2rem 2.2rem 2.5rem;
  box-shadow: 0 40px 90px -40px rgba(139, 92, 246, 0.45);
}
.profile-badge {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff;
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.45rem 1.2rem; border-radius: 999px; white-space: nowrap;
  box-shadow: var(--shadow-violet);
}
.avatar {
  width: 148px; height: 148px; margin: 0 auto 1.5rem;
  border-radius: 50%; padding: 4px; overflow: hidden;
  background: conic-gradient(from 140deg, var(--violet), var(--sky), var(--cyan), var(--violet));
}
.avatar img {
  width: 100%; height: 100%; border-radius: 50%;
  object-fit: cover; object-position: center top;
  background: #0c1020;
}
.profile-name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; }
.profile-role { color: var(--cyan); font-size: 0.92rem; font-weight: 600; margin-top: 0.3rem; }
.profile-company { color: var(--muted); font-size: 0.9rem; margin-top: 0.35rem; }
.profile-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-top: 1.5rem; }
.profile-tags span {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--muted); background: var(--surface-2);
  border: 1px solid var(--border); border-radius: 999px; padding: 0.35rem 0.9rem;
}

.stats-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid var(--border); padding-top: clamp(2.4rem, 5vw, 3.4rem);
  text-align: center;
}
.stat { display: flex; flex-direction: column; gap: 0.5rem; }
.stat-number { font-family: var(--font-display); font-size: clamp(2.3rem, 4.4vw, 3.2rem); font-weight: 800; letter-spacing: -0.02em; }
.stat-label { color: var(--muted); font-size: 0.92rem; }

/* ---------- Process ---------- */
.process { background: var(--bg); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.step {
  position: relative;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem 1.7rem;
  transition: transform var(--transition), border-color var(--transition), background-color var(--transition);
}
.step:hover { transform: translateY(-6px); border-color: rgba(56, 189, 248, 0.4); background: rgba(56, 189, 248, 0.04); }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: calc(2rem + 24px); left: 100%;
  width: 1.5rem; height: 2px;
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.65), rgba(56, 189, 248, 0.65));
}
.step-badge {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px; border-radius: 14px;
  background: rgba(139, 92, 246, 0.14);
  border: 1px solid rgba(139, 92, 246, 0.4);
  color: #c4b5fd; font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
}
.step h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; margin: 1.1rem 0 0.55rem; }
.step p { color: var(--muted); font-size: 0.92rem; line-height: 1.65; }

/* ---------- Pricing ---------- */
.pricing { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%); }
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; max-width: 940px; margin-inline: auto; align-items: stretch; }

.price-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2.5rem 2.3rem;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.price-card:hover { transform: translateY(-6px); border-color: rgba(139, 92, 246, 0.35); }
.price-card.featured {
  background: linear-gradient(170deg, rgba(139, 92, 246, 0.16), rgba(6, 8, 15, 0.35) 45%, rgba(56, 189, 248, 0.1));
  border: 1px solid rgba(139, 92, 246, 0.5);
  box-shadow: 0 34px 90px -34px rgba(139, 92, 246, 0.5);
}
.price-card.featured:hover { box-shadow: 0 44px 110px -34px rgba(139, 92, 246, 0.65); }

.popular-pill {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff;
  font-family: var(--font-display); font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.42rem 1.2rem; border-radius: 999px; white-space: nowrap;
  box-shadow: var(--shadow-violet);
}
.price-name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; }
.price-line { display: flex; align-items: baseline; gap: 0.6rem; margin-top: 1.2rem; flex-wrap: wrap; }
.price-note { color: var(--muted); font-size: 0.92rem; }
.price-amount { font-family: var(--font-display); font-size: clamp(2.2rem, 3.6vw, 2.7rem); font-weight: 800; letter-spacing: -0.02em; }
.price-period { font-size: 0.55em; font-weight: 600; }
.price-desc, .price-alt { color: var(--muted); font-size: 0.95rem; margin-top: 0.7rem; }
.price-alt strong { color: var(--cyan); }

.feature-list { display: grid; gap: 0.55rem; margin: 1.7rem 0 2.1rem; }
.feature-list li { display: flex; align-items: flex-start; gap: 0.7rem; font-size: 0.94rem; color: var(--text); }
.feature-list .check-icon { width: 22px; height: 22px; }
.feature-list .check-icon svg { width: 11px; height: 11px; }
.price-card .btn { margin-top: auto; }

.pricing-note { text-align: center; color: var(--faint); font-size: 0.9rem; font-style: italic; margin-top: 2rem; }

/* ---------- Final CTA ---------- */
.final-cta { padding-bottom: clamp(70px, 8vw, 100px); }
.cta-card {
  position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(160deg, #191238 0%, #0b0f1e 45%, #0c1c30 100%);
  border: 1px solid rgba(139, 92, 246, 0.42);
  border-radius: 30px;
  padding: clamp(3rem, 7vw, 5.2rem) clamp(1.6rem, 6vw, 5rem);
  box-shadow:
    0 50px 120px -45px rgba(139, 92, 246, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.cta-pattern {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, #000 20%, transparent 75%);
}
.cta-card::before {
  content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(139, 92, 246, 0.4), transparent 70%);
  top: -250px; left: 50%; transform: translateX(-50%);
}
.cta-card::after {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(56, 189, 248, 0.28), transparent 70%);
  bottom: -230px; right: -130px;
}
.cta-eyebrow {
  position: relative; display: inline-flex;
  background: rgba(139, 92, 246, 0.14); border: 1px solid rgba(139, 92, 246, 0.42);
  color: #c4b5fd; border-radius: 999px; padding: 0.45rem 1.1rem; margin-bottom: 1.4rem;
  font-family: var(--font-display); font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
}
.cta-card h2 {
  position: relative; font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 800; letter-spacing: -0.02em;
  color: #fff; margin-bottom: 0.9rem;
}
.cta-sub { position: relative; color: rgba(255, 255, 255, 0.95); font-size: 1.2rem; font-weight: 600; margin-bottom: 1rem; }
.cta-desc { position: relative; color: rgba(255, 255, 255, 0.85); max-width: 640px; margin: 0 auto 0.6rem; font-size: 1rem; }
.cta-desc strong { color: #fff; }
.cta-actions { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2.2rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg); padding-block: 2.6rem; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 0.9rem; text-align: center; }
.footer-logo { height: clamp(34px, 4vw, 42px); width: auto; }
.footer-services { color: var(--muted); font-size: 0.88rem; }
.footer-contact {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.7rem 1.8rem; margin-top: 0.2rem;
}
.footer-contact-item {
  display: inline-flex; align-items: center; gap: 0.55rem;
  color: var(--muted); font-size: 0.88rem; font-weight: 500;
  transition: color var(--transition);
}
.footer-contact-item svg { width: 16px; height: 16px; flex: none; }
.footer-contact-item.wa:hover { color: #25d366; }
.footer-contact-item.em:hover { color: var(--cyan); }
.footer-copy { color: var(--faint); font-size: 0.82rem; }

/* ---------- Floating CTA ---------- */
.floating-cta {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 200;
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: var(--grad); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 0.88rem;
  padding: 0.95rem 1.5rem; border-radius: 999px;
  box-shadow: 0 16px 44px -12px rgba(139, 92, 246, 0.75);
  opacity: 0; transform: translateY(18px); pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
}
.floating-cta svg { width: 17px; height: 17px; }
.floating-cta.show { opacity: 1; transform: none; pointer-events: auto; }
.floating-cta:hover { box-shadow: 0 22px 56px -12px rgba(139, 92, 246, 0.9); }

/* Floating WhatsApp button — sits right above the Free App Audit pill */
.floating-wa {
  position: fixed; right: 1.4rem; bottom: calc(1.4rem + 62px); z-index: 210;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: #fff;
  box-shadow: 0 14px 38px -10px rgba(37, 211, 102, 0.75);
  transition: transform var(--transition), box-shadow var(--transition);
}
.floating-wa svg { width: 27px; height: 27px; }
.floating-wa:hover { transform: scale(1.07); box-shadow: 0 18px 48px -10px rgba(37, 211, 102, 0.9); }
.floating-wa::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.65);
  animation: wa-pulse 2.2s ease-out infinite;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.85; }
  70%, 100% { transform: scale(1.65); opacity: 0; }
}

/* =========================================================
   MODAL + FORM
   ========================================================= */
.modal-overlay {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center; padding: 1.2rem;
  background: rgba(5, 7, 14, 0.8);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.open { opacity: 1; visibility: visible; }

.modal {
  position: relative;
  width: min(620px, 100%); max-height: 92vh; overflow-y: auto;
  background: #0b0e1c;
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: 24px; padding: 2.6rem 2.4rem;
  box-shadow: 0 60px 140px -40px rgba(139, 92, 246, 0.55);
  transform: translateY(22px) scale(0.98);
  transition: transform 0.3s cubic-bezier(0.34, 1.3, 0.64, 1);
}
.modal-overlay.open .modal { transform: none; }

.modal-close {
  position: absolute; top: 1.1rem; right: 1.1rem;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--muted); transition: color var(--transition), border-color var(--transition), transform var(--transition);
}
.modal-close svg { width: 16px; height: 16px; }
.modal-close:hover { color: var(--text); border-color: var(--border-strong); transform: rotate(90deg); }

.modal-head { text-align: center; margin-bottom: 1.8rem; }
.modal-head h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.7rem; }
.modal-head p:last-child { color: var(--muted); font-size: 0.95rem; max-width: 480px; margin-inline: auto; }
.modal-head p strong { color: var(--text); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--muted); margin-bottom: 0.4rem; }
.form-field .req { color: var(--rose); }
.form-field .opt { color: var(--faint); font-weight: 400; font-size: 0.74rem; }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: #0d1122; border: 1px solid var(--border-strong);
  border-radius: 11px; padding: 0.85rem 1rem;
  color: var(--text); font: inherit; font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-field textarea { resize: vertical; min-height: 92px; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #4a5269; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.22);
}

.form-field.invalid input,
.form-field.invalid select,
.form-field.invalid textarea {
  border-color: rgba(251, 113, 133, 0.75);
  box-shadow: 0 0 0 3px rgba(251, 113, 133, 0.14);
}
.field-error { display: none; color: var(--rose); font-size: 0.78rem; margin-top: 0.4rem; }
.form-field.invalid .field-error { display: block; }

.form-status {
  margin-top: 1.2rem; padding: 0.9rem 1.1rem; border-radius: 11px;
  font-size: 0.88rem; line-height: 1.5;
  background: rgba(251, 113, 133, 0.12); border: 1px solid rgba(251, 113, 133, 0.35); color: #fda4af;
}

#form-submit { margin-top: 1.5rem; }
.spinner {
  width: 16px; height: 16px; flex: none; display: none;
  border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff;
  border-radius: 50%; animation: spin 0.7s linear infinite;
}
#form-submit.loading { pointer-events: none; opacity: 0.9; }
#form-submit.loading .spinner { display: inline-block; }
#form-submit.loading .btn-arrow { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-note {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  margin-top: 1.1rem; color: var(--faint); font-size: 0.8rem;
}
.form-note svg { width: 15px; height: 15px; color: var(--green); flex: none; }

/* Honeypot (invisible to humans, catches spam bots) */
.hp-field {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none;
}

/* reCAPTCHA */
.recaptcha-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  margin-top: 1.5rem;
}
.recaptcha-wrap .g-recaptcha { max-width: 100%; transition: filter var(--transition); }
.recaptcha-wrap.invalid .g-recaptcha { filter: drop-shadow(0 0 8px rgba(251, 113, 133, 0.85)); }
.recaptcha-error { text-align: center; }
@media (max-width: 380px) {
  .recaptcha-wrap .g-recaptcha { transform: scale(0.85); transform-origin: center; }
}

/* =========================================================
   THANK-YOU PAGE
   ========================================================= */
.tk-hero {
  position: relative; overflow: hidden;
  min-height: 100vh; display: flex; align-items: center;
  padding: 5rem 0 3rem;
  background:
    radial-gradient(900px 480px at 88% -10%, rgba(56, 189, 248, 0.13), transparent 60%),
    radial-gradient(1000px 560px at 8% -6%, rgba(139, 92, 246, 0.18), transparent 62%),
    var(--bg);
}
.tk-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 3.2rem; }
.tk-card { text-align: center; max-width: 720px; }

.tk-check {
  width: 104px; height: 104px; margin: 0 auto 1.8rem;
  border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: var(--grad);
  box-shadow: 0 22px 64px -18px rgba(139, 92, 246, 0.6);
  animation: tk-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.tk-check svg { width: 48px; height: 48px; }
@keyframes tk-pop { from { transform: scale(0) rotate(-14deg); opacity: 0; } to { transform: scale(1) rotate(0); opacity: 1; } }

.tk-title { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.02em; margin: 1rem 0 0.9rem; }
.tk-sub { color: var(--muted); font-size: 1.06rem; max-width: 580px; margin: 0 auto 2.5rem; }
.tk-sub strong { color: var(--text); }

.tk-next { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-bottom: 2.6rem; }
.tk-step {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 1.6rem 1.2rem;
  transition: transform var(--transition), border-color var(--transition);
}
.tk-step:hover { transform: translateY(-4px); border-color: rgba(139, 92, 246, 0.4); }
.tk-step-num {
  width: 38px; height: 38px; margin: 0 auto 0.85rem;
  border-radius: 50%; display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid rgba(139, 92, 246, 0.4);
  color: #c4b5fd; font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
}
.tk-step h3 { font-family: var(--font-display); font-size: 0.98rem; margin-bottom: 0.35rem; }
.tk-step p { color: var(--muted); font-size: 0.84rem; line-height: 1.55; }

.tk-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.tk-contact { margin-bottom: 2.2rem; }
.tk-contact-title { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.1rem; }
.tk-contact-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

.tk-footer { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; text-align: center; }
.tk-footer .footer-logo { height: 34px; }
.tk-footer p { color: var(--faint); font-size: 0.8rem; }

/* Confetti */
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 10; overflow: hidden; }
.confetti span {
  position: absolute; top: -16px;
  width: 10px; height: 16px; border-radius: 2px; opacity: 0.85;
  animation: confetti-fall linear infinite;
}
.confetti span:nth-child(1) { left: 5%; background: #8b5cf6; animation-duration: 5.6s; animation-delay: 0.1s; }
.confetti span:nth-child(2) { left: 13%; background: #38bdf8; animation-duration: 6.4s; animation-delay: 1.1s; }
.confetti span:nth-child(3) { left: 22%; background: #6366f1; animation-duration: 5.1s; animation-delay: 0.6s; }
.confetti span:nth-child(4) { left: 31%; background: #22d3ee; animation-duration: 7s; animation-delay: 1.9s; }
.confetti span:nth-child(5) { left: 40%; background: #a78bfa; animation-duration: 5.8s; animation-delay: 0.3s; }
.confetti span:nth-child(6) { left: 49%; background: #8b5cf6; animation-duration: 6.6s; animation-delay: 2.4s; }
.confetti span:nth-child(7) { left: 58%; background: #0ea5e9; animation-duration: 5.3s; animation-delay: 1.4s; }
.confetti span:nth-child(8) { left: 67%; background: #38bdf8; animation-duration: 6.1s; animation-delay: 0.8s; }
.confetti span:nth-child(9) { left: 76%; background: #6366f1; animation-duration: 5.9s; animation-delay: 2s; }
.confetti span:nth-child(10) { left: 85%; background: #22d3ee; animation-duration: 6.8s; animation-delay: 0.4s; }
.confetti span:nth-child(11) { left: 92%; background: #8b5cf6; animation-duration: 5.5s; animation-delay: 1.7s; }
.confetti span:nth-child(12) { left: 98%; background: #38bdf8; animation-duration: 6.3s; animation-delay: 0.9s; }
@keyframes confetti-fall {
  to { transform: translateY(110vh) rotate(720deg); }
}

/* ---------- Section separator (glowing shadow line) ---------- */
.sep {
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 4%,
    rgba(139, 92, 246, 0.5) 32%,
    rgba(56, 189, 248, 0.5) 68%,
    transparent 96%
  );
  box-shadow:
    0 10px 28px rgba(139, 92, 246, 0.28),
    0 -10px 28px rgba(56, 189, 248, 0.16);
}

/* ---------- Reveal animations (fail-safe: content is visible by default
   and is only hidden once the script arms the animation) ---------- */
.reveal { opacity: 1; transform: none; }
.reveal-anim .reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-anim .reveal.in-view { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .hero-layout { grid-template-columns: 1fr; gap: 3.5rem; }
  .hero-visual { margin-top: 0.5rem; }
  .chip-1 { left: 4%; }
  .chip-2 { left: 0; }
  .chip-3 { right: 0; }
}

@media (max-width: 1024px) {
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .solution-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::after { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .profile-card { max-width: 460px; margin-inline: auto; }
}

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 540px; }
  .tk-next { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
}

@media (max-width: 700px) {
  .modal { padding: 2.2rem 1.4rem 1.8rem; border-radius: 20px; max-height: 94vh; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .floating-cta { right: 1rem; bottom: 1rem; padding: 0.85rem 1.25rem; }
  .floating-wa { right: 1rem; bottom: calc(1rem + 56px); }
}

@media (max-width: 640px) {
  .problem-grid { grid-template-columns: 1fr; }
  .solution-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .step::after { display: none !important; }

  .hero-top { justify-content: center; text-align: center; }
  .stats-row { grid-template-columns: 1fr; gap: 1.8rem; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { justify-content: center; }
  .tk-actions { flex-direction: column; align-items: stretch; }
  .tk-actions .btn { justify-content: center; }
  .tk-contact-btns { flex-direction: column; align-items: stretch; }
  .tk-contact-btns .btn { justify-content: center; }

  /* Chips move out of the phone and sit in a tidy row above it — no overlap */
  .hero-visual { flex-direction: column; align-items: center; }
  .chips {
    position: static; inset: auto; z-index: auto; pointer-events: auto;
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 0.5rem; margin-bottom: 1.7rem;
  }
  .chip { position: static; animation: none; padding: 0.45rem 0.8rem; }
  .chip-text { font-size: 0.78rem; }
  .chip-icon { width: 26px; height: 26px; }
  .chip-icon svg { width: 13px; height: 13px; }
  .phone { width: min(300px, 76vw); height: min(640px, 170vw); }
}

@media (max-width: 480px) {
  .hero-trust { flex-direction: column; gap: 0.6rem; }
  .eyebrow { font-size: 0.64rem; letter-spacing: 0.1em; padding: 0.4rem 0.8rem; }
}

@media (max-width: 400px) {
  /* plain units — works even on browsers without min() support */
  .phone { width: 74vw; height: 166vw; }

  /* compact phone-screen content so nothing overflows inside the frame */
  .phone-screen { gap: 9px; padding: 44px 14px 10px; }
  .bars { height: 52px; margin-top: 10px; }
  .kpi { padding: 8px 10px; }
  .app-card { padding: 10px; }
  .scale-btn { padding: 10px; font-size: 11px; }
  .bottom-nav { padding: 8px 4px 2px; }
  .app-greet h4 { font-size: 14px; }
  .kpi-val { font-size: 15px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .reveal-anim .reveal { opacity: 1; transform: none; }
  .hero-glow, .confetti { display: none; }
}
