/* ==============================================
   AMANEX SOLUTIONS — Retool-Inspired Premium v4
   Dark · Minimal · Enterprise
=============================================== */

/* ===== VARIABLES ===== */
:root {
  --bg:          #0c0c0e;
  --bg-1:        #111116;
  --bg-2:        #16161c;
  --bg-3:        #1c1c24;
  --bg-hover:    #1e1e28;

  --text:        #eeeeee;
  --text-2:      #888888;
  --text-3:      #444455;

  --border:      rgba(255,255,255,0.07);
  --border-2:    rgba(255,255,255,0.12);
  --border-blue: rgba(63,111,255,0.4);

  --blue:        #3f6fff;
  --blue-light:  #6088ff;
  --blue-soft:   rgba(63,111,255,0.1);
  --cyan:        #00d4ff;
  --purple:      #8b5cf6;
  --green:       #10b981;
  --orange:      #f97316;

  --gradient-text:  linear-gradient(135deg, #ffffff 0%, #8888aa 100%);
  --gradient-blue:  linear-gradient(135deg, #3f6fff 0%, #00d4ff 100%);
  --gradient-hero:  radial-gradient(ellipse 80% 50% at 50% -20%, rgba(63,111,255,0.15) 0%, transparent 70%);
  --gradient-glow:  radial-gradient(ellipse 60% 40% at 50% 100%, rgba(63,111,255,0.12) 0%, transparent 70%);

  --shadow:      0 1px 3px rgba(0,0,0,0.5), 0 8px 24px rgba(0,0,0,0.3);
  --shadow-lg:   0 4px 6px rgba(0,0,0,0.5), 0 20px 60px rgba(0,0,0,0.4);
  --shadow-blue: 0 0 40px rgba(63,111,255,0.25), 0 4px 16px rgba(63,111,255,0.2);

  --radius-sm:   6px;
  --radius:      10px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --tr:          0.2s ease;
  --tr-slow:     0.4s ease;
}

/* ===== RESET ===== */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 800; line-height: 1.08;
  letter-spacing: -0.03em; color: var(--text);
}
h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700; line-height: 1.15;
  letter-spacing: -0.025em; color: var(--text);
}
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; color: var(--text); }
h4 { font-size: 0.95rem; font-weight: 600; color: var(--text); }
p  { color: var(--text-2); line-height: 1.75; }

/* ===== UTILITIES ===== */
.container  { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.section    { padding: 100px 0; }
.section-sm { padding: 60px 0; }
.text-center { text-align: center; }

/* Gradient text */
.grad-text {
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section label pill */
.label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 100px; margin-bottom: 18px;
  border: 1px solid var(--border-2);
  background: var(--bg-2);
  color: var(--text-2);
}
.label .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue); display: inline-block;
}
.label-blue   { color: var(--blue-light);  border-color: var(--border-blue);  background: var(--blue-soft); }
.label-green  { color: var(--green);  border-color: rgba(16,185,129,0.3);  background: rgba(16,185,129,0.08); }
.label-purple { color: #a78bfa; border-color: rgba(139,92,246,0.3); background: rgba(139,92,246,0.08); }
.label-orange { color: #fb923c; border-color: rgba(249,115,22,0.3);  background: rgba(249,115,22,0.08); }

/* Section header */
.section-header { margin-bottom: 56px; }
.section-header h2 { margin-bottom: 14px; }
.section-header p  { font-size: 1.05rem; max-width: 540px; }
.section-header.center { text-align: center; }
.section-header.center p { margin: 0 auto; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: var(--radius-sm);
  font-size: 0.875rem; font-weight: 600;
  cursor: pointer; border: none;
  transition: all var(--tr); white-space: nowrap; line-height: 1;
}
.btn-primary {
  background: var(--blue); color: #fff;
}
.btn-primary:hover { background: var(--blue-light); transform: translateY(-1px); box-shadow: var(--shadow-blue); }

.btn-white {
  background: #fff; color: #0c0c0e; font-weight: 700;
}
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 8px 30px rgba(255,255,255,0.15); }

.btn-ghost {
  background: transparent; color: var(--text-2);
  border: 1px solid var(--border-2);
}
.btn-ghost:hover { color: var(--text); border-color: var(--border-2); background: var(--bg-2); }

.btn-outline-white {
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-outline-white:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.04); }

.btn-outline {
  background: transparent; color: var(--text-2);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

.btn-lg { padding: 14px 28px; font-size: 0.95rem; border-radius: var(--radius); }
.btn-sm { padding: 8px 16px; font-size: 0.8rem; }

/* Arrow button link */
.btn-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.875rem; font-weight: 600; color: var(--blue-light);
  transition: gap var(--tr);
}
.btn-link:hover { gap: 10px; }
.btn-link svg { width: 14px; height: 14px; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 60px;
  display: flex; align-items: center;
  background: rgba(12,12,14,0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background var(--tr);
}
.navbar.scrolled { background: rgba(12,12,14,0.97); }
.navbar-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 28px;
  width: 100%;
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.nav-logo {
  font-size: 1.15rem; font-weight: 800;
  letter-spacing: -0.02em; color: #fff; flex-shrink: 0;
  position: relative; z-index: 2;
}
.nav-logo span { color: var(--blue-light); }
.nav-links {
  position: absolute;
  left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 2px;
  z-index: 1;
}
.nav-links > a {
  padding: 6px 12px; color: var(--text-2);
  font-size: 0.85rem; font-weight: 500;
  border-radius: var(--radius-sm); transition: all var(--tr);
}
.nav-links > a:hover { color: var(--text); background: var(--bg-2); }

/* Services dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after {
  content: ''; display: inline-block; margin-left: 5px;
  width: 0; height: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-top: 4px solid currentColor;
  opacity: 0.5;
}
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%);
  width: 260px;
  background: var(--bg-1);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: 6px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: all var(--tr);
  box-shadow: var(--shadow-lg);
}
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; pointer-events: all; }
.dropdown-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: var(--radius-sm);
  font-size: 0.83rem; font-weight: 500; color: var(--text-2);
  transition: all var(--tr);
}
.dropdown-menu a:hover { color: var(--text); background: var(--bg-2); }
.dropdown-menu a .dm-icon {
  width: 28px; height: 28px; border-radius: 6px;
  background: var(--bg-3); display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; flex-shrink: 0;
}

.nav-right { display: flex; align-items: center; gap: 8px; position: relative; z-index: 2; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px;
}
.hamburger span { display: block; width: 20px; height: 1.5px; background: var(--text-2); border-radius: 2px; transition: all var(--tr); }

/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: none; position: fixed;
  top: 60px; left: 0; right: 0; bottom: 0;
  background: var(--bg);
  z-index: 999; padding: 16px 28px; overflow-y: auto;
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; padding: 12px 0;
  color: var(--text-2); font-size: 1rem; font-weight: 500;
  border-bottom: 1px solid var(--border);
  transition: color var(--tr);
}
.mobile-menu a:hover { color: var(--text); }
.mobile-cta { padding: 20px 0; display: flex; flex-direction: column; gap: 10px; }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 0 80px;
  background: var(--bg);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--gradient-hero);
  pointer-events: none;
}
/* Subtle dot grid */
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 40%, transparent 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 860px; margin: 0 auto; padding: 0 28px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-2); border: 1px solid var(--border-2);
  border-radius: 100px; padding: 6px 16px 6px 8px;
  font-size: 0.78rem; font-weight: 600; color: var(--text-2);
  margin-bottom: 28px; cursor: default;
}
.hero-badge-dot {
  background: var(--blue); color: #fff;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.05em;
  padding: 3px 8px; border-radius: 100px;
  text-transform: uppercase;
}
.hero h1 { margin-bottom: 22px; }
.hero h1 .line-grad {
  background: var(--gradient-blue);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.15rem; color: var(--text-2);
  max-width: 540px; margin: 0 auto 40px; line-height: 1.7;
}
.hero-actions {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; flex-wrap: wrap; margin-bottom: 72px;
}
.hero-note {
  font-size: 0.75rem; color: var(--text-3);
  margin-top: 14px;
}

/* ===== HERO VIDEO SHOWCASE ===== */
.hero-video-wrap {
  position: relative; z-index: 2;
  max-width: 1100px; margin: 0 auto;
  padding: 0 28px;
}
.hero-video-frame {
  position: relative;
  background: var(--bg-1);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow:
    0 0 0 1px var(--border),
    0 32px 80px rgba(0,0,0,0.7),
    0 0 120px rgba(63,111,255,0.1);
}
/* Browser chrome bar */
.video-chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 18px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.chrome-dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.chrome-dot.red    { background: #ff5f56; }
.chrome-dot.yellow { background: #ffbd2e; }
.chrome-dot.green  { background: #27c93f; }
.chrome-bar {
  flex: 1; height: 24px;
  background: var(--bg-3); border-radius: var(--radius-sm);
  margin: 0 12px;
  display: flex; align-items: center; padding: 0 12px;
  font-size: 0.72rem; color: var(--text-3);
}
.video-body {
  position: relative; aspect-ratio: 16/9; background: var(--bg-3);
  cursor: pointer; overflow: hidden;
}
.video-body iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: none;
}
/* Thumbnail overlay */
.video-thumb {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0c1a3a 0%, #0c0c0e 60%, #180c30 100%);
  transition: all var(--tr-slow);
  z-index: 2;
}
.video-thumb.hidden { opacity: 0; pointer-events: none; }
.play-btn {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; transition: all var(--tr);
  backdrop-filter: blur(8px);
}
.play-btn:hover { background: var(--blue); border-color: var(--blue); transform: scale(1.08); }
.play-btn svg { width: 28px; height: 28px; fill: white; margin-left: 4px; }
.video-thumb-title { font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.video-thumb-sub   { font-size: 0.82rem; color: var(--text-2); }
.video-overlay-label {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
  padding: 40px 28px 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
  pointer-events: none;
}
.video-body video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ===== LOGO BAR ===== */
.logo-bar {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.logo-bar-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 28px;
}
.logo-bar-label {
  text-align: center; font-size: 0.78rem; font-weight: 600;
  color: var(--text-3); letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 28px;
}
.logo-strip {
  display: flex; align-items: center; justify-content: center;
  gap: 48px; flex-wrap: wrap;
}
.logo-strip-item {
  font-size: 0.95rem; font-weight: 700;
  color: var(--text-3); letter-spacing: -0.01em;
  transition: color var(--tr); cursor: default;
}
.logo-strip-item:hover { color: var(--text-2); }

/* ===== FEATURE SECTIONS (alternating) ===== */
.feature-section { padding: 100px 0; border-bottom: 1px solid var(--border); }
.feature-section:last-of-type { border-bottom: none; }
.feature-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.feature-grid.reverse { direction: rtl; }
.feature-grid.reverse > * { direction: ltr; }
.feature-text {}
.feature-text .label { margin-bottom: 16px; }
.feature-text h2 { margin-bottom: 16px; }
.feature-text p  { font-size: 1rem; margin-bottom: 28px; max-width: 460px; }
.feature-list {
  display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px;
}
.feature-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.9rem; color: var(--text-2);
}
.feature-list li::before {
  content: '✓'; color: var(--blue-light);
  font-weight: 700; font-size: 0.85rem; margin-top: 1px; flex-shrink: 0;
}
/* Feature visual panel */
.feature-visual {
  position: relative;
  background: var(--bg-1);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}
/* Inner chrome header */
.fv-header {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 16px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.fv-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bg-3); }
.fv-content {
  position: absolute; inset: 0; top: 37px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.fv-content iframe {
  width: 100%; height: 100%; border: none;
  position: absolute; inset: 0;
}
.fv-thumb {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 14px;
  background: linear-gradient(160deg, #0a1628 0%, #0c0c0e 100%);
  transition: opacity var(--tr-slow); z-index: 2;
}
.fv-thumb.hidden { opacity: 0; pointer-events: none; }
.fv-play {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--tr); backdrop-filter: blur(8px);
}
.fv-play:hover { background: var(--blue); border-color: var(--blue); }
.fv-play svg { width: 20px; height: 20px; fill: white; margin-left: 3px; }
.fv-label { font-size: 0.85rem; color: var(--text-2); font-weight: 500; }
/* Decorative elements inside feature visual */
.fv-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px),
                    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 32px 32px;
}
.fv-glow {
  position: absolute; width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(63,111,255,0.15), transparent 70%);
  border-radius: 50%;
}

/* ===== SERVICES GRID ===== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--border); }
.service-card {
  background: var(--bg-1);
  padding: 36px 32px;
  transition: background var(--tr); position: relative; overflow: hidden;
}
.service-card:hover { background: var(--bg-2); }
.service-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gradient-blue); opacity: 0; transition: opacity var(--tr);
}
.service-card:hover::after { opacity: 1; }
.sc-icon {
  width: 44px; height: 44px; border-radius: var(--radius);
  background: var(--bg-3); border: 1px solid var(--border-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 20px;
  transition: all var(--tr);
}
.service-card:hover .sc-icon { background: var(--blue-soft); border-color: var(--border-blue); }
.service-card h3 { font-size: 1rem; margin-bottom: 8px; }
.service-card p  { font-size: 0.85rem; margin-bottom: 18px; }
.sc-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.8rem; font-weight: 600; color: var(--blue-light);
  transition: gap var(--tr);
}
.sc-link:hover { gap: 9px; }

/* ===== STATS BAND ===== */
.stats-band {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 64px 0;
}
.stats-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radius-xl);
  overflow: hidden;
}
.stat-item {
  padding: 40px 28px; text-align: center;
  background: var(--bg-1); transition: background var(--tr);
}
.stat-item:hover { background: var(--bg-2); }
.stat-num {
  font-size: 2.8rem; font-weight: 800;
  line-height: 1; margin-bottom: 6px;
  letter-spacing: -0.03em;
  background: var(--gradient-blue);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-lbl { font-size: 0.82rem; color: var(--text-3); font-weight: 500; }

/* ===== WHY US ===== */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.why-list { display: flex; flex-direction: column; gap: 10px; }
.why-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px; border-radius: var(--radius);
  border: 1px solid var(--border);
  background: transparent; transition: all var(--tr); cursor: default;
}
.why-item:hover { background: var(--bg-2); border-color: var(--border-2); }
.why-icon {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  background: var(--bg-2); border: 1px solid var(--border-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.why-item h4 { font-size: 0.9rem; margin-bottom: 3px; }
.why-item p  { font-size: 0.82rem; margin: 0; }
.why-visual {
  background: var(--bg-1);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-xl);
  padding: 32px; display: grid;
  grid-template-columns: 1fr 1fr; gap: 12px;
}
.why-card {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 18px;
  text-align: center; transition: all var(--tr);
}
.why-card:hover { border-color: var(--border-blue); background: var(--blue-soft); }
.why-card .wc-icon { font-size: 1.6rem; margin-bottom: 10px; }
.why-card h4 { font-size: 0.82rem; margin-bottom: 4px; }
.why-card p  { font-size: 0.75rem; margin: 0; color: var(--text-3); }
.why-card.accent { border-color: var(--border-blue); background: var(--blue-soft); }

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 120px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--gradient-glow);
  pointer-events: none;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { margin-bottom: 14px; }
.cta-section p  { font-size: 1.05rem; max-width: 440px; margin: 0 auto 36px; }
.cta-actions    { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-brand {}
.footer-brand .fn-logo { font-size: 1.1rem; font-weight: 800; color: #fff; margin-bottom: 12px; }
.footer-brand .fn-logo span { color: var(--blue-light); }
.footer-brand p { font-size: 0.85rem; max-width: 250px; line-height: 1.7; color: var(--text-3); }
.footer-locations { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.footer-loc {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.82rem; color: var(--text-3);
}
.footer-loc svg { flex-shrink: 0; stroke: var(--blue-light); }
.footer-loc strong { color: var(--text-2); font-weight: 600; }
.footer-social  { display: flex; gap: 8px; margin-top: 16px; }
.social-btn {
  width: 34px; height: 34px;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem; color: var(--text-3);
  transition: all var(--tr);
}
.social-btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.footer-col h5 {
  font-size: 0.78rem; font-weight: 700;
  color: var(--text-2); letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li a { font-size: 0.85rem; color: var(--text-3); transition: color var(--tr); }
.footer-col li a:hover { color: var(--text-2); }
.footer-bottom {
  padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.78rem; color: var(--text-3);
}
.footer-bottom a:hover { color: var(--text-2); }
.footer-badges { display: flex; gap: 8px; }
.f-badge {
  padding: 3px 8px; border-radius: var(--radius-sm);
  background: var(--bg-2); border: 1px solid var(--border);
  font-size: 0.7rem; font-weight: 700; color: var(--text-3);
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  padding: 130px 0 80px;
  background: var(--bg);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% -10%, rgba(63,111,255,0.12) 0%, transparent 65%),
    radial-gradient(ellipse 50% 30% at 80% 80%, rgba(139,92,246,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 100%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 16px; }
.page-hero > .container > p { font-size: 1.1rem; max-width: 520px; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.78rem; color: var(--text-3); margin-bottom: 20px;
}
.breadcrumb a { color: var(--text-3); transition: color var(--tr); }
.breadcrumb a:hover { color: var(--text-2); }
.breadcrumb span { color: var(--text-3); }

/* ===== SERVICE DETAIL (inner service pages) ===== */
.detail-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: start; margin-bottom: 80px;
}
.detail-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.detail-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px 20px;
  background: var(--bg-1); border: 1px solid var(--border);
  border-radius: var(--radius); transition: all var(--tr);
}
.detail-item:hover { border-color: var(--border-blue); background: var(--blue-soft); }
.di-dot { width: 7px; height: 7px; background: var(--blue); border-radius: 50%; margin-top: 7px; flex-shrink: 0; }
.detail-item h4 { font-size: 0.9rem; margin-bottom: 3px; }
.detail-item p  { font-size: 0.82rem; margin: 0; }
.detail-panel {
  background: var(--bg-1); border: 1px solid var(--border-2);
  border-radius: var(--radius-xl); padding: 32px; overflow: hidden;
}
.detail-panel h3 { color: var(--text-2); margin-bottom: 16px; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.dp-list { display: flex; flex-direction: column; gap: 8px; }
.dp-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem; color: var(--text-2);
  transition: all var(--tr);
}
.dp-item:hover { border-color: var(--border-blue); color: var(--text); }
.dp-item span { font-size: 1rem; }

/* ===== SERVICE VIDEO SECTION ===== */
.svc-video-section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-1);
}
.svc-video-frame {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-xl);
  overflow: hidden;
  max-width: 900px; margin: 40px auto 0;
  box-shadow: var(--shadow-lg), 0 0 80px rgba(63,111,255,0.1);
}
.svc-video-chrome {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 16px; background: var(--bg-3);
  border-bottom: 1px solid var(--border);
}
.svc-video-body {
  aspect-ratio: 16/9; position: relative;
  background: var(--bg); cursor: pointer;
}
.svc-video-body iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: none;
}
.svc-video-thumb {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  background: linear-gradient(160deg, #081428 0%, #0c0c0e 100%);
  transition: opacity var(--tr-slow);
}
.svc-video-thumb.hidden { opacity: 0; pointer-events: none; }
.svc-play {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--tr); backdrop-filter: blur(8px);
}
.svc-play:hover { background: var(--blue); border-color: var(--blue); transform: scale(1.1); }
.svc-play svg { width: 24px; height: 24px; fill: white; margin-left: 4px; }
.svc-video-label { font-size: 0.9rem; font-weight: 600; color: var(--text-2); }

/* ===== USE CASES GRID ===== */
.use-cases-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.use-case-card {
  background: var(--bg-1); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 24px;
  transition: all var(--tr);
}
.use-case-card:hover {
  border-color: var(--border-2);
  background: var(--bg-2);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.uc-icon { font-size: 1.8rem; margin-bottom: 14px; }
.use-case-card h4 { margin-bottom: 8px; font-size: 0.95rem; }
.use-case-card p  { font-size: 0.85rem; }

/* ===== COMPLIANCE ===== */
.compliance-strip {
  display: flex; justify-content: center; gap: 14px; flex-wrap: wrap;
}
.c-badge {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-1); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px 22px;
  font-size: 0.82rem; font-weight: 600; color: var(--text-2);
  transition: all var(--tr);
}
.c-badge:hover { border-color: var(--border-blue); color: var(--text); }
.c-badge span { font-size: 1.1rem; }

/* ===== INLINE STYLES FOR DETAIL PAGES ===== */
.svc-list-item, .detail-item-old {
  background: var(--bg-1) !important;
  border: 1px solid var(--border) !important;
}
.svc-list-item:hover { border-color: var(--border-blue) !important; background: var(--blue-soft) !important; }
.svc-list-item h4 { color: var(--text) !important; }
.svc-list-item p  { color: var(--text-2) !important; }
.svc-visual { background: var(--bg-1) !important; border: 1px solid var(--border-2) !important; }
.svc-visual-item { background: var(--bg-2) !important; color: var(--text-2) !important; border: 1px solid var(--border) !important; }
.use-case-card h4 { color: var(--text) !important; }
.use-case-card p  { color: var(--text-2) !important; }
.tier-card { background: var(--bg-1) !important; border-color: var(--border-2) !important; }
.tier-card.featured { background: var(--blue-soft) !important; border-color: var(--border-blue) !important; }
.tier-name { color: var(--text) !important; }
.tier-desc { color: var(--text-2) !important; }
.tier-features li { color: var(--text-2) !important; border-bottom-color: var(--border) !important; }
.tier-features li::before { color: var(--blue-light) !important; }
.compare-table th:first-child  { background: var(--bg-2) !important; color: var(--text) !important; }
.compare-table th:nth-child(2) { background: var(--bg-1) !important; color: var(--text-2) !important; }
.compare-table td { background: var(--bg-1) !important; border-top-color: var(--border) !important; color: var(--text-2) !important; }
.compare-table tr:nth-child(even) td { background: var(--bg-2) !important; }
.platform-card { background: var(--bg-1) !important; border-color: var(--border) !important; }
.platform-card h4 { color: var(--text) !important; }
.platform-card p  { color: var(--text-2) !important; }
.platform-tag { background: var(--bg-2) !important; border-color: var(--border) !important; color: var(--text-3) !important; }
.tech-tag { background: var(--bg-1) !important; border-color: var(--border) !important; color: var(--text-2) !important; }
.tech-tag:hover { background: var(--blue) !important; color: #fff !important; border-color: var(--blue) !important; }
.pillar-card { background: var(--bg-1) !important; border-color: var(--border) !important; }
.pillar-card h4 { color: var(--text) !important; }
.pillar-card p  { color: var(--text-2) !important; }
.step-item h4 { color: var(--text) !important; }
.step-item p  { color: var(--text-2) !important; }
.step-num { background: var(--bg-1) !important; border: 1px solid var(--border-blue) !important; color: var(--blue-light) !important; }
.steps-row::before { background: linear-gradient(90deg, var(--blue), var(--cyan)) !important; }
.tag-bad  { color: #f87171 !important; }
.tag-good { color: var(--green) !important; }
.cta-dark { background: var(--bg-1) !important; border-top: 1px solid var(--border) !important; border-bottom: 1px solid var(--border) !important; }
.cta-dark h2 { color: var(--text) !important; }
.cta-dark p  { color: var(--text-2) !important; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature-grid.reverse { direction: ltr; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-visual { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .use-cases-grid { grid-template-columns: 1fr 1fr; }
  .detail-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .feature-section { padding: 64px 0; }
  .nav-links, .nav-right { display: none; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; border-radius: var(--radius-lg); }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .use-cases-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero h1 { font-size: clamp(2.2rem, 7vw, 3rem); }
}
@media (max-width: 480px) {
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .compliance-strip { gap: 8px; }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--bg-3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-2); }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.fade-in { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== COMPATIBILITY ===== */
.badge { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 12px; border-radius: 100px; margin-bottom: 14px; background: var(--blue-soft); color: var(--blue-light); border: 1px solid var(--border-blue); }
.badge-light { background: var(--bg-2); color: var(--text-2); border-color: var(--border-2); }
.section-label { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 12px; border-radius: 100px; margin-bottom: 14px; background: var(--bg-2); color: var(--text-2); border: 1px solid var(--border-2); }
.label-blue-old { background: var(--blue-soft); color: var(--blue-light); border-color: var(--border-blue); }
.logo-mark { width: 36px; height: 36px; background: var(--blue); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 800; color: white; font-size: 0.95rem; }
.logo-placeholder { font-size: 1.15rem; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.logo-placeholder span { color: var(--blue-light); }
.logo-text { font-weight: 800; font-size: 1.15rem; color: #fff; }
.logo-text span { color: var(--blue-light); }
.nav-cta-wrap { display: flex; align-items: center; gap: 8px; }
.btn-primary-old { background: var(--blue); color: #fff; }
.section-header.text-center { text-align: center; }
.section-header.text-center p { max-width: 540px; margin: 14px auto 0; }
