@import url('/assets/css/i18n-selector.css?v=3.3.0');
@import url('/assets/css/starton-design-system.css?v=3.3.0');

/* ==============================================================================
   StarTON - Premium 3D Fintech & Digital Membership Homepage Stylesheet
   Theme: Dynamic White & Light Alabaster, Deep Slate, Electric TON Cyan & Star Gold
   Complete 3D Design Language: Raised Buttons, Layered Cards, 3D Badges & Depth
   ============================================================================== */

:root {
  --hp-bg-main: #f8fafc;
  --hp-bg-card: rgba(255, 255, 255, 0.98);
  --hp-bg-card-alt: #f1f5f9;
  --hp-border: #e2e8f0;
  --hp-border-3d: #cbd5e1;
  --hp-border-glow: rgba(2, 132, 199, 0.35);
  --hp-border-gold: rgba(217, 119, 6, 0.45);

  --hp-text-title: #0f172a;
  --hp-text-body: #334155;
  --hp-text-muted: #64748b;

  --hp-primary-cyan: #0284c7;
  --hp-primary-blue: #0369a1;
  --hp-accent-gold: #d97706;
  --hp-gold-bright: #f59e0b;
  --hp-gold-light: #fef3c7;
  --hp-emerald: #059669;
  --hp-red: #dc2626;

  /* Gradients */
  --hp-grad-brand: linear-gradient(135deg, #0284c7 0%, #0369a1 50%, #059669 100%);
  --hp-grad-gold: linear-gradient(180deg, #fbbf24 0%, #d97706 100%);
  --hp-grad-blue: linear-gradient(180deg, #0284c7 0%, #0369a1 100%);
  --hp-grad-cyan: linear-gradient(180deg, #38bdf8 0%, #0284c7 100%);
  --hp-grad-white: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  --hp-grad-card-3d: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(248, 250, 252, 0.95) 100%);

  /* 3D Shadows & Depth Layers */
  --hp-shadow-3d-btn: 0 3px 6px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  --hp-shadow-3d-card: 0 14px 32px -4px rgba(15, 23, 42, 0.08), 0 4px 10px -2px rgba(15, 23, 42, 0.04), inset 0 1px 0 rgba(255, 255, 255, 1);
  --hp-shadow-3d-hover: 0 24px 50px -6px rgba(2, 132, 199, 0.22), 0 8px 20px -3px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 1);
  --hp-shadow-3d-gold: 0 6px 18px rgba(217, 119, 6, 0.38), 0 0 18px rgba(245, 158, 11, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.55);
  --hp-shadow-3d-blue: 0 6px 18px rgba(2, 132, 199, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

html,
body {
  margin: 0 !important;
  padding: 0 !important;
}

/* ================== Ambient Background Canvas ================== */
#hp-ambient-canvas {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  pointer-events: none !important;
  z-index: -2 !important;
  display: block;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0.75;
}



@import url('/assets/css/starton-design-system.css?v=3.3.0');

/* ==============================================================================
   HEADER COMPONENT (Normal Document Flow - Scrolls Away With Page)
   ============================================================================== */

header.hp-nav-bar,
.hp-nav-bar {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  width: 100%;
  background-color: #e6f4fa;
  background-image:
    radial-gradient(circle at 15% 50%, rgba(255, 255, 255, 0.45) 0%, transparent 50%),
    radial-gradient(circle at 85% 30%, rgba(255, 255, 255, 0.45) 0%, transparent 50%);
  border-bottom: 1px solid rgba(186, 230, 253, 0.6);
  z-index: 100;
  margin: 0 !important;
  padding: 24px 0 20px 0 !important;
}

.header-container {
  width: 100%;
  max-width: 1600px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 40px;
  margin: 0 auto;
  box-sizing: border-box;
  gap: 24px;
}

/* --- LEFT SECTION: BRANDING & LOGO --- */
.left-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 250px;
  position: relative;
  flex-shrink: 0;
}

.brand-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease;
  z-index: 2;
}

.brand-link:hover {
  transform: translateY(-1px);
}

.bg-text {
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 1.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.65);
  z-index: 1;
  letter-spacing: 2px;
  text-transform: lowercase;
  pointer-events: none;
  user-select: none;
}

.logo-box {
  width: 104px;
  height: 104px;
  background: linear-gradient(135deg, #111827, #1f2937);
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #374151;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.site-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease;
}

.brand-link:hover .site-logo {
  transform: scale(1.02);
}

.sub-text {
  margin-top: 14px;
  text-align: center;
  font-weight: 800;
  font-size: 13.5px;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

.sub-text-primary {
  color: #0284c7;
}

.sub-text-secondary {
  color: #0c4a6e;
}

/* --- RIGHT SECTION: ACTIONS & NAVIGATION --- */
.right-section {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  flex-grow: 1;
}

/* Row 1: Community & Telegram Bot */
.row-top {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 15px;
  width: 100%;
}

.header-container .btn-ton-chart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #ffffff !important;
  color: #0284c7 !important;
  padding: 10px 22px !important;
  border-radius: 9999px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  border: 1px solid #bae6fd !important;
  box-shadow: 0 4px 6px rgba(14, 165, 233, 0.08) !important;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.header-container .btn-ton-chart i {
  color: #0284c7 !important;
  font-size: 16px !important;
}

.header-container .btn-ton-chart:hover {
  background-color: #f0f9ff !important;
  color: #0369a1 !important;
  border-color: #0284c7 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(14, 165, 233, 0.16) !important;
}

.header-container .btn-ton-chart.active {
  background-color: #0284c7 !important;
  color: #ffffff !important;
  border-color: #0284c7 !important;
}

.header-container .btn-ton-chart.active i {
  color: #ffffff !important;
}

.btn-community {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #ffffff !important;
  color: #334155 !important;
  padding: 10px 22px !important;
  border-radius: 9999px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  border: 1px solid #f1f5f9 !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05) !important;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.header-container .btn-community i {
  color: #0ea5e9 !important;
  font-size: 16px !important;
}

.header-container .btn-community:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1) !important;
}

.header-container .btn-telegram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background-color: #ffffff !important;
  color: #0284c7 !important;
  border: 2px solid #e0f2fe !important;
  border-radius: 9999px !important;
  padding: 9px 24px !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px;
  text-decoration: none !important;
  box-shadow: 0 4px 6px rgba(2, 132, 199, 0.1) !important;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.header-container .btn-telegram:hover {
  border-color: #bae6fd !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(2, 132, 199, 0.2) !important;
}

.header-container .btn-telegram:active {
  transform: translateY(1px);
}

.header-container .btn-telegram i {
  color: #0284c7 !important;
  font-size: 16px !important;
}

/* Row 2: Action Buttons (Join, Login, Member Login) */
.row-middle {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
}

.header-container .btn-join {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(90deg, #d97706, #f59e0b) !important;
  color: #ffffff !important;
  padding: 11px 24px !important;
  border-radius: 12px !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  border: none !important;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4) !important;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.header-container .btn-join:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.55) !important;
}

.header-container .btn-join:active {
  transform: translateY(1px);
}

.header-container .btn-join i {
  color: #ffffff !important;
  font-size: 16px !important;
}

.header-container .btn-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(180deg, #0ea5e9, #0284c7) !important;
  color: #ffffff !important;
  padding: 11px 30px !important;
  border-radius: 12px !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  border: none !important;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.4) !important;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.header-container .btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.55) !important;
}

.header-container .btn-login:active {
  transform: translateY(1px);
}

.header-container .btn-login i {
  color: #ffffff !important;
  font-size: 16px !important;
}

.header-container .btn-member-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #ffffff !important;
  color: #1e293b !important;
  padding: 11px 22px !important;
  border-radius: 12px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05) !important;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.header-container .btn-member-login:hover {
  background-color: #f8fafc !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08) !important;
}

.header-container .btn-member-login:active {
  transform: translateY(1px);
}

/* Row 3: Navigation Bar */
.header-container .nav-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: transparent !important;
  margin-top: 4px;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.header-container .nav-bar::-webkit-scrollbar {
  display: none;
}

.header-container .nav-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #ffffff !important;
  color: #1e293b !important;
  padding: 11px 20px !important;
  border-radius: 12px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  border: 1px solid #f1f5f9 !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.03), inset 0 -2px 0 rgba(0, 0, 0, 0.02) !important;
  transition: all 0.2s ease;
  white-space: nowrap;
  user-select: none;
}

.header-container .nav-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08) !important;
}

.header-container .nav-item:active {
  transform: translateY(1px);
}

/* Active Nav Item */
.header-container .nav-item.active {
  background: linear-gradient(180deg, #38bdf8, #0284c7) !important;
  color: #ffffff !important;
  border: 1px solid transparent !important;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.4) !important;
}

.header-container .nav-item.active:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.5) !important;
}

/* Icon Colors for Navigation Items */
.header-container .nav-item i {
  font-size: 15px;
}

.header-container .nav-item.active i {
  color: #ffffff !important;
}

.header-container .nav-item-membership i {
  color: #eab308 !important;
}

.header-container .nav-item-ton i {
  color: #0ea5e9 !important;
}

.header-container .nav-item-exchange i {
  color: #10b981 !important;
}

.header-container .nav-item-p2p i {
  color: #1e3a8a !important;
}

.header-container .nav-item-how i {
  color: #f97316 !important;
}

.header-container .nav-item-contact i {
  color: #64748b !important;
}

/* Mobile Nav Toggle Button */
.nav-toggle-btn {
  display: none;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  font-size: 18px;
  line-height: 1;
  padding: 8px 12px;
  cursor: pointer;
  color: #0284c7;
  box-shadow: 0 2px 5px rgba(2, 132, 199, 0.12);
  min-height: 42px;
  min-width: 42px;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.nav-toggle-btn:hover {
  background: #f0f9ff;
  border-color: #0284c7;
}

.hp-mobile-nav-actions {
  display: none;
}

/* Responsive adjustments */
@media (max-width: 1280px) {
  .header-container {
    padding: 0 20px;
    gap: 16px;
  }

  .header-container .nav-item {
    padding: 9px 14px !important;
    font-size: 13px !important;
  }
}

@media (max-width: 1080px) {
  .header-container {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 0 24px;
  }

  .right-section {
    align-items: center;
    width: 100%;
  }

  .row-top {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  .row-middle {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  .header-container .nav-bar {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  header.hp-nav-bar,
  .hp-nav-bar {
    padding: 12px 0 14px !important;
  }

  .header-container {
    flex-direction: column !important;
    padding: 0 14px !important;
    gap: 10px !important;
    align-items: stretch !important;
  }

  .left-section {
    width: 100% !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  .left-section .bg-text {
    display: none !important;
  }

  .left-section .brand-link {
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
  }

  .left-section .logo-box {
    width: 48px !important;
    height: 48px !important;
    border-radius: 10px !important;
    flex-shrink: 0 !important;
  }

  .left-section .sub-text {
    margin-top: 0 !important;
    text-align: left !important;
    font-size: 11px !important;
    line-height: 1.25 !important;
    letter-spacing: 0.3px !important;
  }

  .hp-mobile-nav-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .hp-mobile-lang-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 10px !important;
    padding: 6px 10px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    min-height: 42px !important;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.06) !important;
    cursor: pointer !important;
  }

  .hp-mobile-lang-btn .lang-code-pill {
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 11px;
    color: #0284c7;
    font-weight: 800;
  }

  .hp-mobile-toggle-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #0284c7 !important;
    font-size: 18px !important;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.12) !important;
    cursor: pointer !important;
  }

  .right-section {
    width: 100% !important;
    align-items: stretch !important;
    gap: 8px !important;
  }

  .header-container .nav-bar {
    display: none !important;
  }

  #hp-nav-toggle {
    display: none !important;
  }

  .row-middle {
    width: 100% !important;
    display: flex !important;
    gap: 8px !important;
    justify-content: stretch !important;
  }

  .header-container .btn-join {
    flex: 1 1 50% !important;
    padding: 10px 14px !important;
    font-size: 13.5px !important;
    min-height: 44px !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  .header-container .btn-login {
    flex: 1 1 50% !important;
    padding: 10px 14px !important;
    font-size: 13.5px !important;
    min-height: 44px !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  .header-container .btn-member-login {
    display: none !important;
  }

  .row-top {
    width: 100% !important;
    display: flex !important;
    gap: 8px !important;
    justify-content: stretch !important;
  }

  .header-container .btn-ton-chart {
    flex: 1 1 50% !important;
    padding: 8px 12px !important;
    font-size: 12.5px !important;
    min-height: 38px !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  .header-container .btn-telegram {
    flex: 1 1 50% !important;
    padding: 8px 12px !important;
    font-size: 12.5px !important;
    min-height: 38px !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  .header-container .btn-community,
  #header-lang-btn {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .left-section .logo-box {
    width: 44px !important;
    height: 44px !important;
  }

  .left-section .sub-text {
    font-size: 9.5px !important;
  }

  .header-container .btn-join,
  .header-container .btn-login {
    font-size: 12.5px !important;
    padding: 9px 8px !important;
  }

  .header-container .btn-ton-chart,
  .header-container .btn-telegram {
    font-size: 11.5px !important;
    padding: 7px 6px !important;
  }
}

/* ================== GLOBAL 3D BUTTON DESIGN SYSTEM ================== */
.hp-btn-3d {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  user-select: none;
  position: relative;
}

.hp-btn-3d .btn-icon {
  font-size: 1.05rem;
  display: inline-flex;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hp-btn-3d:hover .btn-icon {
  transform: scale(1.15);
}

/* A. PRIMARY GOLD BUTTON */
.hp-btn-gold-3d {
  background: linear-gradient(180deg, #fbbf24 0%, #d97706 100%);
  border: 1px solid #f59e0b;
  border-bottom: 3.5px solid #78350f;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.38), 0 0 16px rgba(245, 158, 11, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.55);
  text-shadow: 0 1px 2px rgba(120, 53, 15, 0.6);
}

.hp-btn-gold-3d:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #fcd34d 0%, #ea580c 100%);
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.52), 0 0 24px rgba(245, 158, 11, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.hp-btn-gold-3d:active {
  transform: translateY(2px);
  border-bottom-width: 1px;
  box-shadow: 0 1px 3px rgba(120, 53, 15, 0.5);
}

/* B. PRIMARY BLUE BUTTON */
.hp-btn-blue-3d {
  background: linear-gradient(180deg, #0284c7 0%, #0369a1 100%);
  border: 1px solid #0284c7;
  border-bottom: 3.5px solid #082f49;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  text-shadow: 0 1px 2px rgba(8, 47, 73, 0.5);
}

.hp-btn-blue-3d:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #38bdf8 0%, #0284c7 100%);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.hp-btn-blue-3d:active {
  transform: translateY(2px);
  border-bottom-width: 1px;
  box-shadow: 0 1px 3px rgba(8, 47, 73, 0.5);
}

/* C. TON CYAN BUTTON */
.hp-btn-cyan-3d {
  background: linear-gradient(180deg, #38bdf8 0%, #0284c7 100%);
  border: 1px solid #38bdf8;
  border-bottom: 3.5px solid #0369a1;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.38), 0 0 16px rgba(56, 189, 248, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.55);
  text-shadow: 0 1px 2px rgba(3, 105, 161, 0.5);
}

.hp-btn-cyan-3d:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #7dd3fc 0%, #0369a1 100%);
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.52), 0 0 22px rgba(56, 189, 248, 0.35);
}

.hp-btn-cyan-3d:active {
  transform: translateY(2px);
  border-bottom-width: 1px;
  box-shadow: 0 1px 3px rgba(3, 105, 161, 0.5);
}

/* D. WHITE PREMIUM BUTTON */
.hp-btn-white-3d {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #cbd5e1;
  border-bottom: 3.5px solid #94a3b8;
  color: #0f172a !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08), inset 0 1px 0 #ffffff;
}

.hp-btn-white-3d:hover {
  transform: translateY(-2px);
  background: #ffffff;
  border-color: #93c5fd;
  border-bottom-color: #0284c7;
  color: #0284c7 !important;
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.16), inset 0 1px 0 #ffffff;
}

.hp-btn-white-3d:active {
  transform: translateY(2px);
  border-bottom-width: 1px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.15);
}

/* E. OUTLINE 3D BUTTON */
.hp-btn-outline-3d {
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid #0284c7;
  border-bottom: 3.5px solid #0369a1;
  color: #0284c7 !important;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.12), inset 0 1px 0 #ffffff;
}

.hp-btn-outline-3d:hover {
  transform: translateY(-2px);
  background: #f0f9ff;
  border-color: #0369a1;
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.24);
}

.hp-btn-outline-3d:active {
  transform: translateY(2px);
  border-bottom-width: 1px;
  box-shadow: 0 1px 3px rgba(2, 132, 199, 0.2);
}

/* Button Sizing */
.hp-btn-sm {
  padding: 8px 16px;
  font-size: 0.84rem;
  border-radius: 10px;
}

.hp-btn-lg {
  padding: 14px 30px;
  font-size: 1.05rem;
  border-radius: 14px;
}

/* Backward compatibility aliases */
.hp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.hp-btn-primary {
  background: linear-gradient(180deg, #0284c7 0%, #0369a1 100%);
  border: 1px solid #0284c7;
  border-bottom: 3px solid #082f49;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.hp-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.45);
}

.hp-btn-primary:active {
  transform: translateY(2px);
  border-bottom-width: 1px;
}

.hp-btn-gold {
  background: linear-gradient(180deg, #fbbf24 0%, #d97706 100%);
  border: 1px solid #f59e0b;
  border-bottom: 3px solid #78350f;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.hp-btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(217, 119, 6, 0.48);
}

.hp-btn-gold:active {
  transform: translateY(2px);
  border-bottom-width: 1px;
}

.hp-btn-outline {
  background: #ffffff;
  color: #0f172a !important;
  border: 1px solid #cbd5e1;
  border-bottom: 2.5px solid #94a3b8;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
}

.hp-btn-outline:hover {
  background: #f8fafc;
  border-color: #0284c7;
  color: #0284c7 !important;
  transform: translateY(-1px);
}

.hp-btn-outline:active {
  transform: translateY(1px);
}

/* ================== 3D CARDS & SURFACES ================== */
.hp-card-3d {
  background: var(--hp-grad-card-3d);
  border: 1px solid #e2e8f0;
  border-bottom: 4px solid #cbd5e1;
  border-radius: 20px;
  box-shadow: var(--hp-shadow-3d-card);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.hp-card-3d:hover {
  transform: translateY(-6px);
  box-shadow: var(--hp-shadow-3d-hover);
  border-color: #93c5fd;
  border-bottom-color: #0284c7;
}

/* 3D Icon Medallion */
.hp-medallion-3d {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-bottom: 3px solid #cbd5e1;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.06), inset 0 1px 0 #ffffff;
  transition: transform 0.3s ease;
}

.hp-card-3d:hover .hp-medallion-3d {
  transform: scale(1.1) rotate(-3deg);
  border-color: #7dd3fc;
  border-bottom-color: #0284c7;
}

.hp-medallion-3d.gold {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-color: #fde68a;
  border-bottom-color: #d97706;
}

.hp-medallion-3d.cyan {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-color: #bae6fd;
  border-bottom-color: #0284c7;
}

.hp-medallion-3d.emerald {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border-color: #a7f3d0;
  border-bottom-color: #059669;
}

/* ================== 3. HERO SECTION (IMMERSIVE 3D) ================== */
.hp-hero {
  position: relative;
  margin-top: 0 !important;
  padding: 44px 0 72px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 10%, rgba(2, 132, 199, 0.08) 0%, rgba(248, 250, 252, 0.98) 70%);
}

.hp-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.hp-badge-membership {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid #fde68a;
  border-bottom: 2.5px solid #d97706;
  padding: 8px 18px;
  border-radius: 9999px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.12), inset 0 1px 0 #ffffff;
}

.hp-badge-icon {
  font-size: 1.25rem;
}

.hp-badge-label {
  font-size: 0.82rem;
  font-weight: 800;
  color: #92400e;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hp-hero h1 {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.12;
  color: #0f172a;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hp-hero-gradient-text {
  background: linear-gradient(135deg, #0284c7 0%, #0088cc 50%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hp-hero-lead {
  font-size: 1.18rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 600px;
}

.hp-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

/* Hero Key Metric Badges (3D Raised Cards) */
.hp-hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border-top: 1px solid #e2e8f0;
  padding-top: 24px;
}

.hp-metric-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  border-bottom: 3px solid #cbd5e1;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05), inset 0 1px 0 #ffffff;
  transition: all 0.25s ease;
}

.hp-metric-card:hover {
  transform: translateY(-3px);
  border-color: #93c5fd;
  border-bottom-color: #0284c7;
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.14);
}

.hp-metric-val {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.hp-metric-val.gold {
  color: #d97706;
}

.hp-metric-val.cyan {
  color: #0284c7;
}

.hp-metric-val.emerald {
  color: #059669;
}

.hp-metric-lbl {
  font-size: 0.76rem;
  font-weight: 600;
  color: #64748b;
  margin-top: 2px;
}

/* Hero 3D Visual Composition */
.hp-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hp-3d-coin-card {
  position: relative;
  background: radial-gradient(circle at 50% 30%, #ffffff 0%, #f0f9ff 100%);
  border: 1.5px solid rgba(2, 132, 199, 0.3);
  border-bottom: 5px solid #0284c7;
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 25px 60px -10px rgba(2, 132, 199, 0.28), inset 0 1px 0 #ffffff;
  text-align: center;
  max-width: 440px;
  width: 100%;
  transition: transform 0.35s ease;
}

.hp-3d-coin-card:hover {
  transform: translateY(-4px) scale(1.01);
}

.hp-coin-img {
  width: 260px;
  height: 260px;
  object-fit: contain;
  margin: 0 auto 18px;
  filter: drop-shadow(0 18px 36px rgba(217, 119, 6, 0.38));
  animation: hpFloat3D 4.5s ease-in-out infinite;
}

@keyframes hpFloat3D {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-12px) rotate(2deg);
  }
}

.hp-coin-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(180deg, #fef3c7 0%, #fde68a 100%);
  border: 1px solid #f59e0b;
  border-bottom: 2px solid #b45309;
  color: #92400e;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: 9999px;
  margin-bottom: 12px;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.15);
}

.hp-coin-price-tag {
  font-size: 2.5rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.hp-coin-price-sub {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0284c7;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Floating 3D Micro-Cards */
.hp-float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 10px 16px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  border-bottom: 3px solid #cbd5e1;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12), inset 0 1px 0 #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  z-index: 2;
  animation: hpFloatCard 5s ease-in-out infinite;
}

.hp-float-top-left {
  top: 10px;
  left: -20px;
}

.hp-float-bottom-right {
  bottom: 16px;
  right: -20px;
  animation-delay: 2.5s;
}

@keyframes hpFloatCard {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* ================== Section Headers ================== */
.hp-section {
  padding: 72px 0;
  position: relative;
}

.hp-section-alt {
  background: #f1f5f9;
}

.hp-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.hp-section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 52px;
}

.hp-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #0284c7;
  background: linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 1px solid #bae6fd;
  border-bottom: 2px solid #38bdf8;
  padding: 5px 14px;
  border-radius: 9999px;
  margin-bottom: 12px;
  box-shadow: 0 2px 4px rgba(2, 132, 199, 0.1);
}

.hp-eyebrow.gold {
  color: #b45309;
  background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 100%);
  border-color: #fde68a;
  border-bottom: 2px solid #f59e0b;
}

.hp-section-head h2 {
  font-size: 2.35rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hp-section-head p {
  font-size: 1.08rem;
  color: #64748b;
  line-height: 1.6;
}

/* ================== 4. 3D ECOSYSTEM INFOGRAPHIC ================== */
.hp-ecosystem-wrapper {
  position: relative;
}

.hp-ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.hp-eco-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-bottom: 4px solid #cbd5e1;
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: var(--hp-shadow-3d-card);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  cursor: pointer;
}

.hp-eco-card:hover,
.hp-eco-card.active {
  transform: translateY(-6px);
  border-color: #7dd3fc;
  border-bottom-color: #0284c7;
  box-shadow: var(--hp-shadow-3d-hover);
}

.hp-eco-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 1px solid #bae6fd;
  border-bottom: 3px solid #0284c7;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.12), inset 0 1px 0 #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  margin-bottom: 18px;
  transition: transform 0.3s ease;
}

.hp-eco-card:hover .hp-eco-icon-wrap {
  transform: scale(1.12) rotate(-3deg);
}

.hp-eco-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
}

.hp-eco-card p {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.55;
}

.hp-eco-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #0284c7;
  background: #f0f9ff;
  border: 1px solid #e0f2fe;
  border-bottom: 2px solid #bae6fd;
  padding: 4px 12px;
  border-radius: 9999px;
}

/* ================== 2. MEMBERSHIP PLAN SECTION ================== */
.hp-membership-card-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  background: #ffffff;
  border: 1px solid rgba(2, 132, 199, 0.25);
  border-bottom: 5px solid #d97706;
  border-radius: 28px;
  box-shadow: 0 25px 60px -12px rgba(15, 23, 42, 0.12), 0 0 30px rgba(217, 119, 6, 0.12);
  overflow: hidden;
}

.hp-member-hero-side {
  background: radial-gradient(circle at 50% 20%, #ffffff 0%, #fffbeb 100%);
  padding: 48px 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-right: 1px solid #fde68a;
  position: relative;
}

.hp-plan-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #92400e;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.hp-plan-price-huge {
  font-size: 4.2rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1;
  margin-bottom: 8px;
}

.hp-plan-term {
  font-size: 0.95rem;
  font-weight: 700;
  color: #059669;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-bottom: 2px solid #059669;
  padding: 5px 16px;
  border-radius: 9999px;
  margin-bottom: 24px;
}

.hp-member-details-side {
  padding: 48px 40px;
}

.hp-benefits-checklist {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0 32px;
}

.hp-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: #334155;
  font-weight: 600;
}

.hp-check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.3);
}

/* ================== 5. TON BLOCKCHAIN SECTION ================== */
.hp-ton-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}

.hp-ton-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}

.hp-ton-feat-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-bottom: 3.5px solid #cbd5e1;
  border-radius: 18px;
  padding: 22px 18px;
  box-shadow: var(--hp-shadow-3d-card);
  transition: all 0.28s ease;
}

.hp-ton-feat-card:hover {
  transform: translateY(-5px);
  border-color: #38bdf8;
  border-bottom-color: #0284c7;
  box-shadow: var(--hp-shadow-3d-hover);
}

.hp-ton-feat-card h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin: 12px 0 6px;
}

.hp-ton-feat-card p {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.5;
}

/* ================== 6. TELEGRAM STARS SECTION ================== */
.hp-stars-journey {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.hp-stars-step {
  background: linear-gradient(180deg, #ffffff 0%, #fffbeb 100%);
  border: 1px solid #fde68a;
  border-bottom: 4px solid #d97706;
  border-radius: 20px;
  padding: 26px 20px;
  box-shadow: 0 10px 24px rgba(217, 119, 6, 0.1);
  text-align: center;
  transition: transform 0.28s ease;
}

.hp-stars-step:hover {
  transform: translateY(-5px);
}

.hp-step-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  background: #f59e0b;
  color: #ffffff;
  padding: 3px 10px;
  border-radius: 9999px;
  margin-bottom: 14px;
}

.hp-stars-step h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.hp-stars-step p {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.5;
}

/* Telegram Stars Interactive Calculator */
.hp-stars-calc-box {
  background: #ffffff;
  border: 1px solid rgba(217, 119, 6, 0.3);
  border-bottom: 4px solid #d97706;
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 18px 40px rgba(217, 119, 6, 0.12);
  max-width: 820px;
  margin: 0 auto;
}

.hp-slider-range {
  width: 100%;
  margin: 18px 0;
  accent-color: #d97706;
}

.hp-stars-calc-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid #fde68a;
  border-bottom: 3px solid #d97706;
  padding: 20px 28px;
  border-radius: 18px;
  margin-top: 24px;
}

.hp-stars-calc-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: #b45309;
}

/* ================== 7. GLOBAL EXCHANGE TERMINAL ================== */
.hp-terminal-calc {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-bottom: 4px solid #0284c7;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 16px 38px rgba(2, 132, 199, 0.1);
  margin-bottom: 48px;
}

.hp-conv-group {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px;
}

.hp-conv-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.hp-conv-input-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hp-conv-input {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0f172a;
  border: none;
  background: transparent;
  width: 100%;
  outline: none;
}

.hp-conv-select {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-bottom: 2px solid #94a3b8;
  border-radius: 10px;
  padding: 8px 14px;
  font-weight: 700;
  color: #0f172a;
  outline: none;
  cursor: pointer;
}

.hp-conv-swap-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  border: 1px solid #cbd5e1;
  border-bottom: 3px solid #0284c7;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.3rem;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15);
  transition: transform 0.25s ease;
}

.hp-conv-swap-btn:hover {
  transform: rotate(180deg) scale(1.08);
}

/* 3D Currency Pair Cards */
.hp-pairs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.hp-pair-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-bottom: 3.5px solid #cbd5e1;
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--hp-shadow-3d-card);
  transition: all 0.28s ease;
}

.hp-pair-card:hover {
  transform: translateY(-5px);
  border-color: #93c5fd;
  border-bottom-color: #0284c7;
  box-shadow: var(--hp-shadow-3d-hover);
}

.hp-pair-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.hp-pair-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
}

.hp-pair-badge {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.hp-pair-badge.up {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.hp-pair-badge.stable {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.hp-pair-rate {
  font-size: 1.7rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.hp-pair-meta {
  font-size: 0.76rem;
  color: #94a3b8;
  display: flex;
  justify-content: space-between;
}

/* ================== 8. GLOBAL P2P EXCHANGE SECTION ================== */
.hp-p2p-wrapper {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-bottom: 4px solid #0284c7;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.hp-p2p-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 20px;
}

.hp-p2p-tabs {
  display: inline-flex;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.hp-p2p-tab {
  padding: 8px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #64748b;
  cursor: pointer;
  border: none;
  background: transparent;
  transition: all 0.2s ease;
}

.hp-p2p-tab.active {
  background: #ffffff;
  color: #0284c7;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.hp-p2p-filters {
  display: flex;
  gap: 12px;
}

.hp-p2p-select {
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  border-bottom: 2px solid #94a3b8;
  font-weight: 600;
  font-size: 0.85rem;
  color: #334155;
  outline: none;
  background: #ffffff;
}

/* P2P Table */
.hp-p2p-table-wrap {
  overflow-x: auto;
}

.hp-p2p-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.hp-p2p-table th {
  padding: 14px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid #e2e8f0;
}

.hp-p2p-table td {
  padding: 16px;
  font-size: 0.92rem;
  color: #334155;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.hp-merchant-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #0f172a;
}

.hp-verified-icon {
  color: #0284c7;
  font-size: 0.88rem;
}

.hp-p2p-rate {
  font-size: 1.18rem;
  font-weight: 800;
  color: #0f172a;
}

.hp-method-pill {
  display: inline-block;
  background: #f1f5f9;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #475569;
  margin-right: 4px;
}

/* ================== 10. HOW STAR TON WORKS ================== */
.hp-steps-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.hp-step-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-bottom: 4px solid #cbd5e1;
  border-radius: 20px;
  padding: 30px 24px;
  box-shadow: var(--hp-shadow-3d-card);
  text-align: center;
  transition: all 0.3s ease;
}

.hp-step-card:hover {
  transform: translateY(-6px);
  border-color: #93c5fd;
  border-bottom-color: #0284c7;
  box-shadow: var(--hp-shadow-3d-hover);
}

.hp-step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  margin: 0 auto 18px;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
}

.hp-step-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
}

.hp-step-card p {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.55;
}

/* ================== 11. BENEFITS GRID ================== */
.hp-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.hp-benefit-box {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-bottom: 4px solid #cbd5e1;
  border-radius: 20px;
  padding: 32px 26px;
  box-shadow: var(--hp-shadow-3d-card);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hp-benefit-box:hover {
  transform: translateY(-6px);
  border-color: #93c5fd;
  border-bottom-color: #0284c7;
  box-shadow: var(--hp-shadow-3d-hover);
}

.hp-benefit-box h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin: 16px 0 10px;
}

.hp-benefit-box p {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.55;
}

/* ================== 13. FAQ ACCORDION ================== */
.hp-faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hp-faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-bottom: 3.5px solid #cbd5e1;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  transition: all 0.25s ease;
}

.hp-faq-item:hover {
  border-color: #93c5fd;
  border-bottom-color: #0284c7;
}

.hp-faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  user-select: none;
}

.hp-faq-question h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.hp-faq-toggle-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #0284c7;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.hp-faq-item.active .hp-faq-toggle-icon {
  transform: rotate(45deg);
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
}

.hp-faq-answer {
  display: none;
  padding: 0 24px 22px;
  font-size: 0.94rem;
  color: #475569;
  line-height: 1.65;
  border-top: 1px solid #f1f5f9;
  padding-top: 16px;
}

.hp-faq-item.active .hp-faq-answer {
  display: block;
}

/* ================== 14. FINAL CTA ================== */
.hp-final-cta {
  background: radial-gradient(circle at 50% 20%, #ffffff 0%, #f0f9ff 100%);
  border: 1px solid rgba(2, 132, 199, 0.3);
  border-bottom: 5px solid #d97706;
  border-radius: 32px;
  padding: 64px 40px;
  text-align: center;
  box-shadow: 0 25px 60px -12px rgba(2, 132, 199, 0.25), 0 0 35px rgba(217, 119, 6, 0.15);
  max-width: 1040px;
  margin: 0 auto;
  position: relative;
}

.hp-final-cta h2 {
  font-size: 2.8rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.025em;
  margin: 20px 0 16px;
}

.hp-final-cta p {
  font-size: 1.15rem;
  color: #475569;
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hp-cta-price-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-bottom: 2.5px solid #d97706;
  padding: 8px 24px;
  border-radius: 9999px;
  font-size: 0.95rem;
  font-weight: 800;
  color: #92400e;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.12);
}

/* ================== 15. FOOTER ================== */
.hp-footer {
  background: #0f172a;
  color: #e2e8f0;
  padding: 64px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hp-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}

.hp-footer-col h4 {
  font-size: 0.94rem;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

.hp-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hp-footer-col a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.hp-footer-col a:hover {
  color: #38bdf8;
  transform: translateX(3px);
}

.hp-disclaimer-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px 22px;
  font-size: 0.78rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 32px;
}

.hp-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  font-size: 0.82rem;
  color: #64748b;
}

/* ================== Multi-Page Components & Breadcrumbs ================== */
.hp-breadcrumbs-bar {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 12px 0;
  font-size: 0.82rem;
  color: #64748b;
}

.hp-breadcrumbs-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.hp-breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hp-breadcrumb-item a {
  color: #0284c7;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.18s ease;
}

.hp-breadcrumb-item a:hover {
  color: #0369a1;
  text-decoration: underline;
}

.hp-breadcrumb-sep {
  color: #cbd5e1;
  font-size: 0.75rem;
}

.hp-breadcrumb-item.active {
  color: #0f172a;
  font-weight: 700;
}

/* Dedicated Page Hero */
.hp-page-hero {
  position: relative;
  padding: 52px 0 60px;
  background: radial-gradient(circle at 50% 20%, rgba(2, 132, 199, 0.08) 0%, rgba(248, 250, 252, 0.98) 75%);
  border-bottom: 1px solid #e2e8f0;
  text-align: center;
}

.hp-page-hero-inner {
  max-width: 820px;
  margin: 0 auto;
}

.hp-page-hero h1 {
  font-size: 2.8rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 14px 0 16px;
}

.hp-page-hero-lead {
  font-size: 1.15rem;
  color: #475569;
  line-height: 1.65;
  margin: 0 auto 28px;
}

/* Multi-Page Form Elements */
.hp-form-group {
  margin-bottom: 20px;
  text-align: left;
}

.hp-form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}

.hp-form-control,
.hp-form-select,
.hp-form-textarea {
  width: 100%;
  box-sizing: border-box;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-bottom: 2.5px solid #94a3b8;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.94rem;
  color: #0f172a;
  outline: none;
  transition: all 0.2s ease;
  font-family: inherit;
}

.hp-form-control:focus,
.hp-form-select:focus,
.hp-form-textarea:focus {
  border-color: #38bdf8;
  border-bottom-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.hp-form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* News Cards */
.hp-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.hp-news-card {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-bottom: 4px solid #cbd5e1;
  border-radius: 20px;
  box-shadow: var(--hp-shadow-3d-card);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hp-news-card:hover {
  transform: translateY(-6px);
  border-color: #93c5fd;
  border-bottom-color: #0284c7;
  box-shadow: var(--hp-shadow-3d-hover);
}

.hp-news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.78rem;
  color: #64748b;
}

.hp-news-badge {
  display: inline-flex;
  align-items: center;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0284c7;
  font-weight: 700;
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 9999px;
}

.hp-news-title {
  font-size: 1.22rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 12px;
}

.hp-news-excerpt {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Alerts */
.hp-alert {
  padding: 16px 20px;
  border-radius: 14px;
  font-size: 0.92rem;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hp-alert-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-bottom: 3px solid #059669;
  color: #065f46;
}

.hp-alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-bottom: 3px solid #dc2626;
  color: #991b1b;
}

/* ================== GLOBAL MOBILE RESETS & OVERFLOW PREVENTIONS ================== */
html, body {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100vw !important;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

*, *::before, *::after {
  box-sizing: border-box;
}

/* Fix iOS automatic font zoom on form controls */
input, select, textarea, button {
  font-family: inherit;
}

/* ================== MOBILE NAVIGATION DRAWER & BACKDROP ================== */
.mobile-nav-drawer {
  display: flex !important;
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: min(88vw, 350px) !important;
  height: 100vh !important;
  max-height: 100vh !important;
  background: #ffffff !important;
  border-left: 1px solid #e2e8f0 !important;
  padding: 18px 16px calc(24px + env(safe-area-inset-bottom, 20px)) 16px !important;
  z-index: 1000 !important;
  box-shadow: -10px 0 40px rgba(15, 23, 42, 0.25) !important;
  transform: translateX(100%) !important;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
  flex-direction: column !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior: contain !important;
  box-sizing: border-box !important;
}

.mobile-nav-drawer.open {
  transform: translateX(0) !important;
}

.drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  z-index: 999;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.drawer-backdrop.open {
  display: block !important;
}

.drawer-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding-bottom: 12px !important;
  margin-bottom: 12px !important;
  border-bottom: 1px solid #e2e8f0 !important;
  flex-shrink: 0 !important;
}

.modal-close-btn {
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  font-size: 22px !important;
  line-height: 1 !important;
  color: #475569 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.modal-close-btn:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}

.drawer-links {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  flex: 1 1 auto !important;
}

.drawer-links li {
  width: 100% !important;
}

.drawer-links a.hp-drawer-link {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 11px 14px !important;
  border-radius: 10px !important;
  color: #1e293b !important;
  text-decoration: none !important;
  font-size: 0.94rem !important;
  font-weight: 600 !important;
  min-height: 44px !important;
  box-sizing: border-box !important;
  transition: background 0.15s ease !important;
}

.drawer-links a.hp-drawer-link:hover,
.drawer-links a.hp-drawer-link:active {
  background: #f0f9ff !important;
  color: #0284c7 !important;
}

.drawer-links a.hp-drawer-link.active {
  background: #e0f2fe !important;
  color: #0284c7 !important;
  font-weight: 700 !important;
  border-left: 3px solid #0284c7 !important;
}

/* ================== TABLET ADJUSTMENTS (max-width: 1024px) ================== */
@media (max-width: 1024px) {
  .hp-hero-grid {
    grid-template-columns: 1fr !important;
    text-align: center !important;
    gap: 36px !important;
  }

  .hp-hero h1 {
    font-size: 2.6rem !important;
  }

  .hp-hero-lead {
    margin: 0 auto 28px !important;
  }

  .hp-hero-actions {
    justify-content: center !important;
  }

  .hp-hero-metrics {
    max-width: 540px !important;
    margin: 20px auto 0 !important;
  }

  .hp-hero-visual {
    display: flex !important;
    justify-content: center !important;
  }

  .hp-membership-card-wrap {
    grid-template-columns: 1fr !important;
  }

  .hp-member-hero-side {
    border-right: none !important;
    border-bottom: 1px solid #fde68a !important;
  }

  .hp-ton-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .hp-stars-journey,
  .hp-steps-timeline {
    grid-template-columns: 1fr 1fr !important;
  }

  .hp-ecosystem-grid,
  .hp-benefits-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .hp-pairs-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .hp-terminal-calc {
    grid-template-columns: 1fr !important;
  }

  .hp-conv-swap-btn {
    margin: 0 auto !important;
  }

  .hp-footer-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* ================== SMARTPHONE & TABLET (max-width: 768px) ================== */
@media (max-width: 768px) {
  .hp-section {
    padding: 48px 0 !important;
  }

  .hp-container {
    padding: 0 16px !important;
    box-sizing: border-box !important;
  }

  .hp-section-head {
    margin-bottom: 28px !important;
  }

  .hp-section-head h2 {
    font-size: clamp(1.4rem, 5.5vw, 2.1rem) !important;
    line-height: 1.22 !important;
  }

  .hp-section-head p {
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
  }

  .hp-eyebrow {
    font-size: 0.72rem !important;
    padding: 4px 10px !important;
  }

  /* Hero Section */
  .hp-hero {
    padding: 20px 0 36px !important;
  }

  .hp-hero-grid {
    gap: 24px !important;
  }

  .hp-badge-membership {
    font-size: 0.68rem !important;
    padding: 6px 12px !important;
    line-height: 1.35 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
  }

  .hp-hero h1 {
    font-size: clamp(1.75rem, 6.8vw, 2.4rem) !important;
    line-height: 1.18 !important;
    margin: 14px 0 12px !important;
    word-break: break-word !important;
  }

  .hp-hero-lead {
    font-size: 0.96rem !important;
    line-height: 1.5 !important;
    margin: 0 auto 20px !important;
    max-width: 100% !important;
  }

  .hp-hero-actions {
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
    align-items: stretch !important;
  }

  .hp-hero-actions .hp-btn-3d {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 13px 20px !important;
    font-size: 0.95rem !important;
    min-height: 48px !important;
    justify-content: center !important;
  }

  .hp-hero-metrics {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 20px auto 0 !important;
  }

  .hp-metric-card {
    padding: 12px 14px !important;
  }

  .hp-metric-val {
    font-size: 1.35rem !important;
  }

  .hp-metric-lbl {
    font-size: 0.76rem !important;
  }

  /* 3D Coin & Card Mobile Fix (ZERO OVERFLOW) */
  .hp-hero-visual {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    overflow: hidden !important;
  }

  .hp-3d-coin-card {
    max-width: 360px !important;
    width: 100% !important;
    padding: 20px 14px !important;
    border-radius: 22px !important;
    box-sizing: border-box !important;
    position: relative !important;
    margin: 0 auto !important;
  }

  .hp-coin-img {
    width: 180px !important;
    height: 180px !important;
    max-width: 100% !important;
    margin: 0 auto 12px !important;
  }

  .hp-coin-price-tag {
    font-size: 1.6rem !important;
  }

  .hp-float-card.hp-float-top-left {
    top: 8px !important;
    left: 8px !important;
    right: auto !important;
    padding: 6px 10px !important;
    font-size: 0.72rem !important;
    max-width: calc(100% - 16px) !important;
  }

  .hp-float-card.hp-float-bottom-right {
    bottom: 8px !important;
    right: 8px !important;
    left: auto !important;
    padding: 6px 10px !important;
    font-size: 0.72rem !important;
    max-width: calc(100% - 16px) !important;
  }

  /* 9-Buttons Ecosystem Portal Box */
  .hp-ecosystem-access-box {
    padding: 18px 14px !important;
    border-radius: 18px !important;
  }

  .hp-ecosystem-access-head {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }

  .hp-ecosystem-access-grid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .hp-ecosystem-access-grid .hp-btn-sm {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 10px 14px !important;
    min-height: 44px !important;
    font-size: 0.88rem !important;
    justify-content: center !important;
  }

  /* Ecosystem Infographic */
  .hp-ecosystem-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .hp-eco-card {
    padding: 20px 16px !important;
  }

  /* Plan Structure 4-Tier Grid */
  .hp-plan-structure-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .hp-plan-card {
    padding: 20px 16px !important;
    border-radius: 20px !important;
  }

  .hp-plan-card-title,
  .plan-name {
    font-size: 1.45rem !important;
  }

  .hp-plan-card-icon,
  .plan-icon-3d {
    width: 48px !important;
    height: 48px !important;
    font-size: 1.5rem !important;
  }

  .hp-plan-disclaimer-box {
    padding: 14px 16px !important;
    font-size: 0.78rem !important;
    flex-direction: column !important;
    gap: 8px !important;
  }

  /* TON Blockchain Section */
  .hp-ton-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .hp-ton-features {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .hp-ton-feat-card {
    padding: 16px 14px !important;
  }

  /* Telegram Stars Section */
  .hp-stars-journey {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .hp-stars-step {
    padding: 18px 14px !important;
  }

  .hp-stars-calc-box {
    padding: 20px 14px !important;
    border-radius: 20px !important;
  }

  #hp-stars-usd-input {
    font-size: 16px !important;
    padding: 12px 14px !important;
  }

  .hp-stars-calc-result {
    flex-direction: column !important;
    text-align: center !important;
    gap: 14px !important;
  }

  .hp-stars-calc-result .hp-btn-3d {
    width: 100% !important;
    box-sizing: border-box !important;
    justify-content: center !important;
    min-height: 46px !important;
  }

  /* Global Exchange Terminal */
  .hp-terminal-calc {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding: 18px 14px !important;
    border-radius: 20px !important;
  }

  .hp-conv-group {
    padding: 14px !important;
  }

  .hp-conv-input {
    font-size: clamp(1.2rem, 5vw, 1.5rem) !important;
  }

  .hp-conv-swap-btn {
    margin: 4px auto !important;
    width: 44px !important;
    height: 44px !important;
  }

  .hp-pairs-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }

  .hp-pair-card {
    padding: 12px 14px !important;
  }

  .hp-pair-rate {
    font-size: 1.35rem !important;
  }

  /* P2P Exchange Section */
  .hp-p2p-wrapper {
    padding: 16px 12px !important;
    border-radius: 20px !important;
  }

  .hp-p2p-toolbar {
    flex-direction: column !important;
    gap: 12px !important;
    align-items: stretch !important;
  }

  .hp-p2p-tabs {
    display: flex !important;
    width: 100% !important;
    gap: 6px !important;
  }

  .hp-p2p-tab {
    flex: 1 !important;
    text-align: center !important;
    padding: 10px 8px !important;
    font-size: 0.82rem !important;
    min-height: 42px !important;
  }

  .hp-p2p-filters {
    display: flex !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
  }

  .hp-p2p-select {
    font-size: 14px !important;
    padding: 8px 10px !important;
    min-height: 40px !important;
  }

  .hp-p2p-table-wrap {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    width: 100% !important;
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    scrollbar-width: thin !important;
  }

  .hp-p2p-table {
    min-width: 520px !important;
    width: 100% !important;
  }

  .hp-p2p-table th,
  .hp-p2p-table td {
    padding: 12px 10px !important;
    font-size: 0.82rem !important;
  }

  /* Financial Statistics */
  .hp-metrics-stat-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }

  .hp-metrics-stat-grid .hp-card-3d {
    padding: 20px 14px !important;
  }

  /* How It Works & Benefits & Community */
  .hp-steps-timeline,
  .hp-benefits-grid,
  .hp-community-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .hp-step-card,
  .hp-benefit-box {
    padding: 18px 16px !important;
  }

  .hp-community-card-box {
    padding: 20px 14px !important;
    border-radius: 20px !important;
  }

  /* FAQ Accordions */
  .hp-faq-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }

  .hp-faq-item {
    border-radius: 14px !important;
  }

  .hp-faq-question {
    padding: 14px 16px !important;
    min-height: 48px !important;
  }

  .hp-faq-question h3 {
    font-size: 0.94rem !important;
    line-height: 1.35 !important;
  }

  .hp-faq-answer {
    padding: 0 16px 14px !important;
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
  }

  /* Final CTA */
  .hp-final-cta {
    padding: 28px 16px !important;
    border-radius: 20px !important;
    text-align: center !important;
  }

  .hp-final-cta h2 {
    font-size: clamp(1.35rem, 5.5vw, 1.9rem) !important;
    line-height: 1.25 !important;
  }

  .hp-final-cta p {
    font-size: 0.94rem !important;
    margin-bottom: 20px !important;
  }

  .hp-final-cta .hp-btn-3d {
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 4px 0 !important;
    justify-content: center !important;
    font-size: 1rem !important;
    padding: 14px 20px !important;
  }

  /* Global Footer */
  .hp-footer {
    padding: 36px 0 20px !important;
  }

  .hp-footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .hp-footer-col h4 {
    font-size: 1rem !important;
    margin-bottom: 12px !important;
  }

  .hp-footer-col ul li a {
    padding: 6px 0 !important;
    display: inline-block !important;
    font-size: 0.88rem !important;
  }

  .hp-disclaimer-box {
    padding: 14px !important;
    font-size: 0.74rem !important;
    margin: 24px 0 16px !important;
  }

  .hp-footer-bottom {
    flex-direction: column !important;
    text-align: center !important;
    gap: 8px !important;
    font-size: 0.78rem !important;
    padding-top: 16px !important;
  }
}

/* ================== EXTRA COMPACT SCREENS (max-width: 440px) ================== */
@media (max-width: 440px) {
  .hp-pairs-grid {
    grid-template-columns: 1fr !important;
  }

  .hp-metrics-stat-grid {
    grid-template-columns: 1fr !important;
  }

  .hp-hero h1 {
    font-size: 1.65rem !important;
  }

  .hp-coin-img {
    width: 150px !important;
    height: 150px !important;
  }

  .hp-3d-coin-card {
    padding: 16px 12px !important;
  }

  .hp-float-card {
    font-size: 0.68rem !important;
    padding: 5px 8px !important;
  }
}


/* ================== STARTON PLAN STRUCTURE 3D GLASSMORPHISM CARDS ================== */
.hp-plan-structure-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.hp-plan-card {
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 30px 22px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.9);
  overflow: hidden;
}

.hp-plan-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  border-radius: 24px 24px 0 0;
  z-index: 2;
}

.hp-plan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.14);
}

/* Card 1: NEBULA - Soft Blue and Cyan Gradient */
.hp-card-nebula {
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
  border-color: rgba(56, 189, 248, 0.4);
}

.hp-card-nebula::before {
  background: linear-gradient(90deg, #38bdf8, #0ea5e9);
}

.hp-card-nebula:hover {
  border-color: #38bdf8;
  box-shadow: 0 20px 40px rgba(14, 165, 233, 0.2);
}

/* Card 2: PULSAR - Bright Telegram Blue Gradient */
.hp-card-pulsar {
  background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%);
  border-color: rgba(37, 99, 235, 0.35);
}

.hp-card-pulsar::before {
  background: linear-gradient(90deg, #2563eb, #0284c7);
}

.hp-card-pulsar:hover {
  border-color: #2563eb;
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.22);
}

/* Card 3: QUASAR - Blue and Violet Gradient */
.hp-card-quasar {
  background: linear-gradient(180deg, #ffffff 0%, #f5f3ff 100%);
  border-color: rgba(139, 92, 246, 0.35);
}

.hp-card-quasar::before {
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
}

.hp-card-quasar:hover {
  border-color: #8b5cf6;
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.22);
}

/* Card 4: SUPERNOVA - Premium Blue and Gold Highlights */
.hp-card-supernova {
  background: linear-gradient(180deg, #ffffff 0%, #fefce8 100%);
  border-color: rgba(245, 158, 11, 0.4);
}

.hp-card-supernova::before {
  background: linear-gradient(90deg, #f59e0b, #0284c7);
}

.hp-card-supernova:hover {
  border-color: #f59e0b;
  box-shadow: 0 20px 40px rgba(245, 158, 11, 0.25);
}

/* Card Headers & Badges */
.plan-badge-pill {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 9999px;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.plan-badge-pill.nebula {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.plan-badge-pill.pulsar {
  background: #dbeafe;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.plan-badge-pill.quasar {
  background: #ede9fe;
  color: #6d28d9;
  border: 1px solid #ddd6fe;
}

.plan-badge-pill.supernova {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

.plan-icon-3d {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 14px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease;
}

.hp-plan-card:hover .plan-icon-3d {
  transform: scale(1.1) rotate(4deg);
}

.plan-icon-3d.nebula {
  background: linear-gradient(135deg, #e0f2fe, #bae6fd);
}

.plan-icon-3d.pulsar {
  background: linear-gradient(135deg, #dbeafe, #93c5fd);
}

.plan-icon-3d.quasar {
  background: linear-gradient(135deg, #ede9fe, #c4b5fd);
}

.plan-icon-3d.supernova {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
}

.plan-name {
  font-size: 1.65rem;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 6px;
  letter-spacing: -0.5px;
}

.plan-tagline {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0 0 20px;
  font-weight: 600;
  line-height: 1.45;
  min-height: 38px;
}

/* Card Body Sections */
.plan-card-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.plan-section-block {
  font-size: 0.86rem;
}

.block-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.6px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.block-desc {
  color: #475569;
  line-height: 1.55;
  margin: 0;
}

.plan-features-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.plan-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: #334155;
  line-height: 1.45;
}

.plan-features-list .check-icon {
  color: #10b981;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.plan-section-block.highlight-block {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 12px;
  padding: 12px;
  margin-top: 6px;
}

.progression-info {
  display: flex;
  gap: 10px;
  font-size: 0.8rem;
  color: #475569;
  line-height: 1.45;
}

.prog-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.progression-info strong {
  display: block;
  color: #0f172a;
  font-weight: 700;
  margin-bottom: 2px;
}

/* Card Footer */
.plan-card-footer {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px dashed #e2e8f0;
  text-align: center;
}

.status-chip {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  padding: 4px 12px;
}

/* Disclaimer Box */
.plan-structure-disclaimer {
  margin-top: 32px;
  padding: 16px 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.5;
}

.plan-structure-disclaimer span {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.plan-structure-disclaimer strong {
  color: #0f172a;
  margin-right: 4px;
}

/* Responsive */
@media (max-width: 1200px) {
  .hp-plan-structure-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 680px) {
  .hp-plan-structure-grid {
    grid-template-columns: 1fr;
  }
}