/* ════════════════════════════════════════════════════════════════
   NeuraPay Apple-Style Redesign — Sandbox CSS  (v2 – 10/10 polish)
   All selectors scoped under .apple-sandbox
   ════════════════════════════════════════════════════════════════ */

/* ─── Design Tokens — aligned with NeuraPay brand (Slate palette) ─── */
.apple-sandbox {
  --ap-bg:           #f8fafc;
  --ap-bg-dark:      #0f172a;
  --ap-bg-dark-card: #1e293b;
  --ap-text:         #1e293b;
  --ap-text-light:   #f1f5f9;
  --ap-muted:        #64748b;
  --ap-muted-light:  #94a3b8;
  --ap-accent:       #2da4c7;
  --ap-accent-hover: #248ba8;
  --ap-accent-bright:#3cc0e0;
  --ap-link:         #2589a8;
  --ap-link-light:   #5cc8e4;
  --ap-surface:      #ffffff;
  --ap-border:       #e2e8f0;
  --ap-border-light: rgba(255,255,255,0.12);
  --ap-radius:       20px;
  --ap-radius-lg:    28px;
  --ap-font-display: 'Inter Tight', -apple-system, BlinkMacSystemFont, sans-serif;
  --ap-font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ap-font-mono:    'JetBrains Mono', monospace;
  --ap-ease:         cubic-bezier(.25,.46,.45,.94);
  --ap-ease-spring:  cubic-bezier(.34,1.56,.64,1);
}

/* Selection */
.apple-sandbox ::selection {
  background: rgba(45,164,199,0.25);
  color: inherit;
}

/* ─── Tile Foundation ─── */
.apple-sandbox .ap-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 96px 32px;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.apple-sandbox .ap-tile--dark {
  background: var(--ap-bg-dark);
  color: var(--ap-text-light);
}

.apple-sandbox .ap-tile--light {
  background: var(--ap-surface);
  color: var(--ap-text);
}

.apple-sandbox .ap-tile--gray {
  background: var(--ap-bg);
  color: var(--ap-text);
}

.apple-sandbox .ap-tile--auto {
  min-height: auto;
  padding: 96px 32px;
}

.apple-sandbox .ap-tile--section {
  padding: 96px 32px;
}

.apple-sandbox .ap-tile--hero {
  padding-top: 140px;
  padding-bottom: 96px;
  position: relative;
  overflow: hidden;
}

.apple-sandbox .ap-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 50% 60% at 68% 32%, rgba(45,164,199,0.055) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 25% 75%, rgba(30,107,130,0.04) 0%, transparent 70%),
    radial-gradient(ellipse 80% 40% at 50% 110%, rgba(15,23,42,0.6) 0%, transparent 60%);
  animation: apAmbient 14s ease-in-out infinite alternate;
  will-change: opacity;
}

@keyframes apAmbient {
  0%   { opacity: 1; }
  100% { opacity: 0.7; }
}

.apple-sandbox .ap-hero-inner {
  position: relative;
  z-index: 1;
}


/* ─── Typography ─── */
.apple-sandbox .ap-label {
  font-family: var(--ap-font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 12px;
  text-align: center;
}

.apple-sandbox .ap-label--muted {
  color: var(--ap-muted-light);
}

.apple-sandbox .ap-headline {
  font-family: var(--ap-font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.06;
  max-width: 860px;
  margin: 0 auto 16px;
  text-align: center;
}

.apple-sandbox .ap-headline--md {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

.apple-sandbox .ap-headline--sm {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
}

.apple-sandbox .ap-sub {
  font-family: var(--ap-font-body);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 400;
  line-height: 1.5;
  max-width: 580px;
  margin: 0 auto 24px;
  text-align: center;
}

.apple-sandbox .ap-tile--dark .ap-sub { color: var(--ap-muted-light); }
.apple-sandbox .ap-tile--light .ap-sub,
.apple-sandbox .ap-tile--gray .ap-sub  { color: var(--ap-muted); }
.apple-sandbox .ap-split--dark .ap-sub { color: var(--ap-muted-light); }

/* ─── Accent Text ─── */
.apple-sandbox .ap-gradient {
  color: var(--ap-accent-bright);
}

.apple-sandbox .ap-accent-text {
  color: var(--ap-accent);
}

/* ─── CTA System ─── */
.apple-sandbox .ap-ctas {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 12px;
}

.apple-sandbox .ap-ctas--footer {
  margin-top: 32px;
}

.apple-sandbox .ap-link {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--ap-link);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.25s var(--ap-ease), opacity 0.2s;
}

.apple-sandbox .ap-link:hover { gap: 8px; }
.apple-sandbox .ap-link:active { opacity: 0.7; }

.apple-sandbox .ap-link::after {
  content: "›";
  font-size: 1.3em;
  line-height: 1;
}

.apple-sandbox .ap-tile--dark .ap-link,
.apple-sandbox .ap-split--dark .ap-link,
.apple-sandbox .ap-footer-cta .ap-link:not(.ap-link--muted) {
  color: var(--ap-link-light);
}

.apple-sandbox .ap-link--muted {
  color: rgba(255,255,255,0.5);
}
.apple-sandbox .ap-link--muted:hover {
  color: rgba(255,255,255,0.8);
}

.apple-sandbox .ap-pill {
  background: var(--ap-accent);
  color: #fff;
  padding: 12px 26px;
  border-radius: 980px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.25s, transform 0.2s var(--ap-ease-spring), box-shadow 0.25s;
  display: inline-block;
}

.apple-sandbox .ap-pill:hover {
  background: var(--ap-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45,164,199,0.2);
}
.apple-sandbox .ap-pill:active {
  transform: translateY(0);
}

/* Focus indicators */
.apple-sandbox .ap-link:focus-visible,
.apple-sandbox .ap-pill:focus-visible,
.apple-sandbox .ap-vlang-btn:focus-visible,
.apple-sandbox .ap-ctrl:focus-visible,
.apple-sandbox .ap-price-cta:focus-visible {
  outline: 2px solid var(--ap-accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ─── Stat Strip ─── */
.apple-sandbox .ap-stats {
  display: flex;
  gap: 56px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.10);
}

.apple-sandbox .ap-stat { text-align: center; }

.apple-sandbox .ap-stat__val {
  font-family: var(--ap-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.apple-sandbox .ap-stat__lbl {
  font-size: 0.82rem;
  color: var(--ap-muted-light);
  margin-top: 6px;
  line-height: 1.3;
}

/* ─── Browser Chrome ─── */
.apple-sandbox .ap-visual {
  width: 100%;
  max-width: 840px;
  margin-top: 40px;
  border-radius: var(--ap-radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.apple-sandbox .ap-chrome {
  background: #1e293b;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.apple-sandbox .ap-chrome__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}

.apple-sandbox .ap-chrome__url {
  margin-left: 14px;
  font-family: var(--ap-font-mono);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}

.apple-sandbox .ap-chrome-body {
  background: #0f172a;
  line-height: 0;
}

.apple-sandbox .ap-chrome-body img {
  width: 100%;
  height: auto;
  display: block;
}

.apple-sandbox .ap-chrome--light {
  background: #f1f5f9;
  border-bottom-color: var(--ap-border);
}

.apple-sandbox .ap-chrome--light .ap-chrome__dot {
  background: rgba(0,0,0,0.12);
}

.apple-sandbox .ap-chrome--light .ap-chrome__url {
  color: rgba(0,0,0,0.35);
}

.apple-sandbox .ap-chrome-body--light {
  background: #f8fafc;
}

/* ─── Split Tiles ─── */
.apple-sandbox .ap-split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 0 16px;
}

.apple-sandbox .ap-split {
  border-radius: var(--ap-radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 36px 48px;
  min-height: 580px;
  position: relative;
  overflow: hidden;
  background: var(--ap-surface);
  color: var(--ap-text);
  transition: transform 0.4s var(--ap-ease), box-shadow 0.4s;
}

.apple-sandbox .ap-split:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}

.apple-sandbox .ap-split--dark {
  background: var(--ap-bg-dark-card);
  color: var(--ap-text-light);
}

.apple-sandbox .ap-split--dark:hover {
  box-shadow: 0 16px 48px rgba(15,23,42,0.3);
}

.apple-sandbox .ap-split .ap-visual {
  max-width: 100%;
  margin-top: 32px;
  box-shadow: none;
}

/* ─── Voice HUD ─── */
.apple-sandbox .ap-voice {
  max-width: 720px;
  width: 100%;
  margin-top: 48px;
}

.apple-sandbox .ap-vlang-bar {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 16px;
}

.apple-sandbox .ap-vlang-btn {
  padding: 8px 18px;
  border-radius: 980px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid var(--ap-border-light);
  background: transparent;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  min-height: 40px;
}

.apple-sandbox .ap-vlang-btn:hover {
  border-color: rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.85);
}

.apple-sandbox .ap-vlang-btn.active {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
  color: #fff;
}

.apple-sandbox .ap-hud {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--ap-radius-lg);
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.apple-sandbox .ap-hud__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-family: var(--ap-font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.45);
}

.apple-sandbox .ap-hud__status {
  display: flex;
  align-items: center;
  gap: 7px;
}

.apple-sandbox .ap-hud__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px rgba(52,211,153,0.5);
  animation: apPulse 2s ease infinite;
}

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

.apple-sandbox .ap-hud__msgs {
  padding: 24px;
  min-height: 220px;
  max-height: 360px;
  overflow-y: auto;
}

.apple-sandbox .ap-msg {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 0.9rem;
  line-height: 1.55;
}

.apple-sandbox .ap-msg:last-child { margin-bottom: 0; }

.apple-sandbox .ap-msg__role {
  font-family: var(--ap-font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  min-width: 44px;
  padding-top: 3px;
  flex-shrink: 0;
}

.apple-sandbox .ap-msg__role--ai   { color: var(--ap-accent); }
.apple-sandbox .ap-msg__role--user { color: #a78bfa; }
.apple-sandbox .ap-msg__text       { color: rgba(255,255,255,0.75); }

/* Voice Controls */
.apple-sandbox .ap-hud__controls {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.apple-sandbox .ap-ctrl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 980px;
  border: 1px solid rgba(255,255,255,0.1);
  background: transparent;
  color: rgba(255,255,255,0.6);
  font-size: 0.72rem;
  font-weight: 600;
  font-family: var(--ap-font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
  min-height: 40px;
}

.apple-sandbox .ap-ctrl:hover {
  border-color: rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.06);
}

.apple-sandbox .ap-ctrl--active {
  background: var(--ap-accent);
  border-color: var(--ap-accent);
  color: #fff;
  box-shadow: 0 0 16px rgba(45,164,199,0.35);
}

.apple-sandbox .ap-ctrl svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.apple-sandbox .ap-ctrl__note {
  margin-left: auto;
  font-family: var(--ap-font-mono);
  font-size: 0.62rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.04em;
}

/* Canvas Waveform */
.apple-sandbox .ap-waveform {
  padding: 8px 24px 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.apple-sandbox .ap-waveform canvas {
  display: block;
  width: 100%;
  height: 50px;
}

/* Voice Meta (Guards + Sentiment) */
.apple-sandbox .ap-voice-meta {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.apple-sandbox .ap-guards {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.apple-sandbox .ap-guard {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 980px;
  font-size: 0.78rem;
  font-weight: 500;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
  transition: border-color 0.3s;
}

.apple-sandbox .ap-guard__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  opacity: 0.3;
  transition: opacity 0.4s, box-shadow 0.4s;
}

.apple-sandbox .ap-guard__tech {
  color: rgba(255,255,255,0.3);
  font-family: var(--ap-font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.02em;
}

.apple-sandbox .ap-guard--active {
  border-color: rgba(52,211,153,0.25);
}

.apple-sandbox .ap-guard--active .ap-guard__dot {
  opacity: 1;
  box-shadow: 0 0 8px rgba(52,211,153,0.5);
}

/* Sentiment Bar */
.apple-sandbox .ap-sentiment {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
}

.apple-sandbox .ap-sentiment__label {
  font-family: var(--ap-font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.35);
  flex-shrink: 0;
}

.apple-sandbox .ap-sentiment__track {
  width: 180px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}

.apple-sandbox .ap-sentiment__bar {
  height: 100%;
  width: 50%;
  border-radius: 2px;
  background: linear-gradient(90deg, #ef4444, #eab308, #34d399);
  transition: width 0.8s var(--ap-ease);
}

/* ─── Logo Marquee ─── */
.apple-sandbox .ap-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-top: 48px;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.apple-sandbox .ap-marquee__track {
  display: flex;
  gap: 52px;
  width: max-content;
  align-items: center;
  animation: apMarquee 40s linear infinite;
  will-change: transform;
}

.apple-sandbox .ap-marquee:hover .ap-marquee__track {
  animation-play-state: paused;
}

@keyframes apMarquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.apple-sandbox .ap-marquee__item {
  height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  filter: grayscale(100%) opacity(0.4);
  transition: filter 0.35s var(--ap-ease), transform 0.3s var(--ap-ease);
}

.apple-sandbox .ap-marquee__item:hover {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.08);
}

.apple-sandbox .ap-marquee__item img {
  height: 100%;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

/* ─── Comparison Table ─── */
.apple-sandbox .ap-compare {
  max-width: 920px;
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
}

.apple-sandbox .ap-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 640px;
  font-size: 0.92rem;
}

.apple-sandbox .ap-table thead th {
  padding: 18px 24px;
  text-align: center;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: var(--ap-muted);
  border-bottom: 1px solid var(--ap-border);
}

.apple-sandbox .ap-table thead th:last-child {
  color: var(--ap-accent);
  font-weight: 700;
}

.apple-sandbox .ap-table td {
  padding: 24px;
  border-bottom: 1px solid var(--ap-border);
  color: var(--ap-muted);
  vertical-align: middle;
  text-align: center;
  line-height: 1.5;
}

.apple-sandbox .ap-table td:first-child {
  color: var(--ap-text);
  font-weight: 600;
}

.apple-sandbox .ap-table td:last-child {
  color: var(--ap-accent);
  font-weight: 600;
  background: rgba(45,164,199,0.04);
}

.apple-sandbox .ap-table thead th:last-child {
  background: rgba(45,164,199,0.06);
  border-radius: 12px 12px 0 0;
}

.apple-sandbox .ap-table tbody tr:last-child td:last-child {
  border-radius: 0 0 12px 12px;
}

.apple-sandbox .ap-table small {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--ap-muted);
  margin-top: 4px;
  line-height: 1.4;
}

/* ─── Bento Grid ─── */
.apple-sandbox .ap-bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}

.apple-sandbox .ap-bento-card {
  background: var(--ap-surface);
  border-radius: var(--ap-radius-lg);
  padding: 48px 40px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ap-ease), box-shadow 0.35s;
}

.apple-sandbox .ap-bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}

.apple-sandbox .ap-bento-card--dark {
  background: var(--ap-bg-dark-card);
  color: var(--ap-text-light);
}

.apple-sandbox .ap-bento-card--dark:hover {
  box-shadow: 0 12px 40px rgba(15,23,42,0.25);
}

.apple-sandbox .ap-bento-card__icon {
  margin-bottom: 20px;
  color: var(--ap-muted);
  line-height: 1;
  transition: color 0.35s var(--ap-ease);
}

.apple-sandbox .ap-bento-card:hover .ap-bento-card__icon {
  color: var(--ap-accent);
}

.apple-sandbox .ap-bento-card--dark .ap-bento-card__icon {
  color: var(--ap-muted-light);
}

.apple-sandbox .ap-bento-card--dark:hover .ap-bento-card__icon {
  color: var(--ap-accent-bright);
}

.apple-sandbox .ap-bento-card__icon svg {
  width: 36px;
  height: 36px;
}

.apple-sandbox .ap-bento-card h3 {
  font-family: var(--ap-font-display);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 10px;
}

.apple-sandbox .ap-bento-card p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ap-muted);
}

.apple-sandbox .ap-bento-card--dark p {
  color: var(--ap-muted-light);
}

/* ─── Pricing ─── */
.apple-sandbox .ap-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}

.apple-sandbox .ap-price-card {
  background: var(--ap-bg);
  border-radius: var(--ap-radius-lg);
  padding: 44px 32px;
  text-align: center;
  position: relative;
  transition: transform 0.35s var(--ap-ease), box-shadow 0.35s;
}

.apple-sandbox .ap-price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}

.apple-sandbox .ap-price-card--feat {
  background: var(--ap-bg-dark);
  color: var(--ap-text-light);
  border: 1px solid rgba(45,164,199,0.15);
}

.apple-sandbox .ap-price-card--feat:hover {
  box-shadow: 0 16px 48px rgba(15,23,42,0.25), 0 0 0 1px rgba(45,164,199,0.3);
}

.apple-sandbox .ap-price-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ap-accent);
  background: rgba(45,164,199,0.15);
  padding: 5px 12px;
  border-radius: 980px;
}

.apple-sandbox .ap-price-name {
  font-family: var(--ap-font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.apple-sandbox .ap-price-amount {
  font-family: var(--ap-font-display);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.03em;
}

.apple-sandbox .ap-price-cur {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--ap-muted);
}

.apple-sandbox .ap-price-card--feat .ap-price-cur { color: var(--ap-muted-light); }

.apple-sandbox .ap-price-period {
  font-size: 0.85rem;
  color: var(--ap-muted);
  margin-bottom: 20px;
}

.apple-sandbox .ap-price-card--feat .ap-price-period { color: var(--ap-muted-light); }

.apple-sandbox .ap-price-desc {
  font-size: 0.88rem;
  color: var(--ap-muted);
  line-height: 1.55;
  margin-bottom: 24px;
}

.apple-sandbox .ap-price-card--feat .ap-price-desc { color: var(--ap-muted-light); }

.apple-sandbox .ap-price-cta {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 980px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.25s, transform 0.2s var(--ap-ease-spring), box-shadow 0.25s;
}

.apple-sandbox .ap-price-cta--primary {
  background: var(--ap-accent);
  color: #fff;
}

.apple-sandbox .ap-price-cta--primary:hover {
  background: var(--ap-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45,164,199,0.25);
}

.apple-sandbox .ap-price-cta--ghost {
  border: 1.5px solid var(--ap-border);
  color: var(--ap-text);
  background: transparent;
}

.apple-sandbox .ap-price-cta--ghost:hover {
  border-color: #cbd5e1;
  background: rgba(15,23,42,0.03);
}

.apple-sandbox .ap-price-card--feat .ap-price-cta--ghost {
  border-color: rgba(255,255,255,0.2);
  color: var(--ap-text-light);
}

.apple-sandbox .ap-price-card--feat .ap-price-cta--ghost:hover {
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.06);
}

.apple-sandbox .ap-layers {
  display: flex;
  gap: 36px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--ap-border);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.apple-sandbox .ap-layer {
  display: flex;
  align-items: center;
  gap: 10px;
}

.apple-sandbox .ap-layer__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.apple-sandbox .ap-layer__name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ap-text);
}

.apple-sandbox .ap-layer__val {
  font-size: 0.85rem;
  color: var(--ap-muted);
}

/* ─── FAQ ─── */
.apple-sandbox .ap-faq-list {
  max-width: 680px;
  margin: 0 auto;
  text-align: left;
}

.apple-sandbox .ap-faq {
  border-bottom: 1px solid var(--ap-border);
}

.apple-sandbox .ap-faq summary {
  padding: 24px 0;
  font-family: var(--ap-font-display);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ap-text);
  transition: color 0.2s;
  min-height: 48px;
}

.apple-sandbox .ap-faq summary:hover {
  color: var(--ap-accent);
}

.apple-sandbox .ap-faq summary::after {
  content: "";
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-left: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none' stroke='%2386868b' stroke-width='1.5' stroke-linecap='round'%3E%3Cline x1='9' y1='3' x2='9' y2='15'/%3E%3Cline x1='3' y1='9' x2='15' y2='9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.35s var(--ap-ease);
}

.apple-sandbox .ap-faq[open] summary::after {
  transform: rotate(45deg);
}

.apple-sandbox .ap-faq summary::-webkit-details-marker { display: none; }

.apple-sandbox .ap-faq p {
  padding: 0 0 24px;
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--ap-muted);
  max-width: 580px;
}

/* NuraChat hint */
.apple-sandbox .ap-faq-nura {
  max-width: 680px;
  margin: 32px auto 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--ap-muted);
}

/* FAQ content animation */
.apple-sandbox .ap-faq .ap-faq-content {
  overflow: hidden;
  transition: max-height 0.4s var(--ap-ease);
}

/* ─── Footer CTA ─── */
.apple-sandbox .ap-footer-cta {
  padding: 120px 32px;
  text-align: center;
  background: var(--ap-bg-dark-card);
  color: var(--ap-text-light);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.apple-sandbox .ap-trust-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  font-family: var(--ap-font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ap-muted-light);
}

.apple-sandbox .ap-trust-line svg {
  flex-shrink: 0;
}

/* ─── Section Header ─── */
.apple-sandbox .ap-sec-header {
  text-align: center;
  margin-bottom: 48px;
}

/* ─── Reveal Animations ─── */
.apple-sandbox .ap-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ap-ease),
              transform 0.9s var(--ap-ease);
}

.apple-sandbox .ap-reveal.ap-revealed {
  opacity: 1;
  transform: translateY(0);
}

.apple-sandbox .ap-reveal--d1 { transition-delay: 0.15s; }
.apple-sandbox .ap-reveal--d2 { transition-delay: 0.30s; }
.apple-sandbox .ap-reveal--d3 { transition-delay: 0.45s; }

@media (prefers-reduced-motion: reduce) {
  .apple-sandbox .ap-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .apple-sandbox .ap-hud__dot {
    animation: none;
  }
  .apple-sandbox .ap-marquee__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
  }
  .apple-sandbox .ap-hero-bg {
    animation: none;
  }
}

/* ════════════════════════════════════════
   RESPONSIVE
   Breakpoints: 1068, 768, 480
   ════════════════════════════════════════ */

@media (max-width: 1068px) {
  .apple-sandbox .ap-tile {
    padding: 72px 28px;
    min-height: 80vh;
  }
  .apple-sandbox .ap-tile--hero {
    padding-top: 120px;
  }
  .apple-sandbox .ap-stats { gap: 40px; }
}

@media (max-width: 768px) {
  .apple-sandbox .ap-tile {
    min-height: auto;
    padding: 64px 20px;
  }
  .apple-sandbox .ap-tile--auto,
  .apple-sandbox .ap-tile--section {
    padding: 64px 20px;
  }
  .apple-sandbox .ap-tile--hero {
    padding: calc(64px + var(--gn-height)) 20px 64px;
    min-height: auto;
  }
  .apple-sandbox .ap-tile--hero .ap-label {
    font-size: 0.78rem;
    margin-bottom: 6px;
  }
  .apple-sandbox .ap-tile--hero .ap-headline {
    font-size: clamp(2rem, 7.2vw, 2.35rem);
    line-height: 1.08;
    margin-bottom: 10px;
  }
  .apple-sandbox .ap-tile--hero .ap-sub {
    font-size: 0.95rem;
    line-height: 1.45;
    margin-bottom: 20px;
    padding: 0 16px;
    max-width: 380px;
  }
  .apple-sandbox .ap-split-row {
    grid-template-columns: 1fr;
    padding: 0 12px;
  }
  .apple-sandbox .ap-split {
    min-height: 420px;
    padding: 48px 28px 40px;
  }
  .apple-sandbox .ap-bento {
    grid-template-columns: 1fr;
  }
  .apple-sandbox .ap-pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  .apple-sandbox .ap-stats {
    flex-direction: row;
    gap: 0;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--ap-border-light);
  }
  .apple-sandbox .ap-stat {
    flex: 1;
    padding: 0 4px;
  }
  .apple-sandbox .ap-stat + .ap-stat {
    border-left: 1px solid var(--ap-border-light);
  }
  .apple-sandbox .ap-stat__val {
    font-size: 1.05rem;
  }
  .apple-sandbox .ap-stat__lbl {
    font-size: 0.62rem;
    margin-top: 3px;
  }
  .apple-sandbox .ap-ctas {
    flex-direction: row;
    gap: 12px;
    justify-content: center;
  }
  .apple-sandbox .ap-tile--hero .ap-ctas {
    flex-direction: column;
    gap: 10px;
  }
  .apple-sandbox .ap-tile--hero .ap-pill {
    min-width: 220px;
    padding: 11px 22px;
    font-size: 0.9rem;
  }
  .apple-sandbox .ap-tile--hero .ap-link {
    font-size: 0.92rem;
  }
  .apple-sandbox .ap-marquee__item { height: 22px; }
  .apple-sandbox .ap-marquee__track { gap: 36px; }
  .apple-sandbox .ap-layers {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
  .apple-sandbox .ap-footer-cta {
    padding: 80px 20px;
  }

  /* Touch targets: min 44px */
  .apple-sandbox .ap-pill,
  .apple-sandbox .ap-link,
  .apple-sandbox .ap-price-cta {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Table scroll hint */
  .apple-sandbox .ap-compare::after {
    content: "";
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 40px;
    background: linear-gradient(to left, var(--ap-surface), transparent);
    pointer-events: none;
  }

  /* Voice section */
  .apple-sandbox .ap-vlang-bar { gap: 8px; }
  .apple-sandbox .ap-vlang-btn {
    font-size: 0.72rem;
    padding: 6px 12px;
  }
  .apple-sandbox .ap-hud__msgs { padding: 16px; min-height: 180px; }
  .apple-sandbox .ap-msg { font-size: 0.84rem; }
  .apple-sandbox .ap-msg__role { min-width: 36px; font-size: 0.62rem; }
  .apple-sandbox .ap-hud__controls { padding: 10px 16px; gap: 4px; }
  .apple-sandbox .ap-ctrl { padding: 6px 12px; font-size: 0.65rem; }
  .apple-sandbox .ap-ctrl__note { display: none; }
  .apple-sandbox .ap-waveform { padding: 6px 16px 12px; }
  .apple-sandbox .ap-guards { gap: 6px; }
  .apple-sandbox .ap-guard { font-size: 0.7rem; padding: 6px 12px; }
  .apple-sandbox .ap-sentiment__track { width: 120px; }
}

@media (max-width: 480px) {
  .apple-sandbox .ap-headline { font-size: 2rem; }
  .apple-sandbox .ap-headline--md { font-size: 1.6rem; }
  .apple-sandbox .ap-headline--sm { font-size: 1.3rem; }
  .apple-sandbox .ap-bento-card { padding: 36px 28px; min-height: auto; }
  .apple-sandbox .ap-price-card { padding: 36px 28px; }
  .apple-sandbox .ap-tile--hero { padding: calc(56px + var(--gn-height)) 20px 56px; }
  .apple-sandbox .ap-tile--hero .ap-headline { font-size: 2rem; }
  .apple-sandbox .ap-tile--hero .ap-sub { font-size: 0.88rem; max-width: 340px; }
  .apple-sandbox .ap-sub { font-size: 0.85rem; }
  .apple-sandbox .ap-marquee__item { height: 18px; }
  .apple-sandbox .ap-stat__val { font-size: 0.95rem; }
  .apple-sandbox .ap-stat__lbl { font-size: 0.58rem; }
  .apple-sandbox .ap-ctas { gap: 10px; }
  .apple-sandbox .ap-tile--hero .ap-pill { min-width: 210px; padding: 10px 18px; font-size: 0.88rem; }
  .apple-sandbox .ap-tile--hero .ap-link { font-size: 0.88rem; }
}
