/* ══════════════════════════════════════════════════════════════
   ZAFTO.APP — Shared Stylesheet
   Design: Dark theme, blueprint aesthetic, warm amber accents
   Typography: Inter (300-700)
   ══════════════════════════════════════════════════════════════ */

/* ── RESET + VARIABLES ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

:root {
  --bg: #0a0a0a;
  --bg-card: #111111;
  --bg-elevated: #161616;
  --green-500: #34d399;
  --green-400: #6ee7b7;
  --green-600: #059669;
  --amber-400: #fbbf24;
  --text-primary: #f0f0f0;
  --text-secondary: #a0a0a0;
  --text-muted: #666666;
  --border: rgba(255,255,255,0.06);
  --border-hover: rgba(255,255,255,0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-full: 100px;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .container { padding: 0 48px; }
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 48px;
  height: 64px;
  background: rgba(10,10,10,0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.nav-wordmark {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  text-transform: lowercase;
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
  cursor: pointer;
}

.nav-link:hover { color: var(--text-secondary); }
.nav-link.active { color: var(--green-400); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.btn-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.btn-green { background: var(--green-500); color: #0a0a0a; }
.btn-green:hover { background: var(--green-400); }

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  padding: 8px 14px;
}
.btn-ghost:hover { color: var(--text-secondary); }

/* ── HERO (Homepage) ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(10,10,10,0.82) 0%, rgba(10,10,10,0.55) 70%, rgba(10,10,10,0.4) 100%),
    linear-gradient(180deg, rgba(10,10,10,0.4) 0%, transparent 30%, transparent 70%, rgba(10,10,10,0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
  padding: 0 24px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.15);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 500;
  color: var(--green-400);
  letter-spacing: 0.02em;
  margin-bottom: 32px;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-500);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-size: clamp(36px, 4.5vw, 54px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-title em {
  font-style: italic;
  color: var(--green-400);
  font-weight: 500;
}

.hero-sub {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 40px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-lg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-lg.btn-green:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 24px rgba(52, 211, 153, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
  background: rgba(255,255,255,0.03);
}

/* ── PAGE HERO (Subpages) ── */
.page-hero {
  padding: 160px 0 80px;
  position: relative;
}

.page-hero .section-tag {
  margin-bottom: 20px;
}

.page-hero-title {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.page-hero-title strong {
  font-weight: 600;
}

.page-hero-sub {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 600px;
}

/* ── TRADES BAR (carousel) ── */
.trades-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  overflow: hidden;
  position: relative;
}

.trades-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: scroll-trades 40s linear infinite;
}

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

.trades-bar span {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-transform: uppercase;
  transition: color 0.2s;
}

.trades-bar span:hover {
  color: var(--text-secondary);
}

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

/* ── SECTION BASE ── */
.section {
  padding: 100px 0;
  position: relative;
}

.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}

.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--green-400);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.section-title strong {
  font-weight: 600;
}

.section-sub {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
}

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

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

.section-header-center .section-sub {
  margin: 0 auto;
}

/* ── STATS BAR ── */
.stats-bar {
  padding: 64px 0;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-number {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── FEATURE BENTO GRID ── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

.bento-card-large {
  grid-column: span 2;
}

.bento-card-tall {
  grid-row: span 2;
}

.bento-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.12);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  color: var(--green-400);
}

.bento-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.bento-icon-lg {
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
}

.bento-icon-lg svg {
  width: 28px;
  height: 28px;
}

.bento-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.bento-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.bento-detail {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bento-detail-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

.bento-detail-item::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--green-500);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── SIZE MESSAGING ── */
.size-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.size-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: all 0.3s ease;
}

.size-card:hover {
  border-color: var(--border-hover);
}

.size-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green-400);
  margin-bottom: 16px;
}

.size-card h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.size-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── PLATFORM SECTION ── */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.platform-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s ease;
}

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

.platform-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.badge-live {
  background: rgba(52, 211, 153, 0.1);
  color: var(--green-400);
  border: 1px solid rgba(52, 211, 153, 0.15);
}

.badge-coming {
  background: rgba(251, 191, 36, 0.08);
  color: var(--amber-400);
  border: 1px solid rgba(251, 191, 36, 0.15);
}

.platform-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.platform-card .platform-url {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-family: 'Inter', monospace;
}

.platform-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.platform-stat {
  margin-top: 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── ADVANCED TECH SECTION ── */
.advanced-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.advanced-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  transition: all 0.3s ease;
}

.advanced-card:hover {
  border-color: var(--border-hover);
}

.advanced-card h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.advanced-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.advanced-card .detail-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.detail-list span {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-list span::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--green-500);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── SECURITY SECTION ── */
.security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.security-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s ease;
}

.security-card:hover {
  border-color: var(--border-hover);
}

.security-card h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.security-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── FINANCIAL DEEP DIVE ── */
.finance-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.finance-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s ease;
}

.finance-card:hover {
  border-color: var(--border-hover);
}

.finance-card h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.finance-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── CTA SECTION ── */
.cta-section {
  padding: 120px 0;
  text-align: center;
  position: relative;
}

.cta-section h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 300;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  line-height: 1.15;
}

.cta-section h2 strong {
  font-weight: 600;
}

.cta-section p {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── FOOTER ── */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 280px;
  margin-top: 12px;
}

.footer-wordmark {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: lowercase;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  padding: 4px 0;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--text-primary); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 12px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-legal a:hover { color: var(--text-secondary); }

/* ── MOBILE MENU ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text-secondary);
  transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: rgba(10,10,10,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 24px;
  z-index: 99;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu a:hover {
  color: var(--text-primary);
}

.mobile-menu .btn-sm {
  margin-top: 16px;
  text-align: center;
  justify-content: center;
}

/* ── PRICING PAGE ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: all 0.3s ease;
  position: relative;
}

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

.pricing-card-featured {
  border-color: var(--green-500);
  background: linear-gradient(180deg, rgba(52, 211, 153, 0.04) 0%, var(--bg-card) 100%);
}

.pricing-card-featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green-500);
  color: #0a0a0a;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 16px;
  border-radius: var(--radius-full);
}

.pricing-tier {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green-400);
  margin-bottom: 12px;
}

.pricing-card h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.pricing-card .pricing-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.pricing-price {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.pricing-price span {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-secondary);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.pricing-feature svg {
  width: 16px;
  height: 16px;
  stroke: var(--green-500);
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-feature-disabled {
  color: var(--text-muted);
  opacity: 0.5;
}

.pricing-feature-disabled svg {
  stroke: var(--text-muted);
}

.pricing-cta {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* ── PRICING TABLE ── */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0;
}

.comparison-table th,
.comparison-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.comparison-table th {
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
  padding: 20px 20px 14px;
}

.comparison-table td:first-child {
  color: var(--text-secondary);
  font-weight: 500;
}

.comparison-table td {
  color: var(--text-muted);
  text-align: center;
}

.comparison-table td:first-child {
  text-align: left;
}

.comparison-table tr:hover td {
  background: rgba(255,255,255,0.015);
}

.comparison-table .check {
  color: var(--green-400);
}

.comparison-table .category-row td {
  padding-top: 28px;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--border-hover);
  text-align: left;
}

/* ── CONTACT PAGE ── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  transition: all 0.3s ease;
}

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

.contact-card .bento-icon {
  margin: 0 auto 20px;
}

.contact-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.contact-card a.contact-email {
  font-size: 14px;
  font-weight: 500;
  color: var(--green-400);
  transition: color 0.2s;
}

.contact-card a.contact-email:hover {
  color: var(--green-500);
}

.contact-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.contact-card-link .portal-url {
  font-size: 12px;
  color: var(--green-400);
  font-family: 'Inter', monospace;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

/* ── COMPANY INFO ── */
.company-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0;
}

.company-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.company-detail .bento-icon {
  flex-shrink: 0;
  margin-bottom: 0;
}

.company-detail h4 {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.company-detail p {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
}

.company-paragraph {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 720px;
}

@media (max-width: 768px) {
  .company-details { grid-template-columns: 1fr; gap: 16px; }
}

/* ── FAQ ACCORDION ── */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--green-400);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  stroke: var(--text-muted);
  stroke-width: 1.5;
  fill: none;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question svg {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 0 24px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── FEATURE DEEP-DIVE PAGES ── */
.feature-hero {
  padding: 160px 0 80px;
  position: relative;
}

.feature-hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-hero-text .section-tag {
  margin-bottom: 20px;
}

.feature-hero-visual {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-hero-visual img {
  width: 100%;
  border-radius: var(--radius-sm);
}

.feature-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s ease;
}

.feature-detail-card:hover {
  border-color: var(--border-hover);
}

.feature-detail-card h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-detail-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.feature-detail-card-large {
  grid-column: span 2;
}

/* ── FLOW / PIPELINE ── */
.flow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2px;
}

.flow-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  position: relative;
}

.flow-step:first-child {
  border-radius: var(--radius) 0 0 var(--radius);
}

.flow-step:last-child {
  border-radius: 0 var(--radius) var(--radius) 0;
}

.flow-step-number {
  font-size: 32px;
  font-weight: 300;
  color: var(--green-400);
  margin-bottom: 12px;
}

.flow-step h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.flow-step p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── SECURITY DEEP-DIVE ── */
.security-layer {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.security-layer:last-child {
  border-bottom: none;
}

.security-layer-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green-400);
  padding-top: 4px;
}

.security-layer-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.security-layer-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.security-layer-content .detail-list {
  margin-top: 12px;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-card-large { grid-column: span 2; }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .advanced-grid { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: repeat(2, 1fr); }
  .size-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .finance-features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .feature-hero-split { grid-template-columns: 1fr; }
  .feature-detail-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-detail-card-large { grid-column: span 2; }
  .security-layer { grid-template-columns: 1fr; gap: 12px; }
  .flow-steps { grid-template-columns: 1fr 1fr; }
  .flow-step:first-child { border-radius: var(--radius) 0 0 0; }
  .flow-step:last-child { border-radius: 0 0 var(--radius) 0; }
}

@media (max-width: 768px) {
  .nav { padding: 0 24px; }
  .nav-center { display: none; }
  .nav-toggle { display: flex; }
  .nav-right .btn-ghost { display: none; }
  .hero-content { padding: 0 24px; }
  .trades-bar { padding: 20px 0; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card-large { grid-column: span 1; }
  .platform-grid { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .section { padding: 64px 0; }
  .hero-title { font-size: 32px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .feature-detail-grid { grid-template-columns: 1fr; }
  .feature-detail-card-large { grid-column: span 1; }
  .page-hero { padding: 120px 0 60px; }
  .feature-hero { padding: 120px 0 60px; }
  .flow-steps { grid-template-columns: 1fr; }
  .flow-step:first-child,
  .flow-step:last-child { border-radius: var(--radius); }
  .comparison-table { font-size: 12px; }
  .comparison-table th,
  .comparison-table td { padding: 10px 8px; }
}

/* ── ANIMATIONS ── */
.animate-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger > .animate-in:nth-child(1) { transition-delay: 0ms; }
.stagger > .animate-in:nth-child(2) { transition-delay: 60ms; }
.stagger > .animate-in:nth-child(3) { transition-delay: 120ms; }
.stagger > .animate-in:nth-child(4) { transition-delay: 180ms; }
.stagger > .animate-in:nth-child(5) { transition-delay: 240ms; }
.stagger > .animate-in:nth-child(6) { transition-delay: 300ms; }
.stagger > .animate-in:nth-child(7) { transition-delay: 360ms; }
.stagger > .animate-in:nth-child(8) { transition-delay: 420ms; }
.stagger > .animate-in:nth-child(9) { transition-delay: 480ms; }
.stagger > .animate-in:nth-child(10) { transition-delay: 540ms; }

/* Accent line */
.accent-line {
  width: 32px;
  height: 2px;
  background: var(--green-500);
  margin-bottom: 24px;
}
