/* ============================================================
   Settle Landing Page — Core Styles
   ============================================================ */

/* ─── CSS Custom Properties (Brand Palette) ─── */
:root {
  /* Primary — Forest Green family */
  --primary:        #1B4332;
  --primary-light:  #2D5741;
  --primary-dark:   #143326;
  --primary-50:     #E8F5EE;
  --primary-100:    #C8E6D5;
  --primary-200:    #95D5B2;
  --primary-300:    #52B788;
  --primary-400:    #40916C;
  --primary-500:    #2D6A4F;
  --primary-600:    #1B4332;
  --primary-700:    #143326;
  --primary-800:    #0D2218;
  --primary-900:    #07110C;

  /* Accent */
  --accent-gold:    #D4A843;
  --accent-gold-light: #F0DCA4;
  --accent-red:     #DC3545;
  --accent-green:   #28A745;
  --accent-blue:    #3B82F6;
  --accent-purple:  #7C3AED;
  --accent-orange:  #F59E0B;

  /* Neutrals */
  --surface:        #F8F9FA;
  --surface-alt:    #F1F3F5;
  --card:           #FFFFFF;
  --border:         #E9ECEF;
  --border-light:   #F1F3F5;
  --text-primary:   #1A1A2E;
  --text-secondary: #6C757D;
  --text-muted:     #ADB5BD;
  --dark-bg:        #0B1A12;
  --dark-card:      #122A1C;

  /* Gradients */
  --gradient-hero:  linear-gradient(135deg, #0B1A12 0%, #1B4332 50%, #2D6A4F 100%);
  --gradient-gold:  linear-gradient(135deg, #D4A843 0%, #F0DCA4 100%);
  --gradient-cta:   linear-gradient(135deg, #1B4332 0%, #40916C 100%);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;

  /* Spacing */
  --section-padding: 6rem 0;
  --container-max: 1200px;

  /* Borders */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  --shadow-glow: 0 0 40px rgba(27,67,50,0.3);
}

/* ─── Reset & Base ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* ─── Utility Classes ─── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--section-padding);
}

.section-dark {
  background: var(--dark-bg);
  color: #fff;
}

.section-alt {
  background: var(--surface-alt);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 3rem;
}

.section-dark .section-subtitle {
  color: rgba(255,255,255,0.6);
}

.text-center { text-align: center; }
.text-gradient {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-beta {
  background: rgba(212,168,67,0.15);
  color: var(--accent-gold);
  border: 1px solid rgba(212,168,67,0.3);
}

.badge-new {
  background: rgba(40,167,69,0.15);
  color: var(--accent-green);
  border: 1px solid rgba(40,167,69,0.3);
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-lg);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: var(--gradient-cta);
  color: #fff;
  box-shadow: 0 4px 14px rgba(27,67,50,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27,67,50,0.5);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}

.btn-gold {
  background: var(--gradient-gold);
  color: var(--primary-dark);
  box-shadow: 0 4px 14px rgba(212,168,67,0.4);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212,168,67,0.5);
}

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

/* ─── Navigation ─── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(11,26,18,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.75rem 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.025em;
}

.nav-logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-gold);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--primary-dark);
}

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

.nav-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 0.25rem;
  border: 1px solid rgba(255,255,255,0.15);
}

.lang-toggle button {
  padding: 0.25rem 0.625rem;
  border-radius: 0.375rem;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.lang-toggle button.active {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11,26,18,0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

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

.mobile-menu a {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
}

.mobile-menu-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

/* ─── Hero Section ─── */
.hero {
  background: var(--gradient-hero);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80%;
  height: 200%;
  background: radial-gradient(circle, rgba(212,168,67,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--surface) 0%, transparent 100%);
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-text .slogan {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 2.5rem;
  line-height: 1.6;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-mono);
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.25rem;
}

/* Hero Mockup */
.hero-mockup {
  position: relative;
}

.mockup-window {
  background: var(--card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}

.mockup-titlebar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.25rem;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mockup-dot-red { background: #FF5F57; }
.mockup-dot-yellow { background: #FEBC2E; }
.mockup-dot-green { background: #28C840; }

.mockup-titlebar-text {
  flex: 1;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.mockup-body {
  padding: 1.5rem;
}

/* Floating mockup card */
.floating-card {
  position: absolute;
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  animation: float-gentle 4s ease-in-out infinite;
}

.floating-card-1 {
  bottom: -20px;
  left: -40px;
  animation-delay: 0s;
}

.floating-card-2 {
  top: 20px;
  right: -30px;
  animation-delay: 1.5s;
}

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

/* ─── Features Grid ─── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--card);
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-200);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

.feature-icon-green {
  background: var(--primary-50);
  color: var(--primary);
}

.feature-icon-gold {
  background: rgba(212,168,67,0.1);
  color: var(--accent-gold);
}

.feature-icon-blue {
  background: rgba(59,130,246,0.1);
  color: var(--accent-blue);
}

.feature-icon-purple {
  background: rgba(124,58,237,0.1);
  color: var(--accent-purple);
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ─── Trading Pairs ─── */
.pairs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.pair-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.2s ease;
}

.pair-card:hover {
  border-color: var(--primary-200);
  box-shadow: var(--shadow-sm);
}

.pair-flags {
  display: flex;
  align-items: center;
}

.pair-flags span {
  font-size: 1.75rem;
}

.pair-flags span:last-child {
  margin-left: -0.5rem;
}

.pair-name {
  font-weight: 700;
  font-size: 1rem;
  font-family: var(--font-mono);
}

.pair-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.pair-type {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.pair-type-fiat {
  background: var(--primary-50);
  color: var(--primary);
}

.pair-type-crypto {
  background: rgba(124,58,237,0.1);
  color: var(--accent-purple);
}

/* ─── Fees Table ─── */
.fees-table-wrapper {
  background: var(--card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  overflow: hidden;
}

.fees-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.fees-table thead {
  background: var(--primary);
  color: #fff;
}

.fees-table th {
  padding: 1rem 1.5rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.fees-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.fees-table tbody tr:last-child td {
  border-bottom: none;
}

.fees-table tbody tr:hover {
  background: var(--primary-50);
}

.fee-value {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--primary);
}

/* ─── Convert Estimator ─── */
.convert-card {
  background: var(--card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  padding: 2.5rem;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}

.convert-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
}

.convert-input-group {
  margin-bottom: 1.5rem;
}

.convert-input-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.convert-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.convert-input {
  width: 100%;
  padding: 1rem 5rem 1rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  font-size: 1.25rem;
  font-family: var(--font-mono);
  font-weight: 700;
  background: var(--surface);
  color: var(--text-primary);
  transition: border-color 0.2s;
}

.convert-input:focus {
  outline: none;
  border-color: var(--primary);
}

.convert-currency-select {
  position: absolute;
  right: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  background: var(--card);
  cursor: pointer;
  color: var(--text-primary);
}

.convert-swap-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border);
  cursor: pointer;
  transition: all 0.3s;
  color: var(--text-secondary);
}

.convert-swap-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: rotate(180deg);
}

.convert-result {
  background: var(--primary-50);
  border: 2px solid var(--primary-100);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  text-align: center;
}

.convert-result-value {
  font-size: 1.5rem;
  font-family: var(--font-mono);
  font-weight: 800;
  color: var(--primary);
}

.convert-result-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

.convert-result-rate {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  font-family: var(--font-mono);
}

/* ─── Platform Screenshots ─── */
.screenshots-carousel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.screenshot-card {
  background: var(--card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.screenshot-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.screenshot-img {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--surface-alt);
  position: relative;
}

.screenshot-label {
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.screenshot-label .badge {
  font-size: 0.65rem;
}

/* ─── Waitlist ─── */
.waitlist-section {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.waitlist-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.waitlist-card {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.waitlist-form {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
}

.waitlist-input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 1rem;
  backdrop-filter: blur(10px);
  transition: border-color 0.2s;
}

.waitlist-input::placeholder {
  color: rgba(255,255,255,0.4);
}

.waitlist-input:focus {
  outline: none;
  border-color: var(--accent-gold);
}

.waitlist-success {
  display: none;
  text-align: center;
  padding: 2rem 0;
  color: #fff;
}

.waitlist-success.show {
  display: block;
}

.waitlist-form.hidden {
  display: none;
}

.waitlist-count {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* ─── Developer Section ─── */
.dev-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.code-block {
  background: #0D1117;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid #30363D;
}

.code-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: #161B22;
  border-bottom: 1px solid #30363D;
  font-size: 0.8rem;
  color: #8B949E;
}

.code-header .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.code-content {
  padding: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.8;
  color: #C9D1D9;
  overflow-x: auto;
}

.code-content .keyword { color: #FF7B72; }
.code-content .string { color: #A5D6FF; }
.code-content .comment { color: #8B949E; }
.code-content .func { color: #D2A8FF; }
.code-content .var { color: #79C0FF; }

.dev-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.dev-feature-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.dev-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-50);
  color: var(--primary);
  flex-shrink: 0;
  font-size: 1.2rem;
}

.dev-feature-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.dev-feature-item p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ─── AI Trading Section ─── */
.ai-section {
  background: linear-gradient(135deg, #0D2218 0%, #1B4332 60%, #143326 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.ai-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(212,168,67,0.1), transparent 70%);
}

.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.ai-chat-demo {
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem;
  backdrop-filter: blur(10px);
}

.ai-message {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.ai-message-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.ai-message-user .ai-message-avatar {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.ai-message-ai .ai-message-avatar {
  background: var(--gradient-gold);
  color: var(--primary-dark);
}

.ai-message-bubble {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-lg);
  font-size: 0.85rem;
  line-height: 1.5;
  max-width: 85%;
}

.ai-message-user .ai-message-bubble {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.9);
}

.ai-message-ai .ai-message-bubble {
  background: rgba(212,168,67,0.1);
  border: 1px solid rgba(212,168,67,0.2);
  color: rgba(255,255,255,0.9);
}

.mcp-badge-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(255,255,255,0.15);
}

.mcp-badge-container .badge {
  font-size: 0.7rem;
}

.mcp-text {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
}

/* ─── Remittance Section ─── */
.remittance-card {
  max-width: 700px;
  margin: 0 auto;
  background: var(--card);
  border-radius: var(--radius-xl);
  padding: 3rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.remittance-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-gold);
}

.remittance-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
}

.remittance-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.remittance-node-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: var(--primary-50);
  border: 2px solid var(--primary-100);
}

.remittance-node-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.remittance-arrow {
  font-size: 1.5rem;
  color: var(--primary-300);
}

/* ─── Availability Section ─── */
.availability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 700px;
  margin: 0 auto;
}

.availability-card {
  background: var(--card);
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1px solid var(--border);
  text-align: center;
  position: relative;
}

.availability-card.active {
  border-color: var(--primary-200);
  box-shadow: 0 0 0 3px var(--primary-50);
}

.availability-card.coming-soon {
  opacity: 0.6;
}

.availability-flag {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.availability-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.availability-status {
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-top: 0.75rem;
}

.availability-status-active {
  background: rgba(40,167,69,0.1);
  color: var(--accent-green);
}

.availability-status-soon {
  background: rgba(245,158,11,0.1);
  color: var(--accent-orange);
}

/* ─── Mobile App Section ─── */
.mobile-app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.phone-mockup {
  width: 280px;
  height: 560px;
  background: #111;
  border-radius: 40px;
  padding: 12px;
  margin: 0 auto;
  box-shadow: var(--shadow-xl), 0 0 60px rgba(27,67,50,0.2);
  position: relative;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: #111;
  border-radius: 0 0 20px 20px;
  z-index: 2;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--gradient-hero);
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.phone-screen .logo-text {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.5rem;
}

.phone-screen .tagline {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  text-align: center;
}

.store-badges {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all 0.2s;
}

.store-badge:hover {
  border-color: var(--primary-200);
  box-shadow: var(--shadow-md);
}

.store-badge-icon {
  font-size: 2rem;
}

.store-badge-text small {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.store-badge-text strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
}

/* ─── Contact Section ─── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.contact-card {
  background: var(--card);
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.2s;
}

.contact-card:hover {
  border-color: var(--primary-200);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  background: var(--primary-50);
  color: var(--primary);
}

.contact-card h3 {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.contact-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.contact-card a {
  color: var(--primary);
  font-weight: 600;
}

/* ─── Footer ─── */
.footer {
  background: var(--dark-bg);
  color: rgba(255,255,255,0.6);
  padding: 4rem 0 2rem;
}

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

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.6;
  margin-top: 1rem;
  max-width: 300px;
}

.footer h4 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.footer-social a:hover {
  background: var(--primary);
  color: #fff;
}

/* ─── Animations ─── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.slide-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text h1 { font-size: 2.75rem; }
  .hero-text .slogan { margin: 0 auto 2rem; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-mockup { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pairs-grid { grid-template-columns: repeat(2, 1fr); }
  .dev-grid { grid-template-columns: 1fr; }
  .ai-grid { grid-template-columns: 1fr; }
  .mobile-app-grid { grid-template-columns: 1fr; text-align: center; }
  .store-badges { align-items: center; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 4rem 0; }
  .section-title { font-size: 1.75rem; }
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .features-grid { grid-template-columns: 1fr; }
  .pairs-grid { grid-template-columns: 1fr; }
  .screenshots-carousel { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 2.25rem; }
  .hero-stats { flex-direction: column; gap: 1rem; align-items: center; }
  .waitlist-form { flex-direction: column; }
  .fees-table { font-size: 0.8rem; }
  .fees-table th, .fees-table td { padding: 0.75rem 1rem; }
  .remittance-flow { flex-direction: column; gap: 1rem; }
  .remittance-arrow { transform: rotate(90deg); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .availability-grid { grid-template-columns: 1fr; }
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--text-muted); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-secondary); }

/* ─── UI Mockup Styles (inline screenshots) ─── */
.ui-mockup {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--text-primary);
  padding: 1rem;
}

.ui-mockup-dashboard {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ui-mini-card {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  border: 1px solid var(--border);
}

.ui-mini-card-primary {
  background: var(--primary);
  color: #fff;
  border: none;
}

.ui-mini-row {
  display: flex;
  gap: 0.5rem;
}

.ui-mini-row > * {
  flex: 1;
}

.ui-mini-label {
  font-size: 9px;
  opacity: 0.6;
  margin-bottom: 2px;
}

.ui-mini-value {
  font-size: 14px;
  font-weight: 800;
  font-family: var(--font-mono);
}

.ui-mini-badge {
  display: inline-block;
  font-size: 8px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 9999px;
  margin-top: 4px;
}

.ui-mini-badge-green {
  background: rgba(40,167,69,0.15);
  color: #28A745;
}

.ui-mini-table {
  width: 100%;
  border-collapse: collapse;
}

.ui-mini-table th {
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  text-align: left;
  padding: 4px 0;
  border-bottom: 1px solid var(--border);
}

.ui-mini-table td {
  font-size: 10px;
  padding: 5px 0;
  border-bottom: 1px solid var(--border-light);
}

.ui-mini-table .mono {
  font-family: var(--font-mono);
  font-weight: 600;
}

.ui-mini-table .green { color: #28A745; }
.ui-mini-table .red { color: #DC3545; }

.ui-orderbook-visual {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ui-ob-row {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  font-family: var(--font-mono);
}

.ui-ob-bar {
  height: 14px;
  border-radius: 2px;
  opacity: 0.2;
}

.ui-ob-bar-green { background: #28A745; }
.ui-ob-bar-red { background: #DC3545; }

.ui-ob-price { width: 50px; text-align: right; font-weight: 600; }
.ui-ob-size { width: 40px; color: var(--text-muted); }

/* Convert mockup */
.ui-convert-mock {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ui-convert-field {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ui-convert-field .amount {
  font-size: 16px;
  font-weight: 800;
  font-family: var(--font-mono);
}

.ui-convert-field .currency {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
}

.ui-convert-swap-icon {
  text-align: center;
  font-size: 16px;
  color: var(--primary);
}

.ui-convert-result-mock {
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.75rem;
  text-align: center;
}

.ui-convert-result-mock .amount {
  font-size: 16px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--primary);
}

.ui-convert-result-mock .label {
  font-size: 8px;
  color: var(--text-secondary);
  margin-top: 2px;
}
