/* ==========================================================================
   Naebak — marketing pages
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.4rem, 6.5vw, 6rem) clamp(4.2rem, 8vw, 7rem);
  background:
    radial-gradient(1100px 620px at 82% -12%, #0c422a 0%, #051b11 48%, #020c07 100%);
  color: #f2fff8;
}

.hero-bg,
.page-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}

.aurora-a {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(47, 221, 125, 0.55), transparent 68%);
  inset-block-start: -18%;
  inset-inline-end: -8%;
  animation: drift-a 16s ease-in-out infinite alternate;
}

.aurora-b {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(157, 255, 196, 0.32), transparent 70%);
  inset-block-end: -22%;
  inset-inline-start: -6%;
  animation: drift-b 19s ease-in-out infinite alternate;
}

.aurora-c {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(10, 153, 80, 0.5), transparent 70%);
  inset-block-start: 42%;
  inset-inline-start: 38%;
  opacity: 0.35;
}

@keyframes drift-a {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-40px, 50px, 0) scale(1.12); }
}

@keyframes drift-b {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(50px, -30px, 0) scale(1.08); }
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 72%);
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.hero-copy h1 {
  color: #f4fff9;
  font-size: clamp(2.45rem, 5vw, 4.25rem);
  line-height: 1.2;
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.hero-copy h1 .text-gradient {
  display: inline;
}

.hero-lead {
  max-width: 560px;
  color: #b6d5c4;
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 0.5rem 1.25rem;
  flex-wrap: wrap;
  margin-top: 1.9rem;
  color: #9fc4ae;
  font-size: 0.82rem;
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-trust .icon { color: #62e69c; }

.hero-visual {
  position: relative;
  min-height: 640px;
  display: grid;
  align-items: start;
  justify-items: center;
  padding-top: 10px;
  isolation: isolate;
}

.visual-halo {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 221, 125, 0.3), transparent 66%);
  filter: blur(40px);
  z-index: -1;
}

.logo-stage {
  position: relative;
  width: min(420px, 100%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 7%;
  border-radius: clamp(32px, 5vw, 52px);
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.03) 58%),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 50px 110px -40px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: floaty 8s ease-in-out infinite;
}

.logo-stage::before {
  content: "";
  position: absolute;
  inset: 9%;
  border-radius: 50%;
  border: 1px dashed rgba(157, 255, 196, 0.16);
}

.logo-stage img {
  width: 86%;
  height: auto;
  filter: drop-shadow(0 34px 55px rgba(0, 0, 0, 0.4));
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.chat-mock {
  position: absolute;
  inset-block-end: 3%;
  inset-inline-start: auto;
  inset-inline-end: auto;
  left: 0;
  right: auto;
  width: min(270px, 70%);
  background: #fff;
  color: var(--ink-900);
  border-radius: 24px;
  border: 1px solid rgba(6, 33, 23, 0.08);
  box-shadow: 0 40px 90px -34px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  transform: rotate(-1.4deg);
  animation: floaty 9s ease-in-out infinite reverse;
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 0.9rem;
  background: #f4faf6;
  border-bottom: 1px solid var(--line);
}

.chat-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e7f9ee;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: none;
}

.chat-avatar img { width: 100%; height: 100%; object-fit: cover; }
.chat-avatar > span { font-weight: 700; color: var(--brand-700); font-size: 0.85rem; }

.chat-id { display: flex; flex-direction: column; line-height: 1.3; }
.chat-id strong { font-size: 0.82rem; }
.chat-id span { font-size: 0.66rem; color: var(--brand-600); }

.chat-live {
  width: 8px;
  height: 8px;
  margin-inline-start: auto;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.14);
}

.chat-body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.9rem;
  background: #fbfdfc;
}

.bubble {
  max-width: 88%;
  padding: 0.5rem 0.7rem;
  border-radius: 14px;
  font-size: 0.76rem;
  line-height: 1.65;
}

.bubble-in {
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-start-start-radius: 5px;
}

.bubble-out {
  align-self: flex-end;
  background: #dcfbe8;
  border: 1px solid rgba(18, 185, 95, 0.16);
  border-start-end-radius: 5px;
  color: #063b22;
}

.bubble-time {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.58rem;
  color: #6b8b78;
  text-align: end;
}

.bubble-short { max-width: 60%; }

.typing {
  align-self: flex-start;
  display: inline-flex;
  gap: 3px;
  padding: 0.55rem 0.7rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
}

.typing span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #9db5a7;
  animation: typing 1.2s infinite;
}

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

@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.55; }
  30% { transform: translateY(-3px); opacity: 1; }
}

.chat-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.65rem 0.8rem;
  border-top: 1px solid var(--line);
  color: #9aada2;
  font-size: 0.7rem;
}

.chat-send {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-500);
  color: #04200f;
}

.float-pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--ink-800);
  font-size: 0.74rem;
  font-weight: 600;
  box-shadow: 0 16px 34px -18px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  animation: floaty 7s ease-in-out infinite;
}

.float-pill .icon { color: var(--brand-600); }

.float-pill-a { top: 9%; inset-inline-end: -6px; }

.float-pill-b {
  bottom: 24%;
  inset-inline-end: -18px;
  animation-delay: 1.4s;
  padding: 0.5rem 0.8rem;
}

/* --------------------------------------------------------------------------
   Marquee
   -------------------------------------------------------------------------- */
.marquee-band {
  background: #03130b;
  border-block: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  padding-block: 0.85rem;
}

.marquee { overflow: hidden; }

.marquee-track {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: max-content;
  animation: marquee-rtl 48s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-track span {
  color: #b7d7c3;
  font-size: 0.78rem;
  white-space: nowrap;
}

.marquee-track i {
  color: #3fd67d;
  font-style: normal;
  font-size: 0.62rem;
}

@keyframes marquee-rtl {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}

/* --------------------------------------------------------------------------
   Features bento
   -------------------------------------------------------------------------- */
.features { background: var(--paper); }

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.1rem;
}

.bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.35rem, 2.6vw, 1.95rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.bento-card:hover {
  transform: translateY(-5px);
  border-color: rgba(18, 185, 95, 0.28);
  box-shadow: var(--shadow-md);
}

.bento-main { grid-column: span 7; }
.bento-side { grid-column: span 5; }
.bento-third { grid-column: span 4; }

.bento-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1rem;
  border-radius: 15px;
  background: linear-gradient(145deg, #e8fdf1, #d3f8e1);
  border: 1px solid rgba(18, 185, 95, 0.18);
  color: var(--brand-700);
  box-shadow: inset 0 1px 0 #fff;
}

.bento-card h3 {
  font-size: 1.16rem;
  margin-bottom: 0.5rem;
}

.bento-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.smart-reply {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 1.3rem;
}

.mini-bubble {
  align-self: flex-start;
  padding: 0.5rem 0.75rem;
  border-radius: 14px;
  border-start-start-radius: 5px;
  background: #f2f7f4;
  border: 1px solid var(--line);
  font-size: 0.78rem;
}

.ai-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  align-self: flex-start;
  margin-inline-start: 0.3rem;
  color: var(--brand-700);
  font-size: 0.68rem;
  font-weight: 600;
}

.mini-reply {
  align-self: flex-end;
  max-width: 92%;
  padding: 0.65rem 0.85rem;
  border-radius: 16px;
  border-start-end-radius: 5px;
  background: linear-gradient(145deg, #e6fdef, #d5fbe3);
  border: 1px solid rgba(18, 185, 95, 0.18);
  color: #07452a;
  font-size: 0.8rem;
  line-height: 1.75;
}

.handoff-visual {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 1.4rem;
}

.avatar-stack { display: flex; }

.avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #fff;
  overflow: hidden;
  font-size: 0.82rem;
  font-weight: 700;
}

.avatar-bot { background: #e8fdf1; }
.avatar-bot img { width: 100%; height: 100%; object-fit: cover; }
.avatar-human {
  margin-inline-start: -10px;
  background: linear-gradient(145deg, #0a9950, #087a3e);
  color: #fff;
}

.handoff-line {
  flex: 1;
  border-top: 1px dashed rgba(6, 33, 23, 0.22);
}

.handoff-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.6rem;
  border-radius: var(--pill);
  background: var(--brand-50);
  color: var(--brand-700);
  border: 1px solid rgba(18, 185, 95, 0.18);
  font-size: 0.68rem;
  font-weight: 600;
  white-space: nowrap;
}

.chip-stack {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 1.2rem;
}

.mini-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-soft);
  font-size: 0.72rem;
  font-weight: 500;
}

.status {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.status-on { background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.14); }
.status-wait { background: #f0a91c; box-shadow: 0 0 0 3px rgba(240, 169, 28, 0.14); }

.channel-row {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1.2rem;
}

.channel-dot {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  color: var(--ink-700);
}

.toggle-visual {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1.2rem;
}

.toggle-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  color: var(--muted);
}

.toggle {
  position: relative;
  width: 30px;
  height: 17px;
  border-radius: var(--pill);
  background: #dbe7df;
  flex: none;
}

.toggle::after {
  content: "";
  position: absolute;
  inset-block-start: 2px;
  inset-inline-start: 2px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.toggle.on { background: var(--brand-500); }
.toggle.on::after { transform: translateX(-13px); }

.bars {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 74px;
  margin-top: auto;
  padding-top: 1.2rem;
}

.bars span {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, #58e798, #12b95f);
  opacity: 0.85;
}

/* --------------------------------------------------------------------------
   Product showcase
   -------------------------------------------------------------------------- */
.showcase {
  background:
    radial-gradient(900px 500px at 15% 0%, rgba(18, 185, 95, 0.18), transparent 60%),
    #04170e;
  color: #eafff2;
  overflow: hidden;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.showcase-copy h2 {
  color: #f4fff9;
  font-size: clamp(2rem, 3.8vw, 3rem);
  margin-bottom: 1.1rem;
}

.showcase-copy p {
  color: #a9cbb8;
  font-size: 1rem;
  max-width: 480px;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.check-list .icon { color: var(--brand-600); }

.check-list.light { color: #c9e7d5; }
.check-list.light .icon { color: #62e69c; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.7rem;
  color: #8ef0b4;
  font-weight: 600;
  font-size: 0.9rem;
}

.link-arrow:hover { color: #ccffdd; gap: 0.55rem; }

.showcase-visual { position: relative; }

.glow-disc {
  position: absolute;
  inset: 12% 8%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 221, 125, 0.35), transparent 65%);
  filter: blur(50px);
}

.app-window {
  border-radius: 22px;
  overflow: hidden;
  background: #f7fbf8;
  color: var(--ink-900);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 50px 110px -40px rgba(0, 0, 0, 0.75);
  transform: perspective(1200px) rotateY(-3deg) rotateX(1.5deg);
}

.app-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.65rem 0.9rem;
  background: #ecf4ef;
  border-bottom: 1px solid var(--line);
}

.window-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.dot-red { background: #ff6b6b; }
.dot-amber { background: #ffc94d; }
.dot-green-dot { background: #4ade80; }

.app-url {
  margin-inline-start: 0.7rem;
  padding: 0.2rem 0.8rem;
  border-radius: var(--pill);
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 0.62rem;
  direction: ltr;
}

.app-body {
  display: grid;
  grid-template-columns: 150px 1fr;
  min-height: 330px;
}

.app-side {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.9rem 0.7rem;
  background: #f0f7f2;
  border-inline-end: 1px solid var(--line);
}

.app-brand {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.7rem;
  font-size: 0.76rem;
  font-weight: 700;
}

.app-brand img { width: 22px; height: 22px; object-fit: contain; }

.app-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.5rem;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.7rem;
}

.app-nav.is-active {
  background: #fff;
  color: var(--ink-900);
  box-shadow: var(--shadow-xs);
  font-weight: 600;
}

.app-main { padding: 0.9rem 1rem; min-width: 0; }

.app-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  font-size: 0.82rem;
}

.app-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  margin-bottom: 0.8rem;
}

.app-stats span {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 0.6rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
}

.app-stats small { font-size: 0.58rem; color: var(--muted-2); }
.app-stats strong { font-size: 0.95rem; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.18rem 0.55rem;
  border-radius: var(--pill);
  font-size: 0.62rem;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1.7;
}

.status-pill-green { background: #e5fbee; color: #06713c; border: 1px solid #c5f4d7; }
.status-pill-amber { background: #fff8e8; color: #94620a; border: 1px solid #f7e3b5; }
.status-pill-red { background: #fef3f2; color: #a5281d; border: 1px solid #f5d3ce; }
.status-pill-muted { background: #f2f5f3; color: #5c7065; border: 1px solid #e1e9e4; }

.app-tabs {
  display: flex;
  gap: 0.25rem;
  padding: 0.2rem;
  margin-bottom: 0.6rem;
  border-radius: 10px;
  background: #eaf2ed;
  width: fit-content;
}

.app-tab {
  border: 0;
  padding: 0.3rem 0.7rem;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.66rem;
  font-weight: 600;
  cursor: pointer;
}

.app-tab.is-active {
  background: #fff;
  color: var(--ink-900);
  box-shadow: var(--shadow-xs);
}

.app-panel { display: none; }
.app-panel.is-active { display: block; }

.app-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.5rem 0.6rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.7rem;
}

.app-row:last-child { border-bottom: 0; }
.app-row small { color: var(--muted-2); font-size: 0.6rem; }

/* --------------------------------------------------------------------------
   How it works
   -------------------------------------------------------------------------- */
.how {
  background:
    radial-gradient(700px 380px at 90% 10%, rgba(18, 185, 95, 0.07), transparent 60%),
    var(--paper-2);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  inset-block-start: 62px;
  inset-inline: 12%;
  border-top: 1px dashed rgba(6, 33, 23, 0.18);
  z-index: 0;
}

.step-card {
  position: relative;
  z-index: 1;
  padding: clamp(1.5rem, 2.6vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-xs);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

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

.step-number {
  display: block;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(10, 153, 80, 0.22);
  margin-bottom: 1rem;
  font-variant-numeric: tabular-nums;
}

.step-card h3 { font-size: 1.14rem; margin-bottom: 0.5rem; }
.step-card p { color: var(--muted); font-size: 0.9rem; }

.step-icon {
  position: absolute;
  inset-block-start: 1.5rem;
  inset-inline-end: 1.5rem;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--brand-50);
  color: var(--brand-700);
  border: 1px solid rgba(18, 185, 95, 0.16);
}

.steps-note {
  display: flex;
  justify-content: center;
  margin-top: 1.7rem;
}

.steps-note p {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  border-radius: var(--pill);
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
  box-shadow: var(--shadow-xs);
}

.steps-note .icon { color: var(--brand-600); }

/* --------------------------------------------------------------------------
   Industries
   -------------------------------------------------------------------------- */
.industries { background: var(--surface); }

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.industry-card {
  padding: 1.5rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  transition:
    transform 0.3s var(--ease),
    border-color 0.3s ease,
    background-color 0.3s ease;
}

.industry-card:hover {
  transform: translateY(-4px);
  border-color: rgba(18, 185, 95, 0.3);
  background: #fff;
}

.industry-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--brand-700);
  box-shadow: var(--shadow-xs);
}

.industry-card h3 { font-size: 1.02rem; margin-bottom: 0.35rem; }
.industry-card p { color: var(--muted); font-size: 0.85rem; }

/* --------------------------------------------------------------------------
   Security
   -------------------------------------------------------------------------- */
.security {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(238, 247, 241, 0.9)),
    var(--paper-2);
}

.security-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.security-copy h2 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  margin-bottom: 1rem;
}

.security-copy > p {
  color: var(--muted);
  max-width: 540px;
}

.security-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.security-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.security-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--brand-700);
  flex: none;
  box-shadow: var(--shadow-xs);
}

.security-list strong {
  display: block;
  font-size: 0.94rem;
  margin-bottom: 0.15rem;
}

.security-list p {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.75;
}

.security-visual {
  display: grid;
  place-items: center;
}

.shield-stage {
  position: relative;
  width: min(400px, 90%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.shield-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(10, 153, 80, 0.22);
}

.ring-1 { inset: 0; animation: spin 42s linear infinite; }
.ring-2 { inset: 11%; border-style: solid; border-color: rgba(10, 153, 80, 0.08); }
.ring-3 { inset: 22%; border-color: rgba(10, 153, 80, 0.16); animation: spin 30s linear infinite reverse; }

@keyframes spin { to { transform: rotate(360deg); } }

.shield-core {
  display: grid;
  place-items: center;
  width: 40%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 25%, #ffffff, #c9ffdd 38%, #2fdd7d 100%);
  color: #064d2b;
  box-shadow:
    0 30px 70px -28px rgba(10, 153, 80, 0.55),
    inset 0 2px 0 rgba(255, 255, 255, 0.9);
}

.security-badge {
  position: absolute;
  padding: 0.4rem 0.8rem;
  border-radius: var(--pill);
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--ink-800);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.badge-tls { inset-block-start: 10%; inset-inline-start: 2%; }
.badge-meta { inset-block-start: 20%; inset-inline-end: 0; }
.badge-iso { inset-block-end: 18%; inset-inline-start: 0; }
.badge-backup { inset-block-end: 7%; inset-inline-end: 8%; }

/* --------------------------------------------------------------------------
   Affiliation
   -------------------------------------------------------------------------- */
.affiliation-section { background: var(--surface); }

.affiliation-card {
  position: relative;
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1.6rem, 4vw, 3rem);
  border-radius: var(--radius-2xl);
  border: 1px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(125deg, rgba(10, 153, 80, 0.4), rgba(10, 153, 80, 0.06) 45%, rgba(10, 153, 80, 0.28)) border-box;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.affiliation-emblem,
.company-emblem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  width: 160px;
  height: 160px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.14), transparent 55%),
    linear-gradient(145deg, #073a25, #04170e);
  color: #eafff2;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 24px 50px -28px rgba(6, 33, 23, 0.6);
  flex: none;
}

.affiliation-emblem span,
.company-emblem span {
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.affiliation-emblem small,
.company-emblem small {
  font-size: 0.5rem;
  letter-spacing: 0.22em;
  color: #8fd8ad;
  font-weight: 500;
}

.affiliation-copy .eyebrow { margin-bottom: 0.7rem; }

.affiliation-copy h2 {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  margin-bottom: 0.7rem;
}

.affiliation-copy h2 span { color: var(--brand-700); }

.affiliation-copy p {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 680px;
  margin-bottom: 1.2rem;
}

.affiliation-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  inset-block-start: -40%;
  inset-inline-end: -8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 221, 125, 0.2), transparent 66%);
  filter: blur(30px);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq { background: var(--paper); }

.faq-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.faq-intro h2 {
  font-size: clamp(2rem, 3.6vw, 2.7rem);
  margin-bottom: 0.8rem;
}

.faq-intro p {
  color: var(--muted);
  margin-bottom: 1.4rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
  border-color: rgba(18, 185, 95, 0.3);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.25rem;
  cursor: pointer;
  list-style: none;
  font-size: 0.95rem;
  font-weight: 600;
}

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

.faq-plus {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand-700);
  flex: none;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.faq-item[open] .faq-plus {
  transform: rotate(45deg);
  background: var(--brand-100);
}

.faq-answer {
  padding: 0 1.25rem 1.2rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.9;
}

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */
.cta-section {
  padding-block: clamp(3rem, 6vw, 5.5rem);
  background: var(--surface);
}

.cta-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 3.6rem);
  border-radius: var(--radius-2xl);
  background:
    radial-gradient(700px 380px at 88% 0%, rgba(47, 221, 125, 0.28), transparent 60%),
    linear-gradient(135deg, #073a25 0%, #04170e 60%, #03120b 100%);
  color: #eafff2;
  overflow: hidden;
  box-shadow: 0 40px 90px -50px rgba(6, 33, 23, 0.7);
}

.cta-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  inset-block-end: -60%;
  inset-inline-start: -6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(157, 255, 196, 0.22), transparent 65%);
  filter: blur(40px);
}

.cta-watermark {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-end: -40px;
  width: 260px;
  height: 260px;
  object-fit: contain;
  transform: translateY(-50%);
  opacity: 0.07;
  pointer-events: none;
}

.cta-copy { position: relative; z-index: 1; }

.cta-copy h2 {
  color: #f4fff9;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  margin-bottom: 0.8rem;
}

.cta-copy p {
  color: #a9cbb8;
  font-size: 0.95rem;
  max-width: 560px;
}

.cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.cta-actions .btn { width: 100%; }

.cta-compact { background: var(--paper-2); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .bento-main { grid-column: span 12; }
  .bento-side { grid-column: span 6; }
  .bento-third { grid-column: span 6; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .app-window { transform: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 680px; }
  .hero-visual {
    min-height: 0;
    margin-top: 3rem;
    padding-block: 1rem;
  }
  .logo-stage { width: min(380px, 82%); }
  .chat-mock {
    position: relative;
    inset: auto;
    margin: -46px auto 0;
    width: min(320px, 84%);
    transform: none;
    animation: none;
  }
  .float-pill-a { top: 4%; inset-inline-end: 4%; }
  .float-pill-b { display: none; }
  .showcase-grid,
  .security-grid,
  .faq-grid { grid-template-columns: 1fr; }
  .showcase-visual { order: -1; }
  .faq-intro { max-width: 560px; }
  .affiliation-card { grid-template-columns: 1fr; text-align: center; }
  .affiliation-emblem { margin-inline: auto; }
  .affiliation-copy .btn { margin-inline: auto; }
  .cta-card { grid-template-columns: 1fr; text-align: center; }
  .cta-copy p { margin-inline: auto; }
  .cta-actions { flex-direction: row; justify-content: center; flex-wrap: wrap; }
  .cta-actions .btn { width: auto; }
  .cta-watermark { opacity: 0.04; }
}

@media (max-width: 720px) {
  .bento-side,
  .bento-third { grid-column: span 12; }
  .bento-card { padding: 1.4rem; }
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .step-icon { position: static; margin-bottom: 0.8rem; }
  .step-number { font-size: 2.1rem; margin-bottom: 0.7rem; }
  .security-badge { font-size: 0.62rem; padding: 0.32rem 0.6rem; }
  .affiliation-emblem { width: 130px; height: 130px; border-radius: 24px; }
  .affiliation-emblem span { font-size: 1.7rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 540px) {
  .hero-copy h1 { font-size: 2.2rem; }
  .hero-actions .btn { width: 100%; }
  .hero-trust { gap: 0.4rem 0.9rem; }
  .logo-stage { width: 88%; }
  .chat-mock { width: 92%; margin-top: -34px; }
  .float-pill-a { display: none; }
  .industry-grid { grid-template-columns: 1fr; }
  .bento-card { padding: 1.25rem; }
  .app-body { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .app-main { padding: 0.8rem; }
  .cta-actions .btn { width: 100%; }
  .marquee-track span { font-size: 0.72rem; }
}
