/* USDT Flash — Professional Crypto Fintech Design System */

:root {
  --bg-primary: #0a0e17;
  --bg-secondary: #111827;
  --bg-card: #1a2234;
  --bg-card-hover: #1f2a40;
  --border: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(16, 185, 129, 0.3);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent: #10b981;
  --accent-light: #34d399;
  --accent-dark: #059669;
  --accent-glow: rgba(16, 185, 129, 0.15);
  --glow-strong: rgba(16, 185, 129, 0.45);
  --glow-soft: rgba(16, 185, 129, 0.08);
  --glow-blue: rgba(59, 130, 246, 0.12);
  --warning: #f59e0b;
  --gradient-hero: linear-gradient(135deg, #0a0e17 0%, #111827 50%, #0f172a 100%);
  --gradient-accent: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
  --radius: 12px;
  --radius-lg: 20px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --header-height: 72px;
  --top-bar-height: 0px;
  --sticky-header-total: var(--header-height);
}

body.has-top-bar {
  --top-bar-height: 36px;
  --sticky-header-total: calc(var(--header-height) + var(--top-bar-height));
}

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

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

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }

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

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

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  margin-top: 16px;
}

/* Header top contact bar */
.header-top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  height: var(--top-bar-height);
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  font-size: 0.8125rem;
}
.header-top-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  height: 100%;
}
.header-top-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-weight: 500;
  white-space: nowrap;
}
.header-top-link:hover { color: var(--accent-light); }
.header-top-wa { color: #25d366; }
.header-top-wa:hover { color: #4ade80; }

.header-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 12px;
  flex-shrink: 0;
}
.header-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.header-contact-link:hover { color: var(--accent-light); }
.header-contact-wa { color: #25d366; }
.header-contact-wa:hover { color: #4ade80; }
.header-contact-icon { font-size: 0.875rem; flex-shrink: 0; }

.mobile-contact-bar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}
.mobile-contact-bar a {
  font-size: 0.9375rem;
  color: var(--accent-light);
}

.footer-contact-inline {
  display: block;
  width: 100%;
  text-align: center;
  margin-bottom: 8px;
  font-size: 0.875rem;
}
.footer-contact-inline a { color: var(--accent-light); margin: 0 6px; }

/* Header */
.site-header {
  position: fixed;
  top: var(--top-bar-height);
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

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

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-desktop a {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--text-primary);
}

.nav-cta {
  background: var(--gradient-accent);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
}

.nav-cta:hover {
  opacity: 0.9;
  color: #fff !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 8px;
}

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--sticky-header-total);
  left: 0;
  right: 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 24px;
  flex-direction: column;
  gap: 16px;
}

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

.nav-mobile a {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-accent);
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 20px var(--accent-glow);
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.2) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.btn-primary:hover {
  opacity: 1;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0 35px var(--glow-strong), 0 4px 20px rgba(16,185,129,0.3);
}

.btn-primary:hover::after {
  transform: translateX(100%);
}

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

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent-light);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.0625rem;
}

/* Hero */
.hero {
  padding: 60px 0 100px;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

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

/* Hero 4-slide carousel */
.hero-slider {
  position: relative;
  min-height: 320px;
}
.hero-slides {
  position: relative;
  min-height: 280px;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(24px);
  transition: opacity 0.55s ease, transform 0.55s ease, visibility 0.55s;
  pointer-events: none;
}
.hero-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
}
.hero-slide-accent {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-slide .hero-desc {
  margin-bottom: 28px;
}
.hero-slide .hero-actions {
  margin-bottom: 0;
}
.hero-slider-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}
.hero-slider-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 1.125rem;
  cursor: pointer;
  transition: all 0.25s;
  flex-shrink: 0;
}
.hero-slider-btn:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  box-shadow: 0 0 16px var(--accent-glow);
}
.hero-slider-dots {
  display: flex;
  gap: 10px;
  flex: 1;
  justify-content: center;
}
.hero-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--border);
  cursor: pointer;
  transition: all 0.3s;
}
.hero-slider-dot.is-active {
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
  transform: scale(1.2);
}
.hero-slider-dot:hover:not(.is-active) {
  background: var(--text-muted);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent-light);
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease-out both;
}

.hero h1 { margin-bottom: 20px; }

.hero h1 span {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.1875rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.stat-item strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

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

.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  animation: floatCard 6s ease-in-out infinite, fadeInUp 0.8s ease-out 0.2s both;
}

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 600;
}

.live-dot::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulseLive 2s ease-in-out infinite;
  box-shadow: 0 0 8px var(--accent);
}

.tx-feed-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.tx-feed-header span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.tx-list-wrapper {
  max-height: 280px;
  overflow: hidden;
  position: relative;
}

.tx-list-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(transparent, var(--bg-card));
  pointer-events: none;
}

.tx-hash {
  font-size: 0.6875rem;
  color: var(--text-muted);
  font-family: monospace;
  margin-top: 2px;
}

.tx-network {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--accent-glow);
  color: var(--accent-light);
  margin-left: 6px;
}

.treasury-amount {
  transition: color 0.3s;
}

.treasury-amount.updating {
  color: var(--accent-light);
  animation: shimmer 0.6s ease;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

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

.hero-card-amount {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.hero-card-sub {
  font-size: 0.875rem;
  color: var(--accent);
}

.tx-list { list-style: none; }

.tx-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  animation: txSlideIn 0.5s ease-out both;
}

.tx-item.new-tx {
  animation: txHighlight 0.8s ease-out;
}

.tx-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tx-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
}

.tx-name { font-weight: 600; font-size: 0.9375rem; }
.tx-date { font-size: 0.8125rem; color: var(--text-muted); }
.tx-amount { font-weight: 600; color: var(--accent); }
.tx-amount.outgoing { color: #f87171; }

/* Sections */
section { padding: 100px 0; }

section:nth-child(even) {
  background: var(--bg-secondary);
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, transparent, var(--glow-strong), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
}

.feature-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-6px);
  box-shadow: 0 0 40px var(--accent-glow), 0 8px 32px rgba(0,0,0,0.4);
}

.feature-card:hover::before {
  opacity: 1;
  animation: borderGlowRotate 3s linear infinite;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-glow);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.feature-card h3 { margin-bottom: 12px; }
.feature-card p { color: var(--text-secondary); font-size: 0.9375rem; }

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step-card {
  position: relative;
  padding: 32px 24px;
  text-align: center;
}

.step-card::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--gradient-accent);
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.125rem;
  margin: 0 auto 20px;
}

.step-card h3 { margin-bottom: 10px; font-size: 1.125rem; }
.step-card p { color: var(--text-secondary); font-size: 0.9375rem; }

.step-card:hover {
  transform: translateY(-6px);
}

.step-card:hover::before {
  box-shadow: 0 0 25px var(--glow-strong);
}

/* Trust Bar */
.trust-bar {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-logo {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  opacity: 0.6;
}

/* CTA Banner */
.cta-banner {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 60px var(--accent-glow);
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: conic-gradient(from 0deg, transparent, var(--accent), transparent, var(--accent), transparent);
  z-index: 0;
  animation: borderGlowRotate 6s linear infinite;
  opacity: 0.25;
  pointer-events: none;
}

.cta-banner h2 { margin-bottom: 16px; position: relative; }
.cta-banner p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-banner .btn { position: relative; }

/* Page Header */
.page-header {
  padding: calc(var(--sticky-header-total) + 60px) 0 60px;
  background: var(--gradient-hero);
  text-align: center;
}

.page-header h1 { margin-bottom: 16px; }
.page-header p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: all 0.3s;
}

.service-card:hover {
  border-color: var(--border-accent);
}

.service-card h3 { margin-bottom: 12px; }
.service-card > p { color: var(--text-secondary); margin-bottom: 24px; }

.service-list {
  list-style: none;
}

.service-list li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.service-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* FAQ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.0625rem;
  font-weight: 600;
  text-align: left;
  padding: 24px 40px 24px 0;
  cursor: pointer;
  position: relative;
  font-family: inherit;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform 0.2s;
}

.faq-item.open .faq-question::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding-bottom: 24px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info h3 { margin-bottom: 24px; }

.contact-detail {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-glow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail strong {
  display: block;
  margin-bottom: 4px;
}

.contact-detail span,
.contact-detail a {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-success {
  display: none;
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  border-radius: 8px;
  padding: 16px;
  color: var(--accent-light);
  margin-top: 16px;
  text-align: center;
}

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

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-content p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 1.0625rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.value-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.value-card h3 { margin-bottom: 10px; font-size: 1.125rem; }
.value-card p { color: var(--text-secondary); font-size: 0.9375rem; }

/* Legal */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin: 40px 0 16px;
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content p,
.legal-content li {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.7;
}

.legal-content ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

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

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

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-top: 16px;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  padding: 6px 0;
}

.footer-col a:hover { color: var(--accent-light); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-disclaimer {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 8px;
  padding: 16px;
  margin-top: 32px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

/* Breadcrumb */
.breadcrumb {
  padding: 16px 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.breadcrumb a { color: var(--text-secondary); }

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid,
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .header-contact { display: none; }
  .header-top-inner { justify-content: center; gap: 12px; font-size: 0.6875rem; }
  .menu-toggle { display: block; }
  .hero { padding-bottom: 60px; }
  .hero-grid { gap: 40px; }
  .hero-slider { min-height: 280px; }
  .hero-slides { min-height: 240px; }
  .hero-stats { gap: 24px; }
  .features-grid,
  .steps-grid,
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .cta-banner { padding: 40px 24px; }
  section { padding: 64px 0; }
  .split-section,
  .split-section.reverse { grid-template-columns: 1fr; }
  .split-section.reverse .split-image { order: 0; }
  .industry-grid,
  .blog-grid,
  .case-grid,
  .testimonial-grid,
  .gallery-grid,
  .pricing-grid,
  .use-case-grid { grid-template-columns: 1fr; }
  .comparison-table { font-size: 0.8125rem; }
  .stats-banner { padding: 48px 24px; }
}

/* ─── Extended Content Components ─── */

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split-section.reverse .split-image { order: -1; }

.split-image img,
.content-image img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.split-image.rounded img { aspect-ratio: 1/1; }

.split-content .section-label { margin-bottom: 12px; }
.split-content h2 { margin-bottom: 20px; }
.split-content p { color: var(--text-secondary); margin-bottom: 16px; font-size: 1.0625rem; }
.split-content ul { margin: 20px 0; padding-left: 0; list-style: none; }
.split-content ul li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--text-secondary);
}
.split-content ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.content-image { margin: 32px 0; }
.content-image figcaption {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 12px;
}

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

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

.industry-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
}

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

.industry-card-body { padding: 24px; }
.industry-card h3 { margin-bottom: 10px; font-size: 1.125rem; }
.industry-card p { color: var(--text-secondary); font-size: 0.9375rem; }

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.comparison-table th {
  background: var(--bg-secondary);
  font-weight: 600;
  font-size: 0.9375rem;
}

.comparison-table td { color: var(--text-secondary); font-size: 0.9375rem; }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table .check { color: var(--accent); font-weight: 700; }
.comparison-table .cross { color: #ef4444; }

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.testimonial-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-author img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-accent);
}

.testimonial-author strong { display: block; font-size: 0.9375rem; }
.testimonial-author span { font-size: 0.8125rem; color: var(--text-muted); }

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

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

.case-card:hover { border-color: var(--border-accent); }

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

.case-card-body { padding: 28px; }
.case-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  background: var(--accent-glow);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.case-card h3 { margin-bottom: 10px; }
.case-card p { color: var(--text-secondary); font-size: 0.9375rem; margin-bottom: 16px; }
.case-metric {
  display: flex;
  gap: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.case-metric div strong {
  display: block;
  font-size: 1.25rem;
  color: var(--accent);
}
.case-metric div span { font-size: 0.75rem; color: var(--text-muted); }

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

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

.blog-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
}

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

.blog-card-body { padding: 24px; }
.blog-meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.blog-card h3 { margin-bottom: 10px; font-size: 1.125rem; }
.blog-card p { color: var(--text-secondary); font-size: 0.9375rem; margin-bottom: 16px; }
.read-more {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-light);
}

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

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-item.wide { grid-column: span 2; aspect-ratio: 2/1; }
.gallery-item.tall { grid-row: span 2; }

.stats-banner {
  position: relative;
  padding: 80px 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.stats-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 23, 0.88);
}

.stats-banner .container { position: relative; z-index: 1; }

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-block strong {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-light);
  margin-bottom: 8px;
}

.stat-block span { color: var(--text-secondary); font-size: 0.9375rem; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 40px var(--accent-glow);
  transform: scale(1.03);
}

.pricing-tier {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-price span { font-size: 1rem; color: var(--text-muted); font-weight: 400; }
.pricing-desc { color: var(--text-secondary); font-size: 0.9375rem; margin-bottom: 28px; }

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
}

.pricing-features li {
  padding: 10px 0;
  padding-left: 24px;
  position: relative;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--border);
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.use-case-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.use-case-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-glow);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.use-case-item h3 { margin-bottom: 8px; font-size: 1.0625rem; }
.use-case-item p { color: var(--text-secondary); font-size: 0.9375rem; }

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

.network-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
}

.network-badge img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.timeline { max-width: 760px; margin: 0 auto; }

.timeline-item {
  display: flex;
  gap: 24px;
  padding-bottom: 40px;
  position: relative;
}

.timeline-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-dot {
  width: 40px;
  height: 40px;
  background: var(--gradient-accent);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}

.timeline-content h3 { margin-bottom: 8px; }
.timeline-content p { color: var(--text-secondary); font-size: 0.9375rem; }

.article-content {
  max-width: 760px;
  margin: 0 auto;
}

.article-content h2 {
  font-size: 1.75rem;
  margin: 48px 0 20px;
}

.article-content h3 {
  font-size: 1.25rem;
  margin: 32px 0 16px;
}

.article-content p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.article-content ul,
.article-content ol {
  color: var(--text-secondary);
  margin: 20px 0 20px 24px;
  line-height: 1.8;
}

.article-content li { margin-bottom: 8px; }

.article-content-long { max-width: 820px; }
.article-lead {
  font-size: 1.125rem;
  color: var(--text-primary);
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  margin-bottom: 32px;
}
.article-toc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin: 40px 0 48px;
}
.article-toc h2 { font-size: 1.25rem; margin: 0 0 16px; }
.article-toc ol {
  margin: 0;
  padding-left: 24px;
  columns: 2;
  column-gap: 32px;
}
.article-toc a { color: var(--accent-light); text-decoration: none; }
.article-toc a:hover { text-decoration: underline; }
.numbered-steps { margin: 24px 0; padding-left: 28px; }
.numbered-steps li { margin-bottom: 14px; line-height: 1.7; }
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 0.9375rem;
}
.data-table th,
.data-table td {
  border: 1px solid var(--border);
  padding: 12px 16px;
  text-align: left;
}
.data-table th {
  background: var(--bg-card);
  color: var(--text-primary);
  font-weight: 600;
}
.data-table td { color: var(--text-secondary); }
.faq-embedded .faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.faq-embedded .faq-item h3 {
  font-size: 1.0625rem;
  margin: 0 0 10px;
  color: var(--text-primary);
}
.glossary-list {
  display: grid;
  gap: 16px;
  margin: 24px 0 40px;
}
.glossary-list dt {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.glossary-list dd {
  color: var(--text-secondary);
  margin: 0 0 8px 0;
  line-height: 1.7;
}

.article-hero-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 40px;
  border: 1px solid var(--border);
}

.article-meta-bar {
  display: flex;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
  font-size: 0.875rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.long-text p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.long-text h3 {
  font-size: 1.25rem;
  margin: 32px 0 16px;
  color: var(--text-primary);
}

.logo-cloud {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0.5;
}

.logo-cloud span {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.section-cta-row {
  text-align: center;
  margin-top: 48px;
}

@media (max-width: 1024px) {
  .industry-grid,
  .testimonial-grid,
  .case-grid,
  .blog-grid,
  .gallery-grid,
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.wide { grid-column: span 1; }
  .gallery-item.tall { grid-row: span 1; }
  .live-ticker-item { min-width: 280px; }
}

/* ─── Motion & Animations ─── */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

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

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

@keyframes pulseLive {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

@keyframes txSlideIn {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes txHighlight {
  0% { background: rgba(16, 185, 129, 0.2); }
  100% { background: transparent; }
}

@keyframes shimmer {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

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

@keyframes countUp {
  from { opacity: 0.5; }
  to { opacity: 1; }
}

.hero h1 { animation: fadeInUp 0.7s ease-out 0.1s both; }
.hero-desc { animation: fadeInUp 0.7s ease-out 0.2s both; }
.hero-actions { animation: fadeInUp 0.7s ease-out 0.3s both; }
.hero-stats { animation: fadeInUp 0.7s ease-out 0.4s both; }

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.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; }

/* Live ticker bar */
.live-ticker-bar {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  overflow: hidden;
  margin-top: var(--sticky-header-total);
}

.live-ticker-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  white-space: nowrap;
  padding-right: 24px;
  border-right: 1px solid var(--border);
  margin-right: 24px;
}

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

.live-ticker-track:hover {
  animation-play-state: paused;
}

.live-ticker-inner {
  display: flex;
  gap: 48px;
}

.live-ticker-item {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.live-ticker-item .amount {
  font-weight: 600;
  color: var(--accent-light);
}

.live-ticker-item .time {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.live-ticker-wrap {
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Live activity section */
.live-activity-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.live-activity-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.live-stats-row {
  display: flex;
  gap: 32px;
}

.live-stat {
  text-align: center;
}

.live-stat strong {
  display: block;
  font-size: 1.5rem;
  color: var(--accent-light);
}

.live-stat span {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tx-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.tx-table th,
.tx-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}

.tx-table th {
  background: var(--bg-primary);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tx-table td { color: var(--text-secondary); }
.tx-table tr:last-child td { border-bottom: none; }
.tx-table tr.new-row { animation: txHighlight 1s ease-out; }

.tx-table .status-confirmed {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.8125rem;
}

.tx-table .status-confirmed::before {
  content: '● ';
  animation: pulseLive 2s infinite;
}

.tx-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
}

.context-block {
  max-width: 800px;
  margin: 0 auto 48px;
  text-align: center;
}

.context-block p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .live-ticker-track { animation: none; }
  .hero-card { animation: fadeInUp 0.5s ease-out both; }
  .glow-orb { display: none; }
}

/* ─── Glow System ─── */

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.glow-orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--glow-strong) 0%, transparent 70%);
  top: 10%;
  right: -10%;
  animation: orbFloat 12s ease-in-out infinite;
}

.glow-orb-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--glow-blue) 0%, transparent 70%);
  bottom: 20%;
  left: -5%;
  animation: orbFloat 15s ease-in-out infinite reverse;
}

.glow-orb-3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(16,185,129,0.25) 0%, transparent 70%);
  top: 50%;
  left: 40%;
  animation: orbPulse 8s ease-in-out infinite;
}

.section-glow {
  position: relative;
  overflow: hidden;
}

.section-glow::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--glow-soft) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: orbPulse 10s ease-in-out infinite;
}

.section-glow > .container {
  position: relative;
  z-index: 1;
}

.glow-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.4s ease;
  position: relative;
}

.glow-card:hover {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 0 30px var(--accent-glow), inset 0 0 20px var(--glow-soft);
  transform: translateY(-4px);
}

.glow-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
  box-shadow: 0 0 20px var(--accent-glow);
  animation: iconGlow 3s ease-in-out infinite;
}

.stat-glow-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.stat-glow-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: var(--gradient-accent);
  box-shadow: 0 0 15px var(--glow-strong);
}

.stat-glow-card strong {
  display: block;
  font-size: 2.25rem;
  font-weight: 700;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-glow-card span {
  font-size: 0.875rem;
  color: var(--text-muted);
}

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

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

.pain-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-left: 3px solid #ef4444;
  transition: all 0.3s;
}

.pain-card.solved {
  border-left-color: var(--accent);
}

.pain-card.solved:hover {
  box-shadow: 0 0 25px var(--accent-glow);
}

.pain-card h3 { margin-bottom: 10px; font-size: 1.0625rem; }
.pain-card p { color: var(--text-secondary); font-size: 0.9375rem; margin-bottom: 12px; }
.pain-solution {
  font-size: 0.875rem;
  color: var(--accent-light);
  font-weight: 600;
}

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

.corridor-card {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.4s;
}

.corridor-card:hover {
  border-color: var(--border-accent);
  box-shadow: 0 0 30px var(--accent-glow);
}

.corridor-flag {
  font-size: 2rem;
  flex-shrink: 0;
}

.corridor-card h3 { margin-bottom: 6px; }
.corridor-card p { color: var(--text-secondary); font-size: 0.875rem; margin-bottom: 8px; }
.corridor-stat {
  font-size: 0.8125rem;
  color: var(--accent);
  font-weight: 600;
}

.paa-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.paa-item {
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s;
}

.paa-item:hover {
  border-color: var(--border-accent);
  box-shadow: 0 0 20px var(--glow-soft);
}

.paa-item h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--accent-light);
}

.paa-item p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.logo-icon {
  box-shadow: 0 0 15px var(--accent-glow);
  animation: iconGlow 4s ease-in-out infinite;
}

.section-label {
  text-shadow: 0 0 20px var(--accent-glow);
}

.hero h1 span {
  filter: drop-shadow(0 0 20px rgba(16, 185, 129, 0.4));
}

@keyframes borderGlowRotate {
  to { transform: rotate(360deg); }
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

@keyframes orbPulse {
  0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes iconGlow {
  0%, 100% { box-shadow: 0 0 15px var(--accent-glow); }
  50% { box-shadow: 0 0 30px var(--glow-strong); }
}

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

.trust-logo {
  transition: all 0.3s;
  padding: 8px 16px;
  border-radius: 8px;
}

.trust-logo:hover {
  color: var(--accent-light);
  text-shadow: 0 0 15px var(--accent-glow);
  background: var(--glow-soft);
}

.industry-card:hover,
.case-card:hover,
.blog-card:hover {
  box-shadow: 0 0 35px var(--accent-glow);
}

.testimonial-card:hover {
  box-shadow: 0 0 25px var(--glow-soft);
  border-color: var(--border-accent);
}

@media (max-width: 1024px) {
  .research-grid { grid-template-columns: repeat(2, 1fr); }
  .pain-grid { grid-template-columns: 1fr; }
  .corridor-grid, .paa-grid { grid-template-columns: 1fr; }
  .pricing-grid-6 { grid-template-columns: repeat(2, 1fr); }
}

/* Section header (sec-hdr) */
.sec-hdr {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.sec-lbl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
  text-shadow: 0 0 20px var(--accent-glow);
}

.sec-lbl i {
  font-size: 0.875rem;
}

.sec-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.sec-sub {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.sec-sub strong {
  color: var(--accent-light);
}

.pricing-grid-6 {
  grid-template-columns: repeat(3, 1fr);
}

.pricing-validity {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-accent);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 0 20px var(--glow-strong);
}

.pricing-badge.value {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.pricing-card {
  position: relative;
}

.btn-pay-crypto {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 10px;
  padding: 10px 16px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-pay-crypto:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  box-shadow: 0 0 15px var(--accent-glow);
}

/* USDT TRC20 payment checkout */
.pricing-wizard { margin-bottom: 48px; }

.checkout-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.checkout-step {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 12px;
  color: var(--text-muted);
  font-family: inherit;
  transition: color 0.25s;
}
.checkout-step:disabled { cursor: default; opacity: 0.5; }
.checkout-step.is-active,
.checkout-step.is-done { color: var(--text-primary); }
.checkout-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  transition: all 0.25s;
}
.checkout-step.is-active .checkout-step-num {
  border-color: var(--accent);
  background: var(--accent-glow);
  color: var(--accent-light);
  box-shadow: 0 0 16px var(--accent-glow);
}
.checkout-step.is-done .checkout-step-num {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}
.checkout-step-label { font-size: 0.9375rem; font-weight: 500; }
.checkout-step-line {
  width: 48px;
  height: 2px;
  background: var(--border);
  margin: 0 4px;
}
.checkout-step-line.is-done { background: var(--accent); }

.checkout-panel {
  display: none;
  animation: fadeInUp 0.4s ease-out both;
}
.checkout-panel.is-active { display: block; }

.checkout-selected-plan {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 28px;
  text-align: center;
  color: var(--text-primary);
  font-size: 1.0625rem;
}
.checkout-selected-plan strong { color: var(--accent-light); }

.checkout-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.checkout-nav-form { margin-top: 24px; align-items: center; }
.checkout-submit-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex: 1;
  justify-content: flex-end;
}
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25d366;
  border: none;
  color: #fff;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9375rem;
  transition: background 0.25s, box-shadow 0.25s;
}
.btn-whatsapp:hover {
  background: #1fb855;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}
.pay-form-whatsapp-hint {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 16px;
  line-height: 1.6;
}
.checkout-nav .btn { min-width: 140px; }

.pay-section { scroll-margin-top: 100px; }
.pay-qr-card-centered {
  max-width: 480px;
  margin: 0 auto;
}
.pay-form-card-wide { max-width: 720px; margin: 0 auto; }
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.pricing-details-section { border-top: 1px solid var(--border); }
body.checkout-active .pricing-details-section,
body.checkout-active main > section:not(#page-pricing) {
  display: none;
}

.pricing-card.is-selected {
  border-color: var(--accent);
  box-shadow: 0 0 24px var(--accent-glow);
}

.pay-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: start;
}
.pay-qr-card,
.pay-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.pay-qr-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.pay-qr-wrap img {
  border-radius: 12px;
  border: 4px solid #fff;
  background: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}
.pay-network-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  color: var(--accent-light);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.pay-address-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.pay-address-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
  margin-bottom: 12px;
}
.pay-address {
  flex: 1;
  display: block;
  font-size: 0.8125rem;
  word-break: break-all;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--accent-light);
  line-height: 1.5;
}
.pay-tronscan-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--accent-light);
  margin-bottom: 24px;
}
.pay-tronscan-link:hover { text-decoration: underline; }
.pay-steps {
  margin: 0 0 24px 20px;
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 0.9375rem;
}
.pay-steps li { margin-bottom: 8px; }
.pay-delivery-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid var(--border-accent);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 0.9375rem;
}
.pay-delivery-badge i { color: var(--accent-light); font-size: 1.25rem; }
.pay-form-card h3 { margin-bottom: 10px; }
.pay-form-intro {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-bottom: 24px;
  line-height: 1.7;
}
.form-hint {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 6px;
}
.form-hint a { color: var(--accent-light); }
.payment-form-success { margin-top: 16px; }

@media (max-width: 1024px) {
  .pay-grid { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .pricing-grid-6 { grid-template-columns: 1fr; }
  .pay-address-row { flex-direction: column; }
  .checkout-step-label { display: none; }
  .checkout-step-line { width: 24px; }
  .checkout-nav { flex-direction: column; }
  .checkout-nav .btn { width: 100%; }
  .checkout-submit-btns { flex-direction: column; width: 100%; }
  .checkout-submit-btns .btn { width: 100%; }
}


/* FAQ category headers */
.faq-category {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 48px 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
}
.faq-category:first-child {
  margin-top: 0;
}

/* ── New homepage value sections ── */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 40px;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  opacity: 0.4;
}
.timeline-step {
  padding: 0 16px;
  text-align: center;
  position: relative;
}
.timeline-num {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--accent);
  color: var(--accent-light);
  font-weight: 700;
  font-size: 1.125rem;
  box-shadow: 0 0 20px var(--accent-glow);
  position: relative;
  z-index: 1;
}
.timeline-step h3 { font-size: 1rem; margin-bottom: 8px; }
.timeline-step p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.55; }

.role-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.role-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s;
}
.role-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 30px var(--accent-glow);
  transform: translateY(-4px);
}
.role-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}
.role-card h3 { margin-bottom: 10px; font-size: 1.0625rem; }
.role-card p { color: var(--text-secondary); font-size: 0.875rem; margin-bottom: 14px; line-height: 1.55; }
.role-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.role-card li {
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding: 4px 0;
  padding-left: 18px;
  position: relative;
}
.role-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.integration-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.integration-group {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.integration-group h3 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-light);
  margin-bottom: 16px;
}
.integration-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.integration-tag {
  padding: 8px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: all 0.25s;
}
.integration-tag:hover {
  border-color: var(--accent);
  color: var(--accent-light);
}

.code-panel {
  background: #0d1117;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 24px;
}
.code-panel-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.code-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.code-dot.red { background: #ff5f57; }
.code-dot.yellow { background: #febc2e; }
.code-dot.green { background: #28c840; }
.code-panel pre {
  margin: 0;
  padding: 20px;
  overflow-x: auto;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #e6edf3;
}
.code-panel code { font-family: 'SF Mono', 'Fira Code', monospace; }
.code-kw { color: #ff7b72; }
.code-str { color: #a5d6ff; }
.code-cm { color: #8b949e; }
.code-fn { color: #d2a8ff; }

.region-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.region-card {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-top: 3px solid var(--accent);
}
.region-card h3 { margin-bottom: 6px; font-size: 1.0625rem; }
.region-meta {
  font-size: 0.75rem;
  color: var(--accent-light);
  font-weight: 600;
  margin-bottom: 12px;
}
.region-card p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.55; margin: 0; }

.transform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.transform-col {
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.transform-col.before {
  background: rgba(239, 68, 68, 0.05);
  border-color: rgba(239, 68, 68, 0.2);
}
.transform-col.after {
  background: rgba(34, 197, 94, 0.05);
  border-color: rgba(34, 197, 94, 0.25);
}
.transform-col h3 {
  font-size: 1.125rem;
  margin-bottom: 20px;
}
.transform-col.before h3 { color: #f87171; }
.transform-col.after h3 { color: #4ade80; }
.transform-metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
}
.transform-metric:last-child { border-bottom: none; }
.transform-metric span:last-child { font-weight: 700; }

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.checklist-item {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  align-items: flex-start;
}
.checklist-check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}
.checklist-item strong { display: block; font-size: 0.9375rem; margin-bottom: 4px; }
.checklist-item p { font-size: 0.8125rem; color: var(--text-secondary); margin: 0; line-height: 1.5; }

.sla-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.sla-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}
.sla-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 40px var(--accent-glow);
}
.sla-tier {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-light);
  margin-bottom: 8px;
}
.sla-card h3 { font-size: 1.25rem; margin-bottom: 16px; }
.sla-stat {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-light);
  margin-bottom: 4px;
}
.sla-card ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  text-align: left;
}
.sla-card li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.sla-card li:last-child { border-bottom: none; }

.glossary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.glossary-item {
  padding: 22px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.glossary-item dt {
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent-light);
  margin-bottom: 8px;
}
.glossary-item dd {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.learning-path {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
  margin: 40px auto 0;
}
.learning-step {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-left: 2px solid var(--border);
  margin-left: 20px;
  padding-left: 32px;
  position: relative;
}
.learning-step:last-child { border-left-color: transparent; }
.learning-step::before {
  content: '';
  position: absolute;
  left: -9px;
  top: 28px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}
.learning-step-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-light);
  margin-bottom: 4px;
}
.learning-step h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.learning-step p { font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 10px; line-height: 1.55; }
.learning-step a { font-size: 0.875rem; font-weight: 600; }

@media (max-width: 1024px) {
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .timeline::before { display: none; }
  .role-grid { grid-template-columns: repeat(2, 1fr); }
  .integration-grid, .region-grid { grid-template-columns: 1fr; }
  .transform-grid, .sla-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .timeline, .role-grid, .checklist-grid, .glossary-grid { grid-template-columns: 1fr; }
}

/* Blog hub — 500 posts layout */
.blog-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start;
}
.blog-sidebar {
  position: sticky;
  top: 100px;
}
.sidebar-block {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 24px;
}
.sidebar-block h2 {
  font-size: 1.125rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}
.tag-count-badge {
  font-size: 0.75rem;
  padding: 2px 8px;
  background: var(--accent);
  color: #000;
  border-radius: 999px;
  font-weight: 700;
}
.recent-posts-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 480px;
  overflow-y: auto;
}
.recent-post-item {
  display: block;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  text-decoration: none;
  transition: all 0.25s;
}
.recent-post-item:hover {
  border-color: var(--accent);
  background: rgba(34, 197, 94, 0.05);
}
.recent-post-item time {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.recent-post-item strong {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 6px;
}
.recent-post-tag {
  font-size: 0.6875rem;
  color: var(--accent-light);
  font-weight: 600;
}
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 360px;
  overflow-y: auto;
}
.tag-cloud-wide {
  max-height: none;
  justify-content: center;
  gap: 10px;
}
.tag-pill-link {
  text-decoration: none;
  display: inline-block;
}
.tag-pill {
  padding: 5px 10px;
  font-size: 0.6875rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.tag-pill:hover,
.tag-pill.active {
  border-color: var(--accent);
  color: var(--accent-light);
  background: rgba(34, 197, 94, 0.1);
}
.blog-list-header {
  margin-bottom: 28px;
}
.blog-list-header h2 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}
.blog-list-header p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}
.blog-card h3 a {
  color: inherit;
  text-decoration: none;
}
.blog-card h3 a:hover {
  color: var(--accent-light);
}
.blog-meta a {
  color: var(--accent-light);
  text-decoration: none;
}
.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.pagination-info {
  font-size: 0.875rem;
  color: var(--text-muted);
}
.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}
.loading-text {
  color: var(--text-muted);
  padding: 40px;
  text-align: center;
}
@media (max-width: 1024px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }
  .blog-sidebar {
    position: static;
  }
  .recent-posts-list,
  .tag-cloud {
    max-height: none;
  }
}

/* Language switcher */
.lang-switcher {
  margin-right: 12px;
}
.lang-select {
  padding: 8px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.8125rem;
  font-family: inherit;
  cursor: pointer;
  max-width: 140px;
}
.lang-select:hover,
.lang-select:focus {
  border-color: var(--accent);
  outline: none;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
body.rtl .header-inner { direction: rtl; }
body.rtl .nav-desktop { flex-direction: row-reverse; }
body.rtl .quick-contact-bar { left: 24px; right: auto; }

/* Quick contact — Email + WhatsApp */
.quick-contact-bar {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.qc-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
  transition: transform 0.25s, box-shadow 0.25s;
  color: #fff;
}
.qc-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.45);
}
.qc-email {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}
.qc-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
}
.qc-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}
.qc-label {
  white-space: nowrap;
}
@media (max-width: 480px) {
  .quick-contact-bar {
    bottom: 16px;
    right: 16px;
  }
  .qc-label { display: none; }
  .qc-btn {
    width: 52px;
    height: 52px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
}
