/* ============================================
   websitesbyjared.com — "Terminal Luxury"
   Dark · Minimal · Hacker-accented · Apple-spaced
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Sora:wght@600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ─── Design Tokens ─── */
:root {
  --bg:             #09090b;
  --bg-elevated:    #111113;
  --bg-card:        #16161a;
  --bg-card-hover:  #1c1c21;
  --text:           #e4e4e7;
  --text-secondary: #a1a1aa;
  --text-muted:     #63636e;
  --accent:         #22d3a0;
  --accent-dim:     rgba(34, 211, 160, 0.12);
  --accent-glow:    rgba(34, 211, 160, 0.06);
  --accent-bright:  #34eab5;
  --border:         #27272a;
  --border-subtle:  #1e1e22;
  --shadow:         0 1px 2px rgba(0,0,0,0.4);
  --shadow-md:      0 4px 24px rgba(0,0,0,0.5);
  --shadow-lg:      0 12px 48px rgba(0,0,0,0.6);
  --shadow-glow:    0 0 40px rgba(34,211,160,0.08);
  --radius:         10px;
  --radius-lg:      16px;
  --radius-xl:      24px;
  --max-width:      1120px;
  --font-display:   'Sora', sans-serif;
  --font-body:      'Outfit', sans-serif;
  --font-mono:      'JetBrains Mono', monospace;
  --ease:           cubic-bezier(0.16, 1, 0.3, 1);
  --transition:     0.25s var(--ease);
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-bright); }
ul, ol { list-style: none; }
::selection { background: rgba(34,211,160,0.25); color: #fff; }

/* ─── Matrix Rain Canvas ─── */
#matrix-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.14;
  transition: opacity 0.6s;
}
body.hero-visible #matrix-canvas {
  opacity: 0.2;
}

/* Ensure all content sits above the canvas */
.site-nav, .hero, .section, .section-divider,
.lead-feature, .contact-section, .site-footer,
.mobile-nav { position: relative; z-index: 1; }

/* ─── Utilities ─── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0; }

/* ─── Scroll Animations ─── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── Typography ─── */
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; color: var(--text); }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.6rem); letter-spacing: -0.025em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); letter-spacing: -0.01em; }
p { color: var(--text-secondary); }

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-label::before {
  content: '//';
  opacity: 0.5;
}

/* ─── Reusable centered section header ─── */
.section-header-centered {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.section-header-centered .section-label { justify-content: center; }
.section-header-centered p { margin-top: 12px; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.2;
  position: relative;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 0 0 0 rgba(34,211,160,0), var(--shadow);
}
.btn-primary:hover {
  color: var(--bg);
  background: var(--accent-bright);
  box-shadow: 0 0 32px rgba(34,211,160,0.2), var(--shadow);
  transform: translateY(-2px);
}
.btn-secondary {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  color: var(--text);
  border-color: var(--text-muted);
  background: var(--bg-elevated);
  transform: translateY(-2px);
}
.btn-sm { padding: 11px 22px; font-size: 0.88rem; }

/* ─── Nav ─── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 24px;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.site-nav.scrolled {
  background: rgba(9,9,11,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border-subtle);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-brand {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.01em;
}
.nav-brand:hover { color: var(--accent); }
.nav-brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--bg);
  font-weight: 700;
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 7px 14px;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
  border-radius: 6px;
  transition: all var(--transition);
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.nav-cta { margin-left: 12px; }
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 8px;
}

/* ─── Mobile Nav ─── */
.mobile-nav {
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: rgba(9,9,11,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 99;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  display: block;
  padding: 12px 16px;
  font-size: 1rem;
  color: var(--text-secondary);
  border-radius: 8px;
}
.mobile-nav a:hover { color: var(--text); background: rgba(255,255,255,0.04); }

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

/* Grid background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(34,211,160,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34,211,160,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, black 20%, transparent 70%);
}

/* Ambient glow */
.hero::after {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,211,160,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 780px;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  opacity: 0;
  animation: hero-fade 0.8s var(--ease) 0.2s forwards;
}
.hero h1 {
  margin-bottom: 24px;
  opacity: 0;
  animation: hero-fade 0.8s var(--ease) 0.35s forwards;
}
.hero h1 .accent { color: var(--accent); }
.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto 40px;
  opacity: 0;
  animation: hero-fade 0.8s var(--ease) 0.5s forwards;
}
.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: hero-fade 0.8s var(--ease) 0.65s forwards;
}
.cursor-blink::after {
  content: '▎';
  color: var(--accent);
  animation: blink 1s step-end infinite;
  margin-left: 2px;
  font-weight: 400;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
@keyframes hero-fade {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── Scan line (subtle) ─── */
.hero .scanline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(34,211,160,0.1), transparent);
  animation: scanline 8s linear infinite;
  pointer-events: none;
  z-index: 2;
}
@keyframes scanline {
  0% { top: -2px; }
  100% { top: 100%; }
}

/* ═══════════════════════════════════════════
   SECTIONS (shared)
   ═══════════════════════════════════════════ */
.section {
  padding: 120px 0;
  position: relative;
}
.section-divider {
  width: 100%;
  height: 1px;
  background: var(--border-subtle);
}

/* ═══════════════════════════════════════════
   WHAT I BUILD (single column, no terminal)
   ═══════════════════════════════════════════ */
.what-content {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.what-content .section-label { justify-content: center; }
.what-content h2 { margin-bottom: 20px; }
.what-content > p { font-size: 1.05rem; line-height: 1.8; margin-bottom: 16px; }
.what-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}
.what-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  transition: all var(--transition);
  text-align: left;
}
.what-feature:hover {
  border-color: var(--border);
  background: var(--bg-card-hover);
}
.what-feature-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1rem;
}
.what-feature-text h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
  margin-bottom: 2px;
}
.what-feature-text p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ─── Terminal Card (decorative) ─── */
.terminal-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.terminal-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border-subtle);
}
.terminal-dot { width: 10px; height: 10px; border-radius: 50%; }
.terminal-dot.red { background: #ff5f57; }
.terminal-dot.yellow { background: #febc2e; }
.terminal-dot.green { background: #28c840; }
.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-left: 8px;
}
.terminal-body {
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 2;
  color: var(--text-secondary);
}
.terminal-body .prompt { color: var(--accent); }
.terminal-body .comment { color: var(--text-muted); }
.terminal-body .string { color: #a78bfa; }
.terminal-body .keyword { color: #f59e42; }

/* ═══════════════════════════════════════════
   WHO IT'S FOR
   ═══════════════════════════════════════════ */
.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.who-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.35s var(--ease);
}
.who-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}
.who-card-icon {
  font-size: 2rem;
  margin-bottom: 18px;
  display: block;
}
.who-card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.who-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }

/* ═══════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 28px 24px;
  counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}
.step h3 { margin-bottom: 10px; font-size: 1.05rem; }
.step p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; }

/* Connector line */
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 46px;
  right: -12px;
  width: 24px;
  height: 1px;
  background: var(--border);
}

/* ═══════════════════════════════════════════
   LEAD CAPTURE FEATURE (iPhone Mockup)
   ═══════════════════════════════════════════ */
.lead-feature {
  padding: 120px 0;
}
.lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
/* Urgency callout spans full width below the 2-col grid */
.lead-urgency-callout {
  grid-column: 1 / -1;
}
.lead-text h2 { margin-bottom: 20px; }
.lead-text p { font-size: 1.05rem; line-height: 1.8; margin-bottom: 16px; }
.lead-text .urgency {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent);
  margin-top: 12px;
  padding: 8px 16px;
  background: var(--accent-dim);
  border-radius: 100px;
}

/* iPhone Mockup */
.iphone-wrap {
  display: flex;
  justify-content: center;
}
.iphone {
  width: 280px;
  background: #1a1a1e;
  border-radius: 40px;
  padding: 16px;
  box-shadow: var(--shadow-lg), 0 0 0 2px #2a2a2e, inset 0 0 0 1px rgba(255,255,255,0.04);
  position: relative;
}
.iphone-notch {
  width: 120px;
  height: 28px;
  background: #111;
  border-radius: 0 0 18px 18px;
  margin: 0 auto 20px;
  position: relative;
}
.iphone-notch::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 4px;
  background: #222;
  border-radius: 2px;
}
.iphone-screen {
  background: #000;
  border-radius: 26px;
  padding: 24px 16px 32px;
  min-height: 380px;
}
.iphone-time {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  text-align: center;
  margin-bottom: 24px;
}
.sms-notification {
  background: rgba(40,40,44,0.95);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 12px;
  animation: sms-slide 0.5s var(--ease) 1s both;
}
.sms-notification:nth-child(3) { animation-delay: 1.4s; }
@keyframes sms-slide {
  from { opacity: 0; transform: translateY(-12px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.sms-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.sms-app-icon {
  width: 22px;
  height: 22px;
  background: #30d158;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}
.sms-app-name {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  flex: 1;
}
.sms-time-label {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.4);
}
.sms-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}
.sms-body {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}
.sms-body strong { color: rgba(255,255,255,0.85); font-weight: 500; }

/* ═══════════════════════════════════════════
   PORTFOLIO
   ═══════════════════════════════════════════ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.portfolio-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  transition: all 0.4s var(--ease);
  cursor: pointer;
  background: var(--bg-card);
}
.portfolio-card:hover {
  border-color: var(--border);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.portfolio-preview {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--bg-elevated);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Mini browser mockups inside cards */
.portfolio-browser {
  width: 88%;
  height: 80%;
  background: #111;
  border-radius: 8px;
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}
.portfolio-browser-bar {
  height: 24px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 10px;
}
.portfolio-browser-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #333;
}
.portfolio-browser-url {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--text-muted);
  margin-left: 8px;
}
.portfolio-browser-content {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pb-line {
  height: 6px;
  border-radius: 3px;
  background: var(--border-subtle);
}
.pb-line.accent { background: var(--accent-dim); width: 40%; }
.pb-line.w60 { width: 60%; }
.pb-line.w80 { width: 80%; }
.pb-line.w45 { width: 45%; }
.pb-line.w70 { width: 70%; }
.pb-hero-block {
  height: 48px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent-dim), rgba(34,211,160,0.04));
  margin-bottom: 4px;
}
.pb-card-row {
  display: flex;
  gap: 6px;
}
.pb-mini-card {
  flex: 1;
  height: 28px;
  border-radius: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
}

.portfolio-info {
  padding: 20px;
}
.portfolio-info h3 { font-size: 1rem; margin-bottom: 4px; }
.portfolio-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════ */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
  margin-top: 48px;
}
.about-photo-area {
  aspect-ratio: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.about-photo-placeholder {
  font-family: var(--font-mono);
  font-size: 3rem;
  color: var(--text-muted);
  opacity: 0.3;
}
.about-text h2 { margin-bottom: 20px; }
.about-text p { font-size: 1.02rem; line-height: 1.85; margin-bottom: 14px; }
.about-text .about-sig {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

/* ═══════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════ */
.pricing-card {
  max-width: 520px;
  margin: 48px auto 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.pricing-header {
  padding: 40px 40px 0;
  text-align: center;
}
.pricing-row {
  display: flex;
  justify-content: center;
  gap: 48px;
  padding: 32px 40px;
}
.pricing-item { text-align: center; }
.pricing-amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}
.pricing-period {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.pricing-divider {
  width: 1px;
  background: var(--border);
}
.pricing-includes {
  padding: 0 40px 40px;
}
.pricing-includes h4 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
}
.pricing-list { display: flex; flex-direction: column; gap: 10px; }
.pricing-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.pricing-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.6rem;
  color: var(--accent);
}
.pricing-footer {
  padding: 0 40px 40px;
  text-align: center;
}
.pricing-footer .btn { width: 100%; }
.pricing-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 12px;
}

/* ═══════════════════════════════════════════
   CTA / CONTACT + CHATBOT
   ═══════════════════════════════════════════ */
.contact-section {
  padding: 120px 0;
}
.contact-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.contact-inner h2 { margin-bottom: 16px; }
.contact-inner > p { margin-bottom: 48px; }

/* Chatbot */
.chatbot {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-align: left;
  box-shadow: var(--shadow-lg);
}
.chatbot-head {
  padding: 18px 24px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 10px;
}
.chatbot-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-status 2s infinite;
}
@keyframes pulse-status {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34,211,160,0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 4px rgba(34,211,160,0); }
}
.chatbot-head-text {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.chatbot-messages {
  padding: 24px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cb-msg {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1.55;
}
.cb-msg.bot {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  animation: cb-in 0.3s var(--ease);
}
.cb-msg.user {
  background: var(--accent);
  color: var(--bg);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  font-weight: 500;
  animation: cb-in 0.3s var(--ease);
}
@keyframes cb-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.cb-input-area {
  padding: 16px 24px 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cb-input-area input,
.cb-input-area select {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  outline: none;
  transition: border-color var(--transition);
}
.cb-input-area input:focus,
.cb-input-area select:focus {
  border-color: var(--accent);
}
.cb-input-area input::placeholder { color: var(--text-muted); }
.cb-input-area .btn { width: 100%; }
.cb-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cb-option {
  padding: 9px 16px;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition);
}
.cb-option:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-dim);
}
.chatbot-progress {
  padding: 0 24px 16px;
  display: flex;
  gap: 4px;
}
.chatbot-progress-bar {
  flex: 1;
  height: 2px;
  background: var(--border-subtle);
  border-radius: 2px;
  transition: background 0.4s;
}
.chatbot-progress-bar.done { background: var(--accent); }
.chatbot-progress-bar.active { background: var(--accent); opacity: 0.5; }

/* ─── Success state ─── */
.cb-success {
  text-align: center;
  padding: 40px 24px;
}
.cb-success-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.cb-success h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--accent);
}
.cb-success p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-links a:hover { color: var(--text-secondary); }

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */

/* ─── Tablet (≤ 900px) ─── */
@media (max-width: 900px) {
  /* What I Build — feature cards stay left-aligned internally */
  .what-features { max-width: 480px; margin-left: auto; margin-right: auto; }
  .what-feature { text-align: left; } /* keep cards left-aligned internally */

  /* Who grid */
  .who-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .who-card { text-align: center; }

  /* Steps */
  .steps { grid-template-columns: 1fr 1fr; }
  .step:not(:last-child)::after { display: none; }

  /* Lead grid — single column, correct order: text → phone → urgency */
  .lead-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .lead-text { order: 1; text-align: center; }
  .iphone-wrap { order: 2; }
  .lead-urgency-callout { order: 3; text-align: center; }
  .lead-urgency-callout .urgency { justify-content: center; }

  /* Portfolio */
  .portfolio-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }

  /* About */
  .about-inner { grid-template-columns: 1fr; gap: 32px; }
  .about-photo-area { max-width: 180px; margin: 0 auto; aspect-ratio: 1; }
  .about-text { text-align: center; }
  .about-text .section-label { justify-content: center; }
  .about-sig { text-align: center; }
}

/* ─── Mobile (≤ 640px) ─── */
@media (max-width: 640px) {
  /* Nav */
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .mobile-toggle { display: block; }

  /* Global spacing — tighter sections, no floaty gaps */
  .section { padding: 64px 0; }
  .lead-feature { padding: 64px 0; }
  .contact-section { padding: 64px 0; }
  .section-divider { display: none; } /* Remove dividers on mobile — sections are tight enough */

  /* Hero */
  .hero { padding: 100px 16px 48px; min-height: auto; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  /* What I Build */
  .what-content > p { font-size: 0.98rem; }

  /* Steps — single column, tighter vertical rhythm */
  .steps { grid-template-columns: 1fr; gap: 8px; }
  .step {
    padding: 20px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-subtle);
  }
  .step:last-child { border-bottom: none; }
  .step::before {
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: none;
    display: inline-block;
  }

  /* Lead section */
  .lead-grid { gap: 32px; }

  /* Pricing */
  .pricing-row { gap: 32px; }
  .pricing-amount { font-size: 2rem; }
  .pricing-card { margin-left: -8px; margin-right: -8px; }
  .pricing-header, .pricing-includes, .pricing-footer { padding-left: 24px; padding-right: 24px; }

  /* About */
  .about-photo-area { max-width: 140px; }

  /* Footer */
  .footer-inner { flex-direction: column; text-align: center; }
}
