/* ============================================================
   HX DATA - Global Design System
   Deep Navy Blue + Yellow | Professional Corporate Dark Theme
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700;900&family=Poppins:wght@400;500;600;700;800&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Background */
  --bg-deep: #060E1A;
  --bg-primary: #0A1628;
  --bg-secondary: #0D1F3C;
  --bg-card: #132347;
  --bg-card-hover: #182D56;
  --bg-surface: #1A3058;
  --bg-glass: rgba(13, 31, 60, 0.6);

  /* Accent - Yellow/Gold */
  --accent: #F5A623;
  --accent-light: #FFC107;
  --accent-hover: #FFD141;
  --accent-glow: rgba(245, 166, 35, 0.15);
  --accent-glow-strong: rgba(245, 166, 35, 0.3);
  --accent-gradient: linear-gradient(135deg, #F5A623 0%, #FFC107 50%, #FFD141 100%);

  /* Text */
  --text-primary: #FFFFFF;
  --text-secondary: #B0C4DE;
  --text-muted: #7B8BA3;
  --text-on-accent: #0A1628;

  /* Border */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-default: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.15);
  --border-accent: rgba(245, 166, 35, 0.3);

  /* Status */
  --success: #22C55E;
  --warning: #F59E0B;
  --error: #EF4444;
  --info: #3B82F6;

  /* Spacing scale (4px base) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px var(--accent-glow);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.3), 0 0 0 1px var(--border-subtle);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Typography */
  --font-heading: 'Poppins', 'Noto Sans SC', sans-serif;
  --font-body: 'Noto Sans SC', 'Poppins', sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;

  /* Layout */
  --max-width: 1200px;
  --header-height: 72px;
  --header-height-mobile: 60px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
  background: var(--bg-deep);
  overflow-x: hidden;
  min-height: 100vh;
  touch-action: manipulation;
}

/* Selection */
::selection {
  background: var(--accent);
  color: var(--text-on-accent);
}

/* Focus visible */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Links */
a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-hover);
}

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

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.2rem, 1.8vw, 1.55rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1rem, 1.4vw, 1.2rem); }
h4 { font-size: clamp(0.95rem, 1.1vw, 1.05rem); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-3);
}

.section-label::before {
  content: '';
  width: 18px;
  height: 1.5px;
  background: var(--accent-gradient);
  border-radius: 1px;
}

.section-title {
  margin-bottom: var(--space-3);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 520px;
  line-height: 1.65;
}

/* --- Layout Containers --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section {
  padding: var(--space-12) 0;
  position: relative;
}

@media (min-width: 768px) {
  .section {
    padding: var(--space-16) 0;
  }
}

/* --- Grid Helpers --- */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: var(--space-8); }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: var(--space-6); }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: var(--space-6); }

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

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

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(6, 14, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-base);
}

.header.scrolled {
  background: rgba(6, 14, 26, 0.95);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  white-space: nowrap;
  z-index: 1001;
}

.logo-icon {
  height: 38px;
  width: auto;
  max-width: 160px;
  border-radius: 4px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
  font-weight: 900;
  color: var(--text-on-accent);
  flex-shrink: 0;
}

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

/* Desktop Nav */
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
  color: var(--accent);
}

.nav-link .nav-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: var(--space-2);
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  padding-top: calc(var(--header-height) + var(--space-8));
  padding-bottom: var(--space-10);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

@media (min-width: 768px) {
  .hero {
    padding-top: calc(var(--header-height) + var(--space-12));
    padding-bottom: var(--space-12);
  }
}

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

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: var(--space-6);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

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

.hero-title {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

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

.hero-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-6);
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}

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

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  line-height: 1.5;
  min-height: 48px;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn:active {
  transform: scale(0.97);
}

/* Primary */
.btn-primary {
  background: var(--accent-gradient);
  color: var(--text-on-accent);
  box-shadow: 0 4px 16px var(--accent-glow-strong);
}

.btn-primary:hover {
  box-shadow: 0 6px 24px rgba(245, 166, 35, 0.4);
  transform: translateY(-2px);
  color: var(--text-on-accent);
}

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

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--text-muted);
  color: var(--text-primary);
}

/* Ghost */
.btn-ghost {
  background: transparent;
  color: var(--accent);
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}

.btn-ghost:hover {
  background: var(--accent-glow);
  color: var(--accent);
}

/* Button size variants */
.btn-lg {
  padding: var(--space-4) var(--space-10);
  font-size: 1.05rem;
  min-height: 56px;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: var(--space-2) var(--space-5);
  font-size: 0.85rem;
  min-height: 38px;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-default);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

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

.card-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity var(--transition-base);
}

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

.card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-5);
  font-size: 1.5rem;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--text-primary);
}

.card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Feature card with number */
.feature-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--space-3);
}

/* ============================================================
   STATS / COUNTER SECTION
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

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

.stat-item {
  text-align: center;
  padding: var(--space-6);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: all var(--transition-base);
}

.testimonial-card:hover {
  border-color: var(--border-default);
  box-shadow: var(--shadow-lg);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-4);
  color: var(--accent);
  font-size: 1.1rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-6);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-accent);
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================================
   PROCESS / STEPS
   ============================================================ */
.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  position: relative;
}

@media (min-width: 768px) {
  .process-steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-step {
  text-align: center;
  position: relative;
  padding: var(--space-6);
}

.process-step-num {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-gradient);
  color: var(--text-on-accent);
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 auto var(--space-4);
}

.process-step-title {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.process-step-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

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

.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-3);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--border-default);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-5) var(--space-6);
  background: var(--bg-card);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  transition: all var(--transition-fast);
  gap: var(--space-4);
}

.faq-question:hover {
  background: var(--bg-card-hover);
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-glow);
  color: var(--accent);
  font-size: 1.2rem;
  transition: transform var(--transition-base);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow) ease;
}

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

.faq-answer-inner {
  padding: 0 var(--space-6) var(--space-5);
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  position: relative;
  overflow: hidden;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 100%;
  background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--space-20) var(--space-6);
}

.cta-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: var(--space-4);
}

.cta-desc {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto var(--space-8);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: var(--space-4);
  max-width: 320px;
}

.footer-heading {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-5);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  margin-top: var(--space-12);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-6);
}

.footer-bottom-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--accent);
}

/* ============================================================
   TELEGRAM FLOATING BUTTON
   ============================================================ */
.telegram-float {
  position: fixed;
  right: var(--space-6);
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  background: var(--accent-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px var(--accent-glow-strong);
  z-index: 999;
  z-index: 999;
  transition: all var(--transition-fast);
  border: none;
}

.telegram-float:hover {
  transform: translateY(calc(-50% - 4px)) scale(1.05);
  box-shadow: 0 8px 30px rgba(245, 166, 35, 0.5);
}

.telegram-float svg {
  width: 26px;
  height: 26px;
  fill: var(--text-on-accent);
}

.telegram-float .pulse-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--accent);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ============================================================
   TRUST / CLIENTS LOGOS
   ============================================================ */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-8) var(--space-12);
  padding: var(--space-10) 0;
  opacity: 0.5;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .contact-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-base);
}

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

.contact-card-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  border-radius: 50%;
  margin: 0 auto var(--space-5);
  font-size: 1.75rem;
}

.contact-card-title {
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.contact-card-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ============================================================
   TAB / INDUSTRY GRID
   ============================================================ */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

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

.industry-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  cursor: default;
}

.industry-tag:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  color: var(--accent);
}

/* ============================================================
   PAGE HEADER (INNER PAGE BANNER)
   ============================================================ */
.page-banner {
  padding-top: calc(var(--header-height) + var(--space-16));
  padding-bottom: var(--space-16);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  pointer-events: none;
}

.page-banner-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: var(--space-4);
  position: relative;
}

.page-banner-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

/* ============================================================
   PRODUCT LIST (for 查档找人)
   ============================================================ */
.product-grid-compact {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2);
}

@media (min-width: 640px) {
  .product-grid-compact {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .product-grid-compact {
    grid-template-columns: repeat(4, 1fr);
  }
}

.product-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.product-item:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.why-item {
  display: flex;
  gap: var(--space-5);
  padding: var(--space-6);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.why-item:hover {
  border-color: var(--border-default);
  background: var(--bg-card-hover);
}

.why-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  border-radius: var(--radius-md);
  font-size: 1.35rem;
  flex-shrink: 0;
}

.why-content h4 {
  font-size: 1.05rem;
  margin-bottom: var(--space-1);
}

.why-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   MOBILE RESPONSIVE TWEAKS
   ============================================================ */
@media (max-width: 767px) {
  :root {
    --header-height: 60px;
  }

  .section {
    padding: var(--space-12) 0;
  }

  .container {
    padding: 0 var(--space-4);
  }

  /* Mobile Navigation */
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    background: var(--bg-primary);
    padding: calc(var(--header-height) + var(--space-6)) var(--space-6) var(--space-8);
    gap: var(--space-1);
    transition: right var(--transition-base);
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
  }

  .nav.open {
    right: 0;
  }

  .nav-link {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-size: 0.95rem;
  }

  .hamburger {
    display: flex;
  }

  /* Mobile overlay */
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
  }

  .nav-overlay.open {
    display: block;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + var(--space-10));
    padding-bottom: var(--space-12);
  }

  .hero-actions {
    flex-direction: column;
  }

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

  /* Telegram button */
  .telegram-float {
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
  }

  .telegram-float svg {
    width: 22px;
    height: 22px;
  }

  /* Cards */
  .card {
    padding: var(--space-6);
  }

  /* Footer */
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Page banner */
  .page-banner {
    padding-top: calc(var(--header-height) + var(--space-10));
    padding-bottom: var(--space-10);
  }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1023px) {
  .container {
    padding: 0 var(--space-8);
  }

  .hero {
    min-height: auto;
  }
}

/* ============================================================
   LEGAL PAGES (Terms / Privacy)
   ============================================================ */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-10) 0;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
  color: var(--text-primary);
}

.legal-content h3 {
  font-size: 1.2rem;
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}

.legal-content p,
.legal-content li {
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: var(--space-4);
}

.legal-content ul,
.legal-content ol {
  padding-left: var(--space-6);
  margin-bottom: var(--space-4);
}

.legal-content .last-updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border-subtle);
}

/* ============================================================
   PARTICLE / ANIMATED BACKGROUND
   ============================================================ */
.bg-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* Gradient divider */
.gradient-divider {
  width: 80px;
  height: 3px;
  background: var(--accent-gradient);
  border-radius: 2px;
  margin: 0 auto var(--space-8);
}

/* Text gradient utility */
.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section dark background variant */
.section-dark {
  background: var(--bg-secondary);
}

.section-deeper {
  background: var(--bg-deep);
}

/* ============================================================
   ALTERNATING FEATURE ROWS (Image + Text Layout)
   ============================================================ */
.feature-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
  padding: var(--space-16) 0;
}

@media (min-width: 768px) {
  .feature-row {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }
}

.feature-row.reverse .feature-row-visual {
  order: 0;
}

@media (min-width: 768px) {
  .feature-row.reverse .feature-row-visual {
    order: 2;
  }
}

.feature-row-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
}

.feature-row-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.feature-row-visual:hover img {
  transform: scale(1.03);
}

.feature-row-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 22, 40, 0.3) 0%, transparent 60%);
  pointer-events: none;
}

.feature-row-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.feature-row-content h3 {
  font-size: 1.75rem;
  font-weight: 700;
}

.feature-row-content p {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1rem;
}

.feature-row-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

.feature-row-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.feature-row-list li svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent);
}

/* ============================================================
   TIMELINE / VERTICAL PROGRESS
   ============================================================ */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding-left: var(--space-8);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--border-accent), transparent);
}

.timeline-item {
  position: relative;
  padding-left: var(--space-10);
  padding-bottom: var(--space-10);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -7px;
  top: 4px;
  width: 16px;
  height: 16px;
  background: var(--accent-gradient);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent-glow-strong);
  z-index: 2;
}

.timeline-dot::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--accent-glow);
  animation: pulse-dot 2s infinite;
}

.timeline-image {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: var(--space-4);
  border: 1px solid var(--border-subtle);
}

.timeline-image img {
  width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 768px) {
  .timeline {
    padding-left: 0;
  }
  .timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }
  .timeline-item {
    width: 50%;
    padding-left: 0;
  }
  .timeline-item:nth-child(odd) {
    padding-right: var(--space-12);
    text-align: right;
    margin-left: 0;
  }
  .timeline-item:nth-child(even) {
    margin-left: 50%;
    padding-left: var(--space-12);
  }
  .timeline-dot {
    left: auto;
    right: -8px;
  }
  .timeline-item:nth-child(even) .timeline-dot {
    right: auto;
    left: -8px;
  }
}

/* ============================================================
   SPLIT SCREEN SECTION
   ============================================================ */
.split-section {
  display: grid;
  grid-template-columns: 1fr;
  min-height: auto;
}

@media (min-width: 768px) {
  .split-section {
    grid-template-columns: 1fr 1fr;
  }
}

.split-visual {
  position: relative;
  min-height: 300px;
  overflow: hidden;
}

.split-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.split-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 22, 40, 0.15), rgba(10, 22, 40, 0.05));
}

.split-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-12) var(--space-8);
  background: var(--bg-secondary);
}

@media (min-width: 768px) {
  .split-content {
    padding: var(--space-16);
  }
}

/* ============================================================
   IMAGE HERO OVERLAY
   ============================================================ */
.hero-image-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

/* Hero visual (foreground image wrapper for split/grid heroes) */
.hero-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-accent);
  box-shadow: 0 0 60px var(--accent-glow);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 22, 40, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

/* Animated counter number */
[data-count] {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  transition: opacity 0.3s ease;
  contain: layout style;
}
/* Reserve space so counter text width changes don't shift layout */
.metric-value[data-count],
[data-count].metric-value {
  min-width: 3.5em;
  text-align: center;
}

.hero-image-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.hero-image-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 14, 26, 0.6) 0%, rgba(10, 22, 40, 0.9) 100%);
}

/* ============================================================
   IMAGE CARD (card with image top)
   ============================================================ */
.image-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
}

.image-card:hover {
  border-color: var(--border-default);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.image-card-img {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.image-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.image-card:hover .image-card-img img {
  transform: scale(1.05);
}

.image-card-body {
  padding: var(--space-6);
}

/* ============================================================
   HIGHLIGHT BOX (glowing accent border box)
   ============================================================ */
.highlight-box {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
}

.highlight-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-gradient);
  border-radius: 4px 0 0 4px;
}

.highlight-box h4 {
  color: var(--accent);
  margin-bottom: var(--space-2);
}

/* ============================================================
   SECTION GRADIENT (subtle gradient background)
   ============================================================ */
.section-gradient {
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-secondary) 50%, var(--bg-deep) 100%);
  position: relative;
}

.section-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-accent), transparent);
}

/* ============================================================
   FULL-WIDTH IMAGE BANNER
   ============================================================ */
.img-banner {
  position: relative;
  height: 300px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .img-banner {
    height: 400px;
  }
}

.img-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.img-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--bg-deep) 0%, transparent 50%, var(--bg-deep) 100%);
}

.img-banner-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 600px;
  padding: var(--space-6);
}

/* ============================================================
   NUMBERED CARD GRID (with large numbers)
   ============================================================ */
.numbered-card {
  display: flex;
  gap: var(--space-5);
  padding: var(--space-6);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.numbered-card:hover {
  border-color: var(--border-default);
  background: var(--bg-card-hover);
}

.numbered-card-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
  opacity: 0.5;
}

.numbered-card:hover .numbered-card-num {
  opacity: 1;
}

.numbered-card-content h4 {
  margin-bottom: var(--space-1);
}

.numbered-card-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   ICON GRID COMPACT (small icon + label in 2-line grid)
   ============================================================ */
.icon-grid-compact {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2);
}

@media (min-width: 640px) {
  .icon-grid-compact {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .icon-grid-compact {
    grid-template-columns: repeat(5, 1fr);
  }
}

.icon-grid-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.icon-grid-item:hover {
  border-color: var(--border-accent);
  background: var(--accent-glow);
  color: var(--accent);
}

.icon-grid-item svg {
  flex-shrink: 0;
  color: var(--accent);
}

/* ============================================================
   SERVICE CATEGORY CARD (large icon + description)
   ============================================================ */
.service-cat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  transition: all var(--transition-base);
  cursor: default;
}

.service-cat-card:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-cat-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-5);
  background: var(--accent-glow);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-accent);
}

.service-cat-icon svg {
  width: 32px;
  height: 32px;
  color: var(--accent);
}

.service-cat-card h4 {
  margin-bottom: var(--space-2);
  font-size: 1.1rem;
}

.service-cat-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   PAGE-SPECIFIC VARIANTS
   ============================================================ */
.page-data .hero { min-height: auto; }
.page-dns .hero { min-height: auto; }
.page-sentiment .hero { min-height: auto; }
.page-people .hero { min-height: auto; }

/* ============================================================
   BENTO GRID (Uneven Creative Layout)
   ============================================================ */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-auto-rows: 200px;
  }
}

.bento-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.bento-item:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
}

.bento-item.tall { grid-row: span 2; }
.bento-item.wide { grid-column: span 2; }
.bento-item.large { grid-column: span 2; grid-row: span 2; }

@media (max-width: 767px) {
  .bento-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
  }
  .bento-item.wide,
  .bento-item.large { grid-column: auto; }
  .bento-item.tall { grid-row: auto; }
  .bento-item {
    justify-content: flex-start;
    align-items: flex-start;
    padding: var(--space-5);
  }
  .bento-icon-lg {
    width: 40px;
    height: 40px;
    margin-bottom: var(--space-3);
  }
}

.bento-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.bento-icon-lg {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-accent);
  margin-bottom: var(--space-4);
}

/* ============================================================
   DASHBOARD METRIC CARD (Big number + label + mini indicator)
   ============================================================ */
.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-3);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
}

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

.metric-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 80%;
  height: 3px;
  background: var(--accent-gradient);
  border-radius: 2px;
  opacity: 0.4;
  transition: opacity var(--transition-fast);
}

.metric-card:hover::after { opacity: 1; }

.metric-value {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
  margin-bottom: var(--space-1);
  white-space: nowrap;
}

.metric-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.metric-sub {
  font-size: 0.72rem;
  color: var(--success);
  margin-top: var(--space-1);
  font-weight: 600;
  white-space: nowrap;
}

/* ============================================================
   QUOTE TESTIMONIAL (Large quotation style)
   ============================================================ */
.quote-testimonial {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  position: relative;
}

.quote-testimonial::before {
  content: '"';
  position: absolute;
  top: var(--space-4);
  left: var(--space-6);
  font-family: var(--font-heading);
  font-size: 6rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.3;
  pointer-events: none;
}

.quote-text {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--text-secondary);
  font-style: italic;
  position: relative;
  z-index: 1;
  margin-bottom: var(--space-6);
}

.quote-author-row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border-subtle);
}

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

/* ============================================================
   COMPACT TESTIMONIAL (Horizontal card style)
   ============================================================ */
.testimonial-horizontal {
  display: flex;
  gap: var(--space-6);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  align-items: flex-start;
  transition: all var(--transition-base);
}

.testimonial-horizontal:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
}

.testimonial-horizontal .testimonial-avatar {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

/* ============================================================
   CARD CAROUSEL ROW (Horizontal scroll with varied sizes)
   ============================================================ */
.card-carousel {
  display: flex;
  gap: var(--space-5);
  overflow-x: auto;
  padding: var(--space-4) 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.card-carousel::-webkit-scrollbar { display: none; }

.card-carousel-item {
  min-width: 300px;
  flex-shrink: 0;
  scroll-snap-align: start;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: all var(--transition-base);
}

.card-carousel-item.large { min-width: 380px; }
.card-carousel-item.small { min-width: 260px; }

.card-carousel-item:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
}

/* ============================================================
   INFOGRAPHIC FLOW (Icon → Line → Icon connector)
   ============================================================ */
.infographic-flow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0;
  padding: var(--space-8) 0;
}

.infographic-node {
  text-align: center;
  flex-shrink: 0;
}

.infographic-node-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-3);
  background: var(--bg-card);
  border: 2px solid var(--border-accent);
  border-radius: 50%;
  box-shadow: 0 0 24px var(--accent-glow);
}

.infographic-connector {
  width: 60px;
  height: 2px;
  background: var(--accent-gradient);
  flex-shrink: 0;
  position: relative;
  margin: 0 var(--space-2);
}

@media (max-width: 767px) {
  .infographic-connector {
    width: 2px;
    height: 40px;
    margin: var(--space-2) 0;
  }
  .infographic-flow { flex-direction: column; }
}

/* ============================================================
   BEFORE/AFTER COMPARISON
   ============================================================ */
.compare-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .compare-container {
    grid-template-columns: 1fr 1fr;
  }
}

.compare-card {
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
}

.compare-card.before {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.compare-card.after {
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.compare-badge {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
}

.compare-badge.before { background: rgba(239,68,68,0.2); color: #EF4444; }
.compare-badge.after { background: rgba(34,197,94,0.2); color: var(--success); }

/* ============================================================
   GLASS PANEL (Frosted glass elevated card)
   ============================================================ */
.glass-panel {
  background: rgba(13, 31, 60, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
}

/* ============================================================
   FEATURE SHOWCASE ROW (Icon + big text + side image)
   ============================================================ */
.showcase-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
  padding: var(--space-16) 0;
  border-bottom: 1px solid var(--border-subtle);
}

.showcase-row:last-child { border-bottom: none; }

@media (min-width: 768px) {
  .showcase-row { grid-template-columns: 1fr 1fr; }
}

.showcase-visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  position: relative;
}

.showcase-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.showcase-visual-accent {
  position: absolute;
  width: 120px;
  height: 120px;
  background: var(--accent-glow);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

.showcase-visual-accent.tl { top: -30px; left: -30px; }
.showcase-visual-accent.br { bottom: -30px; right: -30px; }

/* ============================================================
   TAB PANEL (Inline tab switching)
   ============================================================ */
.tab-nav {
  display: flex;
  gap: var(--space-1);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: var(--space-8);
  overflow-x: auto;
}

.tab-btn {
  padding: var(--space-3) var(--space-6);
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all var(--transition-fast);
}

.tab-btn:hover { color: var(--text-primary); }
.tab-btn.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ============================================================
   CHECKLIST GRID (visual checkmark feature list)
   ============================================================ */
.checklist-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}

@media (min-width: 640px) {
  .checklist-grid { grid-template-columns: 1fr 1fr; }
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: rgba(34, 197, 94, 0.05);
  border: 1px solid rgba(34, 197, 94, 0.1);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.checklist-item svg { flex-shrink: 0; margin-top: 2px; color: var(--success); }

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
