/* ============================================
   Wallet of USDT - Production Website Styles
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --primary: #26A17B;
  --primary-light: #2dc08c;
  --primary-dark: #1d8a66;
  --primary-glow: rgba(38, 161, 123, 0.3);
  --primary-subtle: rgba(38, 161, 123, 0.08);

  --bg: #0a0a0a;
  --bg-alt: #0d0d0d;
  --surface: #111118;
  --surface-2: #1a1a2e;
  --surface-3: #16213e;
  --card: rgba(255, 255, 255, 0.04);
  --card-hover: rgba(255, 255, 255, 0.07);
  --card-border: rgba(255, 255, 255, 0.08);

  --text: #f5f5f5;
  --text-secondary: #a0a0a0;
  --text-muted: #6b6b6b;
  --text-accent: #26A17B;

  --error: #ff6b6b;
  --warning: #ffb347;
  --success: #00c853;
  --info: #4fc3f7;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(38, 161, 123, 0.15);

  --nav-height: 72px;
  --container-max: 1200px;
  --container-wide: 1400px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

[dir="rtl"] body {
  direction: rtl;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-light);
}

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

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 50%, #50e3a4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.container--wide {
  max-width: var(--container-wide);
}

section {
  padding: 100px 0;
  position: relative;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(10, 10, 10, 0.8);
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.95);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 24px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text);
  text-decoration: none;
}

.nav__logo-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav__links a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color var(--transition);
  text-decoration: none;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--text);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--card);
  border: 1px solid var(--card-border);
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-size: 0.8125rem;
  font-family: inherit;
  transition: all var(--transition);
}

.nav__lang-btn:hover {
  background: var(--card-hover);
  color: var(--text);
}

.nav__lang-btn svg {
  width: 16px;
  height: 16px;
}

.nav__cta {
  background: var(--primary);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--transition);
  text-decoration: none !important;
}

.nav__cta:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}

/* Mobile menu */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav__mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(20px);
  padding: 24px;
  z-index: 999;
}

.nav__mobile-menu.open {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav__mobile-menu a {
  display: block;
  padding: 14px 16px;
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  text-decoration: none;
}

.nav__mobile-menu a:hover {
  background: var(--card);
  color: var(--text);
}

.nav__mobile-lang-btn {
  width: 100%;
  justify-content: center;
  padding: 14px 16px;
  border-radius: var(--radius-md);
}

/* Language Modal */
.lang-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
}

.lang-modal.open {
  display: flex;
}

.lang-modal__content {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 32px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
}

.lang-modal__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lang-modal__close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.5rem;
  padding: 4px;
  line-height: 1;
}

.lang-modal__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
}

.lang-modal__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid transparent;
  background: none;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.875rem;
  text-align: start;
  width: 100%;
}

.lang-modal__item:hover {
  background: var(--card);
  color: var(--text);
}

.lang-modal__item.active {
  background: var(--primary-subtle);
  border-color: var(--primary);
  color: var(--primary);
}

.lang-modal__item .flag {
  font-size: 1.25rem;
  line-height: 1;
}

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

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__bg::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(38, 161, 123, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-glow 4s ease-in-out infinite;
}

.hero__bg::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(38, 161, 123, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-glow 4s ease-in-out infinite 2s;
}

.hero__grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__content {
  max-width: 560px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(38, 161, 123, 0.15), rgba(38, 161, 123, 0.05));
  border: 1px solid rgba(38, 161, 123, 0.2);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease forwards;
}

.hero__badge svg {
  width: 16px;
  height: 16px;
}

.hero__title {
  margin-bottom: 20px;
  animation: fadeInUp 0.6s ease 0.1s forwards;
  opacity: 0;
}

.hero__subtitle {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-weight: 400;
  animation: fadeInUp 0.6s ease 0.2s forwards;
  opacity: 0;
}

.hero__desc {
  color: var(--text-muted);
  margin-bottom: 36px;
  font-size: 1rem;
  max-width: 480px;
  animation: fadeInUp 0.6s ease 0.3s forwards;
  opacity: 0;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: fadeInUp 0.6s ease 0.4s forwards;
  opacity: 0;
}

.hero__stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--card-border);
  animation: fadeInUp 0.6s ease 0.5s forwards;
  opacity: 0;
}

.hero__stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

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

/* Phone Mockup */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  animation: fadeIn 1s ease 0.3s forwards;
  opacity: 0;
}

.phone-mockup {
  width: 280px;
  height: 580px;
  background: #111;
  border-radius: 40px;
  border: 3px solid #2a2a2a;
  padding: 12px;
  position: relative;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    var(--shadow-lg),
    0 0 80px rgba(38, 161, 123, 0.1);
}

.phone-mockup__notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: #000;
  border-radius: 0 0 16px 16px;
  z-index: 10;
}

.phone-mockup__screen {
  width: 100%;
  height: 100%;
  background: var(--bg);
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* App Bar inside phone */
.phone-screen__appbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 38px 16px 8px;
}

.phone-screen__appbar-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text);
}

.phone-screen__appbar-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
}

.phone-screen__header {
  margin: 0 12px;
  padding: 14px 16px 16px;
  text-align: center;
  background: linear-gradient(135deg, #1A3A2A, #0D1F2D);
  border-radius: 16px;
  border: 1px solid rgba(38, 161, 123, 0.3);
}

.phone-screen__balance-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.phone-screen__chain-icons {
  display: flex;
  align-items: center;
}

.phone-screen__chain-dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid var(--bg);
}

.phone-screen__balance-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-align: left;
}

.phone-screen__balance {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  text-align: center;
}

.phone-screen__balance-sub {
  font-size: 0.7rem;
  color: var(--text-secondary);
  margin-top: 2px;
  text-align: center;
}

.phone-screen__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(38, 161, 123, 0.12);
  border: 1px solid rgba(38, 161, 123, 0.25);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 10px;
  letter-spacing: 0.05em;
}

.phone-screen__actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 16px 20px;
}

.phone-screen__action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.phone-screen__action-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #fff;
}

.phone-screen__action-label {
  font-size: 0.6rem;
  color: var(--text-muted);
}

.phone-screen__txns {
  flex: 1;
  padding: 12px 16px;
  background: var(--surface);
  border-radius: 20px 20px 0 0;
}

.phone-screen__txn-title {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.phone-screen__txn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
}

.phone-screen__txn + .phone-screen__txn {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.phone-screen__txn-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.phone-screen__txn-icon.received {
  background: rgba(0, 200, 83, 0.12);
  color: var(--success);
}

.phone-screen__txn-icon.sent {
  background: rgba(255, 107, 107, 0.12);
  color: var(--error);
}

.phone-screen__txn-info {
  flex: 1;
  min-width: 0;
}

.phone-screen__txn-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text);
}

.phone-screen__txn-addr {
  font-size: 0.55rem;
  color: var(--text-muted);
  font-family: 'SF Mono', 'Fira Code', monospace;
}

.phone-screen__txn-amount {
  font-size: 0.7rem;
  font-weight: 600;
  text-align: right;
}

.phone-screen__txn-amount.positive {
  color: var(--success);
}

.phone-screen__txn-amount.negative {
  color: var(--error);
}

/* Floating elements around phone */
.phone-mockup__float {
  position: absolute;
  padding: 10px 16px;
  background: rgba(20, 20, 30, 0.9);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  font-size: 0.75rem;
  white-space: nowrap;
  animation: float 3s ease-in-out infinite;
}

.phone-mockup__float--1 {
  top: 15%;
  right: -60px;
  animation-delay: 0s;
}

.phone-mockup__float--2 {
  bottom: 25%;
  left: -70px;
  animation-delay: 1s;
}

.phone-mockup__float--3 {
  top: 60%;
  right: -50px;
  animation-delay: 2s;
}

.phone-mockup__float-label {
  color: var(--text-muted);
  font-size: 0.625rem;
  margin-bottom: 2px;
}

.phone-mockup__float-value {
  color: var(--text);
  font-weight: 600;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
}

.btn--primary:hover {
  background: var(--primary-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--card-border);
}

.btn--outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-subtle);
}

.btn--store {
  background: #fff;
  color: #000;
  padding: 12px 24px;
  font-size: 0.875rem;
  gap: 10px;
}

.btn--store:hover {
  background: #f0f0f0;
  color: #000;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--store svg {
  width: 20px;
  height: 20px;
}

.btn--store-info {
  text-align: left;
  line-height: 1.2;
}

[dir="rtl"] .btn--store-info {
  text-align: right;
}

.btn--store-label {
  font-size: 0.625rem;
  font-weight: 400;
  opacity: 0.7;
  display: block;
}

.btn--store-name {
  font-weight: 700;
  font-size: 0.875rem;
  display: block;
}

/* ---------- Section Headers ---------- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.section-header__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.section-header__title {
  margin-bottom: 16px;
}

.section-header__desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
}

/* ---------- Features Section ---------- */
.features {
  background: var(--bg-alt);
}

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

.feature-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-card:hover {
  background: var(--card-hover);
  border-color: rgba(38, 161, 123, 0.2);
  transform: translateY(-4px);
}

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

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.feature-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.feature-card__desc {
  font-size: 0.8375rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ---------- Security Section ---------- */
.security {
  position: relative;
  overflow: hidden;
}

.security__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.security__bg::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(38, 161, 123, 0.05) 0%, transparent 60%);
  border-radius: 50%;
}

.security__banner {
  background: linear-gradient(135deg, rgba(38, 161, 123, 0.1), rgba(38, 161, 123, 0.03));
  border: 1px solid rgba(38, 161, 123, 0.15);
  border-radius: var(--radius-xl);
  padding: 32px 40px;
  text-align: center;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

.security__banner-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.security__banner-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: 8px;
}

.security__banner-desc {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  max-width: 600px;
  margin: 0 auto;
}

.security__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}

.security-card {
  display: flex;
  gap: 20px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
}

.security-card:hover {
  background: var(--card-hover);
  border-color: rgba(38, 161, 123, 0.15);
}

.security-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--primary-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.security-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.security-card__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ---------- Chains Section ---------- */
.chains {
  background: var(--bg-alt);
}

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

.chain-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all var(--transition);
}

.chain-card:hover {
  background: var(--card-hover);
  transform: translateY(-2px);
}

.chain-card__logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.chain-card__logo--base { background: linear-gradient(135deg, #0052FF, #3B82F6); color: #fff; }
.chain-card__logo--ethereum { background: linear-gradient(135deg, #627EEA, #8B9FEF); color: #fff; }
.chain-card__logo--polygon { background: linear-gradient(135deg, #8247E5, #A66FF7); color: #fff; }
.chain-card__logo--arbitrum { background: linear-gradient(135deg, #28A0F0, #5BC0F7); color: #fff; }
.chain-card__logo--bnb { background: linear-gradient(135deg, #F3BA2F, #F7CE5C); color: #000; }
.chain-card__logo--tron { background: linear-gradient(135deg, #FF0013, #FF4D5A); color: #fff; }

.chain-card__name {
  font-weight: 600;
  color: var(--text);
  font-size: 1rem;
}

.chain-card__fee {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.chain-card__fee .highlight {
  color: var(--primary);
  font-weight: 600;
}

/* ---------- Fee Table ---------- */
.fees__table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
}

.fees__table {
  width: 100%;
  border-collapse: collapse;
}

.fees__table th,
.fees__table td {
  padding: 16px 24px;
  text-align: left;
  border-bottom: 1px solid var(--card-border);
  font-size: 0.9375rem;
}

[dir="rtl"] .fees__table th,
[dir="rtl"] .fees__table td {
  text-align: right;
}

.fees__table th {
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.fees__table td {
  background: var(--card);
}

.fees__table tr:last-child td {
  border-bottom: none;
}

.fees__table .fee-highlight {
  color: var(--primary);
  font-weight: 700;
}

.fees__table .fee-free {
  color: var(--success);
  font-weight: 700;
}

/* ---------- CTA Section ---------- */
.cta {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg-alt), var(--bg));
  pointer-events: none;
}

.cta__bg::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(38, 161, 123, 0.08) 0%, transparent 60%);
  border-radius: 50%;
}

.cta__content {
  position: relative;
  z-index: 1;
}

.cta__title {
  margin-bottom: 16px;
}

.cta__desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 36px;
}

.cta__buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--card-border);
  padding: 60px 0 32px;
  background: var(--bg);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand {
  max-width: 300px;
}

.footer__brand-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text);
  margin-bottom: 12px;
}

.footer__brand-desc {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer__col-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: color var(--transition);
  text-decoration: none;
}

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

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--card-border);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer__bottom-links {
  display: flex;
  gap: 24px;
}

.footer__bottom-links a {
  color: var(--text-muted);
  text-decoration: none;
}

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

/* ---------- Legal/Policy Pages ---------- */
.legal {
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 80px;
  min-height: 100vh;
}

.legal__header {
  text-align: center;
  margin-bottom: 48px;
}

.legal__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 12px;
}

.legal__updated {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.legal__content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 48px;
}

.legal__content h2 {
  font-size: 1.375rem;
  color: var(--text);
  margin: 36px 0 16px;
}

.legal__content h2:first-of-type {
  margin-top: 0;
}

.legal__content h3 {
  font-size: 1.125rem;
  color: var(--text);
  margin: 24px 0 12px;
}

.legal__content p {
  margin-bottom: 12px;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.legal__content ul,
.legal__content ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

[dir="rtl"] .legal__content ul,
[dir="rtl"] .legal__content ol {
  padding-left: 0;
  padding-right: 24px;
}

.legal__content li {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 6px;
}

.legal__content strong {
  color: var(--text);
}

.legal__content a {
  color: var(--primary);
}

.legal__content .highlight-box {
  background: var(--primary-subtle);
  border: 1px solid rgba(38, 161, 123, 0.2);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 20px 0;
}

.legal__content .highlight-box p {
  color: var(--text-secondary);
  margin-bottom: 0;
}

.legal__content .highlight-box strong {
  color: var(--primary-light);
}

.legal__content .warning-box {
  background: rgba(255, 179, 71, 0.08);
  border: 1px solid rgba(255, 179, 71, 0.2);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 20px 0;
}

.legal__content .warning-box p {
  color: var(--text-secondary);
  margin-bottom: 0;
}

.legal__content .warning-box strong {
  color: var(--warning);
}

.legal__toc {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 32px;
}

.legal__toc-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.legal__toc ol {
  list-style: decimal;
  padding-left: 20px;
}

[dir="rtl"] .legal__toc ol {
  padding-left: 0;
  padding-right: 20px;
}

.legal__toc li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.legal__toc a {
  color: var(--text-secondary);
  text-decoration: none;
}

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

/* FAQ / Support */
.faq__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq__item.open {
  border-color: rgba(38, 161, 123, 0.2);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
}

[dir="rtl"] .faq__question {
  text-align: right;
}

.faq__question:hover {
  color: var(--primary);
}

.faq__question svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition);
  flex-shrink: 0;
  color: var(--text-muted);
}

.faq__item.open .faq__question svg {
  transform: rotate(180deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq__item.open .faq__answer {
  max-height: 500px;
}

.faq__answer-inner {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* Contact section on support page */
.support__contact {
  max-width: 800px;
  margin: 48px auto 0;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 40px;
  text-align: center;
}

.support__contact-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.support__contact-desc {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.support__contact-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 1.125rem;
  font-weight: 600;
}

/* ---------- Scroll Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------- Keyframe Animations ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

  .hero__content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero__desc {
    max-width: 100%;
  }

  .hero__buttons {
    justify-content: center;
  }

  .hero__stats {
    justify-content: center;
  }

  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .security__grid {
    grid-template-columns: 1fr;
  }

  .chains__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }

  .nav__links {
    display: none;
  }

  .nav__actions {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .features__grid {
    grid-template-columns: 1fr;
  }

  .chains__grid {
    grid-template-columns: 1fr;
  }

  .phone-mockup {
    width: 240px;
    height: 510px;
  }

  .phone-mockup__float {
    display: none;
  }

  .hero__stats {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .legal__content {
    padding: 28px 20px;
  }

  .security__banner {
    padding: 24px 20px;
  }

  .hero__buttons {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }

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

  .hero__buttons .btn--outline {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
  }

  .cta__buttons {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

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

  .cta__buttons .btn--primary {
    order: -1;
  }
}

@media (max-width: 480px) {
  .hero__buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero__buttons .btn,
  .cta__buttons .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
  }

  .hero__buttons .btn--primary,
  .cta__buttons .btn--primary {
    padding: 16px 24px;
    font-size: 0.9375rem;
  }

  .hero__buttons .btn--outline,
  .cta__buttons .btn--outline {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    padding: 16px 24px;
    font-size: 0.9375rem;
  }

  .hero__buttons .btn--outline:hover,
  .cta__buttons .btn--outline:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    color: #fff;
  }

  .cta__buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }

  .lang-modal__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Print Styles ---------- */
@media print {
  .nav, .footer, .cta, .lang-modal {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .legal__content {
    background: none;
    border: none;
    padding: 0;
  }
}
