/* ================================================
   LANDING — Page-specific styles for index.html
   Section padding: 64px top, 48px bottom
   Depends on: variables.css, components.css, layout.css
================================================ */


/* ── SHARED SECTION STRUCTURE ── */

.section {
  padding: 64px 0 48px;
}

.section + .section,
.section ~ .how-section,
.section ~ .services-section,
.section ~ .pricing-section,
.section ~ .agent-section,
.section ~ .ai-section {
  border-top: 1px solid var(--border-subtle);
}

.sec-title {
  font-size: clamp(28px, 3.8vw, 40px);
  font-weight: var(--font-bold);
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: var(--space-md);
}

.sec-sub {
  font-size: var(--text-md);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 520px;
}

.sec-header {
  margin-bottom: 48px;
}


/* ── HERO ── */

.hero {
  padding: 80px 0 64px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: var(--space-lg);
}

.hero-eyebrow-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--success);
  animation: blink 2s ease-in-out infinite;
}

.hero-headline {
  font-size: clamp(36px, 4.8vw, 56px);
  font-weight: var(--font-bold);
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: var(--space-lg);
}

.hero-headline em {
  font-style: normal;
  color: var(--text-muted);
}

.hero-sub {
  font-size: var(--text-md);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: var(--space-xl);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: var(--space-xl);
}

.hero-stat-value {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-xl);
  font-weight: var(--font-semi);
  letter-spacing: -0.5px;
}

.hero-stat-label {
  display: block;
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 3px;
}


/* ── PHONE MOCKUP ── */

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

.phone-frame {
  width: 288px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  overflow: hidden;
}

.phone-statusbar {
  padding: 14px 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.phone-time {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  color: var(--text-secondary);
}

.phone-icons {
  font-size: 10px;
  color: var(--text-muted);
}

.phone-body {
  padding: 16px 20px 8px;
}

.phone-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.phone-greeting {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.phone-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--text-secondary);
}

/* ★ SIGNATURE WALLET CARD — the one luxury moment */
.wallet-card {
  background: var(--bg-base);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 14px;
  box-shadow:
    0 0 80px  rgba(22, 163, 74, 0.06),
    0 0 160px rgba(22, 163, 74, 0.03);
}

.wallet-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.wallet-balance {
  font-family: var(--font-mono);
  font-size: var(--text-3xl);
  font-weight: var(--font-semi);
  color: var(--text-primary);
  letter-spacing: -0.5px;
  line-height: 1;
  margin-bottom: 16px;
}

.wallet-balance .currency {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  font-weight: var(--font-normal);
}

.wallet-balance .decimals {
  font-size: var(--text-lg);
  color: var(--text-secondary);
}

.wallet-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.wallet-btn-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px;
  text-align: center;
  font-size: var(--text-xs);
  color: var(--text-secondary);
}

/* Quick service icons */
.quick-services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-bottom: 14px;
}

.svc-icon {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 9px 4px;
  text-align: center;
}

.svc-icon-g {
  font-size: 15px;
  display: block;
  margin-bottom: 3px;
}

.svc-icon-l {
  font-size: 9px;
  color: var(--text-muted);
  display: block;
}

/* Transaction rows */
.phone-recent-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.tx-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.tx-row:last-child {
  border-bottom: none;
}

.tx-row-left {
  display: flex;
  align-items: center;
  gap: 9px;
}

.tx-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.tx-dot.ok   { background: var(--success); }
.tx-dot.wait { background: var(--pending); }

.tx-name { font-size: var(--text-xs); color: var(--text-secondary); }
.tx-when { font-size: 10px; color: var(--text-muted); font-family: var(--font-mono); }

.tx-val {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
}

.tx-val.neg { color: var(--loss); }
.tx-val.pos { color: var(--profit); }

/* Bottom nav */
.phone-bottom-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--border-subtle);
  padding: 9px 0 12px;
  margin-top: 6px;
}

.pn-item {
  text-align: center;
  font-size: 9px;
  color: var(--text-muted);
}

.pn-item.on {
  color: var(--text-primary);
}

.pn-glyph {
  font-size: 14px;
  display: block;
  margin-bottom: 2px;
}

@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .hero-visual {
    order: -1;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 48px 0 48px;
  }
  .hero-stats {
    gap: var(--space-lg);
  }
}


/* ── NETWORKS TICKER ── */

.ticker-bar {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 15px 0;
  overflow: hidden;
  position: relative;
}

.ticker-bar::before,
.ticker-bar::after {
  content: '';
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.ticker-bar::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-base), transparent);
}

.ticker-bar::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-base), transparent);
}

.ticker-track {
  display: flex;
  gap: 48px;
  animation: ticker 22s linear infinite;
  width: max-content;
}

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

.net-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  color: var(--text-muted);
  white-space: nowrap;
  font-weight: var(--font-medium);
}

.net-chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}


/* ── FEATURES ── */

.features-section {
  padding: 64px 0 48px;
  border-top: 1px solid var(--border-subtle);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.feat-card {
  background: var(--bg-card);
  padding: 32px;
  transition: background 0.2s;
}

.feat-card:hover {
  background: var(--bg-elevated);
}

.feat-icon {
  width: 36px;
  height: 36px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-bottom: var(--space-md);
}

.feat-title {
  font-size: var(--text-md);
  font-weight: var(--font-semi);
  letter-spacing: -0.3px;
  margin-bottom: var(--space-sm);
}

.feat-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.65;
}

@media (max-width: 860px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .features-grid { grid-template-columns: 1fr; }
}


/* ── SERVICES ── */

.services-section {
  padding: 64px 0 48px;
  border-top: 1px solid var(--border-subtle);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
}

.svc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  transition: border-color 0.15s, background 0.15s;
}

.svc-card:hover {
  border-color: var(--border-active);
  background: var(--bg-elevated);
}

.svc-card-icon {
  font-size: 22px;
  margin-bottom: 12px;
  display: block;
}

.svc-card-name {
  font-size: var(--text-base);
  font-weight: var(--font-semi);
  margin-bottom: 6px;
}

.svc-card-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 14px;
}

.svc-card-meta {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

@media (max-width: 860px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}


/* ── AI SECTION ── */

.ai-section {
  padding: 64px 0 48px;
  border-top: 1px solid var(--border-subtle);
}

.ai-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.ai-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.ai-row-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.ai-row-title {
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  margin-bottom: 4px;
}

.ai-row-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* Chat demo */
.chat-demo {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.chat-demo-header {
  padding: 15px 20px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-demo-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: white;
  flex-shrink: 0;
}

.chat-demo-name {
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
}

.chat-demo-status {
  margin-left: auto;
  font-size: var(--text-xs);
  color: var(--success);
  display: flex;
  align-items: center;
  gap: 5px;
}

.chat-demo-status::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--success);
}

.chat-demo-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bubble {
  max-width: 88%;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  line-height: 1.55;
}

.bubble.user {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  align-self: flex-end;
  border-radius: var(--radius-md) var(--radius-md) var(--radius-sm) var(--radius-md);
}

.bubble.ai {
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  align-self: flex-start;
  border-radius: var(--radius-md) var(--radius-md) var(--radius-md) var(--radius-sm);
}

.bubble.ai strong {
  color: var(--text-primary);
  font-weight: var(--font-medium);
}

.bubble.ai .amt {
  font-family: var(--font-mono);
  color: var(--profit);
}

.chat-demo-input {
  padding: 12px 20px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  gap: 10px;
  align-items: center;
}

.chat-input-field {
  flex: 1;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 8px 14px;
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-family: var(--font-ui);
}

.mic-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

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


/* ── HOW IT WORKS ── */

.how-section {
  padding: 64px 0 48px;
  border-top: 1px solid var(--border-subtle);
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}

.how-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 36px 28px;
}

.how-num {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: var(--space-xl);
}

.how-icon {
  font-size: 26px;
  display: block;
  margin-bottom: var(--space-md);
}

.how-title {
  font-size: var(--text-md);
  font-weight: var(--font-semi);
  letter-spacing: -0.3px;
  margin-bottom: var(--space-sm);
}

.how-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.65;
}

@media (max-width: 768px) {
  .how-steps { grid-template-columns: 1fr; }
}


/* ── PRICING ── */

.pricing-section {
  padding: 64px 0 48px;
  border-top: 1px solid var(--border-subtle);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  max-width: 740px;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.price-card.featured {
  border-color: var(--border-active);
  background: var(--bg-elevated);
}

.price-plan {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-sm);
}

.price-amount {
  font-family: var(--font-mono);
  font-size: var(--text-2xl);
  font-weight: var(--font-semi);
  letter-spacing: -1px;
  margin-bottom: 4px;
}

.price-amount sup {
  font-size: var(--text-lg);
  vertical-align: super;
  font-weight: var(--font-normal);
}

.price-period {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
}

.price-divider {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin-bottom: var(--space-lg);
}

.price-features {
  margin-bottom: var(--space-xl);
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: 11px;
}

.price-features li::before {
  content: '✓';
  color: var(--success);
  font-weight: var(--font-bold);
  flex-shrink: 0;
}

.price-features li.off {
  color: var(--text-muted);
}

.price-features li.off::before {
  content: '–';
  color: var(--text-muted);
}

.price-cta {
  display: block;
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  font-family: var(--font-ui);
  text-align: center;
  transition: all 0.15s;
  cursor: pointer;
}

.price-cta.solid {
  background: var(--text-primary);
  color: var(--bg-base);
  border: 1px solid var(--text-primary);
}
.price-cta.solid:hover { background: #D0D0D0; }

.price-cta.outline {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-soft);
}
.price-cta.outline:hover {
  border-color: var(--border-active);
  color: var(--text-primary);
}

@media (max-width: 560px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
}


/* ── AGENT SECTION ── */

.agent-section {
  padding: 64px 0 48px;
  border-top: 1px solid var(--border-subtle);
}

.agent-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 56px 64px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: center;
}

.agent-subtitle {
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: var(--space-md);
}

.agent-title {
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: var(--font-bold);
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.agent-desc {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: var(--space-xl);
}

.agent-numbers {
  display: flex;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.agent-num-val {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-xl);
  font-weight: var(--font-semi);
  letter-spacing: -0.5px;
}

.agent-num-label {
  display: block;
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 3px;
}

/* Tier list */
.tier-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  min-width: 224px;
}

.tier-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.tier-left {
  display: flex;
  align-items: center;
  gap: 9px;
}

.tier-icon { font-size: 14px; }

.tier-name {
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
}

.tier-range {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.tier-comm {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--profit);
  font-weight: var(--font-medium);
}

@media (max-width: 900px) {
  .agent-card {
    grid-template-columns: 1fr;
    padding: 36px 32px;
    gap: 36px;
  }
  .tier-list { min-width: auto; }
}

@media (max-width: 480px) {
  .agent-card { padding: 28px 20px; }
}

/* ── AGENT TIER ICON COLORS ── */
.tier-icon { display:inline-flex; align-items:center; justify-content:center; width:32px; height:32px; border-radius:50%; }
.tier-icon--bronze  { color:#CD7F32; background:rgba(205,127,50,0.12); }
.tier-icon--silver  { color:#A0A0B0; background:rgba(160,160,176,0.12); }
.tier-icon--gold    { color:#D4AF37; background:rgba(212,175,55,0.12); }
.tier-icon--platinum{ color:#E5E4E2; background:rgba(229,228,226,0.12); }
