/* CloseLoop — Dark industrial, amber accent */

:root {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --bg-3: #181818;
  --fg: #f5f0e8;
  --fg-2: #a09890;
  --accent: #f59e0b;
  --accent-dim: rgba(245, 158, 11, 0.15);
  --accent-hover: #d97706;
  --border: #222222;
  --radius: 4px;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #333; }

/* Selection */
::selection { background: var(--accent); color: #000; }

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 32px;
  height: 56px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
}

.nav-inner {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.03em;
  color: var(--fg);
}

.nav-tag {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-2);
  background: var(--bg-2);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid var(--border);
}

/* HERO */
.hero {
  min-height: 100vh;
  padding: 100px 32px 80px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
}

.hero-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s ease-in-out infinite;
}

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

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-headline em {
  font-style: normal;
  color: var(--accent);
  position: relative;
}

.hero-sub {
  font-size: 18px;
  color: var(--fg-2);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 28px;
  width: fit-content;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 11px;
  color: var(--fg-2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  margin: 0 32px;
}

/* Phone mockup */
.hero-phone {
  position: relative;
}

.hero-phone::before {
  content: '';
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
  z-index: -1;
}

.phone-screen {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05) inset;
}

.phone-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #2a2a2a;
}

.phone-dots {
  display: flex;
  gap: 5px;
}

.phone-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #333;
}

.phone-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  margin-left: 8px;
}

.chat-flow {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.msg {
  display: flex;
  flex-direction: column;
  gap: 4px;
  animation: msg-in 0.5s ease-out both;
}

.msg-ai { align-items: flex-start; }
.msg-cust { align-items: flex-end; }

.msg:nth-child(1) { animation-delay: 0.3s; }
.msg:nth-child(2) { animation-delay: 0.8s; }
.msg:nth-child(3) { animation-delay: 1.3s; }

@keyframes msg-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.5;
  max-width: 240px;
}

.msg-ai .bubble {
  background: #252525;
  color: var(--fg);
  border-bottom-left-radius: 4px;
}

.msg-cust .bubble {
  background: var(--accent);
  color: #000;
  font-weight: 500;
  border-bottom-right-radius: 4px;
}

.ts {
  font-size: 10px;
  color: #555;
  padding: 0 4px;
}

/* SECTION SHARED */
section {
  padding: 100px 32px;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 20px;
}

/* PROBLEM */
.problem { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.problem-inner { max-width: 1280px; margin: 0 auto; }

.problem-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 64px;
  max-width: 680px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 64px;
}

.problem-card {
  background: var(--bg-2);
  padding: 36px 32px;
  transition: background 0.2s ease;
}

.problem-card:hover { background: var(--bg-3); }

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

.problem-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.problem-card p {
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.7;
}

.problem-quote {
  padding: 32px 40px;
  background: var(--bg-3);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
  max-width: 680px;
  margin: 0 auto;
}

.quote-mark {
  font-family: Georgia, serif;
  font-size: 64px;
  color: var(--accent);
  line-height: 1;
  display: block;
  margin-bottom: -16px;
}

.problem-quote p {
  font-size: 20px;
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 12px;
}

.problem-quote cite {
  font-size: 13px;
  color: var(--fg-2);
  font-style: normal;
}

/* SOLUTIONS */
.solutions { background: var(--bg); }
.solutions-inner { max-width: 800px; margin: 0 auto; }

.solutions-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 56px;
  line-height: 1.2;
}

.solution-list { display: flex; flex-direction: column; gap: 0; }

.solution-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: start;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.solution-item:first-child { border-top: 1px solid var(--border); }

.solution-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--fg-2);
  letter-spacing: 0.04em;
  padding-top: 4px;
}

.solution-text h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.solution-text p {
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.6;
}

.solution-badge {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
  margin-top: 4px;
}

/* PACKAGES */
.packages {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.packages-inner { max-width: 1280px; margin: 0 auto; }

.packages-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 56px;
  line-height: 1.1;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.pkg {
  background: var(--bg-2);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  transition: background 0.2s ease;
}

.pkg:hover { background: var(--bg-3); }

.pkg-featured {
  background: var(--bg-3);
  position: relative;
}

.pkg-badge {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #000;
  background: var(--accent);
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.pkg-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--fg);
}

.pkg-top { margin-bottom: 24px; }

.pkg-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }

.price-setup {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
}

.price-month {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.price-label {
  font-size: 12px;
  color: var(--fg-2);
  letter-spacing: 0.04em;
}

.pkg-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  margin-bottom: 32px;
}

.pkg-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.5;
}

.pkg-features svg {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 1px;
}

.pkg-outcome {
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.outcome-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
  font-weight: 600;
}

.pkg-outcome p {
  font-size: 14px;
  font-style: italic;
  color: var(--fg-2);
  line-height: 1.5;
}

/* HOW */
.how { background: var(--bg); }
.how-inner { max-width: 900px; margin: 0 auto; }

.how-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 64px;
  line-height: 1.2;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 56px;
  margin-bottom: 64px;
}

.step {
  position: relative;
  padding-bottom: 48px;
}

.step-line {
  position: absolute;
  left: 19px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.step-line-last { bottom: calc(100% - 48px); }

.step-dot {
  position: absolute;
  left: 0;
  top: 8px;
  width: 40px;
  height: 40px;
  background: var(--bg);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-dot::after {
  content: '';
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
}

.step-num {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

.step-body h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-body p {
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.7;
  max-width: 580px;
}

.how-industries {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.industries-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-2);
}

.industry-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.industry-tag {
  font-size: 12px;
  padding: 6px 14px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--fg-2);
  transition: all 0.2s ease;
}

.industry-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

/* PROOF */
.proof {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.proof-inner { max-width: 1280px; margin: 0 auto; }

.proof-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 56px;
  line-height: 1.2;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 48px;
}

.proof-card {
  background: var(--bg-2);
  padding: 36px 32px;
  text-align: center;
}

.proof-stat {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.proof-desc {
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.5;
}

.proof-quote {
  border-top: 1px solid var(--border);
  padding-top: 40px;
  font-size: 20px;
  font-style: italic;
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.proof-quote cite {
  display: block;
  font-size: 13px;
  font-style: normal;
  color: var(--fg-2);
  margin-top: 12px;
}

/* CLOSING */
.closing {
  padding: 120px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(245, 158, 11, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

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

.closing-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.closing-sub {
  font-size: 18px;
  color: var(--fg-2);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto;
}

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

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.6;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-size: 12px;
  color: #444;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-phone { display: none; }
  .packages-grid { grid-template-columns: 1fr; }
  .problem-grid { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  section { padding: 72px 20px; }
  .nav { padding: 0 20px; }
  .hero { padding: 88px 20px 60px; }
  .solution-item { grid-template-columns: 40px 1fr; }
  .solution-badge { display: none; }
  .footer-inner { flex-direction: column; gap: 32px; align-items: flex-start; }
  .footer-meta { align-items: flex-start; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .stat-divider { display: none; }
  .stat { flex-direction: row; align-items: center; gap: 8px; }
  .pkg { padding: 28px 20px; }
}
