/* SkyTrade Pro — Premium FinTech Website v2 */
:root {
  --bg: #04060d;
  --bg-elevated: #0a0f1a;
  --bg-section: #080c14;
  --card: #0f1623;
  --card-hover: #151f30;
  --border: #1a2740;
  --border-glow: rgba(56, 189, 248, 0.22);
  --accent: #38bdf8;
  --accent-dim: rgba(56, 189, 248, 0.1);
  --green: #22c55e;
  --green-dim: rgba(34, 197, 94, 0.12);
  --purple: #8b5cf6;
  --gold: #f59e0b;
  --text: #f1f5f9;
  --muted: #8b9cb3;
  --danger: #ef4444;
  --radius: 16px;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: Consolas, "Courier New", monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }

/* Nav */
.site-nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(6, 10, 18, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.site-nav .inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 1.5rem; max-width: 1180px; margin: 0 auto;
}
.nav-links .lang-switcher { display: inline-flex; flex-shrink: 0; }
.lang-btn { display: inline-flex; align-items: center; }
.logo { font-weight: 700; font-size: 1.12rem; color: var(--text); text-decoration: none !important; }
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 1.1rem; align-items: center; flex-wrap: wrap; }
.nav-links a {
  color: var(--muted); font-size: 0.88rem; text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-cta {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #000 !important; font-weight: 700;
  padding: 0.55rem 1.15rem; border-radius: 10px;
  text-decoration: none !important;
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(34, 197, 94, 0.35); }

/* Language switcher */
.lang-switcher { position: relative; }
.lang-btn {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.82rem;
  padding: 0.4rem 0.65rem;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}
.lang-btn:hover { color: var(--accent); border-color: var(--border-glow); }
.lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 160px;
  max-height: 280px;
  overflow-y: auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.35rem;
  box-shadow: var(--shadow);
  z-index: 300;
}
.lang-switcher.open .lang-menu { display: block; }
.lang-option {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--muted);
  padding: 0.5rem 0.65rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  font-family: inherit;
}
.lang-option:hover, .lang-option.active {
  background: var(--accent-dim);
  color: var(--accent);
}
body.rtl { direction: rtl; }
body.rtl .lang-menu { right: auto; left: 0; }
body.rtl .lang-option { text-align: right; }
body.rtl .nav-links { flex-direction: row-reverse; }
body.rtl .footer-grid { direction: rtl; }

/* Hero */
.hero {
  position: relative; padding: 4.5rem 0 5rem; overflow: hidden;
  min-height: 88vh; display: flex; align-items: center;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.hero-bg canvas { width: 100%; height: 100%; display: block; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 20% 10%, rgba(56,189,248,0.08), transparent 55%),
    radial-gradient(ellipse 50% 40% at 85% 30%, rgba(139,92,246,0.06), transparent 50%),
    linear-gradient(180deg, rgba(4,6,13,0.35) 0%, rgba(4,6,13,0.55) 50%, var(--bg) 100%);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 2.5rem; align-items: center;
}
.hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.15rem);
  line-height: 1.12; margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.hero .lead { color: var(--muted); font-size: 1.08rem; margin-bottom: 1.75rem; max-width: 540px; }
.badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(139,92,246,0.35), rgba(56,189,248,0.2));
  border: 1px solid rgba(139,92,246,0.4);
  color: #c4b5fd; padding: 0.32rem 0.8rem; border-radius: 999px;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.06em;
  margin-bottom: 1rem; text-transform: uppercase;
}
.hero-btns { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.trust-pill {
  font-size: 0.78rem; padding: 0.35rem 0.75rem; border-radius: 999px;
  background: rgba(15,22,35,0.8); border: 1px solid var(--border);
  color: var(--muted); display: flex; align-items: center; gap: 0.4rem;
}
.trust-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.trust-pill .dot.pulse { animation: pulse-dot 2s ease-in-out infinite; }
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

/* Device frame + screenshot */
.device-frame {
  position: relative;
  background: linear-gradient(145deg, #1a2332, #0c1018);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.65rem;
  box-shadow: var(--shadow), 0 0 60px rgba(56,189,248,0.06);
  animation: float-device 7s ease-in-out infinite;
}
.device-chrome {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.35rem 0.5rem 0.55rem;
}
.device-chrome span {
  width: 9px; height: 9px; border-radius: 50%;
}
.device-chrome span:nth-child(1) { background: #ef4444; }
.device-chrome span:nth-child(2) { background: #f59e0b; }
.device-chrome span:nth-child(3) { background: #22c55e; }
.device-screen {
  position: relative; border-radius: 8px; overflow: hidden;
  background: #000; aspect-ratio: 16/10;
}
.device-screen img {
  width: 100%; max-width: none; height: 100%;
  object-fit: cover; object-position: center top;
}
.screenshot-mask-top,
.screenshot-mask-bottom {
  position: absolute; left: 0; right: 0; z-index: 2; pointer-events: none;
}
.screenshot-mask-top {
  top: 0; height: 12%;
  background: linear-gradient(180deg, rgba(4,6,13,0.85), transparent);
}
.screenshot-mask-bottom {
  bottom: 0; height: 8%;
  background: linear-gradient(0deg, rgba(4,6,13,0.7), transparent);
}
@keyframes float-device {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Screenshot callouts */
.callout {
  position: absolute; z-index: 5;
  display: flex; align-items: center; gap: 0.35rem;
  font-size: 0.68rem; font-weight: 600;
  padding: 0.28rem 0.55rem; border-radius: 6px;
  background: rgba(8,12,20,0.92);
  border: 1px solid var(--border-glow);
  color: var(--text); cursor: default;
  transition: border-color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.callout::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); flex-shrink: 0;
}
.callout:hover, .callout.active {
  border-color: var(--accent);
  box-shadow: 0 0 16px rgba(56,189,248,0.2);
}
.callout-tip {
  display: none; position: absolute; top: calc(100% + 6px); left: 50%;
  transform: translateX(-50%);
  background: var(--card); border: 1px solid var(--border);
  padding: 0.5rem 0.65rem; border-radius: 8px;
  font-size: 0.72rem; font-weight: 400; color: var(--muted);
  white-space: normal; width: max-content; max-width: 200px;
  z-index: 10; line-height: 1.4;
}
.callout:hover .callout-tip, .callout.active .callout-tip { display: block; }
.callout-c1 { top: 6%; left: 2%; }
.callout-c2 { top: 6%; right: 2%; }
.callout-c3 { top: 22%; left: 1%; }
.callout-c4 { top: 38%; left: 2%; }
.callout-c5 { bottom: 28%; left: 3%; }
.callout-c6 { bottom: 12%; left: 25%; }
.callout-c7 { top: 55%; right: 2%; }
.callout-c8 { bottom: 8%; right: 3%; }

/* Status strip */
.status-strip {
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(10,15,26,0.6);
}
.status-strip .inner {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem 2.5rem;
  font-size: 0.85rem; color: var(--muted);
}
.status-strip strong { color: var(--text); }

/* Sections */
section { padding: 4.5rem 0; position: relative; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 0.5rem; letter-spacing: -0.02em; }
.section-sub { color: var(--muted); margin-bottom: 2.25rem; max-width: 680px; font-size: 1.02rem; }
.section-bg-grid::before {
  content: ""; position: absolute; inset: 0; opacity: 0.35; pointer-events: none;
  background-image:
    linear-gradient(rgba(56,189,248,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,189,248,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.section-bg-chart::before {
  content: ""; position: absolute; inset: 0; opacity: 0.15; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 120'%3E%3Cpath d='M0 80 L40 70 L80 75 L120 50 L160 55 L200 30 L240 40 L280 20 L320 35 L360 15 L400 25' fill='none' stroke='%2338bdf8' stroke-width='1.5'/%3E%3C/svg%3E") center bottom / 80% auto no-repeat;
}
.section-bg-network::before {
  content: ""; position: absolute; inset: 0; opacity: 0.2; pointer-events: none;
  background: radial-gradient(circle at 30% 50%, rgba(139,92,246,0.15), transparent 40%),
              radial-gradient(circle at 70% 30%, rgba(56,189,248,0.1), transparent 35%);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.75rem 1.4rem; border-radius: 10px; font-weight: 600;
  font-size: 0.95rem; border: none; cursor: pointer; text-decoration: none !important;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #000; box-shadow: 0 4px 20px rgba(34,197,94,0.25);
}
.btn-secondary {
  background: rgba(15,22,35,0.9); color: var(--text);
  border: 1px solid var(--border);
}
.btn-accent { background: var(--accent); color: #000; }
.btn-lg { padding: 0.9rem 1.75rem; font-size: 1rem; }

/* Cards */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(56,189,248,0.04), transparent 60%);
  opacity: 0; transition: opacity 0.3s; pointer-events: none;
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
}
.card:hover::before { opacity: 1; }
.card h3 { margin-bottom: 0.5rem; font-size: 1.08rem; position: relative; }
.card p { color: var(--muted); font-size: 0.92rem; position: relative; }
.card-icon { font-size: 1.6rem; margin-bottom: 0.65rem; position: relative; }

/* Product ecosystem blocks */
.product-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem;
  align-items: center; padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}
.product-block:last-child { border-bottom: none; }
.product-block.reverse { direction: rtl; }
.product-block.reverse > * { direction: ltr; }
.product-block .tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.5rem;
}
.product-block h3 { font-size: 1.65rem; margin-bottom: 0.75rem; }
.product-block .feature-tags {
  display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 1rem 0 1.25rem;
}
.feature-tag {
  font-size: 0.75rem; padding: 0.3rem 0.65rem; border-radius: 6px;
  background: var(--accent-dim); color: var(--accent); border: 1px solid rgba(56,189,248,0.2);
}
.product-visual {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.product-visual img { width: 100%; }
.product-visual.masked img { object-fit: cover; object-position: center top; }
.product-visual .mask-bar {
  position: absolute; bottom: 0; left: 0; right: 0; height: 2.5rem;
  background: linear-gradient(0deg, var(--card), transparent);
}

/* Feature grid */
.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem;
}
.feature-cell {
  padding: 1.1rem; border-radius: 12px;
  background: rgba(15,22,35,0.6); border: 1px solid var(--border);
  transition: border-color 0.25s, transform 0.25s;
}
.feature-cell:hover { border-color: var(--border-glow); transform: translateY(-3px); }
.feature-cell h4 { font-size: 0.92rem; margin-bottom: 0.35rem; color: var(--accent); }
.feature-cell p { font-size: 0.82rem; color: var(--muted); margin: 0; }

/* Pipeline / How it works */
.pipeline {
  display: flex; align-items: stretch; gap: 0;
  overflow-x: auto; padding: 1rem 0 1.5rem;
  scrollbar-width: thin;
}
.pipeline-step {
  flex: 1; min-width: 130px; position: relative;
  padding: 1.1rem 0.85rem; text-align: center;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; cursor: default;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.pipeline-step .num {
  display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--accent-dim); color: var(--accent);
  font-size: 0.75rem; font-weight: 700; margin-bottom: 0.5rem;
}
.pipeline-step .label { font-size: 0.82rem; font-weight: 600; line-height: 1.3; }
.pipeline-step .detail {
  display: none; font-size: 0.75rem; color: var(--muted); margin-top: 0.5rem; line-height: 1.4;
}
.pipeline-step:hover, .pipeline-step.active {
  border-color: var(--accent);
  box-shadow: 0 0 24px rgba(56,189,248,0.12);
  transform: translateY(-4px);
}
.pipeline-step:hover .detail, .pipeline-step.active .detail { display: block; }
.pipeline-connector {
  flex: 0 0 28px; align-self: center; position: relative; height: 2px;
  background: linear-gradient(90deg, var(--border), var(--accent), var(--border));
  overflow: hidden;
}
.pipeline-connector::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: flow-pulse 2.5s ease-in-out infinite;
}
@keyframes flow-pulse {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Controls grid */
.controls-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.85rem;
}
.control-item {
  padding: 1rem; border-radius: 10px;
  background: rgba(15,22,35,0.5); border: 1px solid var(--border);
}
.control-item strong {
  display: block; font-size: 0.88rem; color: var(--green); margin-bottom: 0.3rem;
  font-family: var(--mono);
}
.control-item p { font-size: 0.82rem; color: var(--muted); margin: 0; }

/* Security banner (compact) */
.security-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  flex-wrap: wrap; padding: 0.85rem 1.25rem;
  background: rgba(239,68,68,0.06); border: 1px solid rgba(239,68,68,0.2);
  border-radius: 12px; font-size: 0.88rem;
}
.security-banner .label {
  font-weight: 700; color: #fca5a5; font-size: 0.75rem;
  letter-spacing: 0.06em; text-transform: uppercase; margin-right: 0.5rem;
}
.security-banner p { color: var(--muted); margin: 0; flex: 1; min-width: 200px; }
.security-banner a { font-size: 0.85rem; white-space: nowrap; }

/* Security full block */
.security-block {
  background: linear-gradient(135deg, #1a0f2e 0%, #0c1220 100%);
  border: 1px solid rgba(239,68,68,0.25); border-radius: var(--radius);
  padding: 2rem; margin: 2rem 0;
}
.security-block h3 { color: #fca5a5; margin-bottom: 1rem; }
.security-block ul { list-style: none; }
.security-block li::before { content: "✕ "; color: var(--danger); }
.security-block li { margin: 0.35rem 0; color: var(--muted); }

/* Pricing */
.price-card { text-align: center; position: relative; }
.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 20px 50px rgba(56,189,248,0.08);
}
.price-card .price { font-size: 1.75rem; font-weight: 700; color: var(--accent); margin: 0.75rem 0; }
.price-card .note { font-size: 0.8rem; color: var(--muted); }
.price-card ul { list-style: none; text-align: left; margin-top: 1rem; }
.price-card li { padding: 0.35rem 0; color: var(--muted); font-size: 0.9rem; }
.price-card li::before { content: "✓ "; color: var(--green); }

/* Order process */
.order-process {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0.75rem;
  margin-top: 2rem;
}
.process-step {
  text-align: center; padding: 1rem 0.75rem;
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
}
.process-step .num {
  width: 32px; height: 32px; margin: 0 auto 0.5rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--accent-dim); color: var(--accent);
  font-weight: 700; font-size: 0.85rem;
}
.process-step p { font-size: 0.8rem; color: var(--muted); margin: 0; }

/* Payment preview */
.payment-preview-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem;
}
.pay-preview-card {
  padding: 1.25rem; border-radius: 12px;
  background: var(--card); border: 1px solid var(--border);
  text-align: center; transition: border-color 0.25s;
}
.pay-preview-card:hover { border-color: var(--border-glow); }
.pay-preview-card .asset { font-size: 1.2rem; font-weight: 700; }
.pay-preview-card .network {
  display: inline-block; margin-top: 0.35rem;
  font-size: 0.72rem; padding: 0.2rem 0.55rem; border-radius: 4px;
  background: var(--accent-dim); color: var(--accent);
}

/* Contact */
.contact-purpose {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem;
}
.purpose-tag {
  font-size: 0.78rem; padding: 0.35rem 0.75rem; border-radius: 999px;
  border: 1px solid var(--border); color: var(--muted);
  transition: border-color 0.2s, color 0.2s;
}
.purpose-tag:hover { border-color: var(--accent); color: var(--accent); }
.contact-card {
  text-align: center; padding: 1.75rem;
}
.contact-card h3 { margin-bottom: 0.5rem; }
.contact-card p { color: var(--muted); }

/* FAQ */
.faq-item { margin-bottom: 0.85rem; }
.faq-item h4 { margin-bottom: 0.35rem; font-size: 0.98rem; }

/* Risk line */
.risk-line {
  text-align: center; padding: 1.25rem 1.5rem;
  font-size: 0.82rem; color: var(--muted);
  border-top: 1px solid var(--border);
  background: rgba(10,15,26,0.5);
}

/* Enterprise */
.enterprise-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem;
}
.enterprise-item {
  padding: 1.15rem; border-radius: 12px;
  border: 1px solid var(--border); background: rgba(15,22,35,0.4);
}
.enterprise-item h4 { font-size: 0.92rem; margin-bottom: 0.35rem; }
.enterprise-item p { font-size: 0.8rem; color: var(--muted); margin: 0; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border); padding: 2.5rem 0 1rem;
  color: var(--muted); font-size: 0.9rem;
}
.footer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem; margin-bottom: 2rem;
}
.footer-grid h4 { color: var(--text); margin-bottom: 0.75rem; font-size: 0.95rem; }
.footer-grid a { display: block; color: var(--muted); margin: 0.3rem 0; text-decoration: none; }
.footer-grid a:hover { color: var(--accent); }
.footer-bottom { text-align: center; padding-top: 1.5rem; border-top: 1px solid var(--border); }

/* Checkout */
.checkout { padding: 2rem 0 4rem; }
.checkout-progress {
  display: flex; gap: 0; margin-bottom: 2rem; overflow-x: auto;
  padding-bottom: 0.5rem;
}
.progress-step {
  flex: 1; min-width: 120px; text-align: center; position: relative;
  padding: 0.75rem 0.5rem 0.5rem;
}
.progress-step::before {
  content: ""; position: absolute; top: 18px; left: 0; right: 0; height: 2px;
  background: var(--border); z-index: 0;
}
.progress-step:first-child::before { left: 50%; }
.progress-step:last-child::before { right: 50%; }
.progress-step .circle {
  width: 36px; height: 36px; margin: 0 auto 0.5rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--card); border: 2px solid var(--border);
  font-weight: 700; font-size: 0.85rem; position: relative; z-index: 1;
  transition: border-color 0.3s, background 0.3s, color 0.3s;
}
.progress-step.active .circle {
  border-color: var(--accent); background: var(--accent-dim); color: var(--accent);
}
.progress-step.done .circle {
  border-color: var(--green); background: var(--green-dim); color: var(--green);
}
.progress-step .label { font-size: 0.72rem; color: var(--muted); line-height: 1.3; }
.progress-step.active .label { color: var(--text); font-weight: 600; }
.checkout-steps { display: none; }
.checkout-panel {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem; margin-bottom: 1.5rem;
}
.checkout-panel h2 { font-size: 1.25rem; margin-bottom: 1.25rem; }
.form-row { margin-bottom: 1rem; }
.form-row label { display: block; font-size: 0.85rem; color: var(--muted); margin-bottom: 0.35rem; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 0.7rem 0.9rem; border-radius: 8px;
  border: 1px solid var(--border); background: var(--bg); color: var(--text);
  font-family: inherit; font-size: 0.95rem;
}
.form-row textarea { min-height: 90px; resize: vertical; }

/* Payment method cards */
.payment-methods { display: grid; gap: 1rem; }
.payment-methods.grid-2 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.payment-method-card {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem;
  background: var(--bg-elevated); border: 2px solid var(--border); border-radius: 12px;
  cursor: pointer; transition: all 0.2s;
}
.payment-method-card:hover { border-color: rgba(56,189,248,0.4); }
.payment-method-card.selected {
  border-color: var(--accent); background: var(--accent-dim);
  box-shadow: 0 0 0 1px var(--accent);
}
.payment-method-card .pm-icon { font-size: 1.5rem; }
.payment-method-card .pm-title { font-weight: 600; }
.payment-method-card .pm-sub { font-size: 0.82rem; color: var(--muted); }
.payment-method-card .pm-network {
  display: inline-block; margin-top: 0.25rem;
  font-size: 0.7rem; padding: 0.15rem 0.45rem; border-radius: 4px;
  background: rgba(139,92,246,0.15); color: #c4b5fd;
}

.payment-instructions { display: none; }
.payment-instructions.visible { display: block; }
.bank-detail { display: grid; gap: 0.75rem; margin: 1rem 0; }
.bank-row {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 0.75rem; background: var(--bg); border-radius: 8px; border: 1px solid var(--border);
  flex-wrap: wrap;
}
.bank-row .label { color: var(--muted); font-size: 0.82rem; min-width: 100px; }
.bank-row .value { font-family: var(--mono); font-size: 0.9rem; word-break: break-all; }
.crypto-card {
  text-align: center; padding: 1.5rem; background: var(--bg); border-radius: 12px;
  border: 1px solid var(--border); margin-bottom: 1rem;
}
.crypto-card .asset-name { font-size: 1.5rem; font-weight: 700; }
.crypto-card .network-badge {
  display: inline-block; margin: 0.5rem 0 1rem; padding: 0.25rem 0.75rem;
  background: var(--accent-dim); color: var(--accent); border-radius: 6px; font-size: 0.8rem;
}
.crypto-card .qr-wrap {
  max-width: 220px; margin: 0 auto 1rem; padding: 0.75rem;
  background: #fff; border-radius: 10px;
}
.crypto-card .address {
  font-family: var(--mono); font-size: 0.82rem; word-break: break-all;
  padding: 0.75rem; background: var(--card); border-radius: 8px; margin: 0.75rem 0;
}
.copy-btn {
  background: var(--accent); color: #000; border: none; padding: 0.5rem 1.25rem;
  border-radius: 8px; font-weight: 600; cursor: pointer; font-size: 0.85rem;
}
.copy-btn.copied { background: var(--green); }
.warning-box {
  background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.3);
  border-radius: 10px; padding: 1rem; margin: 1rem 0; font-size: 0.88rem; color: #fca5a5;
}
.order-ref {
  font-family: var(--mono); font-size: 1.1rem; color: var(--accent);
  padding: 0.75rem 1rem; background: var(--accent-dim); border-radius: 8px;
  display: inline-block; margin: 0.5rem 0;
}

/* Animations */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s, transform 0.65s; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Legal */
.legal-page { padding: 3rem 0 4rem; }
.legal-page h1 { margin-bottom: 0.5rem; }
.legal-page h2 { margin: 2rem 0 0.75rem; font-size: 1.2rem; color: var(--accent); }
.legal-page p, .legal-page li { color: var(--muted); margin-bottom: 0.75rem; }
.legal-page ul { margin-left: 1.25rem; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .device-frame { animation: none; }
  .pipeline-connector::after { animation: none; }
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 3rem 0 4rem; }
  .device-frame { max-width: 100%; margin-top: 1rem; }
  .callout { display: none; }
  .product-block { grid-template-columns: 1fr; }
  .product-block.reverse { direction: ltr; }
  .pipeline { flex-direction: column; }
  .pipeline-connector { width: 2px; height: 20px; flex: 0 0 20px; margin: 0 auto; }
  .pipeline-connector::after { animation: none; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; background: var(--bg-elevated);
    padding: 1rem; border-bottom: 1px solid var(--border);
  }
  .menu-toggle {
    display: block; background: none; border: none;
    color: var(--text); font-size: 1.5rem; cursor: pointer;
  }
  .security-banner { flex-direction: column; text-align: center; }
  .progress-step .label { font-size: 0.65rem; }
}
@media (min-width: 769px) {
  .menu-toggle { display: none; }
}

/* Nav dropdown */
.nav-dropdown { position: relative; }
.nav-drop-btn { cursor: pointer; }
.nav-drop-menu {
  display: none; position: absolute; top: 100%; left: 0; min-width: 220px;
  background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 10px;
  padding: 0.5rem 0; margin-top: 0.5rem; z-index: 300; box-shadow: var(--shadow);
}
.nav-dropdown:hover .nav-drop-menu { display: block; }
.nav-drop-menu a { display: block; padding: 0.5rem 1rem; color: var(--muted); font-size: 0.85rem; text-decoration: none; }
.nav-drop-menu a:hover { color: var(--accent); background: var(--accent-dim); }

/* Pricing */
.pricing-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.pricing-tab {
  padding: 0.55rem 1.1rem; border-radius: 999px; border: 1px solid var(--border);
  background: var(--card); color: var(--muted); cursor: pointer; font-size: 0.88rem;
  transition: all 0.2s;
}
.pricing-tab.active, .pricing-tab:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }
.billing-switcher { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.billing-btn {
  padding: 0.5rem 1.25rem; border-radius: 8px; border: 1px solid var(--border);
  background: var(--card); color: var(--muted); cursor: pointer; font-weight: 600; font-size: 0.88rem;
}
.billing-btn.active { border-color: var(--accent); background: var(--accent-dim); color: var(--accent); }
.price-card-interactive { cursor: pointer; text-align: left; }
.price-card-interactive .price { font-size: 1.6rem; font-weight: 700; color: var(--accent); }
.price-card-interactive .period { font-size: 0.85rem; color: var(--muted); font-weight: 400; }
.price-card-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1rem; position: relative; z-index: 2; }
.price-card-actions .btn, .price-card-actions a { position: relative; z-index: 2; }
.addon-price-tag {
  display: inline-block; margin-left: 0.5rem; font-size: 0.88rem;
  font-weight: 700; color: var(--accent); white-space: nowrap;
}
.addon-group-title {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--accent);
  margin: 1.25rem 0 0.5rem; padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--border);
}
.addon-group-title:first-child { margin-top: 0; }
.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.82rem; }
.plan-badge {
  position: absolute; top: 1rem; right: 1rem; font-size: 0.68rem; font-weight: 700;
  padding: 0.25rem 0.55rem; border-radius: 6px; text-transform: uppercase; letter-spacing: 0.05em;
}
.plan-badge.recommended { background: var(--accent-dim); color: var(--accent); border: 1px solid var(--accent); }
.plan-badge.popular { background: var(--green-dim); color: var(--green); border: 1px solid var(--green); }

/* Plan modal */
.plan-modal {
  display: none; position: fixed; inset: 0; z-index: 500;
  background: rgba(0,0,0,0.75); align-items: center; justify-content: center; padding: 1.5rem;
}
.plan-modal.open { display: flex; }
.plan-modal-inner {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem; max-width: 560px; width: 100%; max-height: 85vh; overflow-y: auto; position: relative;
}
.modal-close { position: absolute; top: 1rem; right: 1rem; background: none; border: none; color: var(--muted); font-size: 1.5rem; cursor: pointer; }
.modal-price { font-size: 2rem; font-weight: 700; color: var(--accent); margin: 0.75rem 0; }
.modal-features { margin: 0.75rem 0 1rem 1.25rem; color: var(--muted); }
.modal-features li { margin: 0.3rem 0; }
.modal-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.5rem; }

/* Compare table */
.compare-table-wrap { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.compare-table th, .compare-table td { padding: 0.75rem 1rem; border: 1px solid var(--border); text-align: left; }
.compare-table th { background: var(--bg-elevated); color: var(--accent); }
.compare-table tr:hover td { background: rgba(56,189,248,0.04); }

/* Addons */
.addon-item {
  display: flex; gap: 0.75rem; padding: 1rem; border: 1px solid var(--border);
  border-radius: 10px; margin-bottom: 0.75rem; cursor: pointer; align-items: flex-start;
}
.addon-item:has(input:checked) { border-color: var(--accent); background: var(--accent-dim); }
.addon-item input { margin-top: 0.25rem; }
.order-totals-box {
  background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 1.25rem; margin: 1rem 0;
}
.order-totals-box .total-line { font-size: 1.15rem; color: var(--accent); margin-top: 0.5rem; padding-top: 0.5rem; border-top: 1px solid var(--border); }
.summary-section-title {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent); margin: 1rem 0 0.5rem;
}
.summary-section-title:first-child { margin-top: 0; }
.summary-row {
  display: flex; justify-content: space-between; gap: 1rem;
  font-size: 0.9rem; padding: 0.3rem 0; color: var(--muted);
}
.summary-row span:last-child { color: var(--text); text-align: right; }
.summary-row-total { font-weight: 600; border-top: 1px solid var(--border); margin-top: 0.35rem; padding-top: 0.5rem; }
.summary-row-total span { color: var(--accent) !important; }
.payment-amount-notice {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: var(--accent-dim); border: 1px solid var(--accent);
  border-radius: 12px; padding: 1rem 1.25rem; margin-bottom: 1rem;
}
.payment-amount-notice span {
  font-size: 0.85rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--muted);
}
.payment-amount-notice strong {
  font-size: 1.5rem; color: var(--accent);
}

/* Payment confirmation UX */
.payment-privacy-note {
  font-size: 0.8rem; color: var(--muted); margin-top: 1rem;
  padding: 0.75rem 1rem; background: var(--bg-elevated);
  border-radius: 8px; border: 1px solid var(--border);
}
.payment-confirm-form .form-readonly {
  background: var(--bg-elevated); color: var(--muted); cursor: not-allowed;
}
.payment-status-badge {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 0.35rem 0.75rem; border-radius: 6px;
  background: rgba(251, 191, 36, 0.15); color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.35);
}
.payment-submitted-card { margin-bottom: 1.25rem; }
.payment-submitted-card .submitted-row {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.5rem 0; border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.payment-submitted-card .submitted-row:last-child { border-bottom: none; }
.payment-submitted-card .submitted-label { color: var(--muted); }
.payment-submitted-card .submitted-value { text-align: right; word-break: break-all; }
.payment-submitted-message {
  color: var(--muted); font-size: 0.9rem; line-height: 1.6; margin: 1rem 0;
}
.payment-submit-error {
  background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5; border-radius: 8px; padding: 0.85rem 1rem; margin: 1rem 0;
  font-size: 0.9rem;
}
.payment-status-flow {
  font-size: 0.78rem; color: var(--muted); margin-top: 1rem;
  padding-top: 0.75rem; border-top: 1px solid var(--border);
}
.expected-amount-pay {
  font-size: 1.1rem; margin: 0.75rem 0; padding: 0.75rem;
  background: var(--accent-dim); border-radius: 8px; text-align: center;
}
.expected-amount-pay strong { color: var(--accent); font-size: 1.25rem; }

/* Page hero */
.page-hero { padding: 3.5rem 0 2.5rem; text-align: center; }
.page-hero h1 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 0.75rem; }
.page-hero p { color: var(--muted); max-width: 640px; margin: 0 auto; }

/* Screenshot showcase */
.showcase-img {
  border-radius: var(--radius); border: 1px solid var(--border);
  box-shadow: var(--shadow); width: 100%;
}
.showcase-wrap { position: relative; overflow: hidden; border-radius: var(--radius); }
.showcase-wrap .mask-privacy {
  position: absolute; top: 0; left: 0; right: 0; height: 14%;
  background: linear-gradient(180deg, rgba(4,6,13,0.9), transparent); pointer-events: none;
}

/* Founder */
.founder-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 1rem;
}
.founder-grid {
  display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: center;
}
.founder-photo {
  width: 220px; max-width: 100%; border-radius: 12px;
  border: 1px solid var(--border); object-fit: cover;
}
.founder-links { display: flex; gap: 0.75rem; flex-wrap: wrap; }
@media (max-width: 640px) {
  .founder-grid { grid-template-columns: 1fr; text-align: center; }
  .founder-links { justify-content: center; }
}

/* Bot accent images — homepage matrix showcase */
.home-bot-showcase {
  position: relative;
  margin: 0 auto 1.5rem;
  max-width: 520px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.28);
  background: #020617;
  min-height: 140px;
  box-shadow: 0 0 32px rgba(56, 189, 248, 0.08);
}
.home-bot-matrix-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0;
}
.home-bot-matrix-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 80% 70% at 50% 50%, rgba(2, 6, 23, 0.1), rgba(2, 6, 23, 0.65));
}
.home-bot-showcase-inner {
  position: relative; z-index: 2;
  display: flex; justify-content: center; align-items: center;
  gap: 1.25rem; padding: 1rem 1.25rem; min-height: 140px;
}
.home-bot-img {
  width: 100px; height: 100px; object-fit: cover; border-radius: 12px;
  border: 2px solid rgba(56, 189, 248, 0.45);
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.22), 0 0 40px rgba(34, 197, 94, 0.1);
}
.bot-accents {
  display: flex; gap: 1rem; margin-bottom: 1rem; opacity: 0.85;
}
.bot-accent {
  width: 72px; height: 72px; object-fit: cover; border-radius: 10px;
  border: 1px solid var(--border); opacity: 0.9;
}
/* Development page — matrix bot showcase */
.dev-bot-showcase {
  position: relative;
  margin: 0 auto 2.5rem;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.28);
  background: #020617;
  min-height: 320px;
  box-shadow: 0 0 48px rgba(56, 189, 248, 0.08), inset 0 0 80px rgba(2, 6, 23, 0.6);
}
.dev-matrix-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.dev-matrix-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(2, 6, 23, 0.15), rgba(2, 6, 23, 0.72)),
    linear-gradient(180deg, rgba(56, 189, 248, 0.06) 0%, transparent 40%, rgba(34, 197, 94, 0.04) 100%);
  pointer-events: none;
}
.dev-bot-showcase-inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(1.5rem, 5vw, 3.5rem);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  min-height: 320px;
}
.dev-bot-hero-img {
  width: clamp(180px, 28vw, 260px);
  height: clamp(180px, 28vw, 260px);
  object-fit: cover;
  border-radius: 16px;
  border: 2px solid rgba(56, 189, 248, 0.5);
  box-shadow:
    0 0 32px rgba(56, 189, 248, 0.25),
    0 0 64px rgba(34, 197, 94, 0.12),
    inset 0 0 24px rgba(56, 189, 248, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.dev-bot-hero-img:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 0 40px rgba(56, 189, 248, 0.4),
    0 0 80px rgba(34, 197, 94, 0.2);
}
@media (prefers-reduced-motion: no-preference) {
  .dev-bot-hero-img {
    animation: dev-bot-glow 4s ease-in-out infinite alternate;
  }
  .dev-bot-hero-img:nth-child(2) { animation-delay: 2s; }
}
@keyframes dev-bot-glow {
  from { box-shadow: 0 0 28px rgba(56, 189, 248, 0.2), 0 0 56px rgba(34, 197, 94, 0.1); }
  to   { box-shadow: 0 0 44px rgba(56, 189, 248, 0.38), 0 0 72px rgba(34, 197, 94, 0.18); }
}
@media (max-width: 640px) {
  .dev-bot-showcase { min-height: 280px; }
  .dev-bot-showcase-inner { flex-direction: column; min-height: 280px; }
}

/* Cookie consent */
.consent-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 400;
  background: var(--bg-elevated); border-top: 1px solid var(--border);
  padding: 0.85rem 1.25rem; display: flex; align-items: center;
  justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: 0.85rem; color: var(--muted);
}
.consent-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
