/* ========================
   RESPONSEIQ — CUSTOM THEME
   ======================== */

:root {
  --bg: #FAFAF8;
  --bg-alt: #F0EDE8;
  --fg: #1A1A18;
  --fg-muted: #6B6860;
  --accent: #0F4C5C;
  --accent-light: #1A7A96;
  --amber: #F59E0B;
  --amber-light: #FCD34D;
  --surface: #FFFFFF;
  --border: #E5E0D8;
  --teal-10: rgba(15,76,92,0.08);
  --teal-20: rgba(15,76,92,0.15);
  --amber-10: rgba(245,158,11,0.10);
  --shadow-sm: 0 1px 3px rgba(26,26,24,0.06);
  --shadow-md: 0 4px 20px rgba(26,26,24,0.08);
  --shadow-lg: 0 12px 48px rgba(26,26,24,0.12);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  line-height: 1.15;
}

/* ========================
   NAV
   ======================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,250,248,0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--fg);
  letter-spacing: -0.02em;
}

.nav-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--fg-muted);
  background: var(--teal-10);
  border: 1px solid var(--teal-20);
  padding: 6px 14px;
  border-radius: 100px;
  font-weight: 500;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34,197,94,0.2); }
  50% { box-shadow: 0 0 0 6px rgba(34,197,94,0.08); }
}

/* ========================
   HERO
   ======================== */

.hero {
  padding: 96px 2rem 80px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

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

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
  background: var(--teal-10);
  border: 1px solid var(--teal-20);
  padding: 6px 14px;
  border-radius: 100px;
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  color: var(--fg);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero-lede {
  font-size: 1.15rem;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 500px;
  margin-bottom: 40px;
}

.hero-stat-row {
  display: flex;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

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

.stat-num {
  font-family: 'Instrument Serif', serif;
  font-size: 1.8rem;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--fg-muted);
  line-height: 1.4;
  max-width: 120px;
}

/* ========================
   PHONE MOCKUP
   ======================== */

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-frame {
  width: 300px;
  background: #111;
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.08) inset;
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #111;
  border-radius: 0 0 20px 20px;
  z-index: 10;
}

.phone-screen {
  background: #0A0A0F;
  border-radius: 30px;
  overflow: hidden;
  height: 540px;
  display: flex;
  flex-direction: column;
}

.chat-header {
  background: #1C1C28;
  padding: 16px 16px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.chat-avatar {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

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

.chat-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
}

.chat-status {
  font-size: 0.72rem;
  color: #22C55E;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scrollbar-width: none;
}

.chat-messages::-webkit-scrollbar { display: none; }

.msg { display: flex; flex-direction: column; gap: 4px; }

.msg-incoming { align-items: flex-start; }
.msg-outgoing { align-items: flex-end; }

.bubble {
  max-width: 220px;
  padding: 10px 14px;
  font-size: 0.8rem;
  line-height: 1.5;
  border-radius: 16px;
}

.msg-incoming .bubble {
  background: #1E1E2E;
  color: #E8E8F0;
  border-bottom-left-radius: 4px;
}

.msg-outgoing .bubble {
  background: var(--accent);
  color: white;
  border-bottom-right-radius: 4px;
}

.bubble a {
  color: var(--amber-light);
  text-decoration: underline;
}

.ts {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.3);
  padding: 0 4px;
}

.chat-input-bar {
  padding: 12px 16px;
  background: #111119;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  border-top: 1px solid rgba(255,255,255,0.05);
}

.typing-indicator {
  display: flex;
  gap: 3px;
}

.typing-indicator span {
  width: 5px;
  height: 5px;
  background: var(--amber);
  border-radius: 50%;
  animation: typing 1.2s infinite;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
  0%, 80%, 100% { transform: scale(1); opacity: 0.4; }
  40% { transform: scale(1.3); opacity: 1; }
}

/* ========================
   PROOF
   ======================== */

.proof {
  background: var(--accent);
  padding: 56px 2rem;
  color: white;
}

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

.proof-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  text-align: center;
  margin-bottom: 28px;
}

.proof-types {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}

.proof-type {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.08);
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.1);
}

.proof-metrics {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
}

.metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 48px;
}

.metric-val {
  font-family: 'Instrument Serif', serif;
  font-size: 2.8rem;
  color: white;
  letter-spacing: -0.03em;
}

.metric-lbl {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
  text-align: center;
}

.metric-sep {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.15);
}

/* ========================
   SHARED SECTION HEADER
   ======================== */

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber);
  margin-bottom: 16px;
  background: var(--amber-10);
  padding: 4px 12px;
  border-radius: 100px;
}

.section-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  letter-spacing: -0.02em;
  color: var(--fg);
}

/* ========================
   FEATURES
   ======================== */

.features {
  padding: 96px 2rem;
  background: var(--bg);
}

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

.feature-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

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

.feature-card--large {
  grid-column: 1 / -1;
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--teal-10);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--fg);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ========================
   HOW
   ======================== */

.how {
  padding: 96px 2rem;
  background: var(--bg-alt);
}

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

.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 48px;
}

.step {
  flex: 1;
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.step-num {
  font-family: 'Instrument Serif', serif;
  font-size: 2.5rem;
  color: var(--teal-20);
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--amber) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.step-body h3 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--fg);
  margin-bottom: 10px;
}

.step-body p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

.step-arrow {
  display: flex;
  align-items: center;
  padding: 0 16px;
  padding-top: 48px;
  flex-shrink: 0;
}

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

.integration-logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.integration-logos > span {
  font-size: 0.8rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.logo-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.logo-pill {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
}

/* ========================
   INDUSTRIES
   ======================== */

.industries {
  padding: 96px 2rem;
  background: var(--accent);
  color: white;
}

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

.industries .section-header h2 {
  color: white;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.industries .section-tag {
  color: var(--amber-light);
  background: rgba(245,158,11,0.15);
}

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

.industry-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.industry-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

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

.industry-icon svg path,
.industry-icon svg circle,
.industry-icon svg rect {
  stroke: rgba(255,255,255,0.8) !important;
}

.industry-icon svg path[fill="#F59E0B"] {
  fill: var(--amber) !important;
}

.industry-card h4 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: white;
  margin-bottom: 8px;
}

.industry-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.55;
}

/* ========================
   MANIFESTO
   ======================== */

.manifesto {
  padding: 96px 2rem;
  background: var(--bg);
}

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

.manifesto-body .section-tag {
  margin-bottom: 24px;
}

blockquote {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: var(--fg);
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  padding-left: 24px;
  border-left: 4px solid var(--amber);
  font-style: italic;
}

.manifesto-body p {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}

.manifesto-stats {
  font-weight: 600;
  color: var(--accent) !important;
  font-size: 1.1rem !important;
}

/* ========================
   CLOSING
   ======================== */

.closing {
  padding: 96px 2rem;
  background: var(--bg-alt);
  text-align: center;
}

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

.closing h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 24px;
}

.closing h2 em {
  color: var(--amber);
  font-style: italic;
}

.closing > .closing-inner > p {
  font-size: 1.1rem;
  color: var(--fg-muted);
  margin-bottom: 48px;
}

.closing-details {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 56px;
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}

.closing-detail {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.detail-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
}

.detail-value {
  font-family: 'Instrument Serif', serif;
  font-size: 1.3rem;
  color: var(--fg);
}

.closing-vision {
  padding: 32px;
  background: linear-gradient(135deg, var(--teal-10) 0%, var(--amber-10) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.closing-vision p {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--fg);
  line-height: 1.6;
}

/* ========================
   FOOTER
   ======================== */

.footer {
  padding: 40px 2rem;
  background: var(--fg);
  color: white;
}

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

.footer-brand .nav-logo {
  color: white;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

.footer-meta {
  display: flex;
  gap: 24px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* ========================
   RESPONSIVE
   ======================== */

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    order: -1;
  }

  .phone-frame {
    width: 260px;
  }

  .phone-screen {
    height: 460px;
  }

  .steps {
    flex-direction: column;
  }

  .step-arrow {
    transform: rotate(90deg);
    padding: 12px 0;
    justify-content: center;
  }

  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 64px 1.5rem 56px;
  }

  .hero-stat-row {
    flex-direction: column;
    gap: 16px;
  }

  .feature-row {
    grid-template-columns: 1fr;
  }

  .metric {
    padding: 0 24px;
  }

  .metric-val {
    font-size: 2rem;
  }

  .closing-details {
    flex-direction: column;
    gap: 24px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-meta {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .proof-metrics {
    flex-direction: column;
    gap: 24px;
  }

  .metric-sep {
    width: 60px;
    height: 1px;
  }

  .industry-grid {
    grid-template-columns: 1fr;
  }

  .proof-types {
    gap: 8px;
  }

  .nav-badge {
    display: none;
  }

  .phone-frame {
    width: 220px;
  }

  .phone-screen {
    height: 380px;
  }

  .bubble {
    font-size: 0.72rem;
    padding: 8px 12px;
  }
}