/* ========================================
   HHpoker俱乐部 - Data Dashboard Theme
   Primary: #2563EB (blue-600)
   ======================================== */

/* --- CSS Variables --- */
:root {
  --primary: #2563EB;
  --primary-dark: #1D4ED8;
  --primary-light: #3B82F6;
  --primary-50: #EFF6FF;
  --primary-100: #DBEAFE;
  --primary-200: #BFDBFE;
  --primary-600: #2563EB;
  --primary-700: #1D4ED8;
  --accent: #F59E0B;
  --accent-light: #FEF3C7;
  --success: #10B981;
  --success-light: #D1FAE5;
  --danger: #EF4444;
  --danger-light: #FEE2E2;
  --warning: #F59E0B;
  --warning-light: #FEF3C7;
  --dark: #0F172A;
  --dark-800: #1E293B;
  --dark-700: #334155;
  --dark-600: #475569;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.04);
  --shadow-2xl: 0 25px 50px rgba(0,0,0,0.25);
  --radius-sm: 0.375rem;
  --radius: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-2xl: 1.5rem;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: var(--dark-800);
  background: var(--gray-50);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--gray-100);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-200);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
@keyframes pulse-blue {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4); }
  50% { box-shadow: 0 0 0 15px rgba(37, 99, 235, 0); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); max-height: 0; }
  to { opacity: 1; transform: translateY(0); max-height: 500px; }
}
@keyframes countUp {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}
@keyframes progressGlow {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(37,99,235,0.3)); }
  50% { filter: drop-shadow(0 0 10px rgba(37,99,235,0.6)); }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease-out forwards;
}
.animate-fadeInLeft {
  animation: fadeInLeft 0.6s ease-out forwards;
}
.animate-fadeInRight {
  animation: fadeInRight 0.6s ease-out forwards;
}
.animate-fadeIn {
  animation: fadeIn 0.5s ease-out forwards;
}
.animate-scaleIn {
  animation: scaleIn 0.4s ease-out forwards;
}
.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.stagger-children.revealed > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children.revealed > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.revealed > *:nth-child(3) { transition-delay: 0.15s; }
.stagger-children.revealed > *:nth-child(4) { transition-delay: 0.2s; }
.stagger-children.revealed > *:nth-child(5) { transition-delay: 0.25s; }
.stagger-children.revealed > *:nth-child(6) { transition-delay: 0.3s; }
.stagger-children.revealed > * {
  opacity: 1;
  transform: translateY(0);
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--transition);
}
.navbar.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.97);
}
.navbar .nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.navbar .logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
  transition: var(--transition);
}
.navbar .logo:hover {
  color: var(--primary);
}
.navbar .logo i {
  font-size: 1.6rem;
  color: var(--primary);
  background: var(--primary-50);
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  transition: var(--transition);
}
.navbar .logo:hover i {
  background: var(--primary);
  color: var(--white);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--dark-600);
  transition: var(--transition);
  position: relative;
  padding: 0.25rem 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.25s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: var(--white) !important;
  padding: 0.55rem 1.35rem !important;
  border-radius: var(--radius);
  font-weight: 600 !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--primary-dark) !important;
  color: var(--white) !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--dark-800);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  padding: 130px 1.5rem 100px;
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 30%, #BFDBFE 60%, #EFF6FF 100%);
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37,99,235,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero .hero-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
  letter-spacing: 0.04em;
  animation: fadeInUp 0.6s ease-out forwards;
}
.hero .hero-badge i {
  font-size: 0.75rem;
}
.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
  animation: fadeInUp 0.6s 0.1s ease-out forwards;
  opacity: 0;
  animation-fill-mode: forwards;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--primary), #7C3AED);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero .hero-subtitle {
  font-size: 1.1rem;
  color: var(--dark-600);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 480px;
  animation: fadeInUp 0.6s 0.2s ease-out forwards;
  opacity: 0;
  animation-fill-mode: forwards;
}
.hero .hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  animation: fadeInUp 0.6s 0.3s ease-out forwards;
  opacity: 0;
  animation-fill-mode: forwards;
}
.hero .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}
.hero .btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
  transform: translateY(-2px);
}
.hero .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  color: var(--dark-800);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--gray-200);
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}
.hero .btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Hero Stat Card */
.hero .stat-card-overlay {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-lg);
  margin-top: 2rem;
  animation: fadeInUp 0.6s 0.4s ease-out forwards;
  opacity: 0;
  animation-fill-mode: forwards;
  border: 1px solid var(--gray-100);
}
.hero .stat-card-overlay .stat-item {
  text-align: center;
}
.hero .stat-card-overlay .stat-item .stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}
.hero .stat-card-overlay .stat-item .stat-label {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 0.15rem;
}
.hero .stat-card-overlay .stat-divider {
  width: 1px;
  height: 36px;
  background: var(--gray-200);
}

/* Hero Right - Dashboard Mockup */
.hero .hero-visual {
  position: relative;
  animation: fadeInRight 0.7s 0.3s ease-out forwards;
  opacity: 0;
  animation-fill-mode: forwards;
}
.hero .dashboard-mockup {
  position: relative;
}
.hero .dashboard-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2xl);
  padding: 1.5rem;
  border: 1px solid var(--gray-100);
}
.hero .dashboard-card .dc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}
.hero .dashboard-card .dc-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark-800);
}
.hero .dashboard-card .dc-badge {
  font-size: 0.7rem;
  background: var(--success-light);
  color: var(--success);
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  font-weight: 600;
}
.hero .dashboard-card .dc-chart-area {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  height: 100px;
  margin-bottom: 1rem;
}
.hero .dashboard-card .dc-bar {
  flex: 1;
  background: linear-gradient(180deg, var(--primary), var(--primary-light));
  border-radius: 4px 4px 0 0;
  transition: height 0.5s ease;
}
.hero .dashboard-card .dc-bar:nth-child(1) { height: 45%; opacity: 0.5; }
.hero .dashboard-card .dc-bar:nth-child(2) { height: 62%; opacity: 0.55; }
.hero .dashboard-card .dc-bar:nth-child(3) { height: 78%; opacity: 0.6; }
.hero .dashboard-card .dc-bar:nth-child(4) { height: 55%; opacity: 0.55; }
.hero .dashboard-card .dc-bar:nth-child(5) { height: 88%; opacity: 0.65; }
.hero .dashboard-card .dc-bar:nth-child(6) { height: 72%; opacity: 0.6; }
.hero .dashboard-card .dc-bar:nth-child(7) { height: 95%; opacity: 0.7; }
.hero .dashboard-card .dc-bar:nth-child(8) { height: 80%; opacity: 0.65; }
.hero .dashboard-card .dc-stats-row {
  display: flex;
  gap: 0.75rem;
}
.hero .dashboard-card .dc-mini-stat {
  flex: 1;
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 0.65rem;
  text-align: center;
}
.hero .dashboard-card .dc-mini-stat .dc-ms-num {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
}
.hero .dashboard-card .dc-mini-stat .dc-ms-label {
  font-size: 0.65rem;
  color: var(--gray-400);
  margin-top: 0.1rem;
}
.hero .floating-card-1 {
  position: absolute;
  top: -20px;
  right: -30px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 0.85rem 1.1rem;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dark-800);
  animation: float 4s ease-in-out infinite;
  border: 1px solid var(--gray-100);
  z-index: 2;
}
.hero .floating-card-1 i {
  color: var(--success);
  font-size: 1.1rem;
}
.hero .floating-card-2 {
  position: absolute;
  bottom: -25px;
  left: -25px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 0.85rem 1.1rem;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dark-800);
  animation: float 4s 1.5s ease-in-out infinite;
  border: 1px solid var(--gray-100);
  z-index: 2;
}
.hero .floating-card-2 i {
  color: var(--primary);
  font-size: 1.1rem;
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}
.section-header .section-badge {
  display: inline-block;
  background: var(--primary-50);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  letter-spacing: 0.03em;
}
.section-header h2 {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.section-header p {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* --- Features Section --- */
.features {
  padding: 100px 1.5rem;
  background: var(--white);
}
.features .features-container {
  max-width: 1280px;
  margin: 0 auto;
}
.features .features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Metric Card */
.metric-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  border: 1px solid var(--gray-100);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.metric-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.metric-card:hover::before {
  transform: scaleX(1);
}
.metric-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--primary-100);
}
.metric-card .mc-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.metric-card .mc-icon.blue {
  background: var(--primary-50);
  color: var(--primary);
}
.metric-card .mc-icon.green {
  background: var(--success-light);
  color: var(--success);
}
.metric-card .mc-icon.amber {
  background: var(--warning-light);
  color: var(--warning);
}
.metric-card .mc-icon.purple {
  background: #EDE9FE;
  color: #7C3AED;
}
.metric-card .mc-icon.red {
  background: var(--danger-light);
  color: var(--danger);
}
.metric-card .mc-icon.cyan {
  background: #CFFAFE;
  color: #06B6D4;
}
.metric-card .mc-metric {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  margin-bottom: 0.15rem;
}
.metric-card .mc-metric.green { color: var(--success); }
.metric-card .mc-metric.amber { color: var(--warning); }
.metric-card .mc-metric.purple { color: #7C3AED; }
.metric-card .mc-metric.red { color: var(--danger); }
.metric-card .mc-metric.cyan { color: #06B6D4; }
.metric-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark-800);
  margin-bottom: 0.4rem;
}
.metric-card p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* --- Stats Section --- */
.stats-section {
  padding: 80px 1.5rem;
  background: var(--dark-800);
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.stats-section .stats-container {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.stats-section .section-header h2 {
  color: var(--white);
}
.stats-section .section-header p {
  color: #94A3B8;
}
.stats-section .section-header .section-badge {
  background: rgba(37,99,235,0.2);
  color: #93C5FD;
}
.stats-section .stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Mini Dashboard Card */
.mini-dash-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  transition: all 0.3s ease;
}
.mini-dash-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-3px);
}
.mini-dash-card .mdc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.mini-dash-card .mdc-label {
  font-size: 0.78rem;
  color: #94A3B8;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.mini-dash-card .mdc-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  background: rgba(37,99,235,0.2);
  color: #60A5FA;
}
.mini-dash-card .mdc-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.mini-dash-card .mdc-sparkline {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 36px;
}
.mini-dash-card .mdc-sparkline .spark-bar {
  flex: 1;
  background: rgba(37,99,235,0.5);
  border-radius: 2px 2px 0 0;
  transition: height 0.5s ease;
}
.mini-dash-card .mdc-sparkline .spark-bar.high {
  background: rgba(16,185,129,0.6);
}
.mini-dash-card .mdc-change {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 0.6rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}
.mini-dash-card .mdc-change.up {
  color: #10B981;
  background: rgba(16,185,129,0.1);
}
.mini-dash-card .mdc-change.down {
  color: #EF4444;
  background: rgba(239,68,68,0.1);
}

/* --- Testimonials --- */
.testimonials {
  padding: 100px 1.5rem;
  background: var(--gray-50);
}
.testimonials .testimonials-container {
  max-width: 1280px;
  margin: 0 auto;
}
.testimonials .testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Speech Bubble Card */
.speech-bubble {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
  transition: all 0.3s ease;
}
.speech-bubble:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}
.speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 40px;
  width: 24px;
  height: 24px;
  background: var(--white);
  border-right: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  transform: rotate(45deg);
}
.speech-bubble .sb-quote-icon {
  font-size: 2.5rem;
  color: var(--primary-200);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.speech-bubble .sb-text {
  font-size: 0.925rem;
  color: var(--dark-600);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}
.speech-bubble .sb-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
}
.speech-bubble .sb-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #7C3AED);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.speech-bubble .sb-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark-800);
}
.speech-bubble .sb-role {
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-top: 0.1rem;
}
.speech-bubble .sb-stars {
  color: var(--accent);
  font-size: 0.7rem;
  margin-top: 0.25rem;
}

/* --- FAQ Section --- */
.faq {
  padding: 100px 1.5rem;
  background: var(--white);
}
.faq .faq-container {
  max-width: 860px;
  margin: 0 auto;
}
.faq .faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-item:hover {
  border-color: var(--primary-200);
}
.faq-item.active {
  border-color: var(--primary-200);
  box-shadow: var(--shadow-md);
}
.faq-item .faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark-800);
  text-align: left;
  line-height: 1.4;
  gap: 1rem;
}
.faq-item .faq-question span {
  flex: 1;
}
.faq-item .faq-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--gray-500);
  transition: all 0.3s ease;
}
.faq-item.active .faq-icon {
  background: var(--primary);
  color: var(--white);
  transform: rotate(45deg);
}
.faq-item .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.active .faq-answer {
  max-height: 300px;
}
.faq-item .faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.75;
}

/* --- CTA Section --- */
.cta {
  padding: 90px 1.5rem;
  background: linear-gradient(135deg, var(--primary), #1D4ED8);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.cta::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.cta .cta-container {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta h2 {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.cta p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
  line-height: 1.6;
}
.cta .cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.cta .btn-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.cta .btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}
.cta .btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.25s ease;
}
.cta .btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* --- Footer --- */
.footer {
  background: var(--dark);
  padding: 60px 1.5rem 30px;
  color: #94A3B8;
}
.footer .footer-container {
  max-width: 1280px;
  margin: 0 auto;
}
.footer .footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer .footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.85rem;
}
.footer .footer-brand .footer-logo i {
  color: var(--primary-light);
}
.footer .footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: #64748B;
}
.footer h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.footer .footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer .footer-links a {
  font-size: 0.85rem;
  color: #64748B;
  transition: var(--transition);
}
.footer .footer-links a:hover {
  color: var(--white);
}
.footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: #64748B;
}
.footer .footer-bottom a {
  color: #94A3B8;
  transition: var(--transition);
}
.footer .footer-bottom a:hover {
  color: var(--white);
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  z-index: 999;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

/* --- Page Header (for sub pages) --- */
.page-header {
  padding: 130px 1.5rem 70px;
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  text-align: center;
  position: relative;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(37,99,235,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.page-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.page-header p {
  font-size: 1.05rem;
  color: var(--dark-600);
  max-width: 600px;
  margin: 0 auto;
}
.page-header .page-breadcrumb {
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--gray-400);
}
.page-header .page-breadcrumb a {
  color: var(--primary);
  font-weight: 500;
}
.page-header .page-breadcrumb a:hover {
  text-decoration: underline;
}

/* --- Download Cards --- */
.download-section {
  padding: 80px 1.5rem;
  background: var(--white);
}
.download-section .ds-container {
  max-width: 1100px;
  margin: 0 auto;
}
.download-hero-card {
  background: linear-gradient(135deg, var(--dark-800), var(--dark));
  border-radius: var(--radius-2xl);
  padding: 3rem;
  display: flex;
  align-items: center;
  gap: 3rem;
  box-shadow: var(--shadow-2xl);
  overflow: hidden;
  position: relative;
}
.download-hero-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(37,99,235,0.3) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.download-hero-card .dhc-icon-wrap {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--primary), #7C3AED);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  color: var(--white);
  flex-shrink: 0;
  box-shadow: 0 10px 30px rgba(37,99,235,0.4);
}
.download-hero-card .dhc-content {
  flex: 1;
  position: relative;
  z-index: 1;
}
.download-hero-card .dhc-content h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.download-hero-card .dhc-content .dhc-version {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  color: #94A3B8;
  font-size: 0.78rem;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.download-hero-card .dhc-content p {
  color: #94A3B8;
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.download-hero-card .dhc-content .btn-download {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 2.2rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(37,99,235,0.4);
}
.download-hero-card .dhc-content .btn-download:hover {
  background: var(--primary-light);
  box-shadow: 0 6px 24px rgba(37,99,235,0.55);
  transform: translateY(-2px);
}

/* Info Grid */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.info-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  transition: all 0.3s ease;
}
.info-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-100);
}
.info-card .ic-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--primary-50);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.info-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark-800);
  margin-bottom: 0.4rem;
}
.info-card p,
.info-card ul {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.7;
}
.info-card ul {
  padding-left: 1.2rem;
  list-style: disc;
}
.info-card ul li {
  margin-bottom: 0.3rem;
}

/* Steps */
.steps-section {
  padding: 80px 1.5rem;
  background: var(--gray-50);
}
.steps-section .steps-container {
  max-width: 900px;
  margin: 0 auto;
}
.step-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
}
.step-item:last-child { margin-bottom: 0; }
.step-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 22px;
  top: 52px;
  bottom: -28px;
  width: 2px;
  background: var(--gray-200);
}
.step-item .step-number {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}
.step-item .step-content {
  flex: 1;
  padding-top: 0.3rem;
}
.step-item .step-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark-800);
  margin-bottom: 0.4rem;
}
.step-item .step-content p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
}
.step-item .step-content .step-note {
  margin-top: 0.6rem;
  padding: 0.6rem 1rem;
  background: var(--primary-50);
  border-radius: var(--radius);
  font-size: 0.82rem;
  color: var(--primary);
  border-left: 3px solid var(--primary);
}

/* Specs Table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}
.specs-table th,
.specs-table td {
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.875rem;
}
.specs-table th {
  background: var(--gray-50);
  color: var(--dark-600);
  font-weight: 600;
  width: 140px;
}
.specs-table td {
  color: var(--dark-800);
}

/* --- Certificate Guide --- */
.cert-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1rem;
}
.cert-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.cert-step .cert-step-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-50);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.cert-step .cert-step-content h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark-800);
  margin-bottom: 0.25rem;
}
.cert-step .cert-step-content p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* --- Alert / Note Box --- */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.88rem;
  line-height: 1.6;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.alert i { margin-top: 0.15rem; }
.alert-info {
  background: var(--primary-50);
  color: var(--primary-dark);
  border: 1px solid var(--primary-100);
}
.alert-warning {
  background: var(--warning-light);
  color: #92400E;
  border: 1px solid #FDE68A;
}
.alert-success {
  background: var(--success-light);
  color: #065F46;
  border: 1px solid #A7F3D0;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .hero h1 {
    font-size: 2.4rem;
  }
  .hero .hero-subtitle {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .hero .hero-buttons {
    justify-content: center;
  }
  .hero .stat-card-overlay {
    margin-left: auto;
    margin-right: auto;
  }
  .hero .hero-visual {
    max-width: 480px;
    margin: 0 auto;
  }
  .features .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-section .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .download-hero-card {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }
  .info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    background: var(--white);
    padding: 6rem 2rem 2rem;
    gap: 1.5rem;
    box-shadow: var(--shadow-2xl);
    transition: right 0.35s ease;
    align-items: flex-start;
  }
  .nav-links.open {
    right: 0;
  }
  .nav-cta {
    width: 100%;
    justify-content: center;
  }
  .hero {
    padding: 110px 1.5rem 60px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero .hero-subtitle {
    font-size: 0.95rem;
  }
  .hero .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .hero .hero-buttons .btn-primary,
  .hero .hero-buttons .btn-secondary {
    width: 100%;
    justify-content: center;
    max-width: 300px;
  }
  .section-header h2 {
    font-size: 1.7rem;
  }
  .features .features-grid {
    grid-template-columns: 1fr;
  }
  .stats-section .stats-grid {
    grid-template-columns: 1fr;
  }
  .testimonials .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .cta h2 {
    font-size: 1.7rem;
  }
  .footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .page-header h1 {
    font-size: 1.8rem;
  }
  .step-item {
    gap: 1rem;
  }
  .step-item:not(:last-child)::after {
    left: 18px;
  }
  .step-item .step-number {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.65rem;
  }
  .hero .stat-card-overlay {
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }
  .hero .stat-card-overlay .stat-divider {
    display: none;
  }
  .hero .dashboard-card {
    padding: 1rem;
  }
  .hero .floating-card-1,
  .hero .floating-card-2 {
    display: none;
  }
  .section-header h2 {
    font-size: 1.5rem;
  }
  .metric-card {
    padding: 1.25rem;
  }
  .download-hero-card {
    padding: 1.5rem;
  }
  .download-hero-card .dhc-icon-wrap {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }
  .download-hero-card .dhc-content h2 {
    font-size: 1.4rem;
  }
}
