/* ====================================
   BTQ Official Website
   Professional Dark Theme
   ==================================== */

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

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

body {
  font-family: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #050810;
  color: #e5e7eb;
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ========== Navigation ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(5, 8, 16, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.navbar.scrolled {
  background: rgba(5, 8, 16, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.nav-brand {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #ffffff;
}

.nav-brand span {
  background: linear-gradient(135deg, #4f8fff, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 6px;
  flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: #9ca3af;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.2s ease;
  letter-spacing: 0.2px;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-cta {
  font-size: 13px;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: 8px;
  background: #4f8fff;
  color: #fff;
  transition: all 0.2s ease;
  letter-spacing: 0.3px;
}

.nav-cta:hover {
  background: #3b7de0;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(79, 143, 255, 0.25);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  width: 22px;
  height: 2px;
  background: #e5e7eb;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ========== Hero ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 32px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(79, 143, 255, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 70% 30%, rgba(139, 92, 246, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 30% 60%, rgba(6, 182, 212, 0.04) 0%, transparent 60%);
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.03) 1px, transparent 0);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 70% 60% at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at center, black 20%, transparent 70%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 8, 16, 0.3) 0%, transparent 30%, transparent 70%, rgba(5, 8, 16, 0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #4f8fff;
  background: rgba(79, 143, 255, 0.1);
  border: 1px solid rgba(79, 143, 255, 0.2);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
  letter-spacing: 0.5px;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4f8fff;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.8px;
  background: linear-gradient(180deg, #ffffff 0%, #c0c8d8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 17px;
  color: #9ca3af;
  line-height: 1.8;
  margin-bottom: 44px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: all 0.25s ease;
}

.btn-primary {
  background: #4f8fff;
  color: #fff;
}

.btn-primary:hover {
  background: #3b7de0;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(79, 143, 255, 0.3);
}
.btn-primary2 {
  background: #ffdf4f;
  color: #fff;
}

.btn-primary2:hover {
  background: #3b7de0;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(79, 143, 255, 0.3);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: #e5e7eb;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: float 3s ease-in-out infinite;
}

.scroll-indicator span {
  font-size: 11px;
  color: #6b7280;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.scroll-indicator::after {
  content: '';
  width: 20px;
  height: 32px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  position: relative;
}

.scroll-indicator::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 6px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 3px;
  animation: scroll-wheel 2s infinite;
}

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

@keyframes scroll-wheel {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(10px); }
}

/* ========== Sections Common ========== */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #b0b8c8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  font-size: 16px;
  color: #9ca3af;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
}

.section-dark {
  background: #050810;
}

.section-secondary {
  background: #080c16;
}

.section-gradient {
  background: linear-gradient(180deg, #050810 0%, #0a1020 50%, #050810 100%);
}

/* ========== Section 2: Why BTQ ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 40px 32px;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #4f8fff, #a78bfa, #06b6d4);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.feature-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  background: rgba(255, 255, 255, 0.03);
}

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

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  background: rgba(79, 143, 255, 0.08);
  border: 1px solid rgba(79, 143, 255, 0.15);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  color: #4f8fff;
}

.feature-card h3 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #f3f4f6;
}

.feature-card p {
  font-size: 14px;
  color: #9ca3af;
  line-height: 1.75;
}

/* ========== Section 3: Core Business ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  transition: all 0.35s ease;
}

.service-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  background: rgba(255, 255, 255, 0.03);
}

.service-number {
  font-size: 13px;
  font-weight: 700;
  color: #4f8fff;
  letter-spacing: 2px;
  margin-bottom: 18px;
  display: block;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #f3f4f6;
}

.service-card p {
  font-size: 14px;
  color: #9ca3af;
  line-height: 1.75;
}

/* ========== Section 4: AI Engine ========== */
.ai-engine-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.ai-engine-text h2 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.ai-engine-text .engine-name {
  font-size: 28px;
  font-weight: 700;
  color: #4f8fff;
  margin-bottom: 20px;
  letter-spacing: -0.3px;
}

.ai-engine-text > p {
  font-size: 15px;
  color: #9ca3af;
  line-height: 1.8;
  margin-bottom: 24px;
}

.monitor-label {
  font-size: 14px;
  font-weight: 600;
  color: #d1d5db;
  margin-bottom: 14px;
  display: block;
}

.monitor-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  margin-bottom: 24px;
}

.monitor-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #9ca3af;
}

.monitor-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  flex-shrink: 0;
}

.ai-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.ai-feature {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 28px 22px;
  text-align: center;
  transition: all 0.3s ease;
}

.ai-feature:hover {
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.ai-feature-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(79, 143, 255, 0.1);
  border-radius: 12px;
}

.ai-feature-icon svg {
  width: 22px;
  height: 22px;
  color: #4f8fff;
}

.ai-feature span {
  font-size: 14px;
  font-weight: 600;
  color: #e5e7eb;
}

.ai-engine-layout {
  grid-template-columns: 1fr 1.15fr;
}

.ai-engine-media {
  position: relative;
}

.ai-engine-img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  display: block;
}

/* ========== Section 5: Block Trade ========== */
.block-trade-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  margin-top: 32px;
}

.block-trade-text .section-title {
  margin-bottom: 18px;
}

.block-trade-text .section-desc {
  margin-bottom: 14px;
}

.services-list {
  margin-top: 28px;
}

.services-list h3 {
  font-size: 17px;
  font-weight: 600;
  color: #d1d5db;
  margin-bottom: 16px;
}

.services-list ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.services-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: #9ca3af;
}

.services-list li::before {
  content: '✓';
  color: #10b981;
  font-weight: 700;
  font-size: 16px;
}

.block-trade-media {
  position: relative;
}

.block-trade-img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  display: block;
}

.services-list-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 40px;
  margin-top: 12px;
}

.services-list-box h3 {
  font-size: 17px;
  font-weight: 600;
  color: #d1d5db;
  margin-bottom: 20px;
}

.services-list-box ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.services-list-box li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: #9ca3af;
}

.services-list-box li::before {
  content: '✓';
  color: #10b981;
  font-weight: 700;
  font-size: 16px;
}

/* ========== Section 6: IPO ========== */
.features-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 12px;
}

.feature-card-sm {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 28px 22px;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card-sm:hover {
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.feature-card-sm .feature-icon {
  margin: 0 auto 14px;
}

.feature-card-sm h3 {
  font-size: 15px;
  font-weight: 600;
  color: #e5e7eb;
}

/* ========== Section 7: Data Research ========== */
.data-tags {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.data-tag {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 22px 20px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: #9ca3af;
  transition: all 0.3s ease;
}

.data-tag:hover {
  border-color: rgba(79, 143, 255, 0.3);
  color: #e5e7eb;
  background: rgba(79, 143, 255, 0.04);
}

.data-center-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  margin-top: 28px;
}

.data-center-text .section-title {
  margin-bottom: 14px;
}

.data-center-text .section-desc {
  margin-bottom: 24px;
}

.data-center-media {
  position: relative;
}

.data-center-img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  display: block;
}

.ipo-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  margin-top: 28px;
}

.ipo-text .section-title {
  margin-bottom: 14px;
}

.ipo-media {
  position: relative;
}

.ipo-img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  display: block;
}

/* ========== Section 8: Risk ========== */
.risk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}

.risk-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.risk-item:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.risk-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.risk-icon svg {
  width: 100%;
  height: 100%;
  color: #4f8fff;
}

.risk-item strong {
  font-size: 15px;
  color: #e5e7eb;
  display: block;
  font-weight: 600;
}

/* ========== Section 9: Advantages ========== */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  margin-top: 12px;
}

.advantage-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 36px 20px;
  text-align: center;
  transition: all 0.35s ease;
}

.advantage-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.advantage-num {
  font-size: 13px;
  font-weight: 700;
  color: #4f8fff;
  letter-spacing: 2px;
  margin-bottom: 16px;
  display: block;
}

.advantage-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #e5e7eb;
}

/* ========== Section 10: News ========== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 12px;
}

.news-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 30px 22px;
  text-align: center;
  transition: all 0.35s ease;
}

.news-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.news-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(79, 143, 255, 0.1);
  border-radius: 12px;
}

.news-icon svg {
  width: 20px;
  height: 20px;
  color: #4f8fff;
}

.news-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: #e5e7eb;
  margin-bottom: 6px;
}

.news-tag {
  font-size: 12px;
  color: #4f8fff;
  font-weight: 500;
}

/* ========== Section 11: Download ========== */
.app-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 36px;
  flex-wrap: wrap;
}

.app-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px 26px;
  transition: all 0.3s ease;
}

.app-btn:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
}

.app-btn svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: #e5e7eb;
}

.app-btn-text small {
  display: block;
  font-size: 10px;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1;
  margin-bottom: 3px;
}

.app-btn-text span {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #f3f4f6;
  line-height: 1;
}

.qr-wrapper {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.qr-box {
  width: 130px;
  height: 130px;
  background: #ffffff;
  border-radius: 12px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-box svg {
  width: 100%;
  height: 100%;
}

.qr-wrapper span {
  font-size: 13px;
  color: #9ca3af;
}

.btn-large {
  margin-top: 36px;
  padding: 18px 52px;
  font-size: 17px;
  border-radius: 12px;
}

/* ========== Section 12: Contact ========== */
.contact-header {
  text-align: center;
  margin-bottom: 48px;
}

.contact-subtitle {
  font-size: 16px;
  color: #9ca3af;
  margin-top: 12px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 12px;
}

.contact-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #4f8fff, #a78bfa, #06b6d4);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.contact-card:hover {
  border-color: rgba(79, 143, 255, 0.25);
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4), 0 0 40px rgba(79, 143, 255, 0.08);
  background: rgba(79, 143, 255, 0.03);
}

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

.contact-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: rgba(79, 143, 255, 0.1);
  border: 1px solid rgba(79, 143, 255, 0.15);
  transition: all 0.4s ease;
}

.contact-card:hover .contact-card-icon {
  background: rgba(79, 143, 255, 0.15);
  border-color: rgba(79, 143, 255, 0.3);
  transform: scale(1.05);
}

.contact-card-icon svg {
  width: 26px;
  height: 26px;
  color: #4f8fff;
}

.contact-card-label {
  font-size: 18px;
  font-weight: 600;
  color: #f3f4f6;
  margin-bottom: 16px;
}

.contact-link {
  color: #4f8fff;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  word-break: break-all;
}

.contact-link:hover {
  color: #6ba3ff;
  text-decoration: underline;
}

.contact-link-primary {
  font-size: 15px;
  font-weight: 600;
  padding: 10px 20px;
  background: rgba(79, 143, 255, 0.1);
  border: 1px solid rgba(79, 143, 255, 0.2);
  border-radius: 8px;
  display: inline-block;
}

.contact-link-primary:hover {
  background: rgba(79, 143, 255, 0.2);
  text-decoration: none;
}

.contact-card-arrow {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(79, 143, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.3s ease;
}

.contact-card:hover .contact-card-arrow {
  opacity: 1;
  transform: translateX(0);
}

.contact-card-arrow svg {
  width: 16px;
  height: 16px;
  color: #4f8fff;
}

.contact-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.contact-tag {
  font-size: 12px;
  color: #9ca3af;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.contact-card:hover .contact-tag {
  background: rgba(79, 143, 255, 0.06);
  border-color: rgba(79, 143, 255, 0.15);
  color: #d1d5db;
}

/* ========== Footer ========== */
.footer {
  background: #030508;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 64px 0 0;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-brand .nav-brand {
  font-size: 24px;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.7;
}

.footer h4 {
  font-size: 14px;
  font-weight: 600;
  color: #d1d5db;
  margin-bottom: 18px;
  letter-spacing: 0.3px;
}

.footer ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer a {
  font-size: 13px;
  color: #6b7280;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: #9ca3af;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: #4b5563;
}

.footer-info-panel {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 16px;
  position: relative;
}

.footer-info-panel.is-hidden {
  display: none;
}

.footer-info-inner {
  max-width: 720px;
}

.footer-info-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.25);
  color: #e5e7eb;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  transition: all 0.2s ease;
}

.footer-info-close:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.footer-info-panel h4 {
  font-size: 16px;
  font-weight: 600;
  color: #f3f4f6;
  margin-bottom: 12px;
}

.footer-info-panel p,
.footer-info-panel li {
  font-size: 14px;
  color: #c7cdd6;
  line-height: 1.7;
}

.footer-info-panel ul {
  list-style: disc;
  padding-left: 18px;
  margin-top: 8px;
}

.footer-info-panel li + li {
  margin-top: 6px;
}

.footer-toggle {
  cursor: pointer;
}

/* ========== Animations ========== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.12s; }
.stagger-3 { transition-delay: 0.19s; }
.stagger-4 { transition-delay: 0.26s; }
.stagger-5 { transition-delay: 0.33s; }
.stagger-6 { transition-delay: 0.40s; }

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

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

  .ai-engine-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .ai-engine-media {
    order: -1;
  }

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

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

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

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

  .contact-card {
    padding: 28px 20px;
  }

  .contact-card-label {
    font-size: 16px;
  }

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

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

  .block-trade-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .block-trade-media {
    order: -1;
  }

  .data-center-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .data-center-media {
    order: -1;
  }

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

  .ipo-media {
    order: -1;
  }
}

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

  .section-header h2 {
    font-size: 28px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 15px;
  }

  .features-grid,
  .services-grid,
  .risk-grid,
  .advantages-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .ai-features {
    grid-template-columns: 1fr 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .data-tags {
    grid-template-columns: 1fr 1fr;
  }

  .services-list-box ul {
    grid-template-columns: 1fr;
  }

  .app-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 26px;
  }

  .section-header h2 {
    font-size: 24px;
  }

  .ai-features {
    grid-template-columns: 1fr;
  }

  .data-tags {
    grid-template-columns: 1fr;
  }

  .features-grid-4 {
    grid-template-columns: 1fr 1fr;
  }
}
