/* ═══════════════════════════════════════
   QuickClaw — Dark Premium Landing
   ═══════════════════════════════════════ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

:root {
  --bg: #060608; --bg2: #0a0a0c; --bg3: #111113;
  --surface: #151517; --surface2: #1c1c1e; --surface3: #242426;
  --fg: #eeeeee; --fg2: #c4c4c8; --muted: #7a7a82; --faint: #4a4a50;
  --accent: #ff6f61; --accent-soft: rgba(255,111,97,0.12); --accent-deep: #e85d51;
  --accent-glow: rgba(255,111,97,0.25);
  --teal: #14b8a6; --teal-soft: rgba(20,184,166,0.1);
  --green: #34d399; --green-soft: rgba(52,211,153,0.1);
  --red: #f87171; --red-soft: rgba(248,113,113,0.1);
  --gold: #f0c040;
  --border: rgba(255,255,255,0.06); --border2: rgba(255,255,255,0.1);
  --radius: 20px; --radius-sm: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.5);
  --glow: 0 0 60px rgba(255,111,97,0.15);
}

body {
  font-family: 'Onest', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
}


/* ───────── NAV ───────── */

nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(8,8,13,0.75);
  backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 17px;
  font-weight: 700;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.4px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  gap: 6px;
}

.logo-mascot {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.logo:hover {
  transform: rotate(-3deg) scale(1.04);
}

.logo span {
  background: linear-gradient(135deg, var(--accent), #ff8a7a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-r { display: flex; gap: 4px; align-items: center; }

.nav-r a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding: 7px 16px;
  border-radius: 8px;
  transition: all 0.2s;
}

.nav-r a:hover { color: var(--fg); background: var(--surface); }

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 8px 20px !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  box-shadow: 0 0 20px var(--accent-glow) !important;
}

.nav-cta:hover {
  background: var(--accent-deep) !important;
  box-shadow: 0 0 30px rgba(255,111,97,0.35) !important;
}


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

.hero {
  max-width: 1140px;
  margin: 0 auto;
  padding: 140px 32px 80px;
  position: relative;
}

/* Ambient glow behind hero */
.hero::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255,111,97,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.hero-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(255,111,97,0.15);
  padding: 5px 16px;
  border-radius: 99px;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.hero-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(52,211,153,0.5);
}

.hero-center h1 {
  font-size: clamp(48px, 7vw, 82px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2.5px;
  color: var(--fg);
  margin-bottom: 24px;
}

.hero-center h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--accent), #5edbb5, var(--accent), #ff8a7a, var(--accent));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: heroShimmer 6s ease-in-out infinite;
}

@keyframes heroShimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-center .lead {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-btns { display: flex; gap: 12px; align-items: center; justify-content: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #e85d51);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.1);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255,111,97,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
}

.btn-hero {
  padding: 16px 40px;
  font-size: 16px;
  border-radius: 14px;
}

.btn-ghost {
  background: transparent;
  color: var(--fg2);
  border: 1px solid var(--border2);
}

.btn-ghost:hover { border-color: var(--faint); background: var(--surface); color: var(--fg); }

.hero-note { margin-top: 16px; font-size: 13px; color: var(--faint); }


/* ───────── DEPLOY MOCK — 3-PHASE ANIMATION ───────── */
/* Phase 1: Click (0-3s) → Phase 2: Deploy (3-8s) → Phase 3: Chat (8-14s) */

.deploy-mock {
  margin-top: 64px;
  display: flex;
  justify-content: center;
  perspective: 1200px;
  position: relative;
}

.deploy-mock::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 360px;
  height: 100px;
  background: radial-gradient(ellipse, rgba(255,111,97,0.1) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(24px);
}

.deploy-window {
  width: 460px;
  border-radius: 16px;
  background: rgba(18,18,24,0.85);
  backdrop-filter: blur(40px) saturate(1.6);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 24px 80px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.03) inset,
    0 0 120px rgba(255,111,97,0.06);
  overflow: hidden;
  animation: dpWindowIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes dpWindowIn {
  from { opacity: 0; transform: translateY(30px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.deploy-titlebar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.02);
}

.deploy-dots { display: flex; gap: 6px; }
.deploy-dots span { width: 10px; height: 10px; border-radius: 50%; }
.deploy-dots span:nth-child(1) { background: #f87171; }
.deploy-dots span:nth-child(2) { background: #fbbf24; }
.deploy-dots span:nth-child(3) { background: #34d399; }

.deploy-titlebar-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.deploy-body {
  position: relative;
  height: 340px;
  overflow: hidden;
}

/* ── Phase container ── */
.dp {
  position: absolute;
  inset: 0;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}

/* ═══════ PHASE 1: LAUNCH ═══════ */

.dp-launch {
  align-items: center;
  justify-content: center;
  gap: 8px;
  animation: dpPhase1 14s ease infinite;
}

@keyframes dpPhase1 {
  0% { opacity: 1; }
  17% { opacity: 1; }
  21% { opacity: 0; pointer-events: none; }
  100% { opacity: 0; pointer-events: none; }
}

.dp-launch-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
}

.dp-launch-sub {
  font-size: 12px;
  color: var(--faint);
  margin-bottom: 16px;
}

.dp-launch-btn {
  padding: 14px 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 6px 24px var(--accent-glow);
  position: relative;
  animation: dpBtnPulse 14s ease infinite;
}

@keyframes dpBtnPulse {
  0%, 8% { transform: scale(1); box-shadow: 0 6px 24px var(--accent-glow); }
  12% { transform: scale(0.96); box-shadow: 0 2px 12px var(--accent-glow); }
  15% { transform: scale(1); box-shadow: 0 6px 32px rgba(255,111,97,0.5); }
  20%, 100% { transform: scale(1); box-shadow: 0 6px 24px var(--accent-glow); }
}

.dp-cursor {
  position: absolute;
  bottom: 90px;
  right: 130px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.6));
  animation: dpCursor 14s ease infinite;
  z-index: 2;
}

@keyframes dpCursor {
  0%, 4% { opacity: 0; transform: translate(30px, 20px); }
  8% { opacity: 1; transform: translate(0, 0); }
  12% { opacity: 1; transform: translate(0, 3px) scale(0.92); }
  15% { opacity: 1; transform: translate(0, 0); }
  20% { opacity: 0; }
  100% { opacity: 0; }
}

/* ═══════ PHASE 2: DEPLOY ═══════ */

.dp-deploy {
  animation: dpPhase2 14s ease infinite;
  gap: 0;
}

@keyframes dpPhase2 {
  0%, 20% { opacity: 0; }
  24% { opacity: 1; }
  54% { opacity: 1; }
  58% { opacity: 0; }
  100% { opacity: 0; }
}

.dp-agent-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.dp-agent-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid rgba(255,111,97,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.dp-agent-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 2px;
}

.dp-agent-status {
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 6px;
}

.dp-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  animation: dpDotPulse 1.2s ease-in-out infinite;
}

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

.dp-progress {
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  margin-bottom: 20px;
  overflow: hidden;
}

.dp-progress-bar {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent), #5edbb5, var(--accent));
  background-size: 200% 100%;
  animation:
    dpFill 14s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite,
    dpShimmer 2s linear infinite;
}

@keyframes dpFill {
  0%, 24% { width: 0%; }
  32% { width: 25%; }
  38% { width: 50%; }
  44% { width: 75%; }
  50%, 100% { width: 100%; }
}

@keyframes dpShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.dp-steps { display: flex; flex-direction: column; }

.dp-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 13px;
  color: var(--fg2);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  opacity: 0;
  transform: translateX(-8px);
}

.dp-step:last-child { border: none; }

.dp-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(52,211,153,0.12);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}

.dp-step-1 { animation: dpStepIn 14s ease infinite; }
.dp-step-2 { animation: dpStepIn 14s ease 0.7s infinite; }
.dp-step-3 { animation: dpStepIn 14s ease 1.4s infinite; }
.dp-step-4 { animation: dpStepIn 14s ease 2.0s infinite; }

@keyframes dpStepIn {
  0%, 24% { opacity: 0; transform: translateX(-8px); }
  28% { opacity: 1; transform: translateX(0); }
  54% { opacity: 1; }
  58%, 100% { opacity: 0; }
}

.dp-done {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255,111,97,0.1), rgba(94,219,181,0.08));
  border: 1px solid rgba(255,111,97,0.12);
  font-size: 14px;
  font-weight: 700;
  color: var(--fg);
  text-align: center;
  animation: dpDoneIn 14s ease infinite;
}

.dp-done span { margin-right: 4px; }

@keyframes dpDoneIn {
  0%, 48% { opacity: 0; transform: scale(0.95); }
  52% { opacity: 1; transform: scale(1); }
  54% { opacity: 1; }
  58%, 100% { opacity: 0; }
}

/* ═══════ PHASE 3: TELEGRAM CHAT ═══════ */

.dp-chat {
  animation: dpPhase3 14s ease infinite;
}

@keyframes dpPhase3 {
  0%, 56% { opacity: 0; }
  62% { opacity: 1; }
  92% { opacity: 1; }
  100% { opacity: 0; }
}

.dp-chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  margin: -28px -24px 20px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.dp-chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 2px 8px var(--accent-glow);
}

.dp-chat-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--fg);
}

.dp-chat-online {
  font-size: 11px;
  color: var(--accent);
}

.dp-chat-messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 8px;
}

.dp-msg {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.5;
}

.dp-msg-bot {
  background: rgba(255,255,255,0.06);
  color: var(--fg2);
  border: 1px solid rgba(255,255,255,0.04);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.dp-msg-user {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.dp-msg-1 { animation: dpMsgIn 14s ease infinite; }
.dp-msg-2 { animation: dpMsgIn 14s ease 0.6s infinite; }
.dp-msg-3 { animation: dpMsgIn 14s ease 1.6s infinite; }

@keyframes dpMsgIn {
  0%, 62% { opacity: 0; transform: translateY(8px); }
  67% { opacity: 1; transform: translateY(0); }
  92% { opacity: 1; }
  100% { opacity: 0; }
}

.dp-typing {
  display: flex;
  gap: 4px;
  padding: 4px 0;
  animation: dpMsgIn 14s ease 2.4s infinite;
}

.dp-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--faint);
  animation: dpTypeDot 1s ease-in-out infinite;
}

.dp-typing span:nth-child(2) { animation-delay: 0.15s; }
.dp-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes dpTypeDot {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1); }
}


/* ───────── PAIN SECTION ───────── */

.pain {
  max-width: 1140px;
  margin: 0 auto;
  padding: 100px 32px;
  position: relative;
}

.pain-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: start;
}

.pain-text { padding-top: 20px; }

.section-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.tag-red { color: var(--red); }
.tag-green { color: var(--green); }
.tag-accent { color: var(--accent); }

.section-h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.6px;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--fg);
}

.section-p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 20px;
}

.pain-callout {
  padding: 16px 20px;
  background: var(--red-soft);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--red);
  font-size: 14px;
  color: #fca5a5;
  line-height: 1.65;
  font-weight: 500;
}

.pain-visual svg { width: 100%; height: auto; }


/* ───────── DIVIDER ───────── */

.section-divider {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border2), transparent);
}


/* ───────── SOLUTION SECTION ───────── */

.solution {
  background: linear-gradient(180deg, var(--bg2) 0%, var(--bg) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.solution-inner { max-width: 1140px; margin: 0 auto; padding: 100px 32px; }

.solution-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.solution-visual svg {
  width: 100%;
  height: auto;
}

.solution-steps { margin-top: 28px; display: flex; flex-direction: column; gap: 0; }

.sol-step {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.sol-step:last-child { border: none; }

.sol-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #e85d51);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 0 16px var(--accent-glow);
}

.sol-body h3 { font-size: 15px; font-weight: 600; color: var(--fg); margin-bottom: 2px; }
.sol-body p { font-size: 14px; color: var(--muted); line-height: 1.6; }

.solution-callout {
  margin-top: 24px;
  padding: 16px 20px;
  background: var(--green-soft);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--green);
  font-size: 14px;
  color: #6ee7b7;
  font-weight: 500;
}


/* ───────── FEATURES ───────── */

.features { max-width: 1140px; margin: 0 auto; padding: 100px 32px; }
.features-header { text-align: center; margin-bottom: 56px; }

.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.feat-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.feat-item:hover {
  background: var(--surface2);
  border-color: var(--border2);
  box-shadow: var(--glow);
  transform: translateY(-2px);
}

.feat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid rgba(255,111,97,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feat-icon svg { width: 22px; height: 22px; }
.feat-item h3 { font-size: 15px; font-weight: 600; color: var(--fg); margin-bottom: 4px; }
.feat-item p { font-size: 14px; color: var(--muted); line-height: 1.6; }


/* ───────── PRICING ───────── */

.pricing {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 50%, var(--bg) 100%);
  padding: 100px 32px;
  border-top: 1px solid var(--border);
}

.pricing-inner { max-width: 960px; margin: 0 auto; }
.pricing-header { text-align: center; margin-bottom: 48px; }

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

.plan {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.plan:hover { border-color: var(--border2); transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.plan.pop {
  border-color: var(--accent);
  box-shadow: var(--glow), var(--shadow-lg);
  background: linear-gradient(180deg, rgba(255,111,97,0.06) 0%, var(--surface) 40%);
  position: relative;
}

.plan.pop::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(180deg, var(--accent), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.plan-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.plan.pop .plan-name { color: var(--accent); }

.plan-price {
  font-size: 42px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -1.5px;
  line-height: 1;
}

.plan-price span { font-size: 15px; font-weight: 400; color: var(--muted); }
.plan-specs { font-size: 13px; color: var(--faint); margin: 6px 0 20px; }
.plan-sep { height: 1px; background: var(--border); margin-bottom: 20px; }

.plan ul { list-style: none; flex: 1; margin-bottom: 24px; }

.plan li {
  font-size: 14px;
  color: var(--fg2);
  padding: 5px 0;
  padding-left: 22px;
  position: relative;
}

.plan li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

.plan-btn { width: 100%; text-align: center; }


/* ───────── BOTTOM CTA ───────── */

.cta-bottom {
  text-align: center;
  padding: 120px 32px;
  position: relative;
}

.cta-bottom::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,111,97,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.cta-bottom h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  letter-spacing: -0.8px;
  color: var(--fg);
  margin-bottom: 12px;
}

.cta-bottom p { font-size: 16px; color: var(--muted); margin-bottom: 32px; }


/* ───────── LANGUAGE SWITCHER ───────── */

.language-switcher {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border: 1px solid var(--border2);
  border-radius: 6px;
  transition: color 0.2s, border-color 0.2s;
}
.language-switcher:hover {
  color: var(--fg);
  border-color: var(--accent);
}

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

.landing-footer { text-align: center; padding: 28px 32px; border-top: 1px solid var(--border); }
.landing-footer p { font-size: 12px; color: var(--faint); }


/* ───────── COMPARISON SECTION ───────── */

.comparison {
  max-width: 1140px;
  margin: 0 auto;
  padding: 80px 32px;
}

.comparison-inner { max-width: 960px; margin: 0 auto; }

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.comparison-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
}

.comparison-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.comparison-card-header {
  padding: 16px 24px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.comparison-header-red {
  background: var(--red-soft);
  color: var(--red);
  border-bottom: 1px solid rgba(248,113,113,0.15);
}

.comparison-header-green {
  background: var(--green-soft);
  color: var(--green);
  border-bottom: 1px solid rgba(52,211,153,0.15);
}

.comparison-icon { font-size: 14px; }

.comparison-card-body { padding: 24px; }

.comparison-terminal {
  background: #0a0a0e;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 12px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.comparison-terminal-dots {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.comparison-terminal-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--faint);
}

.comparison-terminal-dots span:first-child { background: #f87171; }
.comparison-terminal-dots span:nth-child(2) { background: #fbbf24; }
.comparison-terminal-dots span:last-child { background: #34d399; }

.comparison-terminal-line {
  color: var(--muted);
}

.comparison-terminal-error {
  color: var(--red);
  font-weight: 600;
}

.comparison-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.comparison-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--fg2);
}

.comparison-step-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

.comparison-step-icon.fail {
  background: var(--red-soft);
  color: var(--red);
}

.comparison-step-icon.pass {
  background: var(--green-soft);
  color: var(--green);
}

.comparison-dashboard-mock {
  background: #0a0a0e;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 20px;
}

.comparison-mock-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.comparison-mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(52,211,153,0.5);
}

.comparison-mock-status {
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
}

.comparison-mock-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.comparison-mock-bar {
  height: 6px;
  background: linear-gradient(90deg, var(--accent), var(--green));
  border-radius: 3px;
  opacity: 0.5;
}

.comparison-skips {
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 16px;
}


/* ───────── RESPONSIVE ───────── */

@media (max-width: 768px) {
  .pain-grid, .solution-grid { grid-template-columns: 1fr; }
  .feat-grid, .plans, .comparison-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 110px; }
  .hero-center h1 { font-size: clamp(36px, 10vw, 56px); letter-spacing: -1.5px; }
  .deploy-window { width: 100%; }
  .deploy-mock { margin-top: 40px; }
  .pain-grid { gap: 32px; }
  .solution-grid { gap: 32px; }
  .blog-list { grid-template-columns: 1fr; }
  .blog-article { padding-top: 100px; }
  .blog-article-body table { font-size: 13px; }
}


/* ───────── NAV ACTIVE STATE ───────── */

.nav-active { color: var(--fg) !important; }


/* ───────── BLOG ───────── */

.blog-hero {
  max-width: 800px;
  margin: 0 auto;
  padding: 140px 32px 48px;
  text-align: center;
}

.blog-hero h1 {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 12px;
}

.blog-hero p {
  font-size: 17px;
  color: var(--muted);
}

.blog-list {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 32px 80px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.blog-card {
  display: block;
  text-decoration: none;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.blog-card:hover {
  border-color: var(--border2);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.blog-card-meta {
  font-size: 13px;
  color: var(--faint);
  margin-bottom: 10px;
}

.blog-card h2 {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 800;
  color: var(--accent);
  line-height: 1.25;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.blog-card:hover h2 {
  color: var(--accent-deep);
}

.blog-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
}


/* ───────── BLOG ARTICLE ───────── */

.blog-article {
  max-width: 720px;
  margin: 0 auto;
  padding: 120px 32px 80px;
}

.blog-back {
  display: inline-block;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 24px;
  transition: color 0.2s;
}

.blog-back:hover { color: var(--accent); }

.blog-article-meta {
  font-size: 13px;
  color: var(--faint);
  margin-bottom: 12px;
}

.blog-article > h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 40px;
  color: var(--fg);
}

.blog-article-body h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--fg);
  margin: 40px 0 14px;
  letter-spacing: -0.3px;
}

.blog-article-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--fg);
  margin: 28px 0 10px;
}

.blog-article-body p {
  font-size: 16px;
  color: var(--fg2);
  line-height: 1.75;
  margin-bottom: 16px;
}

.blog-article-body ul, .blog-article-body ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.blog-article-body li {
  font-size: 15px;
  color: var(--fg2);
  line-height: 1.7;
  margin-bottom: 6px;
}

.blog-article-body pre {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  overflow-x: auto;
  margin-bottom: 20px;
}

.blog-article-body code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 13px;
  color: var(--accent);
}

.blog-article-body pre code {
  color: var(--fg2);
  font-size: 13px;
  line-height: 1.7;
}

.blog-article-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 12px 20px;
  margin: 20px 0;
  background: var(--accent-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--fg2);
}

.blog-article-body strong { color: var(--fg); }

.blog-article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}

.blog-article-body th, .blog-article-body td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  text-align: left;
  color: var(--fg2);
}

.blog-article-body th {
  background: var(--surface);
  color: var(--fg);
  font-weight: 600;
}

.blog-cta-box {
  margin-top: 56px;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--accent);
  box-shadow: var(--glow);
  text-align: center;
}

.blog-cta-box h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--fg);
}

.blog-cta-box p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 20px;
}


/* ═══════════════════════════════════════
   Auth Pages (Login / Signup)
   ═══════════════════════════════════════ */

.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: var(--shadow-lg);
}

.auth-logo {
  text-align: center;
  margin-bottom: 28px;
}

.auth-title {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 24px;
}

.auth-flash {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  margin-bottom: 20px;
}

.auth-flash-alert {
  background: var(--red-soft);
  color: var(--red);
  border: 1px solid rgba(248,113,113,0.2);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.auth-field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg2);
  margin-bottom: 6px;
}

.auth-field input {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border2);
  background: var(--bg2);
  color: var(--fg);
  font-size: 14px;
  transition: border-color 0.2s;
}

.auth-field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.auth-hint {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.auth-submit {
  width: 100%;
  padding: 11px;
  border-radius: var(--radius-sm);
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  margin-top: 4px;
}

.auth-submit:hover {
  background: var(--accent-deep);
}

.auth-submit:active {
  transform: scale(0.98);
}

.auth-switch {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-top: 20px;
}

.auth-switch a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.auth-switch a:hover {
  text-decoration: underline;
}
