/* RETAINAI LANDING PAGE */

:root {
  --bg: #0a0a0a;
  --surface: #111113;
  --surface2: #1a1a1d;
  --green: #00e676;
  --green-dim: rgba(0, 230, 118, 0.12);
  --green-border: rgba(0, 230, 118, 0.25);
  --text: #f0f0f0;
  --text-dim: #888;
  --text-dimmer: #444;
  --font-head: 'Syne', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── HERO ─────────────────────────────── */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 80px 8vw 60px;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,230,118,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,230,118,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 620px;
  flex-shrink: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-dim);
  border: 1px solid var(--green-border);
  color: var(--green);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 24px;
}

.headline-accent {
  color: var(--green);
  position: relative;
  display: inline-block;
}

.headline-accent::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
  opacity: 0.4;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-dim);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dim);
  background: var(--surface);
  border: 1px solid var(--surface2);
  padding: 5px 12px;
  border-radius: 6px;
}

/* Phone mockup */
.hero-phone {
  position: absolute;
  right: 8vw;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: none;
}

@media (min-width: 1100px) {
  .hero-phone { display: block; }
}

.phone-frame {
  width: 260px;
  background: #18181b;
  border-radius: 36px;
  border: 2px solid #2a2a2e;
  padding: 12px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 60px rgba(0,230,118,0.08);
}

.phone-notch {
  width: 80px;
  height: 24px;
  background: #18181b;
  border-radius: 20px;
  margin: 0 auto 8px;
}

.phone-screen {
  background: #0f0f12;
  border-radius: 28px;
  padding: 16px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
}

.msg-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.msg-name {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
}

.msg-status {
  font-size: 11px;
  color: var(--green);
  opacity: 0.6;
  font-weight: 500;
}

.msg-incoming {
  background: #1e1e24;
  color: var(--text);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.msg-outgoing {
  background: rgba(0,230,118,0.15);
  color: var(--green);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.msg-green {
  background: rgba(0,230,118,0.12);
  color: var(--green);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.msg-bubble {
  font-size: 12px;
  padding: 8px 12px;
  margin-bottom: 6px;
  border-radius: 14px;
  line-height: 1.5;
  max-width: 85%;
}

.msg-time {
  font-size: 10px;
  color: var(--text-dimmer);
  text-align: right;
  margin-bottom: 10px;
}

.phone-bar {
  margin-top: auto;
  display: flex;
  gap: 8px;
  align-items: center;
  border-top: 1px solid #2a2a2e;
  padding-top: 10px;
}

.phone-input {
  flex: 1;
  height: 28px;
  background: #1a1a1e;
  border-radius: 14px;
}

.phone-send {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.3;
}

/* ─── PROOF ─────────────────────────────── */

.proof {
  background: var(--surface);
  border-top: 1px solid #1e1e22;
  border-bottom: 1px solid #1e1e22;
  padding: 48px 8vw;
}

.proof-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.proof-item {
  text-align: center;
  flex: 1;
}

.proof-num {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--green);
  margin-bottom: 6px;
}

.proof-label {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
}

.proof-divider {
  width: 1px;
  height: 48px;
  background: var(--surface2);
}

@media (max-width: 640px) {
  .proof-inner { flex-wrap: wrap; }
  .proof-divider { display: none; }
  .proof-item { width: 45%; }
}

/* ─── SHARED SECTION STYLES ───────────── */

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}

.section-headline {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--text);
  max-width: 600px;
}

/* ─── HOW IT WORKS ─────────────────────── */

.hiw {
  padding: 100px 8vw;
  background: var(--bg);
}

.hiw-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.hiw-steps {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-top: 64px;
  margin-bottom: 64px;
}

.hiw-step {
  flex: 1;
  background: var(--surface);
  border: 1px solid #1e1e22;
  border-radius: 16px;
  padding: 32px 28px;
  position: relative;
}

.step-num {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--green);
  opacity: 0.4;
  margin-bottom: 20px;
}

.step-icon {
  margin-bottom: 20px;
}

.hiw-step h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.hiw-step p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.65;
}

.hiw-arrow {
  display: flex;
  align-items: center;
  padding-top: 40px;
  flex-shrink: 0;
}

.hiw-proof {
  background: var(--surface);
  border: 1px solid var(--green-border);
  border-radius: 16px;
  padding: 40px 48px;
}

.quote-mark {
  font-family: var(--font-head);
  font-size: 80px;
  color: var(--green);
  opacity: 0.3;
  line-height: 0.5;
  margin-bottom: 16px;
}

.hiw-quote p {
  font-size: 18px;
  color: var(--text);
  line-height: 1.7;
  max-width: 700px;
  margin-bottom: 16px;
  font-style: italic;
}

.quote-source {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 500;
}

@media (max-width: 768px) {
  .hiw-steps { flex-direction: column; }
  .hiw-arrow { display: none; }
  .hiw-proof { padding: 28px 24px; }
}

/* ─── OUTCOMES ────────────────────────── */

.outcomes {
  padding: 100px 8vw;
  background: var(--surface);
}

.outcomes-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 64px;
  margin-bottom: 48px;
}

.outcome-card {
  background: var(--bg);
  border: 1px solid #1e1e22;
  border-radius: 16px;
  padding: 28px 32px;
}

.outcome-icon {
  margin-bottom: 16px;
}

.outcome-card h3 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.outcome-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.65;
}

.outcomes-stat {
  background: linear-gradient(135deg, var(--green-dim), rgba(0,230,118,0.04));
  border: 1px solid var(--green-border);
  border-radius: 12px;
  padding: 28px 36px;
}

.stat-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.stat-label {
  font-size: 15px;
  color: var(--text-dim);
}

.stat-value {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  color: var(--green);
}

@media (max-width: 640px) {
  .outcomes-grid { grid-template-columns: 1fr; }
}

/* ─── VERTICALS ────────────────────────── */

.verticals {
  padding: 100px 8vw;
  background: var(--bg);
}

.verticals-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.vert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 64px;
}

.vert-card {
  background: var(--surface);
  border: 1px solid #1e1e22;
  border-radius: 16px;
  padding: 32px 28px;
  transition: border-color 0.2s;
}

.vert-card:hover {
  border-color: var(--green-border);
}

.vert-icon {
  margin-bottom: 20px;
}

.vert-card h3 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.vert-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .vert-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  .vert-grid { grid-template-columns: 1fr; }
}

/* ─── CLOSING ──────────────────────────── */

.closing {
  padding: 120px 8vw;
  background: var(--surface);
  text-align: center;
}

.closing-inner {
  max-width: 760px;
  margin: 0 auto;
}

.closing-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 40px;
}

.eyebrow-line {
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: var(--green-border);
}

.closing-headline {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 24px;
}

.closing-body {
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto 56px;
}

.closing-cta {
  display: flex;
  justify-content: center;
}

.cta-inner {
  background: var(--bg);
  border: 1px solid var(--green-border);
  border-radius: 16px;
  padding: 40px 56px;
  display: inline-block;
}

.cta-pricing {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.cta-price {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 800;
  color: var(--green);
}

.cta-period {
  font-size: 16px;
  color: var(--text-dim);
}

.cta-note {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 4px;
}

@media (max-width: 640px) {
  .cta-inner { padding: 28px 32px; }
  .cta-price { font-size: 36px; }
}

/* ─── FOOTER ───────────────────────────── */

.site-footer {
  background: var(--bg);
  border-top: 1px solid #1e1e22;
  padding: 48px 8vw;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-dimmer);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  color: var(--text-dimmer);
}

.footer-sep {
  color: var(--surface2);
}

.footer-copy {
  font-size: 12px;
  color: var(--text-dimmer);
  margin-top: 8px;
}
