@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

/* ─── Design Tokens ─── */
:root {
  --brand-primary: #11C5A5;
  --brand-dark: #0F8F7B;
  --brand-soft: rgba(17, 197, 165, 0.08);
  --brand-gradient: linear-gradient(135deg, #11C5A5 0%, #0F8F7B 100%);

  --bg-white: #FFFFFF;
  --bg-soft: #F2F4F6;
  --text-main: #191F28;
  --text-sub: #4E5968;
  --text-muted: #8B95A1;

  --radius-xl: 48px;
  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 12px;

  --shadow-premium: 0 40px 80px rgba(0,0,0,0.12), 0 10px 30px rgba(0,0,0,0.04);
  --shadow-card: 0 4px 20px rgba(0,0,0,0.06);
  --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── Reset ─── */
* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-main);
  background: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}

/* ─── Custom Cursor (desktop only) ─── */
@media (pointer: fine) {
  body, body * { cursor: none !important; }

  #cursor-dot {
    position: fixed; top: 0; left: 0; z-index: 99999;
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--brand-primary);
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: transform 0.08s ease, opacity 0.3s, width 0.25s, height 0.25s, background 0.25s;
    will-change: transform;
  }

  #cursor-ring {
    position: fixed; top: 0; left: 0; z-index: 99998;
    width: 36px; height: 36px; border-radius: 50%;
    border: 2px solid rgba(17, 197, 165, 0.5);
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: transform 0.18s cubic-bezier(0.16,1,0.3,1), opacity 0.3s, width 0.3s, height 0.3s, border-color 0.25s;
    will-change: transform;
  }

  /* Hover state on interactive elements */
  body.cursor-hover #cursor-dot {
    width: 12px; height: 12px;
    background: var(--brand-dark);
  }
  body.cursor-hover #cursor-ring {
    width: 52px; height: 52px;
    border-color: rgba(17, 197, 165, 0.35);
  }

  /* Click state */
  body.cursor-click #cursor-dot {
    transform: translate(-50%, -50%) scale(0.6);
    background: var(--brand-dark);
  }
  body.cursor-click #cursor-ring {
    transform: translate(-50%, -50%) scale(0.85);
    border-color: var(--brand-primary);
  }
}


/* ─── Layout ─── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.section { padding: 8rem 0; }

/* ─── Presentation Slide Screen Layout ─── */
.section-screen {
  min-height: 100svh;
  padding: clamp(96px, 12vh, 160px) 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--brand-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  padding: 4px 12px;
  background: var(--brand-soft);
  border-radius: 100px;
  width: fit-content;
}

.section-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  word-break: keep-all;
  color: var(--text-main);
}

.section-lead {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 500;
  color: var(--text-sub);
  line-height: 1.7;
  max-width: 760px;
  margin-bottom: 3rem;
  word-break: keep-all;
}

/* Align center helper for slides */
.text-center .section-kicker {
  margin-left: auto;
  margin-right: auto;
}
.text-center .section-lead {
  margin-left: auto;
  margin-right: auto;
}

/* ─── Collapsible Details / Summary ─── */
details.code-details,
details.prompt-details {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  background: #1e1e1e;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
  text-align: left;
}
details.code-details summary,
details.prompt-details summary {
  padding: 16px 24px;
  background: #2d2d2d;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none; /* hide default marker */
}
details.code-details summary::-webkit-details-marker,
details.prompt-details summary::-webkit-details-marker {
  display: none; /* hide default marker for Safari */
}
details.code-details summary::after,
details.prompt-details summary::after {
  content: '보기 ▼';
  color: var(--brand-primary);
  font-size: 0.8rem;
  font-weight: 800;
  margin-left: auto;
}
details.code-details[open] summary::after,
details.prompt-details[open] summary::after {
  content: '접기 ▲';
}
details.code-details .details-content,
details.prompt-details .details-content {
  border-top: 1px solid #3d3d3d;
  padding: 24px;
  background: #1e1e1e;
}


.text-center { text-align: center; }

/* ─── Progress Bar ─── */
#progress-bar {
  position: fixed; top: 0; left: 0; height: 3px;
  background: var(--brand-primary); z-index: 10000;
  width: 0%; transition: width 0.1s linear;
}

/* ─── Mesh Background ─── */
.mesh-bg {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  z-index: -1; overflow: hidden; pointer-events: none;
}
.mesh-bg div {
  position: absolute; border-radius: 50%;
  filter: blur(120px); opacity: 0.1;
  animation: mesh-move 20s ease-in-out infinite alternate;
}
.mesh-1 { top: -20%; left: -10%; width: 700px; height: 700px; background: var(--brand-primary); }
.mesh-2 { bottom: -20%; right: -10%; width: 600px; height: 600px; background: #C7F5ED; }

@keyframes mesh-move {
  from { transform: translate(0, 0); }
  to { transform: translate(80px, 80px); }
}

/* ─── Header ─── */
.header {
  position: fixed; top: 0; left: 0; width: 100%;
  padding: 1.25rem 0; z-index: 1000; transition: var(--transition);
}
.header.scrolled {
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 0.9rem 0;
}
.header .container { display: flex; justify-content: space-between; align-items: center; }
.logo-link {
  display: flex; align-items: center; gap: 10px;
  font-weight: 900; font-size: 1.5rem;
  text-decoration: none; color: var(--text-main); letter-spacing: -0.04em;
}

/* ─── Header Nav ─── */
.header-nav-pc { display: flex; align-items: center; gap: 20px; }
.header-nav-mobile { display: none; }
.header-nav-link {
  font-size: 0.9rem; font-weight: 700; color: var(--text-sub);
  text-decoration: none; transition: color 0.2s;
}
.header-nav-link:hover { color: var(--brand-primary); }
.header-nav-btn {
  font-size: 0.875rem; font-weight: 800; color: var(--brand-primary);
  text-decoration: none; padding: 8px 20px;
  border: 2px solid var(--brand-primary); border-radius: 100px;
  transition: all 0.25s;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}
.header-nav-btn:hover { background: var(--brand-primary); color: white; }
@media (max-width: 900px) {
  .header-nav-pc { display: none; }
  .header-nav-mobile { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; max-width: 70%; }
  .header-nav-link { font-size: 0.75rem; font-weight: 800; }
  .header-nav-btn { padding: 5px 10px; font-size: 0.7rem; white-space: nowrap; }
}


/* ─── Hero ─── */
.hero {
  padding-top: 120px; padding-bottom: 80px;
  min-height: 100vh; display: flex; flex-direction: column; align-items: center;
}
.hero-header {
  text-align: center; max-width: 840px;
  margin: 0 auto 60px; padding: 0 20px;
}
.hero h1 {
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  font-weight: 900; line-height: 1.15; letter-spacing: -0.04em;
  margin-bottom: 1.5rem; word-break: keep-all;
  color: var(--text-main);
}
.hero p {
  font-size: clamp(1rem, 1.8vw, 1.5rem);
  color: var(--text-sub); font-weight: 500;
  margin-bottom: 2.5rem; word-break: keep-all;
}

/* ─── Hero Scene (Desktop) ─── */
.hero-scene {
  position: relative; width: 100%; max-width: 1200px;
  height: 660px; display: flex; align-items: center; justify-content: center;
}
.scene-center { position: relative; z-index: 10; }

/* iPhone-style black shell */
.scene-phone {
  width: 300px; height: 620px; background: #111;
  border-radius: 52px; padding: 10px; position: relative;
  box-shadow: 0 60px 120px rgba(0,0,0,0.22), 0 0 0 1px rgba(255,255,255,0.08);
}
.scene-phone::before {
  content: '';  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; border-radius: 52px;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 50%);
  pointer-events: none; z-index: 1;
}
.phone-inner {
  width: 100%; height: 100%; background: #F7F8FA;
  border-radius: 42px; overflow: hidden; position: relative;
}

/* ─── Floating Cards ─── */
.floating-card {
  position: absolute; background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px); border-radius: 20px;
  box-shadow: var(--shadow-premium); border: 1px solid rgba(255,255,255,0.6);
  padding: 20px; transition: var(--transition);
}
.card-receipt {
  left: -20px; top: 8%; width: 240px; transform: rotate(-3deg);
  animation: float-receipt 6s ease-in-out infinite;
}
.card-record {
  right: -10px; top: 12%; width: 260px; transform: rotate(2.5deg);
  animation: float-record 7s ease-in-out infinite;
}
.card-briefing {
  right: -30px; bottom: 8%; width: 300px; transform: rotate(-1.5deg);
  animation: float-briefing 8s ease-in-out infinite;
}

@keyframes float-receipt  { 0%,100% { transform: translate(0,0) rotate(-3deg);   } 50% { transform: translate(-12px,-20px) rotate(-5deg);  } }
@keyframes float-record   { 0%,100% { transform: translate(0,0) rotate(2.5deg);  } 50% { transform: translate(16px,-24px)  rotate(4deg);    } }
@keyframes float-briefing { 0%,100% { transform: translate(0,0) rotate(-1.5deg); } 50% { transform: translate(8px, 16px)   rotate(0deg);    } }

/* ─── Before / After ─── */
.compare-section { padding: 8rem 0; background: var(--bg-soft); }
.compare-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.compare-visual {
  position: relative; height: 480px; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-premium);
}
.compare-img {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  transition: opacity 0.8s ease;
}
.compare-overlay {
  position: absolute; bottom: 0; left: 0; width: 100%; padding: 2.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.55), transparent); color: white;
}

/* ─── Sticky Story ─── */
.story-section { height: 400vh; position: relative; }
.sticky-container {
  position: sticky; top: 0; height: 100vh;
  display: flex; align-items: center; justify-content: center; gap: 8rem;
}
.story-text-box { width: 400px; position: relative; height: 280px; }
.story-step {
  position: absolute; top: 0; left: 0;
  opacity: 0; transform: translateY(40px); transition: var(--transition);
}
.story-step.active { opacity: 1; transform: translateY(0); }
.story-step h2 { font-size: clamp(1.75rem, 3vw, 2.75rem); font-weight: 900; margin-bottom: 1rem; letter-spacing: -0.02em; }
.story-step p  { font-size: clamp(1rem, 1.4vw, 1.25rem); color: var(--text-sub); }

.premium-phone {
  width: 300px; height: 620px;
  background: linear-gradient(135deg, #2C2C2E 0%, #000 100%);
  border-radius: 52px; padding: 10px; position: relative;
  box-shadow: 0 80px 130px rgba(0,0,0,0.28);
  border: 1px solid rgba(255,255,255,0.14);
}
.premium-phone::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  border-radius: 52px; background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 45%);
  pointer-events: none;
}
.premium-screen { width: 100%; height: 100%; background: white; border-radius: 42px; overflow: hidden; }

/* ─── Feature Showcase ─── */
.feature-showcase { padding: 8rem 0; }
.feature-showcase h2 {
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  font-weight: 900; letter-spacing: -0.03em; margin-bottom: 4rem;
}
.big-feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; margin-bottom: 4rem;
}
.big-feature-card {
  padding: 3rem 2.5rem; background: var(--bg-soft);
  border-radius: 36px; transition: var(--transition);
}
.big-feature-card:hover {
  background: white; box-shadow: var(--shadow-premium); transform: translateY(-12px);
}
.big-feature-card h3 { font-size: 1.4rem; font-weight: 900; margin-bottom: 0.75rem; letter-spacing: -0.02em; }
.big-feature-card p  { font-size: 0.95rem; color: var(--text-sub); line-height: 1.6; }

.small-feature-grid { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.small-feature-pill {
  padding: 8px 18px; background: white; border: 1.5px solid #E6E8EB;
  border-radius: 100px; font-weight: 700; font-size: 0.85rem;
  color: var(--text-sub); display: flex; align-items: center; gap: 7px; transition: 0.3s;
  white-space: nowrap;
}
.small-feature-pill:hover { border-color: var(--brand-primary); color: var(--brand-primary); }

/* ─── Why Section ─── */
.why-section { padding: 7rem 0; background: var(--bg-white); }
.why-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.why-eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 800;
  color: var(--brand-primary); letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 1rem; padding: 4px 12px;
  background: var(--brand-soft); border-radius: 100px;
}
.why-heading {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900; letter-spacing: -0.04em; line-height: 1.15;
  margin-bottom: 1.5rem; word-break: keep-all;
}
.why-lead {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 700; color: var(--text-sub);
  line-height: 1.55; font-style: italic; word-break: keep-all;
}
.why-card {
  background: var(--bg-soft); border-radius: 24px;
  padding: 2rem 2.25rem;
  border: 1px solid #E8EAED;
}
.why-body {
  font-size: 0.9375rem; color: var(--text-sub);
  line-height: 1.8; font-weight: 500; margin-bottom: 1.25rem;
  word-break: keep-all;
}
.why-body:last-of-type { margin-bottom: 1.5rem; }
.why-notice {
  display: flex; gap: 10px; align-items: flex-start;
  background: #FFFBEB; border: 1px solid #FDE68A;
  border-radius: 14px; padding: 14px 16px;
}
.why-notice-icon { font-size: 14px; flex-shrink: 0; margin-top: 1px; }
.why-notice p {
  font-size: 0.8125rem; font-weight: 600; color: #92400E;
  line-height: 1.65; margin: 0; word-break: keep-all;
}
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; gap: 36px; }
  .why-left { text-align: center; }
}
@media (max-width: 640px) {
  .why-section { padding: 4.5rem 0; }
  .why-card { padding: 1.5rem; border-radius: 18px; }
}

/* ─── CTA Section ─── */

.cta-section {
  position: relative; overflow: hidden;
  padding: 8rem 0;
  background: linear-gradient(135deg, #0D9E85 0%, #11C5A5 50%, #16D6B2 100%);
  color: white;
}

/* Background layers */
.cta-bg-layer { position: absolute; inset: 0; pointer-events: none; }
.cta-glow {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.25;
}
.cta-glow-1 { width: 500px; height: 500px; background: #fff; top: -20%; left: -10%; }
.cta-glow-2 { width: 400px; height: 400px; background: #05F5D3; bottom: -20%; right: -5%; }

.paw-pattern {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 60px; padding: 40px; opacity: 0.06;
  font-size: 40px; align-items: center; justify-items: center;
  pointer-events: none;
}

/* Layout */
.cta-layout {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}

/* Left text */
.cta-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.3);
  border-radius: 100px; padding: 6px 16px 6px 8px;
  font-size: 13px; font-weight: 700; margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}
.cta-heading {
  font-size: clamp(2.25rem, 4vw, 3.75rem);
  font-weight: 900; letter-spacing: -0.04em; line-height: 1.15;
  margin-bottom: 1.25rem; word-break: keep-all;
}
.cta-sub {
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  color: rgba(255,255,255,0.85); font-weight: 500; line-height: 1.6;
  margin-bottom: 2.5rem; word-break: keep-all;
}
.btn-cta-white {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1.1rem 3rem; background: white;
  color: var(--brand-dark); border-radius: 100px;
  font-weight: 900; font-size: 1.1rem; text-decoration: none;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
}
.btn-cta-white:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 30px 70px rgba(0,0,0,0.25); }
.cta-disclaimer {
  font-size: 11px; color: rgba(255,255,255,0.6);
  margin-top: 1.25rem; font-weight: 500;
}

/* Right visual cards */
.cta-visual {
  position: relative; display: flex; flex-direction: column;
  gap: 16px;
}
.cta-card {
  background: rgba(255,255,255,0.98);
  border-radius: 24px; padding: 20px 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 0 0 1px rgba(255,255,255,0.2);
  backdrop-filter: blur(20px);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.cta-card:hover { transform: translateY(-4px); }
.cta-card-review { animation: float-cta-a 7s ease-in-out infinite; }
.cta-card-spend  { animation: float-cta-b 9s ease-in-out infinite; }
.cta-card-ai     { animation: float-cta-a 6s ease-in-out infinite reverse; }

@keyframes float-cta-a {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes float-cta-b {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(8px); }
}

/* Responsive CTA */
@media (max-width: 900px) {
  .cta-layout { grid-template-columns: 1fr; gap: 40px; }
  .cta-text { text-align: center; }
  .cta-eyebrow { margin-left: auto; margin-right: auto; }
  .btn-cta-white, .btn-cta-outline { width: 100%; }
  .paw-pattern { grid-template-columns: repeat(4,1fr); font-size: 32px; }
}
@media (max-width: 640px) {
  .cta-section { padding: 5rem 0; }
  .cta-heading { font-size: 2rem; }
  .paw-pattern { display: none; }
}


/* ─── Buttons ─── */
.btn-premium {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1.2rem 3.5rem; background: var(--brand-primary); color: white;
  border-radius: 100px; font-weight: 800; font-size: 1.15rem;
  text-decoration: none; transition: var(--transition);
  box-shadow: 0 16px 40px rgba(17,197,165,0.28);
  white-space: nowrap;
}
.btn-premium:hover { transform: scale(1.05); box-shadow: 0 24px 60px rgba(17,197,165,0.4); }

/* ─── In-phone Card UI ─── */
.app-card {
  background: #fff; border-radius: 20px; padding: 18px 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06); border: 1px solid rgba(0,0,0,0.03);
  margin-bottom: 12px;
}
.ai-badge-mint {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--brand-soft); color: var(--brand-primary);
  padding: 5px 10px; border-radius: 10px; font-weight: 800; font-size: 11px;
  margin-bottom: 10px;
}
.spending-chart-mini { display: flex; align-items: flex-end; gap: 5px; height: 36px; margin: 12px 0; }
.chart-bar { flex: 1; background: #F2F4F6; border-radius: 3px; height: 30%; }
.chart-bar.active { background: var(--brand-primary); height: 80%; }
.breakdown-item { display: flex; justify-content: space-between; align-items: center; }
.item-label { color: var(--text-sub); font-weight: 600; font-size: 13px; }
.item-price { font-weight: 800; color: var(--text-main); font-size: 13px; }
.divider-thin { height: 1px; background: #F2F4F6; width: 100%; }
.receipt-breakdown-ui { display: flex; flex-direction: column; gap: 11px; margin-top: 14px; }
.text-center { text-align: center; }

/* ─── Animations ─── */
.fade-up { opacity: 0; transform: translateY(40px); transition: 1s cubic-bezier(0.16, 1, 0.3, 1); }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ─── Stats Row ─── */
.hero-stats {
  display: flex; align-items: center; justify-content: center;
  gap: 0; margin-top: 60px; background: white;
  border-radius: 24px; padding: 32px 48px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.07);
  border: 1px solid rgba(0,0,0,0.04);
  max-width: 640px;
}
.stat-item { flex: 1; text-align: center; }
.stat-num {
  font-size: 2.75rem; font-weight: 900; color: var(--text-main);
  letter-spacing: -0.04em; line-height: 1;
  margin-bottom: 6px;
}
.stat-num::after { content: '+'; font-size: 1.5rem; color: var(--brand-primary); }
.stat-item:nth-child(5) .stat-num::after { content: ''; }
.stat-num-text {
  font-size: 2rem; font-weight: 900; color: var(--brand-primary);
  letter-spacing: -0.02em; line-height: 1; margin-bottom: 6px;
}
.stat-divider {
  width: 1px; height: 48px; background: #E8EAED; flex-shrink: 0; margin: 0 32px;
}
.stat-label { font-size: 0.875rem; font-weight: 700; color: var(--text-muted); }

/* ─── Ticker / Marquee ─── */
.ticker-wrap {
  width: 100%; overflow: hidden;
  background: var(--bg-soft); border-top: 1px solid #E8EAED;
  border-bottom: 1px solid #E8EAED; padding: 16px 0;
}
.ticker-track {
  display: flex; gap: 0; white-space: nowrap;
  animation: ticker-scroll 22s linear infinite;
}
.ticker-track span {
  display: inline-block; padding: 0 40px;
  font-size: 0.95rem; font-weight: 700; color: var(--text-sub);
  border-right: 1px solid #D1D5DB;
}
.ticker-track span:last-child { border-right: none; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (max-width: 640px) {
  .hero-stats { padding: 24px 20px; margin-top: 40px; gap: 0; }
  .stat-num { font-size: 2rem; }
  .stat-divider { margin: 0 16px; height: 36px; }
  .stat-label { font-size: 0.78rem; }
}



/* ─── Story Phone Screen Animations ─── */
.scan-line {
  position: absolute; z-index: 4; left: 28px; right: 28px;
  height: 2px; background: linear-gradient(90deg, transparent, #11C5A5, transparent);
  box-shadow: 0 0 12px #11C5A5;
  animation: scan-move 2s linear infinite;
}
@keyframes scan-move {
  0%   { top: 20px; opacity: 1; }
  80%  { opacity: 1; }
  100% { top: calc(100% - 20px); opacity: 0; }
}

@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}
.pulse-dot { position: relative; }
.pulse-dot::after {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; border-radius: 50%;
  background: #11C5A5; animation: pulse-ring 1.2s ease-out infinite;
}

.story-screen { overflow: hidden; }
.story-screen.active { opacity: 1 !important; transform: translateX(0) !important; }
.story-screen.exit   { opacity: 0 !important; transform: translateX(-100%) !important; }

.story-dot.active { width: 20px !important; background: #11C5A5 !important; }


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

/* ─── Site Footer ─── */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid #E0E2E6;
  padding: 5rem 0 3rem;
}
.footer-top { margin-bottom: 2.5rem; text-align: center; }
.footer-brand { max-width: 440px; margin: 0 auto; }
.footer-logo-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 900; font-size: 1.35rem; color: var(--text-main);
  text-decoration: none; letter-spacing: -0.04em; margin-bottom: 1.25rem;
  justify-content: center;
}
.footer-logo-link:hover { color: var(--brand-primary); }
.footer-tagline {
  font-size: 1.05rem; font-weight: 800; color: var(--text-main);
  line-height: 1.55; margin-bottom: 0.75rem;
}
.footer-desc {
  font-size: 0.875rem; color: var(--text-sub); font-weight: 500; line-height: 1.75; text-align: center;
}
.footer-divider { height: 1px; background: #E0E2E6; margin: 2rem 0; }
.footer-legal {
  display: block; padding: 1.125rem 1.5rem;
  background: white; border-radius: 14px; border: 1px solid #E8EAED;
  margin-bottom: 2rem; text-align: center;
}
.footer-legal p {
  font-size: 0.8125rem; color: var(--text-muted);
  font-weight: 500; line-height: 1.8;
}
.footer-bottom {
  display: flex; justify-content: center;
  align-items: center; flex-direction: column; gap: 12px;
}
.footer-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; justify-content: center; }
.footer-nav a {
  font-size: 0.8125rem; font-weight: 700; color: var(--text-sub);
  text-decoration: none; transition: color 0.2s;
}
.footer-nav a:hover { color: var(--brand-primary); }
.footer-dot { color: #D1D5DB; font-size: 0.875rem; }
.footer-copy { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; margin-top: 10px; }


@media (max-width: 1024px) {
  .container { padding: 0 28px; }

  /* Hero */
  .hero { padding-top: 100px; padding-bottom: 60px; min-height: auto; }
  .hero-header { margin-bottom: 40px; }
  .hero-scene { height: auto; padding: 0; }
  .floating-card { display: none; }
  .scene-phone { margin: 0 auto; }

  /* Compare */
  .compare-grid { grid-template-columns: 1fr; gap: 36px; }
  .compare-visual { height: 360px; }

  /* Story — un-sticky */
  .story-section { height: auto !important; }
  .sticky-container {
    position: relative !important; flex-direction: column;
    height: auto !important; padding: 5rem 0; gap: 3rem;
  }
  .story-text-box { width: 100%; height: auto !important; text-align: center; }
  .story-step { position: static !important; opacity: 1 !important; transform: none !important; margin-bottom: 2rem; }
  .premium-phone { width: 280px; height: 580px; }

  /* Features */
  .big-feature-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  /* CTA */
  .cta-layout { grid-template-columns: 1fr; gap: 48px; }
  .cta-text { text-align: center; }
  .cta-eyebrow { margin: 0 auto 1.5rem; }
  .btn-cta-white { width: 100%; max-width: 320px; }
}

/* ─── Mobile (≤ 640px) ─── */
@media (max-width: 640px) {
  html { font-size: 15px; }
  .container { padding: 0 18px; }

  /* ── Header ── */
  .logo-link { font-size: 1.2rem; gap: 8px; }
  .logo-link img { width: 28px; height: 28px; }

  /* ── Hero ── */
  .hero { padding-top: 80px; padding-bottom: 40px; min-height: auto; }
  .hero-header { margin-bottom: 28px; padding: 0; }
  .hero h1 {
    font-size: 1.875rem; line-height: 1.2;
    margin-bottom: 0.875rem; letter-spacing: -0.03em;
  }
  .hero p { font-size: 0.9375rem; margin-bottom: 1.5rem; line-height: 1.65; }
  .btn-premium { padding: 0.9rem 2rem; font-size: 0.95rem; }

  /* Hero phone mockup */
  .hero-scene { padding: 0; }
  .scene-phone {
    width: 260px; height: 540px;
    border-radius: 44px; padding: 8px;
  }
  .phone-inner { border-radius: 36px; }

  /* ── Stats ── */
  .hero-stats {
    padding: 20px 16px; margin-top: 32px;
    border-radius: 18px;
  }
  .stat-num { font-size: 1.75rem; }
  .stat-num-text { font-size: 1.5rem; }
  .stat-divider { margin: 0 12px; height: 32px; }
  .stat-label { font-size: 0.72rem; }

  /* ── Ticker ── */
  .ticker-track span { padding: 0 24px; font-size: 0.85rem; }

  /* ── Compare ── */
  .compare-section { padding: 4rem 0; }
  .compare-grid { gap: 28px; }
  .compare-visual { height: 260px; border-radius: 20px; }
  .compare-overlay { padding: 1.5rem; }
  #compare-label { font-size: 1rem !important; }

  /* ── Story ── */
  .sticky-container { padding: 3.5rem 0; gap: 2rem; }
  .story-section { height: auto !important; }
  .story-text-box { height: auto !important; }
  .story-step { margin-bottom: 1.5rem; }
  .story-step h2 { font-size: 1.5rem; margin-bottom: 0.75rem; }
  .story-step p  { font-size: 0.9375rem; }
  .premium-phone {
    width: 240px; height: 500px;
    border-radius: 44px; padding: 8px;
  }
  .premium-screen { border-radius: 36px; }

  /* ── Features ── */
  .feature-showcase { padding: 4rem 0; }
  .feature-showcase h2 { font-size: 1.75rem !important; margin-bottom: 2.5rem !important; line-height: 1.3; }
  .big-feature-grid { grid-template-columns: 1fr; gap: 12px; }
  .big-feature-card {
    padding: 1.75rem 1.5rem; border-radius: 20px;
    display: flex; align-items: flex-start; gap: 14px;
  }
  .big-feature-card > div:first-child { font-size: 28px !important; margin-bottom: 0 !important; flex-shrink: 0; }
  .big-feature-card h3 { font-size: 1rem !important; margin-bottom: 0.4rem !important; }
  .big-feature-card p  { font-size: 0.85rem; }
  .small-feature-grid { gap: 8px; }
  .small-feature-pill { padding: 8px 14px; font-size: 0.8rem; }

  /* ── CTA ── */
  .cta-section { padding: 4rem 0; }
  .cta-layout { gap: 36px; }
  .cta-heading { font-size: 1.75rem; }
  .cta-sub { font-size: 0.9375rem; margin-bottom: 1.75rem; }
  .btn-cta-white { padding: 1rem 2rem; font-size: 0.95rem; max-width: 100%; }
  .cta-card { padding: 16px 18px; border-radius: 18px; }
  .cta-card-ai { display: none; } /* simplify: hide on small mobile */
  .paw-pattern { display: none; }

  /* ── Footer ── */
  .site-footer { padding: 3.5rem 0 2rem; }
  .footer-logo-link { font-size: 1.15rem; }
  .footer-tagline { font-size: 0.9375rem; }
  .footer-legal { display: block; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }


  /* ── Mesh: lighten on mobile ── */
  .mesh-bg div { opacity: 0.06; filter: blur(80px); }
  .mesh-1 { width: 400px; height: 400px; }
  .mesh-2 { width: 350px; height: 350px; }
}

/* ─── Large Desktop (≥ 1440px) ─── */
@media (min-width: 1440px) {
  .container { max-width: 1320px; padding: 0 60px; }
  .hero { padding-top: 140px; }
  .hero h1 { font-size: 5rem; margin-bottom: 2rem; }
  .hero p  { font-size: 1.6rem; }
  .hero-scene { height: 720px; }
  .scene-phone { width: 320px; height: 660px; }
  .big-feature-grid { gap: 36px; }
}

/* ─── Added Sections Styles ─── */

/* Problem Solved */
/* Problem Solved */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.problem-card {
  background: white;
  padding: 2.25rem 2rem;
  border-radius: 28px;
  border: 1px solid #E8EAED;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
}
.problem-card:hover {
  background: white;
  border-color: var(--brand-primary);
  box-shadow: 0 20px 40px rgba(17, 197, 165, 0.08);
  transform: translateY(-8px);
}
.problem-card-icon {
  font-size: 24px;
  margin-bottom: 1.25rem;
  width: 52px;
  height: 52px;
  background: var(--brand-soft);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
}
.problem-card h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 1rem; color: var(--text-main); }
.problem-card p { font-size: 0.9375rem; color: var(--text-sub); line-height: 1.7; }

.highlight-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-primary);
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

/* Persona */
.persona-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.persona-card {
  background: white;
  padding: 2.25rem 2rem;
  border-radius: 28px;
  border: 1px solid #E8EAED;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.persona-card:hover {
  border-color: var(--brand-primary);
  box-shadow: 0 20px 40px rgba(17, 197, 165, 0.08);
  transform: translateY(-10px);
}
.persona-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--brand-dark);
  background: var(--brand-soft);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 1.25rem;
  align-self: flex-start;
}
.persona-card h3 { font-size: 1.4rem; font-weight: 900; margin-bottom: 1.5rem; color: var(--text-main); }
.persona-item { font-size: 0.9375rem; color: var(--text-sub); margin-bottom: 0.75rem; line-height: 1.6; }
.persona-item strong { color: var(--text-main); font-weight: 700; }
.persona-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid #F2F4F6;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-dark);
  line-height: 1.6;
}

/* AI Usage */
.ai-usage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 3rem;
}
.ai-usage-card {
  background: white;
  padding: 2.25rem 2rem;
  border-radius: 28px;
  border: 1px solid #E8EAED;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  text-align: center;
  transition: var(--transition);
}
.ai-usage-card:hover {
  background: white;
  border-color: var(--brand-primary);
  box-shadow: 0 20px 40px rgba(17, 197, 165, 0.08);
  transform: translateY(-8px);
}
.ai-usage-icon { font-size: 36px; margin-bottom: 1.25rem; }
.ai-usage-card h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 1rem; }
.ai-usage-card p { font-size: 0.875rem; color: var(--text-sub); line-height: 1.6; }

.ai-notice-box {
  background: #F3FCF9;
  border: 1px solid rgba(17,197,165,0.2);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
}
.ai-notice-box p { margin: 0; font-size: 0.95rem; color: var(--brand-text); line-height: 1.6; }

/* AI Prompt */
.prompt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 4rem;
}
.prompt-card {
  background: white;
  padding: 2.25rem 2rem;
  border-radius: 28px;
  border: 1px solid #E8EAED;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  border-left: 5px solid var(--brand-primary);
}
.prompt-card h4 { font-size: 1rem; font-weight: 800; margin-bottom: 0.75rem; color: var(--brand-dark); }
.prompt-card p { font-size: 0.875rem; color: var(--text-sub); line-height: 1.6; }

.prompt-example-box {
  background: #1E1E1E;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.2);
  margin-bottom: 2rem;
}
.prompt-header {
  background: #333;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.prompt-header span { color: #aaa; font-size: 0.75rem; font-family: monospace; }
.prompt-dots { display: flex; gap: 6px; }
.prompt-dots span { width: 10px; height: 10px; border-radius: 50%; }
.prompt-dots span:nth-child(1) { background: #ff5f56; }
.prompt-dots span:nth-child(2) { background: #ffbd2e; }
.prompt-dots span:nth-child(3) { background: #27c93f; }

.prompt-example-box pre {
  padding: 2rem;
  margin: 0;
  overflow-x: auto;
}
.prompt-example-box code {
  color: #dcdcdc;
  font-family: 'Fira Code', 'Courier New', Courier, monospace;
  font-size: 0.9rem;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-all;
}

.prompt-footer-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .problem-grid, .persona-grid, .ai-usage-grid, .prompt-grid, .compare-grid, .big-feature-grid, .cta-layout {
    grid-template-columns: 1fr !important;
    gap: 30px;
  }
  .header-nav-mobile { max-width: 100%; justify-content: center; margin-top: 10px; }
  .problem-card, .persona-card, .ai-usage-card {
    padding: 1.5rem;
  }
  .highlight-text { font-size: 1.1rem; }
  .prompt-example-box pre { padding: 1.25rem; }
  .prompt-example-box code { font-size: 0.8rem; }
}

/* ─── AI Analysis Pipeline Section ─── */
.pipeline-section {
  padding: 100px 0;
  background: #f8f9fa;
  position: relative;
  overflow: hidden;
}

.pipeline-main-wrap {
  max-width: 1100px;
  margin: 0 auto 6rem;
}

.pipeline-flow-container {
  display: flex;
  align-items: stretch;
  gap: 16px;
  margin-bottom: 4rem;
  width: 100%;
}

.pipeline-flow-card {
  flex: 1;
  background: white;
  padding: 2.25rem 1.75rem;
  border-radius: 28px;
  border: 1px solid #E8EAED;
  border-top: 5px solid var(--brand-primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: var(--transition);
  min-width: 0;
}

.pipeline-flow-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(17, 197, 165, 0.08);
  border-color: var(--brand-primary);
}

.pipeline-flow-card.validation-highlight {
  border: 2px solid var(--brand-primary);
  border-top: 6px solid var(--brand-primary);
  background: #fcfefe;
}

.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  font-size: 1.5rem;
  font-weight: 900;
  opacity: 0.6;
}

@media (max-width: 1024px) {
  .pipeline-flow-container {
    flex-direction: column;
    gap: 12px;
  }
  .flow-arrow {
    transform: rotate(90deg);
    padding: 8px 0;
  }
}

.pipeline-main-grid {
  display: grid;
  grid-template-columns: 1fr 40px 1fr 40px 1fr;
  align-items: stretch;
  gap: 24px 0;
}

.pipeline-intro { margin-bottom: 4rem; }

.pipeline-main-card {
  position: relative;
  background: white;
  padding: 2.25rem 1.75rem 1.75rem;
  border-radius: 24px;
  border: 1px solid #E8EAED;
  border-top: 4px solid var(--brand-primary);
  box-shadow: var(--shadow-card);
  text-align: left;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pipeline-main-card:hover {
  border-color: var(--brand-primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-premium);
}

.pipeline-main-card.validation-highlight {
  border: 2px solid var(--brand-primary);
  border-top: 6px solid var(--brand-primary);
  box-shadow: 0 20px 50px rgba(17, 197, 165, 0.12);
  background: #fbfefd;
}

.pipeline-main-card.validation-highlight::after {
  content: 'Core Logic';
  position: absolute;
  top: -12px;
  left: 20px;
  background: var(--brand-primary);
  color: white;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pipeline-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.stage-tag {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--brand-dark);
  background: var(--brand-soft);
  padding: 4px 8px;
  border-radius: 6px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.pipeline-main-card .step-num {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-muted);
  opacity: 1;
  margin-bottom: 0;
  background: #F2F4F6;
  padding: 4px 8px;
  border-radius: 6px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
}

.pipeline-main-card h3 {
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  color: var(--text-main);
  letter-spacing: -0.03em;
}

.pipeline-desc {
  font-size: 0.875rem;
  color: var(--text-sub);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  word-break: keep-all;
}

.pipeline-details {
  border-top: 1px dashed #E8EAED;
  padding-top: 1.25rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.details-row {
  margin-bottom: 0.75rem;
}
.details-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
  letter-spacing: 0.02em;
}
.details-value {
  display: block;
  font-size: 0.85rem;
  color: var(--text-main);
  font-weight: 600;
  line-height: 1.45;
}

.data-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 0.5rem;
}

.data-badge {
  font-size: 0.7rem;
  font-weight: 700;
  background: #F2F4F6;
  color: var(--text-sub);
  padding: 3px 8px;
  border-radius: 4px;
}

.pipeline-mini-box {
  background: #1e1e1e;
  border-radius: 10px;
  padding: 10px 14px;
  margin-top: 0.75rem;
  font-family: 'Fira Code', monospace;
  font-size: 0.72rem;
  color: #9cdcfe;
  line-height: 1.4;
  overflow-x: auto;
  max-width: 100%;
}
.pipeline-mini-box .comment { color: #6a9955; }
.pipeline-mini-box .key { color: #9cdcfe; }
.pipeline-mini-box .string { color: #ce9178; }
.pipeline-mini-box .number { color: #b5cea8; }

.pipeline-checklist {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 0.5rem;
}
.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-sub);
  font-weight: 600;
  line-height: 1.4;
}
.checklist-item span {
  color: var(--brand-primary);
  font-weight: 800;
}

.pipeline-sub-cards {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 0.75rem;
}
.pipeline-sub-card {
  background: #F8F9FA;
  border: 1px solid #E8EAED;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}
.pipeline-sub-card::before {
  content: '✦';
  color: var(--brand-primary);
  font-weight: bold;
}

.pipeline-output {
  background: #f4fcf9;
  border: 1px solid rgba(17, 197, 165, 0.15);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}
.output-label {
  font-size: 0.65rem;
  font-weight: 900;
  color: var(--brand-dark);
  letter-spacing: 0.05em;
}
.output-value {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--brand-dark);
}

.pipeline-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  font-size: 1.5rem;
  font-weight: bold;
}

.pipeline-row-label {
  grid-column: 1 / span 5;
  text-align: center;
  padding: 40px 0;
  position: relative;
}

.pipeline-row-label span {
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pipeline-row-label::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(17, 197, 165, 0.1);
  z-index: 0;
}

.pipeline-row-label span {
  position: relative;
  z-index: 1;
}

/* Wow Callouts */
.wow-callouts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 3rem;
}

.wow-pill {
  background: white;
  border-left: 4px solid var(--brand-primary);
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.wow-pill strong {
  font-size: 0.85rem;
  color: var(--brand-dark);
  font-weight: 900;
  text-transform: uppercase;
}

.wow-pill span {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.5;
}

/* Exception Area */
.exception-area {
  background: #fff;
  padding: 60px 40px;
  border-radius: 40px;
  margin-bottom: 6rem;
  border: 1px solid #f1f3f5;
}

.area-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 3rem;
  color: var(--text-main);
  word-break: keep-all;
}

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

.exception-card {
  padding: 32px;
  background: #f8f9fa;
  border-radius: 24px;
  position: relative;
}

.ex-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--brand-primary);
  color: white;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.exception-card h4 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.exception-card p {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.6;
  margin: 0;
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* Output Area */
.output-area {
  margin-bottom: 4rem;
}

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

.output-card {
  background: white;
  padding: 40px 32px;
  border-radius: 24px;
  border: 1px solid #f1f3f5;
  text-align: center;
}

.output-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.output-card h4 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.output-card p {
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.output-notice {
  text-align: center;
  margin-top: 3rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
  word-break: keep-all;
}

/* Logic Deep Dive p */
.logic-deep-dive p {
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* General Why Section subcopy */
.why-body {
  word-break: keep-all;
  overflow-wrap: break-word;
}

.why-heading {
  word-break: keep-all;
}

/* Responsive */
@media (max-width: 1024px) {
  .pipeline-main-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .pipeline-arrow {
    transform: rotate(90deg);
    padding: 10px 0;
  }
  .pipeline-row-label {
    grid-column: 1;
  }
  .exception-grid, .output-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .pipeline-section { padding: 60px 0; }
  .exception-area { padding: 40px 20px; }
  .wow-pill { max-width: 100%; }
}

/* Tech Badges */
.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.tech-badge {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  background: #f0fbf8;
  color: var(--brand-dark);
  border: 1px solid rgba(17, 197, 165, 0.2);
  text-transform: uppercase;
}

/* JSON Card (Code Editor Style) */
.json-container {
  max-width: 800px;
  margin: 0 auto;
}

.json-card {
  background: #1e1e1e;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.json-header {
  background: #2d2d2d;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #3d3d3d;
}

.json-header span {
  color: #888;
  font-size: 0.75rem;
  font-family: monospace;
}

.json-dots { display: flex; gap: 6px; }
.json-dots span { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #ff5f56; }
.dot-y { background: #ffbd2e; }
.dot-g { background: #27c93f; }

.json-content {
  padding: 24px;
  margin: 0;
  overflow-x: auto;
}

.json-content code {
  color: #9cdcfe;
  font-family: 'Fira Code', monospace;
  font-size: 0.9rem;
  line-height: 1.6;
}

.json-content .key { color: #9cdcfe; }
.json-content .string { color: #ce9178; }
.json-content .number { color: #b5cea8; }
.json-content .boolean { color: #569cd6; }
.json-content .comment { color: #6a9955; }

.json-footer-note {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}


/* ─── Tech Stack Section ─── */
.tech-stack-section {
  background-color: #FAFAF8 !important;
}

.tech-grid-new {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
}

.tech-card-new {
  background: var(--bg-white);
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(20, 40, 30, 0.08);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.015);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 180px;
}

.tech-card-new:hover {
  transform: translateY(-4px);
  border-color: var(--brand-primary);
  box-shadow: 0 10px 25px rgba(17, 197, 165, 0.05);
}

.tech-card-icon-new {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(17, 197, 165, 0.06);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.tech-card-icon-new svg {
  width: 22px;
  height: 22px;
}

.tech-card-new h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.tech-card-new p {
  font-size: 0.85rem;
  color: var(--text-sub);
  line-height: 1.5;
  margin: 0;
  word-break: keep-all;
}

/* Auxiliary Stack Pills */
.tech-auxiliary-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  border-top: 1px dashed rgba(0,0,0,0.08);
  padding-top: 1.75rem;
  margin-top: 1rem;
}

.tech-auxiliary-title {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.tech-pill-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-pill {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-sub);
  background: var(--bg-white);
  border: 1px solid rgba(0,0,0,0.06);
  padding: 6px 12px;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

@media (max-width: 1024px) {
  .tech-grid-new {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .tech-grid-new {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .tech-card-new {
    min-height: auto;
    padding: 1.25rem;
  }
}

/* ─── Redesigned AI-assisted Development Workflow Section ─── */
.wf-grid-new {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}

.wf-card-new {
  background: var(--bg-white);
  padding: 2rem 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(20, 40, 30, 0.08);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.015);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.wf-card-new:hover {
  transform: translateY(-4px);
  border-color: var(--brand-primary);
  box-shadow: 0 10px 25px rgba(17, 197, 165, 0.05);
}

.wf-step-number {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--brand-primary);
  background: rgba(17, 197, 165, 0.1);
  padding: 4px 10px;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.wf-card-new h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.wf-card-new p {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.5;
  margin: 0;
  word-break: keep-all;
}

/* Highlight Box */
.wf-highlight-box {
  background: #F4F6F4;
  border: 1px dashed rgba(17, 197, 165, 0.3);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  width: 100%;
}

.wf-highlight-tag {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--brand-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.wf-highlight-box p {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
}

@media (max-width: 768px) {
  .wf-grid-new {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .wf-card-new {
    padding: 1.5rem;
  }
}

.tech-stack-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 4rem;
}
.tech-card {
  background: white;
  padding: 2.25rem 2rem;
  border-radius: 28px;
  border: 1px solid #E8EAED;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.tech-card:hover {
  background: white;
  box-shadow: 0 20px 40px rgba(17, 197, 165, 0.08);
  border-color: var(--brand-primary);
  transform: translateY(-5px);
}
.tech-card-icon {
  font-size: 24px;
  margin-bottom: 1.25rem;
  width: 44px;
  height: 44px;
  background: var(--brand-soft);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-dark);
}
.tech-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text-main);
}
.tech-card p {
  font-size: 0.875rem;
  color: var(--text-sub);
  line-height: 1.6;
}

.hitl-box {
  background: #f8f9fa;
  border: 1px solid #eee;
  border-radius: 24px;
  padding: 3rem;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.hitl-box::before {
  content: "HITL";
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 8rem;
  font-weight: 900;
  color: rgba(0,0,0,0.02);
  pointer-events: none;
}
.hitl-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.5rem;
}
.hitl-tag {
  background: var(--brand-primary);
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
}
.hitl-box h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}
.hitl-box p {
  font-size: 1.05rem;
  color: var(--text-sub);
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .tech-stack-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .tech-stack-grid { grid-template-columns: 1fr; }
  .hitl-box { padding: 2rem; }
  .hitl-box h3 { font-size: 1.25rem; }
}

/* ─── Added Sections: My Role & Validation ─── */
.my-role-section {
  background: var(--bg-white);
}

.my-role-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.my-role-card {
  background: white;
  padding: 2.25rem 2rem;
  border-radius: 28px;
  border: 1px solid #E8EAED;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
}

.my-role-card:hover {
  background: white;
  border-color: var(--brand-primary);
  box-shadow: 0 20px 40px rgba(17, 197, 165, 0.08);
  transform: translateY(-8px);
}

.my-role-icon {
  font-size: 24px;
  margin-bottom: 1.25rem;
  width: 52px;
  height: 52px;
  background: var(--brand-soft);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
}

.my-role-card h3 {
  font-size: 1.35rem;
  font-weight: 900;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.my-role-card p {
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.75;
}

/* ─── Redesigned Validation & Improvements Section ─── */
.validation-section {
  background-color: #FAFAF8 !important;
}

.val-grid-new {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
  margin-bottom: 2rem;
}

.val-card-new {
  background: var(--bg-white);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(20, 40, 30, 0.08);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.015);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.val-card-new:hover {
  transform: translateY(-4px);
  border-color: var(--brand-primary);
  box-shadow: 0 10px 25px rgba(17, 197, 165, 0.05);
}

.val-card-new h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1.25rem;
  border-left: 3px solid var(--brand-primary);
  padding-left: 10px;
}

.val-before-after {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.val-before, .val-after {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.val-label-before {
  font-size: 0.7rem;
  font-weight: 800;
  color: #E53E3E;
  background: #FFF5F5;
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}

.val-label-after {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--brand-dark);
  background: var(--brand-soft);
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}

.val-before p, .val-after p {
  font-size: 0.85rem;
  color: var(--text-sub);
  margin: 0;
  line-height: 1.4;
  word-break: keep-all;
}

/* Bottom summary box */
.val-summary-box {
  background: var(--bg-white);
  border: 1px dashed rgba(17, 197, 165, 0.3);
  padding: 1.25rem 2rem;
  border-radius: var(--radius-sm);
  text-align: center;
  margin-top: 1rem;
  width: 100%;
}

.val-summary-box p {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-dark);
  margin: 0;
}

.val-footer-tags {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 1rem;
}

.val-footer-tag {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(0,0,0,0.03);
  padding: 4px 10px;
  border-radius: 20px;
}

@media (max-width: 1024px) {
  .my-role-grid, .val-grid-new {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .my-role-grid, .val-grid-new {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .my-role-card, .val-card-new {
    padding: 1.25rem;
  }
}

/* ─── Redesigned AI Usage Section ─── */
.ai-usage-layout {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 24px;
  align-items: stretch;
  width: 100%;
}

.ai-usage-cards-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ai-use-card-new {
  background: var(--bg-white);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(20, 40, 30, 0.08);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.015);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: var(--transition);
}

.ai-use-card-new:hover {
  transform: translateX(4px);
  border-color: var(--brand-primary);
  box-shadow: 0 10px 25px rgba(17, 197, 165, 0.05);
}

.ai-use-icon-new {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(17, 197, 165, 0.06);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ai-use-icon-new svg {
  width: 22px;
  height: 22px;
}

.ai-use-content-new h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.ai-use-content-new p {
  font-size: 0.88rem;
  color: var(--text-sub);
  margin: 0;
  line-height: 1.4;
  word-break: keep-all;
}

/* Safety Warning Box */
.ai-safety-box-new {
  background: #FFF5F5;
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ai-safety-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.5rem;
}

.ai-safety-warning-icon {
  font-size: 1.5rem;
}

.ai-safety-box-new h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #c53030;
  margin: 0;
}

.ai-safety-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ai-safety-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #742a2a;
  line-height: 1.5;
}

.ai-safety-list li::before {
  content: "•";
  position: absolute;
  left: 5px;
  color: #ef4444;
  font-weight: bold;
}

.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 3rem;
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 100px;
  font-weight: 800;
  font-size: 1.1rem;
  text-decoration: none;
  gap: 8px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  cursor: pointer;
  font-family: inherit;
}
.btn-cta-outline:hover {
  transform: translateY(-3px) scale(1.04);
  border-color: white !important;
  color: white !important;
  background: rgba(255,255,255,0.15) !important;
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

@media (max-width: 992px) {
  .ai-usage-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .ai-safety-box-new {
    padding: 1.5rem;
  }
}

.cta-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 2rem;
  margin-bottom: 2.5rem;
  justify-content: flex-start;
}

@media (max-width: 900px) {
  .cta-buttons {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
  }
  .cta-buttons a {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* ─── PPT-Style Flowchart (Confirmed Data Pipeline) ─── */
.pipeline-section {
  background-color: #F7F8F6 !important;
  position: relative;
}

.process-flow-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
}

.process-flow-card {
  flex: 1;
  background: var(--bg-white);
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid #EAEBE9;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 140px;
}

.process-flow-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-primary);
  box-shadow: 0 10px 25px rgba(17, 197, 165, 0.06);
}

.process-flow-card.highlight-card {
  border-color: rgba(17, 197, 165, 0.4);
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFCFB 100%);
  box-shadow: 0 4px 15px rgba(17, 197, 165, 0.03);
}

.process-step-num {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--brand-primary);
  background: var(--brand-soft);
  padding: 2px 8px;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}

.process-step-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.process-step-desc {
  font-size: 0.85rem;
  color: var(--text-sub);
  line-height: 1.5;
  margin: 0;
  word-break: keep-all;
}

.process-flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  flex-shrink: 0;
}

.trust-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 2rem;
  width: 100%;
}

.trust-card {
  background: var(--bg-white);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid #EAEBE9;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition);
}

.trust-card:hover {
  border-color: var(--brand-primary);
  transform: translateY(-2px);
}

.trust-card-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.trust-card-content h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.trust-card-content p {
  font-size: 0.85rem;
  color: var(--text-sub);
  line-height: 1.5;
  margin: 0;
  word-break: keep-all;
}

/* Collapsible technical details */
.code-details {
  border: 1px solid #E8EAED;
  border-radius: 20px;
  background: white;
  overflow: hidden;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 2.5rem;
}

.code-details[open] {
  box-shadow: 0 15px 35px rgba(0,0,0,0.04);
  border-color: var(--brand-primary);
}

.code-details summary {
  padding: 1.5rem 2rem;
  cursor: pointer;
  user-select: none;
  background: #fcfdfd;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
}

.code-details summary::-webkit-details-marker {
  display: none;
}

.code-details summary::after {
  content: "▼";
  font-size: 0.8rem;
  color: var(--brand-primary);
  transition: transform 0.3s ease;
}

.code-details[open] summary::after {
  transform: rotate(180deg);
}

.details-content {
  padding: 2rem;
  border-top: 1px solid #f1f3f5;
  background: white;
}

@media (max-width: 1024px) {
  .process-flow-grid {
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .pipeline-section.section-screen {
    min-height: auto !important;
    padding: 64px 24px !important;
  }
  
  .process-flow-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  
  .process-flow-arrow {
    transform: rotate(90deg);
    margin: 4px 0;
  }
  
  .process-flow-card {
    min-height: auto;
  }
  
  .trust-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 1.5rem;
  }
}

/* ─── Redesigned AI Prompt Section ─── */
.prompt-grid-new {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
}

.prompt-card-new {
  background: var(--bg-white);
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(20, 40, 30, 0.08);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.015);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.prompt-card-new:hover {
  transform: translateY(-4px);
  border-color: var(--brand-primary);
  box-shadow: 0 10px 25px rgba(17, 197, 165, 0.05);
}

.prompt-card-new h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.prompt-card-new p {
  font-size: 0.88rem;
  color: var(--text-sub);
  line-height: 1.5;
  margin: 0;
  word-break: keep-all;
}

.prompt-icon-tag {
  background: rgba(17, 197, 165, 0.1);
  color: var(--brand-primary);
  font-size: 0.8rem;
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .prompt-grid-new {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 576px) {
  .prompt-grid-new {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}


