/* ============================================
   ALGOSTECH — Industry-Level CSS
   Design: Dark fintech, geometric, precise
   ============================================ */

:root {
  --primary: #00ffcc;
  --primary-dim: rgba(0, 255, 204, 0.15);
  --primary-glow: rgba(0, 255, 204, 0.4);
  --accent: #00c2ff;
  --bg: #050914;
  --bg-2: #080e1f;
  --bg-card: rgba(255, 255, 255, 0.035);
  --bg-card-hover: rgba(255, 255, 255, 0.065);
  --border: rgba(255, 255, 255, 0.08);
  --border-bright: rgba(0, 255, 204, 0.3);
  --text: #e8edf8;
  --text-muted: #6b7a99;
  --text-dim: #9aa5be;
  --font-display: 'Syne', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --font-body: 'DM Sans', sans-serif;
  --nav-h: 76px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card: 0 4px 32px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px rgba(0, 255, 204, 0.15);
}

/* ======================== RESET ======================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--font-body); }
input { font-family: var(--font-body); }

/* ======================== NOISE ======================== */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 180px;
}

/* ======================== CONTAINER ======================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

/* ======================== TYPOGRAPHY ======================== */
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--primary);
  background: var(--primary-dim);
  border: 1px solid var(--border-bright);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 1.2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-dim);
  max-width: 500px;
  margin: 0 auto;
}

/* ======================== BUTTONS ======================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 500;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn.primary {
  background: var(--primary);
  color: #000;
  font-weight: 700;
  box-shadow: 0 0 24px rgba(0, 255, 204, 0.3);
}
.btn.primary:hover {
  background: #fff;
  box-shadow: 0 0 40px rgba(0, 255, 204, 0.5);
  transform: translateY(-2px);
}

.btn.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn.ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-dim);
}

.btn.dark {
  background: #000;
  color: #fff;
  border: 1px solid rgba(0,0,0,0.2);
}
.btn.dark:hover {
  background: #111;
  transform: translateY(-2px);
}

.btn.ghost-dark {
  background: transparent;
  color: #000;
  border: 2px solid rgba(0,0,0,0.3);
}
.btn.ghost-dark:hover {
  background: rgba(0,0,0,0.08);
}

.btn.full-width {
  width: 100%;
  justify-content: center;
}

.play-icon {
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: #000;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
}

/* ======================== NAV ======================== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

nav.scrolled {
  background: rgba(5, 9, 20, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 8px var(--primary));
}

.logo-mark img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  color: var(--text-dim);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--text);
  background: var(--bg-card);
}

.nav-btn {
  background: var(--primary);
  color: #000;
  border: none;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 700;
  transition: var(--transition);
  font-family: var(--font-body);
}

.nav-btn:hover {
  background: #fff;
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ======================== HERO ======================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 80%);
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 80px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 5%;
  padding-right: 5%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-dim);
  border: 1px solid var(--border-bright);
  padding: 6px 14px 6px 10px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--primary);
  margin-bottom: 1.8rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--primary);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--primary); }
  50% { opacity: 0.5; box-shadow: 0 0 16px var(--primary); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.4rem;
}

.hero-sub-title {
  color: var(--text-muted);
  font-weight: 400;
}

.hero-desc {
  color: var(--text-dim);
  font-size: 1.05rem;
  max-width: 440px;
  margin-bottom: 2.4rem;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 2.4rem;
}

.stat { display: flex; flex-direction: column; }

.stat-num {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.stat-unit { font-size: 1rem; color: var(--primary); }

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---- HERO RIGHT ---- */
.hero-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.orb-1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0,255,204,0.12), transparent 70%);
  top: 0; right: 0;
}

.orb-2 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0,194,255,0.1), transparent 70%);
  bottom: 0; left: 0;
}

/* Main hero card */
.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(20px);
  padding: 24px;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow-card);
  position: relative;
  z-index: 2;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.card-dots {
  display: flex;
  gap: 6px;
}

.card-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}

.card-dots span:first-child { background: #ff5f57; }
.card-dots span:nth-child(2) { background: #febc2e; }
.card-dots span:nth-child(3) { background: #28c840; }

.card-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--primary);
  letter-spacing: 0.1em;
}

.chart-area { margin-bottom: 20px; border-radius: var(--radius-sm); overflow: hidden; }

.chart-svg { width: 100%; height: 100px; display: block; }

.pulse-circle { animation: pulsate 2s ease-in-out infinite; }

@keyframes pulsate {
  0%, 100% { r: 8; opacity: 0.3; }
  50% { r: 14; opacity: 0.1; }
}

.card-data-row {
  display: flex;
  gap: 16px;
}

.data-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.data-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.data-value {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
}

.data-value.up { color: var(--primary); }
.data-value.down { color: #ff5a5a; }

/* Floating cards */
.float-card {
  position: absolute;
  background: rgba(8, 14, 31, 0.85);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
  box-shadow: var(--shadow-card);
  animation: float 6s ease-in-out infinite;
}

.float-card.float-tl { top: 10%; left: -10%; animation-delay: 0s; }
.float-card.float-br { bottom: 10%; right: -5%; animation-delay: 3s; }

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

.float-icon { font-size: 1.4rem; }

.float-title {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.float-val {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
}

.float-val.buy {
  color: var(--primary);
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 5%;
  display: flex;
  align-items: center;
  gap: 16px;
}

.scroll-hint span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--primary), transparent);
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ======================== SERVICES ======================== */
.services {
  padding: 120px 0;
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-dim), transparent);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.service-card:hover::before { opacity: 1; }

.service-card.featured {
  border-color: var(--border-bright);
  background: linear-gradient(135deg, rgba(0,255,204,0.06), var(--bg-card));
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-dim);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 0.6rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.service-card p {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 1.4rem;
}

.service-link {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--primary);
  letter-spacing: 0.05em;
  transition: var(--transition);
}

.service-link:hover { letter-spacing: 0.12em; }

.featured-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--primary);
  color: #000;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

/* ======================== ABOUT ======================== */
.about {
  padding: 120px 0;
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,255,204,0.04), transparent 70%);
  pointer-events: none;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-orb {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,255,204,0.07), transparent 70%);
  filter: blur(40px);
}

.about-img-wrap {
  position: relative;
  z-index: 2;
}

.about-robot {
  width: 280px;
  height: auto;
  filter: drop-shadow(0 0 40px rgba(0,255,204,0.2));
}

.about-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
  pointer-events: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.about-ring-1 {
  width: 320px;
  height: 320px;
  border-color: rgba(0,255,204,0.1);
  animation: spin 20s linear infinite;
}

.about-ring-2 {
  width: 420px;
  height: 420px;
  border-color: rgba(0,194,255,0.06);
  animation: spin 30s linear infinite reverse;
}

@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* Coin chips */
.coin-chip {
  position: absolute;
  background: rgba(8, 14, 31, 0.9);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--primary);
  z-index: 4;
  animation: float 5s ease-in-out infinite;
}

.coin-chip img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.coin-btc { top: 5%; right: 0; animation-delay: 0s; }
.coin-gold { bottom: 20%; right: -5%; animation-delay: 1.5s; }
.coin-usd { bottom: 5%; left: 0; animation-delay: 3s; }

/* About content */
.about-content { max-width: 500px; }

.about-p {
  color: var(--text-dim);
  margin-bottom: 1.2rem;
  line-height: 1.75;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 2rem 0;
}

.af-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
}

.af-check {
  width: 24px;
  height: 24px;
  background: var(--primary-dim);
  border: 1px solid var(--border-bright);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ======================== PAYMENT ======================== */
.payment {
  padding: 120px 0;
  position: relative;
}

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

.payment-left h2 { margin-bottom: 1rem; }

.payment-left > p {
  color: var(--text-dim);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.crypto-methods {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.crypto-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text-dim);
  cursor: pointer;
  transition: var(--transition);
}

.crypto-pill span {
  font-size: 1.1rem;
}

.crypto-pill:hover, .crypto-pill.active {
  border-color: var(--border-bright);
  color: var(--primary);
  background: var(--primary-dim);
}

.payment-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

.payment-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.4rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.secure-badge {
  background: var(--primary-dim);
  border: 1px solid var(--border-bright);
  color: var(--primary);
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-family: var(--font-mono);
}

.payment-input-wrap {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.03);
  padding: 4px 16px;
  margin-bottom: 10px;
  transition: var(--transition);
}

.payment-input-wrap:focus-within {
  border-color: var(--border-bright);
  box-shadow: 0 0 0 3px rgba(0,255,204,0.08);
}

.currency-prefix {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-right: 8px;
}

.payment-input-wrap input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 1.4rem;
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 12px 0;
}

.payment-input-wrap input::placeholder { color: var(--text-muted); }

.payment-equiv {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.6rem;
  padding-left: 4px;
}

.payment-equiv span { color: var(--primary); }

.payment-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 1rem;
  font-family: var(--font-mono);
}

/* ======================== CTA ======================== */
.cta {
  padding: 80px 0;
}

.cta-inner {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 24px;
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.2), transparent 70%);
  pointer-events: none;
}

.cta-inner .section-tag {
  background: rgba(0,0,0,0.1);
  border-color: rgba(0,0,0,0.2);
  color: rgba(0,0,0,0.7);
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #000;
  margin-bottom: 1rem;
}

.cta-desc {
  color: rgba(0,0,0,0.65);
  font-size: 1.05rem;
  margin-bottom: 2.4rem;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ======================== FOOTER ======================== */
footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 10px;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: var(--transition);
}

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

.footer-copy {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-family: var(--font-mono);
}

/* ======================== SCROLL REVEAL ======================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ======================== RESPONSIVE ======================== */

/* Tablet — 1024px */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-container {
    gap: 40px;
  }

  .float-card.float-tl { left: -5%; }
  .float-card.float-br { right: 0; }
}

/* Mobile — 768px */
@media (max-width: 768px) {

  /* Nav */
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(5, 9, 20, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    z-index: 999;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-link {
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
  }

  .nav-links li:last-child {
    margin-top: 8px;
  }

  .nav-btn {
    width: 100%;
    padding: 14px;
  }

  .hamburger { display: flex; }

  /* Hero */
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 40px;
    padding-bottom: 60px;
    gap: 50px;
  }

  .hero-badge { margin: 0 auto 1.8rem; }
  .hero-desc { margin: 0 auto 2.4rem; }
  .hero-stats { justify-content: center; }
  .hero-actions { justify-content: center; }

  .hero-right {
    min-height: 340px;
    order: -1;
  }

  .hero-card { max-width: 320px; }

  .float-card.float-tl { left: 0; top: 5%; }
  .float-card.float-br { right: 0; bottom: 5%; }

  .scroll-hint { display: none; }

  /* Services */
  .services { padding: 80px 0; }
  .services-grid { grid-template-columns: 1fr; }

  /* About */
  .about { padding: 80px 0; }
  .about-container {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }

  .about-visual { min-height: 320px; }
  .about-robot { width: 200px; }
  .about-ring-1 { width: 240px; height: 240px; }
  .about-ring-2 { width: 320px; height: 320px; }
  .about-content { margin: 0 auto; }
  .af-item { justify-content: center; text-align: left; }

  /* Payment */
  .payment { padding: 80px 0; }
  .payment-inner {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }
  .crypto-methods { justify-content: center; }

  /* CTA */
  .cta-inner {
    padding: 60px 30px;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links { justify-content: center; flex-wrap: wrap; gap: 20px; }
  .footer-brand { display: flex; flex-direction: column; align-items: center; }
}

/* Small mobile — 480px */
@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem; }
  .hero-stats { flex-direction: column; gap: 16px; align-items: center; }
  .stat-divider { display: none; }
  .cta-inner { padding: 50px 20px; }
  .payment-card { padding: 24px; }
  .float-card { display: none; }
  .hero-card { max-width: 280px; }
}
