/* ============================================
   GiftCard Exchange - Main Stylesheet
   Modern, vibrant design with rich gradients
   ============================================ */

/* === CSS Variables === */
:root {
  --primary: #0ea5e9;
  --primary-dark: #0284c7;
  --primary-darker: #0369a1;
  --primary-light: #e0f2fe;
  --primary-ultra-light: #f0f9ff;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --accent-glow: rgba(245, 158, 11, 0.15);
  --success: #10b981;
  --success-dark: #059669;
  --success-light: #d1fae5;
  --success-ultra-light: #ecfdf5;
  --danger: #ef4444;
  --danger-dark: #dc2626;
  --danger-light: #fee2e2;
  --warning: #f59e0b;
  --warning-light: #fef3c7;
  --info: #8b5cf6;
  --info-light: #ede9fe;
  --info-ultra-light: #f5f3ff;

  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-warm: #fffbf5;
  --bg-dark: #0f172a;
  --bg-dark-card: #1e293b;
  --text: #1e293b;
  --text-light: #64748b;
  --text-muted: #94a3b8;
  --border: #e2e8f0;
  --border-light: #f1f5f9;

  --gradient-hero: linear-gradient(135deg, #0ea5e9 0%, #6366f1 50%, #8b5cf6 100%);
  --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
  --gradient-success: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  --gradient-cool: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  --gradient-warm: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  --gradient-sky: linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 40%, #ffffff 100%);

  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 48px rgba(0,0,0,0.14);
  --shadow-primary: 0 8px 24px rgba(14,165,233,0.25);
  --shadow-success: 0 8px 24px rgba(16,185,129,0.25);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container: 1200px;
  --header-height: 72px;
}

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: all 0.2s; }
a:hover { color: var(--primary-dark); }
ul { list-style: none; }

/* === Container === */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font);
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--gradient-hero);
  color: #fff;
  border: none;
  box-shadow: var(--shadow-primary);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(14,165,233,0.35);
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn--outline:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-primary);
}

.btn--white {
  background: #fff;
  color: var(--primary-dark);
  font-weight: 700;
}
.btn--white:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}

.btn--danger { background: var(--danger); color: #fff; }
.btn--danger:hover { background: var(--danger-dark); color: #fff; }

.btn--success {
  background: var(--gradient-success);
  color: #fff;
  border: none;
  box-shadow: var(--shadow-success);
}
.btn--success:hover { transform: translateY(-1px); color: #fff; }

.btn--sm { padding: 9px 18px; font-size: 13px; }
.btn--lg { padding: 17px 36px; font-size: 17px; border-radius: var(--radius-lg); }
.btn--xs { padding: 6px 14px; font-size: 12px; }
.btn--full { width: 100%; }

.btn--icon {
  padding: 9px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-light);
}
.btn--icon:hover { background: var(--bg-alt); }

/* === Header === */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  height: var(--header-height);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.3px;
}
.header__logo img { width: 38px; height: 38px; }
.header__logo span:first-of-type {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header__nav-list {
  display: flex;
  gap: 2px;
}

/* Hide mobile-only nav items on desktop */
.header__nav-mobile-only { display: none; }

.header__nav-link {
  padding: 8px 15px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  border-radius: var(--radius);
  transition: all 0.2s;
}
.header__nav-link:hover,
.header__nav-link.active {
  color: var(--primary);
  background: var(--primary-light);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.header__mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Language Switcher */
.lang-switcher { position: relative; }
.lang-switcher__btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 11px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.lang-switcher__dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 4px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 150px;
  z-index: 200;
}
.lang-switcher__dropdown.show { display: block; }
.lang-switcher__option {
  display: block;
  padding: 11px 16px;
  font-size: 14px;
  color: var(--text);
  transition: background 0.15s;
}
.lang-switcher__option:hover { background: var(--bg-alt); }
.lang-switcher__option.active { color: var(--primary); font-weight: 700; }

/* Currency Switcher */
.currency-switcher__select {
  padding: 7px 11px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}

/* User Menu */
.user-menu { position: relative; }
.user-menu__btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: var(--primary-ultra-light);
  border: 1px solid var(--primary-light);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-dark);
}
.user-menu__avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gradient-hero);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}
.user-menu__dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 4px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  z-index: 200;
}
.user-menu__dropdown.show { display: block; }
.user-menu__dropdown a {
  display: block;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text);
  transition: background 0.15s;
}
.user-menu__dropdown a:hover { background: var(--bg-alt); }
.user-menu__dropdown hr { margin: 4px 0; border: none; border-top: 1px solid var(--border); }

/* === Hero === */
.hero {
  padding: 70px 0;
  background: var(--gradient-sky);
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(14,165,233,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(139,92,246,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__title {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero__title span {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 18px;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 34px;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  margin-bottom: 44px;
}

.hero__trust {
  display: flex;
  gap: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.hero__trust-item {
  display: flex;
  flex-direction: column;
}

.hero__trust-number {
  font-size: 26px;
  font-weight: 800;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__trust-label {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
}

/* Calculator */
.calculator {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  position: relative;
}
.calculator::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-hero);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.calculator__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
  color: var(--text);
}

.calculator__field {
  margin-bottom: 16px;
}

.calculator__field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.calculator__select,
.calculator__input {
  width: 100%;
  padding: 13px 15px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: var(--font);
  transition: all 0.2s;
  background: #fff;
}
.calculator__select:focus,
.calculator__input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
}

.calculator__result {
  background: var(--gradient-sky);
  border-radius: var(--radius);
  padding: 20px;
  margin: 18px 0;
  border-left: 4px solid var(--primary);
}

.calculator__result-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-light);
}

.calculator__result-row--total {
  border-top: 2px dashed var(--primary);
  margin-top: 10px;
  padding-top: 14px;
  font-size: 18px;
  color: var(--text);
}

.calculator__result-row--total strong {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 26px;
  font-weight: 800;
}

/* === Sections === */
.section {
  padding: 90px 0;
}

.section--alt {
  background: var(--bg-alt);
  position: relative;
}

.section--dark {
  background: var(--gradient-dark);
  color: #fff;
}

.section--accent {
  background: var(--gradient-hero);
  color: #fff;
  position: relative;
}
.section--accent::before {
  content: '';
  position: absolute;
  inset: 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.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.section__title {
  font-size: 38px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.section__title--light { color: #fff; }

.section__subtitle {
  font-size: 17px;
  color: var(--text-light);
  text-align: center;
  max-width: 620px;
  margin: 0 auto 52px;
  line-height: 1.7;
}

.section__subtitle--light { color: #94a3b8; }

.section__action {
  text-align: center;
  margin-top: 36px;
}

/* === Steps (How It Works) === */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  max-width: 920px;
  margin: 0 auto;
}

.step {
  text-align: center;
  padding: 36px 24px;
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-hero);
  opacity: 0;
  transition: opacity 0.3s;
}
.step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.step:hover::before { opacity: 1; }

.step__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 22px;
  background: var(--primary-ultra-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  position: relative;
}
.step:nth-child(2) .step__icon { background: var(--success-ultra-light); color: var(--success); }
.step:nth-child(3) .step__icon { background: var(--accent-glow); color: var(--accent); }

.step__title {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text);
}

.step__text {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.65;
}

/* === Cards Grid === */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 18px;
}

.card-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 18px;
  background: #fff;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-decoration: none;
  color: var(--text);
  position: relative;
  overflow: hidden;
}
.card-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--info));
  opacity: 0;
  transition: opacity 0.3s;
}
.card-item:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 28px rgba(14,165,233,0.15), 0 2px 6px rgba(0,0,0,0.06);
  transform: translateY(-5px);
  color: var(--text);
}
.card-item:hover::before { opacity: 1; }

/* Brand icon — auto-generated colored initial */
.card-item__icon {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  background: var(--ci, var(--gradient-hero));
  letter-spacing: -1px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-item:hover .card-item__icon {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}

/* Fallback for when img fails to load */
.card-item__fallback {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  background: var(--gradient-hero);
}

.card-item__logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.card-item:hover .card-item__logo {
  transform: scale(1.05);
}

.card-item__name {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.35;
}

.card-item__rate {
  font-size: 12px;
  color: #fff;
  font-weight: 700;
  background: var(--gradient-success);
  padding: 3px 12px;
  border-radius: 20px;
}

/* === Rates Table === */
.rates-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.rates-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.rates-table th {
  padding: 16px 18px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  background: var(--bg-alt);
  border-bottom: 2px solid var(--border);
}

.rates-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
}

.rates-table tr:last-child td { border-bottom: none; }
.rates-table tr:hover { background: var(--bg-alt); }

.rates-table__card {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rates-table__logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.rates-table__rate {
  color: var(--success-dark);
  font-size: 20px;
  font-weight: 800;
}

/* === Features Grid === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature {
  padding: 36px 28px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.feature::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-hero);
  transform: scaleX(0);
  transition: transform 0.3s;
}
.feature:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.feature:hover::after { transform: scaleX(1); }

.feature:nth-child(1)::after { background: var(--gradient-hero); }
.feature:nth-child(2)::after { background: var(--gradient-accent); }
.feature:nth-child(3)::after { background: var(--gradient-success); }
.feature:nth-child(4)::after { background: var(--gradient-cool); }
.feature:nth-child(5)::after { background: var(--gradient-warm); }
.feature:nth-child(6)::after { background: linear-gradient(135deg, #ec4899, #8b5cf6); }

.feature__icon {
  font-size: 36px;
  margin-bottom: 18px;
  display: inline-block;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.feature h3 {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text);
}

.feature p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.7;
}

/* === Stats Grid === */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 18px;
  margin-bottom: 36px;
}

.stat-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 26px 20px;
  text-align: center;
  transition: all 0.25s;
}
.stat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.stat-card--highlight {
  background: var(--gradient-hero);
  border-color: transparent;
  color: #fff;
}
.stat-card--highlight .stat-card__label { color: rgba(255,255,255,0.85); }

.stat-card__icon { font-size: 30px; margin-bottom: 10px; }
.stat-card__value { font-size: 30px; font-weight: 900; color: var(--text); }
.stat-card--highlight .stat-card__value { color: #fff; }
.stat-card__label { font-size: 13px; color: var(--text-light); margin-top: 4px; font-weight: 500; }

/* === Admin Stats Row === */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.stat-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  border-left: 4px solid transparent;
}
.stat-box--primary   { border-color: var(--primary); }
.stat-box--success   { border-color: var(--success); }
.stat-box--warning   { border-color: #f59e0b; }
.stat-box--danger    { border-color: #ef4444; }
.stat-box--info      { border-color: #3b82f6; }
.stat-box__value {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}
.stat-box__label {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 6px;
}

/* === Card Component === */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  margin-bottom: 24px;
}

.card--accent {
  background: var(--gradient-sky);
  border-color: var(--primary-light);
}

.card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.card__header h3 { font-size: 19px; font-weight: 800; }

/* === Tables === */
.table-wrapper { overflow-x: auto; border-radius: var(--radius); }

.table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.table th {
  padding: 13px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-bottom: 2px solid var(--primary);
  background: var(--primary-ultra-light);
}

.table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
}

/* === Status Badges === */
.status-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: capitalize;
}

.status-badge--pending { background: var(--warning-light); color: #92400e; border: 1px solid #fde68a; }
.status-badge--under_review { background: var(--info-light); color: #5b21b6; border: 1px solid #ddd6fe; }
.status-badge--approved { background: var(--success-light); color: #065f46; border: 1px solid #a7f3d0; }
.status-badge--completed { background: var(--success-light); color: #065f46; border: 1px solid #a7f3d0; }
.status-badge--rejected { background: var(--danger-light); color: #991b1b; border: 1px solid #fecaca; }
.status-badge--cancelled { background: #f3f4f6; color: #6b7280; border: 1px solid #e5e7eb; }
.status-badge--credited { background: var(--success-light); color: #065f46; border: 1px solid #a7f3d0; }

/* === Forms === */
.form { max-width: 480px; }
.auth-form { max-width: 480px; margin: 0 auto; }

.form__group {
  margin-bottom: 18px;
}

.form__group label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 7px;
  color: var(--text);
}

.form__input,
.form textarea {
  width: 100%;
  padding: 13px 15px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: var(--font);
  transition: all 0.2s;
  background: #fff;
}

.form__input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
}

/* Phone input with country code selector */
.phone-input-group {
  display: flex;
  gap: 0;
  align-items: stretch;
}
.phone-input-group .phone-country-select {
  width: 140px;
  flex-shrink: 0;
  padding: 13px 8px;
  border: 2px solid var(--border);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  font-size: 14px;
  font-family: var(--font);
  background: var(--bg-alt);
  cursor: pointer;
  transition: all 0.2s;
}
.phone-input-group .phone-country-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: -4px 0 0 0 var(--primary-light);
}
.phone-input-group .form__input {
  border-radius: 0 var(--radius) var(--radius) 0;
  flex: 1;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form__group--row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.form__checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  cursor: pointer;
}

.form__link { font-size: 14px; font-weight: 500; }

.form__error {
  color: var(--danger);
  font-size: 13px;
  margin-top: 5px;
  font-weight: 500;
}

.auth-form__footer {
  text-align: center;
  margin-top: 22px;
  font-size: 14px;
  color: var(--text-light);
}

/* === Page Hero === */
.page-hero {
  padding: 44px 0;
  background: var(--gradient-sky);
  border-bottom: 1px solid var(--border-light);
}

.page-hero--small {
  padding: 36px 0;
}

.page-hero h1 {
  font-size: 34px;
  font-weight: 900;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.page-hero p {
  color: var(--text-light);
  font-size: 16px;
}

/* === Alerts === */
.alert {
  padding: 15px 22px;
  font-size: 14px;
  font-weight: 600;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-left: 4px solid;
}

.alert--success { background: var(--success-ultra-light); color: #065f46; border-color: var(--success); }
.alert--error { background: var(--danger-light); color: #991b1b; border-color: var(--danger); }
.alert--info { background: var(--info-ultra-light); color: #5b21b6; border-color: var(--info); }

.alert__close {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: inherit;
  opacity: 0.6;
  font-weight: bold;
}
.alert__close:hover { opacity: 1; }

/* === Empty State === */
.empty-state {
  text-align: center;
  padding: 56px 20px;
  color: var(--text-light);
}
.empty-state p { margin-bottom: 18px; font-size: 15px; }

/* === FAQ === */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 14px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.2s;
}
.faq-item[open] { box-shadow: var(--shadow-md); }

.faq-item__question {
  padding: 20px 22px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  user-select: none;
}
.faq-item__question::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  transition: transform 0.3s;
  color: var(--primary);
}
.faq-item[open] .faq-item__question::after {
  transform: rotate(45deg);
}

.faq-item__answer {
  padding: 0 22px 20px;
  color: var(--text-light);
  line-height: 1.75;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}

/* === Live Trades === */
.live-trades__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

.live-trade-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  backdrop-filter: blur(4px);
  transition: background 0.2s;
}
.live-trade-card:hover {
  background: rgba(255,255,255,0.12);
}

.live-trade-card__icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gradient-success);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  font-weight: 700;
}

.live-trade-card__info { flex: 1; }

.live-trade-card__name {
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
}

.live-trade-card__value {
  font-size: 13px;
  color: #94a3b8;
}

.live-trade-card__time {
  font-size: 12px;
  color: #64748b;
  white-space: nowrap;
}

/* === Trust Badges === */
.trust-badges__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
  padding: 20px 12px;
  border-radius: var(--radius-lg);
  transition: all 0.25s;
}
.trust-badge:hover {
  background: var(--bg);
  box-shadow: var(--shadow-md);
}
.trust-badge svg { color: var(--success); width: 36px; height: 36px; }
.trust-badge span { font-weight: 700; font-size: 14px; color: var(--text); }

.trust-badge:nth-child(2) svg { color: var(--primary); }
.trust-badge:nth-child(3) svg { color: var(--accent); }
.trust-badge:nth-child(4) svg { color: var(--info); }

/* === Referral CTA === */
.referral-cta__content {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.referral-cta__content h2 {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 14px;
}

.referral-cta__content p {
  font-size: 17px;
  opacity: 0.95;
  margin-bottom: 28px;
  line-height: 1.7;
}

/* === Referral Components === */
.referral-link-box {
  display: flex;
  gap: 12px;
  margin: 18px 0;
}
.referral-link-box .form__input { flex: 1; }

.referral-code-display {
  font-size: 14px;
  color: var(--text-light);
}

.commission-structure {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 36px;
}

.commission-rate {
  font-size: 52px;
  font-weight: 900;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 8px 0;
}

/* === Quick Actions === */
.quick-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}

/* === Footer === */
.footer {
  background: var(--gradient-dark);
  color: #94a3b8;
  padding: 64px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__col h4 {
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}
.footer__col h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 32px;
  height: 3px;
  background: var(--gradient-hero);
  border-radius: 2px;
}

.footer__col p {
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 18px;
}

.footer__col ul li { margin-bottom: 10px; }
.footer__col ul li a {
  color: #94a3b8;
  font-size: 14px;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
}
.footer__col ul li a::before {
  content: '›';
  margin-right: 6px;
  font-size: 16px;
  color: var(--primary);
}
.footer__col ul li a:hover { color: #fff; padding-left: 4px; }

.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.footer__social a {
  color: #64748b;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  transition: all 0.25s;
}
.footer__social a:hover {
  color: #fff;
  background: var(--primary);
  transform: translateY(-2px);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 0;
  font-size: 13px;
  color: #64748b;
}

.footer__payment-methods {
  display: flex;
  gap: 18px;
  font-size: 12px;
  color: #475569;
}
.footer__payment-methods span {
  padding: 4px 10px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
}

/* === Sell Form === */
.sell-form-wrapper {
  max-width: 700px;
  margin: 0 auto;
}

.sell-form-wrapper .form__group {
  margin-bottom: 22px;
}

.sell-form-wrapper .form__input,
.sell-form-wrapper .form select {
  width: 100%;
  padding: 15px 17px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: var(--font);
}

/* === Profile === */
.profile-section {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 32px;
}

.profile-nav {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.profile-nav a {
  display: block;
  padding: 15px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  border-bottom: 1px solid var(--border-light);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.profile-nav a::before {
  content: '→';
  opacity: 0;
  transition: all 0.2s;
}
.profile-nav a:hover,
.profile-nav a.active {
  background: var(--primary-ultra-light);
  color: var(--primary-dark);
}
.profile-nav a:hover::before,
.profile-nav a.active::before { opacity: 1; margin-left: 4px; }
.profile-nav a:last-child { border-bottom: none; }

/* === Pagination === */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}

.pagination a,
.pagination span {
  padding: 9px 15px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  transition: all 0.2s;
}
.pagination a:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
  border-color: var(--primary);
}
.pagination .active {
  background: var(--gradient-hero);
  color: #fff;
  border-color: transparent;
}

/* === Breadcrumb === */
.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 8px;
}
.breadcrumb a { color: var(--text-light); }
.breadcrumb span { color: var(--primary-dark); font-weight: 600; }

/* === Blog === */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 26px;
}

.blog-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
}
.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.blog-card__image {
  height: 200px;
  background: var(--gradient-cool);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 48px;
}

.blog-card__body {
  padding: 22px;
}

.blog-card__category {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.blog-card__title {
  font-size: 18px;
  font-weight: 800;
  margin: 8px 0;
  line-height: 1.4;
}

.blog-card__excerpt {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 14px;
}

.blog-card__meta {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  gap: 16px;
}

/* === Blog Post === */
.blog-post {
  max-width: 800px;
  margin: 0 auto;
}

.blog-post__header {
  margin-bottom: 36px;
}

.blog-post__title {
  font-size: 38px;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.blog-post__meta {
  font-size: 14px;
  color: var(--text-light);
}

.blog-post__content {
  font-size: 17px;
  line-height: 1.85;
}

.blog-post__content h2 {
  font-size: 28px;
  margin: 42px 0 18px;
  font-weight: 800;
}

.blog-post__content h3 {
  font-size: 22px;
  margin: 34px 0 14px;
  font-weight: 700;
}

.blog-post__content p { margin-bottom: 22px; }

.blog-post__content ul,
.blog-post__content ol {
  margin-bottom: 22px;
  padding-left: 26px;
}

.blog-post__content li { margin-bottom: 8px; }

.blog-post__content img {
  border-radius: var(--radius-lg);
  margin: 26px 0;
  box-shadow: var(--shadow-md);
}

/* === Contact === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
}

.contact-info__item {
  display: flex;
  gap: 14px;
  margin-bottom: 26px;
}
.contact-info__item svg { flex-shrink: 0; color: var(--primary); }
.contact-info__item h4 { font-size: 16px; margin-bottom: 4px; font-weight: 700; }
.contact-info__item p { color: var(--text-light); font-size: 14px; }

/* ============================================ */
/* Responsive Design
/* ============================================ */

@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero__calculator {
    max-width: 480px;
    margin: 0 auto;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  :root { --header-height: 58px; }

  /* Mobile Header — hamburger menu */
  .header__nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    height: calc(100dvh - var(--header-height));
    height: calc(100vh - var(--header-height));
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0;
    z-index: 200;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .header__nav.show { display: block; animation: slideDown 0.25s ease; }

  /* Lock body scroll when menu is open */
  body.menu-open { overflow: hidden; }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .header__nav-list {
    flex-direction: column;
    gap: 0;
    padding: 12px 20px 60px;
  }

  .header__nav-link {
    display: block;
    padding: 15px 16px;
    font-size: 16px;
    font-weight: 600;
    border-bottom: 1px solid var(--border-light);
    border-radius: 0;
  }
  .header__nav-link.active {
    background: var(--primary-ultra-light);
    color: var(--primary);
  }

  /* Mobile-only nav items (login/register in hamburger) */
  .header__nav-mobile-only { display: block; }
  .header__nav-mobile-only .header__nav-link {
    padding: 16px 16px;
    margin-top: 4px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-alt);
  }

  .header__mobile-toggle { display: flex; }

  /* Hide currency switcher on small screens to save space */
  .currency-switcher { display: none; }

  /* Compact header actions for mobile */
  .header__actions { gap: 6px; }
  .header__actions .btn--sm {
    padding: 8px 12px;
    font-size: 12px;
  }
  .lang-switcher__btn {
    padding: 6px 8px;
    font-size: 12px;
  }
  .lang-switcher__btn span { display: none; }
  .lang-switcher__btn svg { width: 16px; height: 16px; }

  /* Hero mobile */
  .hero {
    padding: 36px 0;
  }

  .hero__title {
    font-size: 32px;
    line-height: 1.15;
  }

  .hero__subtitle {
    font-size: 15px;
    margin-bottom: 26px;
  }

  .hero__actions {
    flex-direction: column;
    gap: 10px;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
    padding: 15px 24px;
  }

  .hero__trust {
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .hero__trust-item { align-items: center; text-align: center; }
  .hero__trust-number { font-size: 22px; }
  .hero__trust-label { font-size: 11px; }

  /* Steps mobile — 3 cards side by side */
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    max-width: 100%;
  }
  .step {
    padding: 16px 8px;
  }
  .step__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
  }
  .step__icon svg {
    width: 24px;
    height: 24px;
  }
  .step__title {
    font-size: 12px;
    margin-bottom: 4px;
  }
  .step__text {
    font-size: 10px;
    line-height: 1.4;
  }

  /* Cards grid mobile */
  .cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(115px, 1fr));
    gap: 12px;
  }
  .card-item { padding: 18px 12px; }
  .card-item__icon,
  .card-item__fallback { width: 52px; height: 52px; font-size: 24px; border-radius: 12px; }
  .card-item__logo { width: 48px; height: 48px; }
  .card-item__name { font-size: 11.5px; }

  /* Features mobile — horizontal icon+text compact cards */
  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .feature {
    padding: 18px 14px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .feature__icon { font-size: 28px; margin-bottom: 0; }
  .feature h3 { font-size: 15px; margin-bottom: 2px; }
  .feature p { font-size: 12px; line-height: 1.5; }

  /* Sections mobile */
  .section__title { font-size: 26px; }

  .section {
    padding: 52px 0;
  }

  /* Stats mobile */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .stat-card { padding: 18px 14px; }
  .stat-card__value { font-size: 24px; }

  /* Profile mobile */
  .profile-section { grid-template-columns: 1fr; }

  .profile-nav {
    display: flex;
    overflow-x: auto;
    gap: 0;
    border-radius: var(--radius);
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .profile-nav::-webkit-scrollbar { display: none; }
  .profile-nav a {
    display: inline-block;
    padding: 12px 16px;
    border-right: 1px solid var(--border-light);
    border-bottom: none;
    flex-shrink: 0;
  }
  .profile-nav a:last-child { border-right: none; }

  /* Blog mobile */
  .blog-grid { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; }

  .commission-structure { grid-template-columns: 1fr; }

  /* Admin stats-row mobile */
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat-box { padding: 14px 10px; }
  .stat-box__value { font-size: 22px; }
  .stat-box__label { font-size: 10px; }

  /* Trust badges mobile */
  .trust-badges__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .trust-badge { padding: 14px 8px; }

  /* Footer mobile — 2 columns */
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px 20px;
  }
  .footer__col:first-child {
    grid-column: 1 / -1;
  }
  .footer__col h4 { font-size: 15px; }
  .footer__col p { font-size: 13px; }
  .footer__col ul li a { font-size: 13px; }

  .footer__bottom {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }

  .footer__payment-methods {
    justify-content: center;
    flex-wrap: wrap;
  }

  /* Forms mobile */
  .form__row { grid-template-columns: 1fr; }

  .quick-actions { flex-direction: column; }
  .quick-actions .btn { width: 100%; }

  .referral-link-box { flex-direction: column; }

  /* Page hero mobile */
  .page-hero { padding: 28px 0; }
  .page-hero h1 { font-size: 26px; }
  .page-hero p { font-size: 14px; }

  /* Live trades mobile */
  .live-trades__grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* Rates table wrapper */
  .rates-table-wrapper { margin: 0 -16px; border-radius: 0; border-left: 0; border-right: 0; }

  /* Rates table mobile — compact columns */
  .rates-table th,
  .rates-table td {
    padding: 10px 6px;
    font-size: 11px;
  }
  .rates-table th { font-size: 9px; letter-spacing: 0.3px; }
  .rates-table__card {
    gap: 4px;
  }
  .rates-table__card span {
    font-size: 11px;
    white-space: nowrap;
  }
  .rates-table__logo {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
  }
  .rates-table__rate {
    font-size: 14px;
    white-space: nowrap;
  }
  /* Hide "Example" column on very small screens */
  .rates-table th:nth-child(5),
  .rates-table td:nth-child(5) {
    display: none;
  }

  /* Referral CTA */
  .referral-cta__content h2 { font-size: 26px; }

  /* Auth form mobile */
  .auth-form { max-width: 100%; }
  .calculator { padding: 22px; }

  /* Pagination mobile */
  .pagination {
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
  }
  .pagination a,
  .pagination span {
    padding: 7px 10px;
    font-size: 12px;
    min-width: 32px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .hero__title { font-size: 27px; }

  .calculator { padding: 18px; }

  .calculator__title { font-size: 17px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat-card { padding: 16px 12px; }
  .stat-card__icon { font-size: 24px; margin-bottom: 6px; }
  .stat-card__value { font-size: 22px; }
  .stat-card__label { font-size: 11px; }

  .section__title { font-size: 23px; }

  .btn--lg { padding: 14px 24px; font-size: 15px; }

  /* Header actions compact on very small screens */
  .lang-switcher__btn span { display: none; } /* hide language label */
  .header__actions { gap: 6px; }

  /* Home page rates table — hide Example column on mobile */
  .rates-table th:nth-child(3),
  .rates-table td:nth-child(3) { display: none; }

  /* Steps — 2 columns on very small screens for readability */
  .steps { grid-template-columns: 1fr 1fr; }
  .step { padding: 14px 10px; }
  .step__icon { width: 40px; height: 40px; }
  .step__icon svg { width: 20px; height: 20px; }
  .step__title { font-size: 13px; }
  .step__text { font-size: 11px; }

  /* Commission history table — hide less important columns on mobile */
  .table--commission-history th:nth-child(3),
  .table--commission-history td:nth-child(3),
  .table--commission-history th:nth-child(4),
  .table--commission-history td:nth-child(4),
  .table--commission-history th:nth-child(5),
  .table--commission-history td:nth-child(5) {
    display: none;
  }
}