/* ============================================
   TMXchange — Premium Fintech Stylesheet
   ============================================ */

:root {
  --primary: #0d6efd;
  --primary-dark: #0a58ca;
  --accent: #f71e1e;
  --accent-soft: rgba(255, 99, 71, 0.15);
  --white: #ffffff;
  --dark: #0b1220;
  --dark-2: #111827;
  --dark-3: #1f2937;
  --gray-100: #f8fafc;
  --gray-200: #e2e8f0;
  --gray-500: #64748b;
  --gray-700: #334155;
  --gradient-primary: linear-gradient(135deg, #0d6efd 0%, #0a58ca 50%, #084298 100%);
  --gradient-hero: linear-gradient(135deg, #0b1220 0%, #111827 40%, #0d2137 100%);
  --gradient-accent: linear-gradient(135deg, #ff6347 0%, #ff8c69 100%);
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.12);
  --shadow-sm: 0 4px 20px rgba(13, 110, 253, 0.08);
  --shadow-md: 0 12px 40px rgba(11, 18, 32, 0.12);
  --shadow-lg: 0 24px 60px rgba(11, 18, 32, 0.18);
  --radius: 16px;
  --radius-lg: 24px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--gray-700);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.02em;
}

.section-padding {
  padding: 100px 0;
}

.section-dark {
  background: var(--gradient-hero);
  color: var(--gray-200);
}

.section-dark h2,
.section-dark h3,
.section-dark .section-label {
  color: var(--white);
}

.section-gray {
  background: var(--gray-100);
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 640px;
  margin: 0 auto 3rem;
}

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

/* ========== BUTTONS ========== */

.btn {
  font-weight: 600;
  border-radius: 12px;
  padding: 0.65rem 1.5rem;
  transition: var(--transition);
}

.btn-primary {
  background: var(--gradient-primary);
  border: none;
  box-shadow: 0 8px 24px rgba(13, 110, 253, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(13, 110, 253, 0.45);
  background: var(--gradient-primary);
}

.btn-accent {
  background: var(--gradient-accent);
  border: none;
  color: var(--white);
  box-shadow: 0 8px 24px rgba(255, 99, 71, 0.35);
}

.btn-accent:hover {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 99, 71, 0.45);
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}

.btn-whatsapp {
  background: #25d366;
  border: none;
  color: var(--white);
}

.btn-whatsapp:hover {
  background: #1ebe57;
  color: var(--white);
  transform: translateY(-2px);
}

.btn-glass {
  background: var(--glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  color: var(--white);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

/* ========== HEADER ========== */

#mainHeader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  padding: 1rem 0;
  transition: var(--transition);
  background: transparent;
}

#mainHeader.header-scrolled {
  padding: 0.6rem 0;
  background: rgba(11, 18, 32, 0.92);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--white) !important;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.navbar-brand img {
  width: 40px;
  height: 40px;
}

.brand-accent {
  color: var(--accent);
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem !important;
  transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--white) !important;
}

.navbar-nav .nav-link.active {
  position: relative;
}

.navbar-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.3);
}

.navbar-toggler-icon {
  filter: invert(1);
}

.header-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(11, 18, 32, 0.98);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-top: 1rem;
  }

  .header-actions {
    flex-direction: column;
    width: 100%;
    margin-top: 1rem;
  }

  .header-actions .btn {
    width: 100%;
  }
}

/* ========== HERO ========== */

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  padding: 140px 0 100px;
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(13, 110, 253, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 99, 71, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(13, 110, 253, 0.08) 0%, transparent 45%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.hero-badge .pulse {
  width: 8px;
  height: 8px;
  background: #25d366;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

.hero-title {
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #fff 0%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 540px;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 576px) {
  .trust-badges {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  transition: var(--transition);
}

.trust-badge:hover {
  transform: translateY(-4px);
  border-color: rgba(13, 110, 253, 0.4);
}

.trust-badge i {
  font-size: 1.5rem;
  color: var(--primary);
}

.trust-badge span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
}

/* Floating crypto icons */
.hero-visual {
  position: relative;
  height: 400px;
}

.floating-coin {
  position: absolute;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}

.floating-coin.btc { top: 10%; left: 20%; color: #f7931a; animation-delay: 0s; }
.floating-coin.eth { top: 50%; left: 5%; color: #627eea; animation-delay: 1s; }
.floating-coin.usdt { top: 20%; right: 15%; color: #26a17b; animation-delay: 2s; }
.floating-coin.sol { bottom: 20%; right: 25%; color: #9945ff; animation-delay: 0.5s; }

.hero-glass-card {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 320px;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
}

.hero-glass-card .rate-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 0.9rem;
}

.hero-glass-card .rate-row:last-child {
  border-bottom: none;
}

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

/* ========== RATE CARDS ========== */

.rate-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

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

.rate-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--gradient-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  flex-shrink: 0;
}

.rate-card-gift .rate-card-icon {
  background: var(--gradient-accent);
}

.rate-card-symbol {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--dark);
  display: block;
}

.rate-card-name {
  font-size: 0.85rem;
  color: var(--gray-500);
  display: block;
}

.rate-card-value {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary);
  display: block;
  margin-top: 0.25rem;
}

.rate-card-value small {
  font-weight: 500;
  font-size: 0.75rem;
  color: var(--gray-500);
}

.rates-tabs .nav-link {
  border-radius: 12px;
  font-weight: 600;
  color: var(--gray-500);
  border: none;
  padding: 0.75rem 1.5rem;
}

.rates-tabs .nav-link.active {
  background: var(--gradient-primary);
  color: var(--white);
}

/* ========== CALCULATORS ========== */

.calculator-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.calculator-card.dark-glass {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
}

.calculator-result {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.08) 0%, rgba(255, 99, 71, 0.06) 100%);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  margin: 1.5rem 0;
}

.calculator-result .label {
  font-size: 0.85rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.calculator-result .value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-top: 0.25rem;
}

.trade-type-toggle .btn-check:checked + .btn {
  background: var(--gradient-primary);
  border-color: transparent;
  color: var(--white);
}

.form-control,
.form-select {
  border-radius: 12px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.15);
}

/* ========== FEATURE CARDS ========== */

.feature-card {
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  height: 100%;
  transition: var(--transition);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.12) 0%, rgba(255, 99, 71, 0.08) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--primary);
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--gradient-primary);
  color: var(--white);
}

/* ========== TIMELINE ========== */

.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 2rem 3rem;
}

.timeline-item:nth-child(odd) {
  margin-left: 0;
  padding-right: 3rem;
  text-align: right;
}

.timeline-item:nth-child(even) {
  margin-left: 50%;
  padding-left: 3rem;
}

.timeline-dot {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  box-shadow: 0 0 0 8px rgba(13, 110, 253, 0.15);
  z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -24px;
  top: 0;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -24px;
  top: 0;
}

.timeline-content {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}

@media (max-width: 768px) {
  .timeline::before {
    left: 24px;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    width: 100%;
    margin-left: 0;
    padding-left: 4rem;
    padding-right: 0;
    text-align: left;
  }

  .timeline-item:nth-child(odd) {
    padding-right: 0;
    text-align: left;
  }

  .timeline-dot,
  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: 0;
    right: auto;
  }
}

/* ========== STATS ========== */

.stat-card {
  text-align: center;
  padding: 2rem;
}

.stat-value {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.stat-label {
  font-size: 1rem;
  color: var(--gray-500);
  margin-top: 0.5rem;
  font-weight: 500;
}

.section-dark .stat-value {
  background: linear-gradient(135deg, #fff 0%, #93c5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.section-dark .stat-label {
  color: rgba(255, 255, 255, 0.65);
}

/* ========== CRYPTO / GIFT GRID ========== */

.asset-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  height: 100%;
}

.asset-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.asset-card img,
.asset-card .asset-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
  border-radius: 50%;
}

.asset-card h5 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.asset-card p {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin: 0;
}

.gift-card-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  background: var(--gradient-primary);
  transition: var(--transition);
}

.gift-card-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.7) 100%);
}

.gift-card-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}

.gift-card-item span {
  position: relative;
  z-index: 1;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
}

.gift-amazon { background: linear-gradient(135deg, #ff9900, #232f3e); }
.gift-steam { background: linear-gradient(135deg, #1b2838, #66c0f4); }
.gift-google { background: linear-gradient(135deg, #4285f4, #34a853); }
.gift-apple { background: linear-gradient(135deg, #555, #000); }
.gift-razer { background: linear-gradient(135deg, #44d62c, #000); }
.gift-sephora { background: linear-gradient(135deg, #000, #cf0a2c); }
.gift-nike { background: linear-gradient(135deg, #111 0%, #444 100%); }
.gift-nike span { color: #fff; }
.gift-visa { background: linear-gradient(135deg, #1a1f71, #f7b600); }
.gift-mastercard { background: linear-gradient(135deg, #eb001b, #f79e1b); }
.gift-amex { background: linear-gradient(135deg, #006fcf, #fff); }

/* ========== TESTIMONIALS ========== */

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--gray-200);
  height: 100%;
  margin: 0 0.5rem;
}

.testimonial-stars {
  color: #fbbf24;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--gray-700);
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-name {
  font-weight: 700;
  color: var(--dark);
  margin: 0;
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin: 0;
}

#testimonialsCarousel .carousel-control-prev,
#testimonialsCarousel .carousel-control-next {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
}

/* ========== BLOG ========== */

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.blog-card-img {
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.blog-card h5 {
  font-size: 1.1rem;
  margin: 0.5rem 0;
}

.blog-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 1rem;
}

.blog-link {
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition);
}

.blog-link:hover {
  color: var(--accent);
  gap: 0.6rem;
}

/* ========== FAQ ========== */

.accordion-item {
  border: none;
  margin-bottom: 0.75rem;
  border-radius: var(--radius) !important;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.accordion-button {
  font-weight: 600;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius) !important;
}

.accordion-button:not(.collapsed) {
  background: rgba(13, 110, 253, 0.08);
  color: var(--primary);
}

.accordion-body {
  padding: 0 1.5rem 1.25rem;
  color: var(--gray-500);
}

/* ========== TRUST STRIP ========== */

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
}

.trust-strip-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: var(--dark);
}

.trust-strip-item i {
  font-size: 1.5rem;
  color: var(--primary);
}

/* ========== CONTACT ========== */
/* 
.contact-info-card {
  padding: 1.5rem;
  background: var(--gray-100);
  border-radius: var(--radius);
  height: 100%;
}

.contact-info-card i {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
} */

.map-placeholder {
  height: 280px;
  background: var(--gray-200);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  font-weight: 600;
}

.form-toast {
  position: fixed;
  bottom: 100px;
  right: 24px;
  padding: 1rem 1.5rem;
  background: var(--dark);
  color: var(--white);
  border-radius: 12px;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 1040;
}

.form-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ========== FOOTER ========== */

.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0;
}

.site-footer h6 {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
  margin-top: 3rem;
  font-size: 0.9rem;
}

/* ========== LIVE CHAT WIDGET ========== */

.live-chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1060;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.chat-tooltip {
  background: var(--dark);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
  pointer-events: none;
}

.live-chat-widget:hover .chat-tooltip {
  opacity: 1;
  transform: translateX(0);
}

.chat-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  border: none;
  color: var(--white);
  font-size: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
  cursor: pointer;
  animation: chatPulse 3s infinite;
}

.chat-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.55);
}

@keyframes chatPulse {
  0%, 100% { box-shadow: 0 8px 32px rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 8px 40px rgba(37, 211, 102, 0.7), 0 0 0 12px rgba(37, 211, 102, 0.1); }
}

/* ========== UTILITIES ========== */

.text-accent {
  color: var(--accent) !important;
}

.bg-gradient-primary {
  background: var(--gradient-primary) !important;
}

.glass-panel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  padding: 2rem;
}

/* ========== LIVE CRYPTO TICKER (CoinGecko) ========== */

.crypto-ticker-bar {
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.75rem 0;
  overflow: hidden;
}

.ticker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1rem 0.5rem;
  max-width: 1320px;
  margin: 0 auto;
}

.ticker-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
}

.ticker-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  animation: tickerPulse 2s infinite;
}

@keyframes tickerPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45); }
  50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

.ticker-status {
  color: rgba(255, 255, 255, 0.45);
}

.ticker-status.text-warning {
  color: #fbbf24 !important;
}

.ticker-viewport {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.ticker-viewport.is-loading .ticker-track {
  animation: none;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerScroll 45s linear infinite;
}

.crypto-ticker-bar:hover .ticker-track:not(.ticker-loading) {
  animation-play-state: paused;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-group {
  display: flex;
  flex-shrink: 0;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 1.25rem;
  margin: 0 0.35rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  white-space: nowrap;
  flex-shrink: 0;
}

.ticker-coin-logo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
}

.ticker-symbol {
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--white);
  letter-spacing: 0.04em;
}

.ticker-price {
  font-weight: 600;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

.ticker-change {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
}

.ticker-change.change-up {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.12);
}

.ticker-change.change-down {
  color: #f87171;
  background: rgba(248, 113, 113, 0.12);
}

.ticker-change.change-neutral {
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
}

/* Skeleton loading */
.ticker-skeleton {
  pointer-events: none;
}

.skeleton {
  display: block;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0.14) 50%,
    rgba(255, 255, 255, 0.06) 100%
  );
  background-size: 200% 100%;
  animation: skeletonShimmer 1.2s ease-in-out infinite;
  border-radius: 6px;
}

.skeleton-logo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
}

.skeleton-text {
  height: 14px;
}

.skeleton-symbol { width: 36px; }
.skeleton-price { width: 64px; }
.skeleton-change { width: 52px; }

@keyframes skeletonShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.ticker-fallback {
  padding: 0.5rem 0 0;
}

.ticker-fallback-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  background: rgba(255, 193, 7, 0.08);
  border: 1px solid rgba(255, 193, 7, 0.25);
  border-radius: 10px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.ticker-fallback-inner i {
  color: #fbbf24;
  font-size: 1.1rem;
}

@media (max-width: 575px) {
  .ticker-item {
    gap: 0.5rem;
    padding: 0.45rem 0.9rem;
    margin: 0 0.25rem;
  }

  .ticker-symbol {
    font-size: 0.8rem;
  }

  .ticker-price {
    font-size: 0.8rem;
  }

  .ticker-change {
    font-size: 0.72rem;
    padding: 0.1rem 0.35rem;
  }

  .ticker-coin-logo {
    width: 24px;
    height: 24px;
  }

  .ticker-track {
    animation-duration: 35s;
  }

  .ticker-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
}

/* ========== TRADE MODALS ========== */

.trade-modal .modal-content {
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.trade-modal .modal-header {
  background: linear-gradient(135deg, #f8fafc 0%, #eef4ff 100%);
  border-bottom: 1px solid var(--gray-200);
  padding: 1.75rem 1.75rem 1.25rem;
  align-items: flex-start;
}

.trade-modal .modal-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.trade-modal .modal-title {
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.trade-modal .modal-desc {
  font-size: 0.95rem;
  color: var(--gray-500);
}

.trade-modal .modal-body {
  padding: 1.5rem 1.75rem;
}

.trade-modal .modal-footer {
  padding: 1rem 1.75rem 1.5rem;
  border-top: 1px solid var(--gray-200);
  gap: 0.75rem;
}

.modal-backdrop.show {
  backdrop-filter: blur(6px);
}

.modal.fade .modal-dialog {
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 575px) {
  .trade-modal .modal-footer {
    flex-direction: column;
  }

  .trade-modal .modal-footer .btn {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .section-padding {
    padding: 70px 0;
  }

  .calculator-card {
    padding: 1.5rem;
  }

  .hero-visual {
    height: 280px;
    margin-top: 3rem;
  }
}
