/* ==========================================================================
   DWG ALGO™ — Premium Dark Theme Design System & Stylesheet
   Modern, Ultra-Professional Fintech & Algorithmic Trading Architecture
   100% Fully Responsive on All Devices (Zero Horizontal Wobble / Overflow)
   ========================================================================== */

/* --- CSS Reset & Global Custom Properties --- */
:root {
  /* Color Palette - Deep Obsidian & Sleek Slates */
  --bg-body: #060911;
  --bg-primary: #090e1a;
  --bg-surface: #0e1626;
  --bg-surface-elevated: #141f36;
  --bg-card: rgba(15, 23, 42, 0.72);
  --bg-card-hover: rgba(22, 34, 60, 0.85);
  --bg-input: #0a0f1d;
  --bg-glass: rgba(14, 22, 38, 0.65);

  /* Primary Brand Accents - Precision Mint & Emerald */
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-glow: rgba(16, 185, 129, 0.25);
  --emerald-light-glow: rgba(52, 211, 153, 0.12);

  /* Secondary Accents - Electric Cyan & Blue */
  --cyan-400: #38bdf8;
  --cyan-500: #0ea5e9;
  --cyan-glow: rgba(56, 189, 248, 0.25);

  /* Luxury Accents - Amber & Gold */
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --amber-glow: rgba(245, 158, 11, 0.25);

  /* WhatsApp Brand Color */
  --wa-green: #25d366;
  --wa-hover: #1ebd5a;
  --wa-glow: rgba(37, 211, 102, 0.3);

  /* Typography Colors */
  --text-main: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #030712;

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-active: rgba(16, 185, 129, 0.5);
  --border-cyan: rgba(56, 189, 248, 0.4);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 40px -8px rgba(0, 0, 0, 0.65);
  --shadow-glow: 0 0 24px var(--emerald-glow);

  /* Font Families */
  --font-display: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout Spacing */
  --max-width: 1220px;
  --nav-height: 76px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* --- Base & Zero-Overflow Foundation --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  touch-action: pan-y;
  overscroll-behavior-x: none;
}

body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  background-color: var(--bg-body);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  touch-action: pan-y;
  overscroll-behavior-x: none;
}

img, svg, picture, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Contained Background Ambient Glows (NO HORIZONTAL OVERFLOW) --- */
.ambient-glows-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  contain: paint;
}
.ambient-glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(120px);
  max-width: 100vw;
}
.glow-top {
  top: -100px;
  left: 20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
}
.glow-middle {
  top: 40%;
  right: 0;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.06) 0%, transparent 70%);
}
.glow-bottom {
  bottom: 5%;
  left: 10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.05) 0%, transparent 70%);
}

/* --- Container & Global Utilities --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.text-center { text-align: center; }
.w-100 { width: 100%; }

.gradient-text {
  background: linear-gradient(135deg, #34d399 0%, #38bdf8 50%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-badge-wrapper {
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 0.85rem;
}
.section-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.125rem);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 3rem auto;
  line-height: 1.6;
}

section {
  padding: 5rem 0;
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Badges & Pills */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--emerald-400);
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
  flex-wrap: wrap;
}
.pill-badge.pill-amber {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.3);
  color: var(--amber-400);
}
.pill-badge.pill-cyan {
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.3);
  color: var(--cyan-400);
}
.pill-badge.pill-purple {
  background: rgba(168, 85, 247, 0.1);
  border-color: rgba(168, 85, 247, 0.3);
  color: #c084fc;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--emerald-400);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--emerald-400);
  animation: pulseAnimation 2s infinite ease-in-out;
  flex-shrink: 0;
}
@keyframes pulseAnimation {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* --- Buttons System --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
  outline: none;
  white-space: nowrap;
  max-width: 100%;
}
.btn-lg {
  padding: 0.9rem 2rem;
  font-size: 1.05rem;
}
.btn-block {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--emerald-500) 0%, var(--emerald-600) 100%);
  color: #ffffff;
  border-color: rgba(52, 211, 153, 0.4);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.28);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #34d399 0%, var(--emerald-500) 100%);
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.45);
  transform: translateY(-2px);
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
  border-color: var(--border-subtle);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: var(--wa-green);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 14px var(--wa-glow);
}
.btn-whatsapp:hover {
  background: var(--wa-hover);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  transform: translateY(-2px);
  color: #ffffff;
}

/* ==========================================================================
   NAVIGATION HEADER
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: rgba(6, 9, 17, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
  transition: all var(--transition-normal);
}
.header.scrolled {
  background: rgba(6, 9, 17, 0.95);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo-img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.brand-pro-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--emerald-400);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
  margin-left: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* Desktop Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.nav-link {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.5rem 0;
  display: inline-flex;
  align-items: center;
}
.nav-link:hover {
  color: #ffffff;
}
.nav-icon {
  font-size: 0.8rem;
  margin-right: 0.35rem;
  color: var(--emerald-400);
  opacity: 0.85;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.btn-whatsapp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--wa-green);
  color: #ffffff;
  font-size: 1.2rem;
  text-decoration: none;
  box-shadow: 0 2px 10px var(--wa-glow);
  transition: all var(--transition-normal);
  flex-shrink: 0;
}
.btn-whatsapp-icon:hover {
  background: var(--wa-hover);
  transform: scale(1.06);
}

.btn-auth {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.btn-login {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}
.btn-login:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
}
.btn-signup {
  background: var(--emerald-500);
  color: #030712;
  border: 1px solid transparent;
  font-weight: 700;
}
.btn-signup:hover {
  background: var(--emerald-400);
  box-shadow: 0 4px 14px var(--emerald-glow);
}

/* Mobile Hamburger (Zero Overflow) */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
  flex-shrink: 0;
}
.hamburger-btn span {
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* Mobile Drawer using transform (Zero layout-width footprint) */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}
.mobile-menu-overlay.active,
.mobile-menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 290px;
  max-width: 82vw;
  height: 100%;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-subtle);
  z-index: 201;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.6);
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform var(--transition-normal), visibility var(--transition-normal);
  will-change: transform;
}
.mobile-drawer.active,
.mobile-drawer.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}
.drawer-logo {
  height: 24px;
  width: auto;
}
.drawer-close {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.35rem;
  cursor: pointer;
}
.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 1.25rem 0;
  overflow-y: auto;
  flex-grow: 1;
}
.drawer-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.925rem;
  font-weight: 500;
}
.drawer-link:hover, .drawer-link:active {
  background: rgba(255, 255, 255, 0.05);
  color: var(--emerald-400);
}
.drawer-link i {
  width: 20px;
  color: var(--emerald-400);
}
.drawer-footer {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}
.drawer-social-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0.65rem 0 0.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
}
.drawer-social-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.2s ease;
}
.drawer-social-icon:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 4rem 0 5rem 0;
}
.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.hero-content,
.hero-widget-wrapper,
.service-card,
.plan-card,
.session-type-card,
.wallet-card,
.step-card,
.feature-card,
.community-card,
.founder-image-col,
.founder-content-col,
.ticker-item,
.container {
  min-width: 0;
  max-width: 100%;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.03em;
  margin: 1.25rem 0;
  color: #ffffff;
}

.hero-tagline {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 580px;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.platform-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
  width: 100%;
  max-width: 100%;
}
.platform-strip-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.platform-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  width: 100%;
  max-width: 100%;
}
.plat-tag {
  font-family: var(--font-mono);
  font-size: 0.725rem;
  font-weight: 600;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  max-width: 100%;
}
.plat-tag i { color: var(--cyan-400); }

/* Market Tickers */
.market-tickers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.75rem;
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
  width: 100%;
}
.ticker-item {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 0.65rem;
}
.ticker-indicator {
  position: absolute;
  left: 0;
  top: 6px;
  width: 3.5px;
  height: 22px;
  border-radius: 2px;
}
.ticker-indicator.positive { background: var(--emerald-400); }
.ticker-indicator.neutral { background: var(--cyan-400); }
.ticker-header-sub {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.usdt-mini-tag {
  color: var(--emerald-400);
  font-weight: 800;
  font-size: 0.9rem;
}
.text-amber { color: var(--amber-400) !important; }
.text-cyan { color: var(--cyan-400) !important; }
.text-emerald { color: var(--emerald-400) !important; }

.ticker-sym {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
}
.ticker-name {
  font-size: 0.7rem;
  color: var(--text-muted);
}
.ticker-price {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--emerald-400);
}

/* ==========================================================================
   USDT EXCHANGE WIDGET
   ========================================================================== */
.hero-widget-wrapper {
  position: relative;
  width: 100%;
}
.exchange-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  width: 100%;
}
.exchange-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--emerald-400), var(--cyan-400), transparent);
}

.exchange-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.15rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 0.5rem;
}
.exchange-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.widget-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: #ffffff;
}
.trust-badge {
  font-size: 0.725rem;
  color: var(--emerald-400);
  background: rgba(16, 185, 129, 0.1);
  padding: 0.18rem 0.5rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}
.security-tag {
  font-size: 0.725rem;
  color: var(--cyan-400);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 600;
  white-space: nowrap;
}

.exchange-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  background: rgba(0, 0, 0, 0.35);
  padding: 0.3rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.15rem;
  width: 100%;
}
.tab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.6rem 0.4rem;
  border-radius: var(--radius-sm);
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}
.tab-btn.active {
  background: var(--bg-surface-elevated);
  color: #ffffff;
  border: 1px solid var(--border-subtle);
}
#tabSell.active { border-bottom: 2px solid var(--emerald-400); }
#tabBuy.active { border-bottom: 2px solid var(--cyan-400); }

.rate-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.18);
  border-radius: var(--radius-sm);
  margin-bottom: 1.15rem;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.rate-info-left {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.rate-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald-400);
  box-shadow: 0 0 8px var(--emerald-400);
  animation: pulseAnimation 1.5s infinite;
  flex-shrink: 0;
}
.rate-label {
  font-size: 0.78rem;
  color: var(--text-secondary);
}
.rate-value {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--emerald-400);
  white-space: nowrap;
}

.exchange-input-group {
  margin-bottom: 0.45rem;
  width: 100%;
}
.input-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
  flex-wrap: wrap;
  gap: 0.25rem;
}
.input-header label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.balance-tag {
  font-size: 0.725rem;
  color: var(--text-muted);
}

.input-box {
  display: flex;
  align-items: center;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.4rem 0.75rem;
  width: 100%;
}
.input-box:focus-within {
  border-color: var(--emerald-400);
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}
.input-box input {
  min-width: 0;
  flex: 1 1 auto;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  width: 100%;
}
.input-box input::-webkit-outer-spin-button,
.input-box input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.currency-tag {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: #ffffff;
  flex-shrink: 0;
}
.curr-icon {
  color: var(--emerald-400);
  font-weight: 800;
}

.exchange-swap-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -0.25rem 0;
  position: relative;
  z-index: 2;
}
.swap-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.quick-presets {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.75rem 0 1rem 0;
  max-width: 100%;
  width: 100%;
}
.preset-label {
  font-size: 0.725rem;
  color: var(--text-muted);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-right: 0.2rem;
}
.preset-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.725rem;
  font-weight: 600;
  padding: 0.28rem 0.55rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  flex: 1 1 calc(20% - 0.4rem);
  min-width: 55px;
  text-align: center;
  transition: all var(--transition-fast);
}
.preset-btn:hover {
  background: rgba(16, 185, 129, 0.12);
  border-color: var(--emerald-400);
  color: var(--emerald-400);
}

.payment-badges-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-bottom: 1.15rem;
  flex-wrap: wrap;
  width: 100%;
}
.pay-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}
.pay-badge i { color: var(--emerald-400); }

.exchange-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
  width: 100%;
}
.widget-footnote {
  font-size: 0.725rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.4;
  margin-top: 0.35rem;
}

/* ==========================================================================
   OFFICIAL WALLET ADDRESSES
   ========================================================================== */
.wallets-section {
  background: rgba(0, 0, 0, 0.25);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.wallets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1.75rem;
  margin-bottom: 2rem;
  width: 100%;
}

.wallet-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
}
.wallet-card:hover {
  border-color: var(--border-active);
}

.wallet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.15rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.net-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.net-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}
.trc-icon {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}
.bep-icon {
  background: rgba(245, 158, 11, 0.15);
  color: var(--amber-400);
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.network-badge {
  font-family: var(--font-mono);
  font-size: 0.725rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.trc-badge {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}
.bep-badge {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--amber-400);
}
.wallet-status {
  font-size: 0.725rem;
  color: var(--emerald-400);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}

.wallet-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}
.qr-container {
  background: #ffffff;
  padding: 0.65rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.15rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.qr-image {
  width: 160px;
  height: 160px;
  object-fit: contain;
}
.qr-network-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: #030712;
  background: rgba(0, 0, 0, 0.08);
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  margin-top: 0.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.wallet-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}
.address-box {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.6rem;
  margin-bottom: 0.85rem;
  overflow: hidden;
}
.address-text {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--cyan-400);
  word-break: break-all;
  overflow-wrap: anywhere;
  display: block;
}

.btn-copy-address {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  width: 100%;
}
.btn-copy-address:hover {
  background: rgba(16, 185, 129, 0.15);
  border-color: var(--emerald-400);
  color: var(--emerald-400);
}
.btn-copy-address.copied {
  background: var(--emerald-500);
  border-color: var(--emerald-500);
  color: #030712;
}

.warning-alert-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: rgba(245, 158, 11, 0.07);
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  color: #fde68a;
  font-size: 0.85rem;
  line-height: 1.55;
  width: 100%;
}
.warning-icon {
  font-size: 1.35rem;
  color: var(--amber-400);
  flex-shrink: 0;
}

/* ==========================================================================
   SERVICES / MARKETS
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.75rem;
  width: 100%;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
}
.service-card.featured-service {
  border-color: rgba(245, 158, 11, 0.35);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.04) 0%, rgba(15, 23, 42, 0.72) 100%);
}
.featured-service-ribbon {
  position: absolute;
  top: -12px;
  right: 18px;
  background: var(--amber-500);
  color: #030712;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  text-transform: uppercase;
}
.service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}
.icon-stock { background: rgba(56, 189, 248, 0.1); color: var(--cyan-400); }
.icon-gold { background: rgba(245, 158, 11, 0.1); color: var(--amber-400); }
.icon-crypto { background: rgba(249, 115, 22, 0.1); color: #fb923c; }

.service-badge {
  font-family: var(--font-mono);
  font-size: 0.725rem;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.service-badge.gold-badge {
  color: var(--amber-400);
  background: rgba(245, 158, 11, 0.1);
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.65rem;
}
.service-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}
.service-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
}
.service-feature-list li {
  font-size: 0.825rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.service-feature-list li i {
  color: var(--emerald-400);
  font-size: 0.725rem;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--emerald-400);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

/* ==========================================================================
   DWG ALGO TRADING ROBOT CHECKOUT (#robot)
   ========================================================================== */
.robot-section {
  background: linear-gradient(180deg, rgba(6, 9, 17, 0) 0%, rgba(14, 22, 38, 0.4) 50%, rgba(6, 9, 17, 0) 100%);
}
.robot-card-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 3rem 2.25rem;
  box-shadow: var(--shadow-lg);
  max-width: 980px;
  margin: 0 auto;
  width: 100%;
}
.features-pill-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 2.5rem 0;
  width: 100%;
}
.feat-pill {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}
.feat-pill i { color: var(--emerald-400); font-size: 0.725rem; }

.wizard-step {
  margin-bottom: 2.25rem;
  width: 100%;
}
.step-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}
.step-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-400);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(16, 185, 129, 0.3);
  display: inline-flex;
  align-items: center;
}

.step-header-with-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.selected-plan-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  color: var(--emerald-400);
}
.btn-change-plan {
  background: transparent;
  border: none;
  color: #ffffff;
  text-decoration: underline;
  cursor: pointer;
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  width: 100%;
}
.plan-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.15rem;
  text-align: center;
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  width: 100%;
}
.plan-card.selected {
  border-color: var(--emerald-400);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, var(--bg-surface) 100%);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.18);
}
.plan-badge-top {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--emerald-500);
  color: #030712;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.18rem 0.65rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}
.plan-badge-top.gold-badge {
  background: var(--amber-500);
  color: #030712;
}
.plan-duration {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.plan-pricing {
  margin: 0.85rem 0 0.35rem 0;
  display: flex;
  align-items: baseline;
  justify-content: center;
}
.plan-pricing .currency {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--emerald-400);
}
.plan-pricing .amount {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}
.plan-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.plan-check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0.85rem 0 1.25rem 0;
  text-align: left;
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.85rem;
}
.plan-check-list li {
  font-size: 0.78rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.plan-check-list li i {
  color: var(--emerald-400);
  font-size: 0.725rem;
}
.plan-card .btn-select-plan {
  margin-top: auto;
  width: 100%;
  font-size: 0.825rem;
  padding: 0.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
  margin-bottom: 1.25rem;
  width: 100%;
}
.form-group {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.form-group.full-width { grid-column: 1 / -1; }
.form-group label {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.required { color: #f87171; }
.form-group input {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.7rem 0.85rem;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.925rem;
  outline: none;
  width: 100%;
}
.form-group input:focus {
  border-color: var(--emerald-400);
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.payment-method-selector {
  margin-bottom: 1.25rem;
  width: 100%;
}
.form-label-section {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
}
.payment-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  width: 100%;
}
.payment-radio-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
}
.payment-radio-card.active {
  border-color: var(--emerald-400);
  background: rgba(16, 185, 129, 0.05);
}
.payment-radio-card input {
  position: absolute;
  opacity: 0;
}
.radio-content {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.radio-indicator {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.payment-radio-card.active .radio-indicator { border-color: var(--emerald-400); }
.payment-radio-card.active .radio-indicator::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-400);
}
.radio-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.radio-desc {
  font-size: 0.725rem;
  color: var(--text-muted);
  display: block;
}

.robot-disclaimer {
  margin-top: 0.85rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}
.robot-disclaimer i { color: var(--emerald-400); }

/* ==========================================================================
   BOOK AN APPOINTMENT (#appointment)
   ========================================================================== */
.appointment-card-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 3rem 2.25rem;
  box-shadow: var(--shadow-lg);
  max-width: 980px;
  margin: 0 auto;
  width: 100%;
}
.appointment-wizard {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
}

.session-type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
  width: 100%;
}
.session-type-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  cursor: pointer;
  width: 100%;
}
.session-type-card.selected {
  border-color: var(--cyan-400);
  background: rgba(56, 189, 248, 0.06);
  box-shadow: 0 4px 16px var(--cyan-glow);
}
.session-radio-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.session-radio-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--text-muted);
  position: relative;
}
.session-type-card.selected .session-radio-dot { border-color: var(--cyan-400); }
.session-type-card.selected .session-radio-dot::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: var(--cyan-400);
}
.session-badge {
  font-size: 0.725rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  color: var(--cyan-400);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.session-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
}
.session-price {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--cyan-400);
  margin-bottom: 0.45rem;
}
.session-desc {
  font-size: 0.825rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.date-pills-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 0.65rem;
  width: 100%;
}
.date-pill {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.4rem;
  text-align: center;
  cursor: pointer;
}
.date-pill.selected {
  border-color: var(--cyan-400);
  background: var(--cyan-400);
  color: #030712;
}
.date-pill .pill-day {
  font-size: 0.725rem;
  font-weight: 600;
  text-transform: uppercase;
  display: block;
}
.date-pill .pill-date {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  display: block;
  margin-top: 0.15rem;
}

.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 0.65rem;
  width: 100%;
}
.time-slot-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.6rem 0.4rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.825rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}
.time-slot-btn.selected {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--cyan-400);
  color: var(--cyan-400);
  font-weight: 700;
}

.booking-summary-banner {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.15rem;
  margin-bottom: 1.25rem;
  width: 100%;
}
.summary-icon {
  font-size: 1.35rem;
  color: var(--cyan-400);
  flex-shrink: 0;
}
.summary-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
}
.summary-fee {
  font-size: 0.825rem;
  color: var(--text-secondary);
}
.summary-fee strong {
  font-family: var(--font-mono);
  color: var(--cyan-400);
}

/* ==========================================================================
   MEET THE FOUNDER (#founder)
   ========================================================================== */
.founder-section {
  border-top: 1px solid var(--border-subtle);
}
.founder-container {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
  width: 100%;
}
.founder-image-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-lg);
  width: 100%;
}
.founder-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.founder-image-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.15rem;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 9, 17, 0.95) 100%);
}
.founder-verified-line {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.founder-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
}
.verified-icon {
  color: var(--cyan-400);
  font-size: 1.1rem;
}
.founder-role {
  font-size: 0.8rem;
  color: var(--amber-400);
  font-weight: 600;
  display: block;
}
.founder-rating {
  font-size: 0.78rem;
  color: #ffffff;
  font-weight: 600;
  margin-top: 0.15rem;
}

.founder-bio p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1.15rem;
}
.founder-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.75rem 0;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  width: 100%;
}
.metric-icon {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}
.metric-number {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--emerald-400);
  line-height: 1.1;
}
.metric-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}
.founder-ctas {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   COMMUNITY GALLERY (#community)
   ========================================================================== */
.community-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 1.15rem;
  width: 100%;
}
.community-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  width: 100%;
}
.featured-community-card {
  grid-column: span 2;
  grid-row: span 2;
}
.community-img-wrap {
  width: 100%;
  height: 100%;
  position: relative;
}
.community-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.community-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(6, 9, 17, 0.9) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}
.community-caption {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ==========================================================================
   USDT HOW IT WORKS & WHY CHOOSE US
   ========================================================================== */
.how-it-works-section {
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid var(--border-subtle);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 1.25rem;
  width: 100%;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.35rem;
  width: 100%;
}
.step-number-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--emerald-400);
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
}
.step-heading {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}
.step-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 1.25rem;
  width: 100%;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.35rem;
  width: 100%;
}
.feat-icon {
  font-size: 1.65rem;
  color: var(--emerald-400);
  margin-bottom: 1.15rem;
}
.feat-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}
.feat-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   CONTACT & NEWSLETTER (#contact)
   ========================================================================== */
.contact-box-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}
.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 2rem 0 2.5rem 0;
  width: 100%;
}
.contact-channel-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.35rem;
  flex-wrap: wrap;
  gap: 0.85rem;
  width: 100%;
}
.channel-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.channel-val-mono {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  word-break: break-all;
}
.contact-action-duo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
@media (max-width: 640px) {
  .contact-action-duo {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
}

.newsletter-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  width: 100%;
}
.newsletter-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.15rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.newsletter-input-group {
  display: flex;
  gap: 0.65rem;
  width: 100%;
}
.newsletter-input-group input {
  min-width: 0;
  flex: 1 1 auto;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  color: #ffffff;
  font-size: 0.925rem;
  outline: none;
}
.newsletter-feedback {
  display: none;
  align-items: center;
  gap: 0.45rem;
  color: var(--emerald-400);
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 0.75rem;
}
.newsletter-feedback.active { display: flex; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: #04060b;
  border-top: 1px solid var(--border-subtle);
  padding: 3.5rem 0 2.5rem 0;
  width: 100%;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 1.25rem;
  width: 100%;
}
.footer-logo {
  height: 26px;
  width: auto;
}
.footer-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--text-secondary);
  font-size: 0.85rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.footer-nav a:hover { color: #ffffff; }

.footer-ecosystem-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
  width: 100%;
}
.eco-badge {
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 500;
  white-space: nowrap;
}

.footer-bottom {
  padding-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
}
.footer-copyright {
  font-size: 0.825rem;
  color: var(--text-muted);
}
.footer-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   FLOATING WHATSAPP FAB BUTTON
   ========================================================================== */
.whatsapp-floating-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: var(--wa-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.75rem;
  box-shadow: 0 8px 24px var(--wa-glow);
  z-index: 99;
  text-decoration: none;
}
.fab-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--wa-green);
  animation: fabPulse 2.2s infinite;
  pointer-events: none;
}

/* ==========================================================================
   MODALS & TOASTS
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}
.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}
.modal-dialog {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 2rem;
  width: 100%;
  max-width: 440px;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
  max-height: 90vh;
  overflow-y: auto;
}
.modal-dialog-wide {
  max-width: 620px;
}
.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  color: var(--text-secondary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-header-brand {
  text-align: center;
  margin-bottom: 1.25rem;
}
.modal-logo {
  height: 26px;
  width: auto;
  margin: 0 auto;
}
.modal-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.modal-sub {
  font-size: 0.825rem;
  color: var(--text-secondary);
}

.modal-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
}
.modal-tab-btn {
  padding: 0.55rem;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}
.modal-tab-btn.active {
  background: var(--bg-surface-elevated);
  color: #ffffff;
}

.modal-tab-pane { display: none; }
.modal-tab-pane.active { display: block; }

.auth-form .form-group { margin-bottom: 0.95rem; }
.label-with-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.forgot-link {
  font-size: 0.75rem;
  color: var(--emerald-400);
  text-decoration: none;
}
.input-password-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.input-password-wrap input {
  width: 100%;
  padding-right: 2.75rem;
}
.toggle-password {
  position: absolute;
  right: 0.85rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
}

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1.15rem 0;
  color: var(--text-muted);
  font-size: 0.75rem;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border-subtle);
}
.auth-divider span { padding: 0 0.65rem; }

.btn-google-sso {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.65rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  width: 100%;
}
.google-icon { width: 18px; height: 18px; flex-shrink: 0; }
.signup-terms-notice {
  font-size: 0.725rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.85rem;
}
.signup-terms-notice a { color: var(--emerald-400); text-decoration: none; }

.modal-wallets-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
  margin-bottom: 1.25rem;
  width: 100%;
}
.modal-wallet-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}
.qr-container-sm {
  background: #ffffff;
  padding: 0.45rem;
  border-radius: var(--radius-sm);
  margin: 0.75rem 0;
}
.qr-container-sm img {
  width: 120px;
  height: 120px;
}
.address-box-sm {
  font-family: var(--font-mono);
  font-size: 0.725rem;
  color: var(--cyan-400);
  word-break: break-all;
  overflow-wrap: anywhere;
  margin-bottom: 0.75rem;
  background: var(--bg-input);
  padding: 0.35rem;
  border-radius: 4px;
  width: 100%;
}

.toast-container {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  z-index: 2000;
  max-width: 90vw;
  pointer-events: none;
  visibility: hidden;
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), visibility 0.35s;
}
.toast-container.active {
  transform: translateX(-50%) translateY(0);
  visibility: visible;
}
.toast-card {
  background: #0f172a;
  border: 1px solid var(--emerald-400);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px var(--emerald-glow);
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
}
.toast-icon { color: var(--emerald-400); font-size: 1rem; flex-shrink: 0; }

/* ==========================================================================
   TABLET & MOBILE ERGONOMIC MEDIA QUERIES (max-width: 1024px, 768px, 480px)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }
  .founder-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .founder-image-card {
    max-width: 440px;
    margin: 0 auto;
  }
  .community-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .plans-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }
  body {
    font-size: 15px;
  }
  .container {
    padding: 0 1rem;
    width: 100%;
    max-width: 100%;
  }
  section {
    padding: 2.75rem 0;
  }

  .nav-links, .btn-login, .btn-signup {
    display: none !important;
  }
  .hamburger-btn {
    display: flex;
  }

  /* Header */
  .header {
    height: 64px;
  }
  .logo-img {
    height: 25px;
  }
  .brand-pro-tag {
    font-size: 0.58rem;
    padding: 0.15rem 0.4rem;
    margin-left: 0.4rem;
  }
  .btn-whatsapp-icon {
    width: 34px;
    height: 34px;
    font-size: 1.05rem;
  }

  /* Typography */
  .section-title {
    font-size: clamp(1.45rem, 5.5vw, 1.85rem);
    line-height: 1.25;
    margin-bottom: 0.45rem;
  }
  .section-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1.75rem;
    line-height: 1.5;
  }

  /* Hero */
  .hero-section {
    padding: 1.5rem 0 2.5rem 0;
  }
  .hero-container {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .hero-title {
    font-size: clamp(1.75rem, 7vw, 2.3rem);
    line-height: 1.2;
    margin: 0.75rem 0;
  }
  .hero-tagline {
    font-size: 0.925rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 1.35rem;
    width: 100%;
  }
  .hero-buttons .btn {
    width: 100%;
    padding: 0.8rem 1.25rem;
    font-size: 0.925rem;
    white-space: normal;
  }
  .platform-strip {
    margin-bottom: 1.25rem;
    gap: 0.4rem;
  }
  .platform-strip-label {
    width: 100%;
    margin-bottom: 0.2rem;
  }
  .plat-tag {
    font-size: 0.68rem;
    padding: 0.18rem 0.45rem;
  }
  .market-tickers {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    padding: 0.65rem;
  }

  /* USDT Exchange */
  .exchange-card {
    padding: 1.25rem 1rem;
    border-radius: var(--radius-lg);
  }
  .exchange-header {
    margin-bottom: 0.75rem;
    padding-bottom: 0.6rem;
  }
  .rate-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding: 0.45rem 0.65rem;
    margin-bottom: 0.75rem;
  }
  .input-box {
    padding: 0.35rem 0.65rem;
  }
  .input-box input {
    font-size: 1.15rem;
  }
  .currency-tag {
    padding: 0.25rem 0.55rem;
    font-size: 0.8rem;
  }
  .quick-presets {
    margin: 0.5rem 0 0.75rem 0;
  }
  .exchange-actions .btn {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  /* All Multi-Column Grids Become Single Column on Mobile */
  .wallets-grid,
  .services-grid,
  .plans-grid,
  .form-grid,
  .payment-options,
  .session-type-grid,
  .steps-grid,
  .features-grid,
  .modal-wallets-grid {
    grid-template-columns: 1fr !important;
    gap: 1.15rem;
    width: 100%;
  }

  /* Wallets */
  .wallet-card {
    padding: 1.25rem 1rem;
  }
  .qr-image {
    width: 135px;
    height: 135px;
  }
  .address-box {
    padding: 0.5rem;
  }
  .address-text {
    font-size: 0.72rem;
  }

  /* Services */
  .service-card {
    padding: 1.35rem 1.15rem;
  }

  /* Robot Card */
  .robot-card-wrapper {
    padding: 1.5rem 1rem;
    border-radius: var(--radius-lg);
  }
  .plan-card {
    padding: 1.25rem 1rem;
  }
  .step-header-with-action {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }
  .form-group input {
    padding: 0.65rem 0.75rem;
    font-size: 16px !important;
    min-height: 44px;
  }
  .payment-radio-card {
    padding: 0.75rem 0.85rem;
  }
  .robot-submit-area .btn {
    min-height: 46px;
  }

  /* Prevent iOS Safari auto-zoom on input focus (which causes horizontal viewport wobble) */
  input, select, textarea,
  .form-group input,
  .newsletter-input-group input,
  .auth-input-wrapper input {
    font-size: 16px !important;
  }

  /* Appointment Card */
  .appointment-card-wrapper {
    padding: 1.5rem 1rem;
    border-radius: var(--radius-lg);
  }
  .session-type-card {
    padding: 1.15rem 1rem;
  }
  .date-pills-row {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y;
    max-width: 100%;
    gap: 0.45rem;
    padding-bottom: 0.35rem;
    width: 100%;
  }
  .date-pills-row::-webkit-scrollbar { display: none; }
  .date-pill {
    min-width: 80px;
    flex-shrink: 0;
    padding: 0.55rem 0.35rem;
  }
  .time-slots-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.45rem;
    width: 100%;
  }
  .time-slot-btn {
    padding: 0.5rem 0.2rem;
    font-size: 0.78rem;
    min-height: 38px;
  }

  /* Founder */
  .founder-image-card {
    max-width: 320px;
    margin: 0 auto;
  }
  .founder-metrics {
    gap: 0.5rem;
    padding: 1rem 0;
  }
  .metric-number {
    font-size: 1.35rem;
  }
  .metric-label {
    font-size: 0.7rem;
  }
  .founder-ctas {
    flex-direction: column;
    width: 100%;
  }
  .founder-ctas .btn {
    width: 100%;
  }

  /* Community Gallery */
  .community-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 140px;
    gap: 0.55rem;
  }
  .featured-community-card {
    grid-column: span 2;
    grid-row: span 1;
    height: 180px;
  }
  .community-overlay {
    padding: 0.65rem;
  }
  .community-caption {
    font-size: 0.78rem;
  }

  /* Contact & Newsletter */
  .contact-box-wrapper {
    padding: 1.5rem 1rem;
    border-radius: var(--radius-lg);
  }
  .contact-channel-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
  }
  .channel-action {
    width: 100%;
  }
  .channel-action .btn {
    width: 100%;
    min-height: 42px;
  }
  .newsletter-card {
    padding: 1.15rem 1rem;
  }
  .newsletter-input-group {
    flex-direction: column;
    gap: 0.5rem;
  }
  .newsletter-input-group input,
  .newsletter-input-group .btn {
    width: 100%;
    min-height: 44px;
  }

  /* Footer */
  .footer {
    padding: 2.5rem 0 2rem 0;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.15rem;
  }
  .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    width: 100%;
  }
  .footer-ecosystem-strip {
    justify-content: flex-start;
    gap: 0.75rem;
    padding: 1.15rem 0;
  }
  .eco-badge {
    width: 100%;
    font-size: 0.75rem;
  }
  .footer-disclaimer {
    font-size: 0.72rem;
    line-height: 1.5;
  }

  /* Floating WhatsApp */
  .whatsapp-floating-fab {
    width: 50px;
    height: 50px;
    bottom: max(18px, env(safe-area-inset-bottom));
    right: max(18px, env(safe-area-inset-right));
    font-size: 1.55rem;
  }

  /* Modals on Mobile */
  .modal-dialog {
    padding: 1.35rem 1rem;
    border-radius: var(--radius-lg);
    max-width: 95vw;
  }
}

/* Smartphone Screens (max-width: 480px) — Compact, Ergonomic, Zero-Wobble Fit */
@media (max-width: 480px) {
  .container {
    padding: 0 max(0.85rem, env(safe-area-inset-left));
  }
  .section-title {
    font-size: clamp(1.35rem, 6vw, 1.7rem);
  }
  .section-subtitle {
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
  }
  .hero-title {
    font-size: clamp(1.65rem, 7.5vw, 2.15rem);
  }
  .hero-tagline {
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
  }
  .hero-buttons .btn {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  .market-tickers {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }
  .exchange-card {
    padding: 1.15rem 0.85rem;
  }
  .quick-presets {
    gap: 0.35rem;
  }
  .preset-btn {
    flex: 1 1 calc(33.333% - 0.35rem);
    min-width: 65px;
    font-size: 0.7rem;
    padding: 0.25rem 0.4rem;
  }
  .wallet-card {
    padding: 1.15rem 0.85rem;
  }
  .qr-image {
    width: 125px;
    height: 125px;
  }
  .robot-card-wrapper {
    padding: 1.15rem 0.85rem;
  }
  .plan-card {
    padding: 1.15rem 0.85rem;
  }
  .appointment-card-wrapper {
    padding: 1.15rem 0.85rem;
  }
  .session-type-card {
    padding: 1rem 0.85rem;
  }
  .time-slots-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem;
  }
  .time-slot-btn {
    padding: 0.5rem 0.25rem;
    font-size: 0.78rem;
    min-height: 40px;
  }
  .founder-image-card {
    max-width: 280px;
  }
  .founder-metrics {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.35rem;
  }
  .metric-number {
    font-size: 1.2rem;
  }
  .metric-label {
    font-size: 0.65rem;
  }
  .community-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 155px;
    gap: 0.5rem;
  }
  .featured-community-card {
    grid-column: span 1;
    height: 165px;
  }
  .contact-box-wrapper {
    padding: 1.15rem 0.85rem;
  }
  .newsletter-card {
    padding: 1rem 0.85rem;
  }
}

/* Extra Small Screens (Smartphones <= 380px) */
@media (max-width: 380px) {
  .hero-title {
    font-size: 1.55rem;
  }
  .market-tickers {
    grid-template-columns: 1fr;
  }
  .time-slots-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .community-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 145px;
  }
  .featured-community-card {
    grid-column: span 1;
    height: 155px;
  }
}

/* ==========================================================================
   MOBILE COMPACT & ERGONOMIC OVERRIDES (ROBOT STEP 2 & AUTH MODALS)
   ========================================================================== */
@media (max-width: 600px) {
  .robot-auth-card {
    padding: 18px 12px !important;
    border-radius: 14px !important;
  }
  .robot-auth-card h4 {
    font-size: 1.1rem !important;
  }
  .robot-auth-card p {
    font-size: 0.82rem !important;
    line-height: 1.45 !important;
    margin-bottom: 14px !important;
  }
  #unauthPlanDisplay {
    font-size: 0.88rem !important;
  }
  #btnMainCreateAccount, #btnMainLoginAccount {
    width: 100% !important;
    justify-content: center !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.95rem !important;
  }
  .modal-dialog {
    padding: 1.25rem 1rem !important;
    max-height: 92vh !important;
    border-radius: var(--radius-lg) !important;
  }
  .modal-dialog-wide {
    padding: 1rem 0.85rem !important;
  }
  .modal-tabs {
    margin-bottom: 1rem !important;
  }
  .modal-tab-btn {
    padding: 0.6rem 0.5rem !important;
    font-size: 0.85rem !important;
  }
  .modal-header-brand {
    margin-bottom: 0.85rem !important;
  }
  .auth-form .form-group {
    margin-bottom: 0.85rem !important;
  }
}
