/*
  ACTAtek Landing Page v7
  Theme: Dark Hero / Premium Tech — Blue + Green + ESG
*/

/* ======================================================
   DESIGN TOKENS
   ====================================================== */
:root {
  --blue-900: #020c1b;
  --blue-800: #0a1628;
  --blue-700: #0d2044;
  --blue-600: #0a3060;
  --blue-500: #0056b3;
  --blue-400: #1a75d2;
  --blue-300: #4da6ff;
  --blue-100: #e6f0fa;
  --blue-050: #f0f6ff;

  --green-600: #11864a;
  --green-500: #1a9e57;
  --green-400: #28a745;
  --green-300: #56c97c;
  --green-100: #d4edda;

  --orange-500: #fd7e14;
  --teal-500: #20c997;
  --purple-500: #6f42c1;
  --red-500: #dc3545;

  --text-dark: #0d1117;
  --text-body: #374151;
  --text-muted: #6b7280;
  --text-light: rgba(255, 255, 255, 0.75);
  --text-white: #ffffff;

  --bg-white: #ffffff;
  --bg-off: #f9fafb;
  --bg-card: #ffffff;
  --border: #e5e7eb;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --nav-h: 76px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
  --shadow-glow-blue: 0 0 40px rgba(0, 86, 179, 0.25);
  --shadow-glow-green: 0 0 30px rgba(26, 158, 87, 0.2);

  --ease: cubic-bezier(0.25, 0.8, 0.25, 1);
  --tr: all 0.3s var(--ease);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ======================================================
   RESET & BASE
   ====================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--text-body);
  background: var(--bg-white);
  overflow-x: hidden;
  line-height: 1.65;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: var(--blue-500);
  transition: var(--tr);
}

a:hover {
  color: var(--blue-400);
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: var(--font);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}

p {
  margin-bottom: 1rem;
}

/* ======================================================
   UTILITIES
   ====================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center {
  text-align: center;
}

.text-muted {
  color: var(--text-muted);
}

.gradient-text {
  background: linear-gradient(135deg, var(--blue-300) 0%, var(--green-300) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-dark {
  background: linear-gradient(135deg, var(--blue-500) 0%, var(--green-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-500);
  background: var(--blue-050);
  border: 1px solid rgba(0, 86, 179, 0.15);
  padding: 4px 14px;
  border-radius: 40px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 3rem;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  background: rgba(26, 158, 87, 0.12);
  color: #1a5c35;
  border: 1px solid rgba(26, 158, 87, 0.25);
  border-radius: 40px;
  margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.65rem 1.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  transition: var(--tr);
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue-500);
  color: #fff;
}

.btn-primary:hover {
  background: var(--blue-400);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-blue);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--blue-500);
  border-color: var(--blue-500);
}

.btn-outline:hover {
  background: var(--blue-050);
  transform: translateY(-2px);
}

.btn-green {
  background: var(--green-400);
  color: #fff;
}

.btn-green:hover {
  background: var(--green-500);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-green);
}

.btn-lg {
  padding: 0.85rem 2.2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

/* ======================================================
   NAVBAR
   ====================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  background: rgba(2, 12, 27, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  z-index: 9000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background: rgba(2, 12, 27, 0.97);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo img {
  height: 38px;
}

.brand-logo {
  display: inline-block;
  color: #fff;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
  white-space: nowrap;
}

.brand-logo span {
  color: var(--green-300);
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  font-size: 0.9rem;
  position: relative;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-300), var(--green-300));
  transition: width 0.3s var(--ease);
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  gap: 0.75rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  width: 40px;
  height: 40px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 2px;
  transition: var(--tr);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(2, 12, 27, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 2rem 24px 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 8999;
  flex-direction: column;
  gap: 1.5rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

body.menu-open {
  overflow: hidden;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

/* ======================================================
   TICKER
   ====================================================== */
.ticker {
  background: linear-gradient(90deg, var(--green-600), var(--blue-500));
  color: #fff;
  padding: 9px 0;
  overflow: hidden;
  white-space: nowrap;
  margin-top: var(--nav-h);
}

.ticker-track {
  display: inline-block;
  animation: ticker 30s linear infinite;
}

.ticker-item {
  display: inline-block;
  padding: 0 2.5rem;
  font-size: 0.855rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.ticker-item i {
  margin-right: 7px;
  opacity: 0.85;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ======================================================
   HERO
   ====================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 55%, #092845 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 4rem 0 4rem;
  margin-top: var(--nav-h);
}

/* Animated background particles */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 86, 179, 0.25) 0%, transparent 65%);
  top: -10%;
  right: -5%;
  animation: pulse-orb 8s ease-in-out infinite;
}

.hero-bg::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(26, 158, 87, 0.18) 0%, transparent 65%);
  bottom: -10%;
  left: -5%;
  animation: pulse-orb 10s ease-in-out infinite 2s;
}

@keyframes pulse-orb {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.6;
  }

  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-grid > * {
  min-width: 0;
}

/* Hero left */
.hero-tag {
  margin-bottom: 1.5rem;
}

.hero-tag span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-300);
  border: 1px solid rgba(86, 201, 124, 0.3);
  background: rgba(86, 201, 124, 0.08);
  padding: 5px 14px;
  border-radius: 40px;
}

.hero-tag span i {
  color: var(--green-300);
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.hero-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  padding: 6px 14px;
  border-radius: 40px;
  font-size: 0.875rem;
  font-weight: 500;
}

.hero-pill i {
  color: var(--green-300);
  font-size: 0.8rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero right — animated dashboard */
.hero-visual {
  position: relative;
  perspective: 1200px;
  width: 100%;
}

.hero-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform 0.6s var(--ease);
  width: 100%;
}

.hero-visual:hover .hero-card {
  transform: rotateY(0deg) rotateX(0deg);
}

.card-titlebar {
  background: rgba(255, 255, 255, 0.05);
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-titlebar .dots {
  display: flex;
  gap: 6px;
}

.card-titlebar .dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dots .d1 {
  background: #ff5f56;
}

.dots .d2 {
  background: #ffbd2e;
}

.dots .d3 {
  background: #27c93f;
}

.card-titlebar-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  transition: background 0.3s;
}

.stat-row:hover {
  background: rgba(255, 255, 255, 0.09);
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.si-blue {
  background: rgba(0, 86, 179, 0.25);
  color: var(--blue-300);
}

.si-green {
  background: rgba(26, 158, 87, 0.25);
  color: var(--green-300);
}

.si-orange {
  background: rgba(253, 126, 20, 0.2);
  color: #ffad5c;
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stat-val {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.stat-val .tag-live {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--green-400);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  animation: blink 2s ease-in-out infinite;
}

.stat-badge {
  margin-left: auto;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

.badge-up {
  background: rgba(26, 158, 87, 0.2);
  color: var(--green-300);
}

.badge-safe {
  background: rgba(0, 86, 179, 0.2);
  color: var(--blue-300);
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: 0.4
  }
}

.card-chart {
  height: 60px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 100%;
  padding: 8px;
}

.chart-bars span {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(to top, var(--blue-500), var(--blue-300));
  opacity: 0.7;
  animation: bar-grow 1s var(--ease) forwards;
  transform-origin: bottom;
}

@keyframes bar-grow {
  from {
    transform: scaleY(0);
  }

  to {
    transform: scaleY(1);
  }
}

/* Scroll chevron */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.35);
  font-size: 1.5rem;
  animation: bounce 2s ease-in-out infinite;
  z-index: 3;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ======================================================
   STATS COUNTER ROW
   ====================================================== */
.stats-row {
  background: linear-gradient(90deg, var(--blue-800), var(--blue-700));
  padding: 3.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  position: relative;
}

.stat-item+.stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 50px;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  background: linear-gradient(135deg, var(--blue-300), var(--green-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-suffix {
  font-size: 1.8rem;
  font-weight: 800;
}

.stat-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ======================================================
   TRUSTED BY — Scrolling Strip
   ====================================================== */
.trusted-by {
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
}

.trusted-by .section-kicker {
  display: block;
  text-align: center;
}

.logo-strip-wrapper {
  overflow: hidden;
  position: relative;
  padding: 1.5rem 0;
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}

.logo-strip {
  display: flex;
  align-items: center;
  gap: 4.5rem;
  animation: logo-scroll 32s linear infinite;
  width: max-content;
}

.logo-strip:hover {
  animation-play-state: paused;
}

.logo-img {
  height: clamp(55px, 8vw, 100px);
  max-width: 240px;
  object-fit: contain;
  user-select: none;
  transition: transform 0.3s var(--ease);
}

.logo-strip-wrapper:hover .logo-img {
  transform: scale(1.05);
  /* Optional: Adds a slight pop effect on hover */
}

@keyframes logo-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ======================================================
   ONE SYSTEM — Product Carousel
   ====================================================== */
.system-carousel-section { padding: 5.5rem 0; background: #fff; }
.system-carousel-section .section-kicker { color: var(--red-500); background: #fff1f2; border-color: #fecdd3; }
.system-carousel-section .section-title { color: var(--blue-900); }
.system-carousel-section .section-sub { color: var(--text-muted); }
.system-carousel { max-width: 760px; margin: 0 auto; }
.system-carousel-viewport { overflow: hidden; border-radius: var(--radius-xl); box-shadow: 0 22px 55px rgba(75,9,19,.34); }
.system-carousel-track { display: flex; transition: transform .55s var(--ease); }
.system-slide { min-width: 100%; position: relative; margin: 0; aspect-ratio: 16 / 9; background: var(--blue-900); }
.system-slide img { width: 100%; height: 100%; object-fit: cover; }
.system-slide { cursor: zoom-in; }
.system-slide::after { content: 'Click to view full size'; position: absolute; right: 1rem; bottom: 1rem; padding: .45rem .7rem; border-radius: 999px; background: rgba(2,12,27,.78); color: #fff; font-size: .75rem; font-weight: 700; opacity: 0; transform: translateY(6px); transition: var(--tr); pointer-events: none; }
.system-slide:hover::after, .system-slide:focus-visible::after { opacity: 1; transform: translateY(0); }
.system-slide:focus-visible { outline: 3px solid var(--green-500); outline-offset: -5px; }
.system-carousel-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.5rem; }
.carousel-control { min-width: 128px; min-height: 46px; border: 1px solid #a9dcbc; border-radius: var(--radius-md); display: inline-flex; align-items: center; justify-content: center; gap: .65rem; padding: .7rem 1.1rem; background: var(--green-100); color: var(--green-600); box-shadow: 0 3px 12px rgba(17,134,74,.16); font-weight: 800; transition: var(--tr); }
.carousel-control:hover { background: var(--green-600); border-color: var(--green-600); color: #fff; transform: translateY(-2px); }
.carousel-status { min-width: 64px; color: var(--text-body); font-size: .9rem; font-weight: 800; text-align: center; }
.carousel-control:focus-visible { outline: 3px solid var(--blue-900); outline-offset: 3px; }

.image-lightbox { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: clamp(1rem, 4vw, 3rem); background: rgba(2,12,27,.92); opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease; }
.image-lightbox.is-open { opacity: 1; visibility: visible; }
.image-lightbox img { max-width: min(1920px, 100%); max-height: calc(100vh - 2rem); width: auto; height: auto; border-radius: var(--radius-md); box-shadow: 0 16px 48px rgba(0,0,0,.5); }
.image-lightbox-close { position: absolute; top: 1rem; right: 1rem; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: var(--blue-900); font-size: 1.1rem; }
.image-lightbox-close:hover { background: var(--green-100); color: var(--green-600); }
body.image-lightbox-open { overflow: hidden; }

/* ======================================================
   COMPARISON
   ====================================================== */
.comparison {
  padding: 6rem 0;
  background: var(--bg-off);
}

.comparison-why {
  margin: -1.25rem 0 .5rem;
  color: var(--blue-900);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1;
}

.comparison-why-copy {
  max-width: 720px;
  margin: 0 auto 3rem;
  color: var(--text-body);
  font-size: 1.1rem;
}

.comp-wrapper {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 0;
  align-items: start;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.comp-col {
  padding: 3rem 2.5rem;
}

.comp-col-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid;
}

.comp-col.problem .comp-col-title {
  color: var(--red-500);
  border-color: var(--red-500);
}

.comp-col.solution .comp-col-title {
  color: var(--green-400);
  border-color: var(--green-400);
}

.comp-col.solution {
  background: linear-gradient(135deg, var(--blue-050) 0%, rgba(212, 237, 218, 0.2) 100%);
}

.comp-item {
  display: flex;
  gap: 12px;
  margin-bottom: 1.5rem;
}

.comp-item:last-child {
  margin-bottom: 0;
}

.comp-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.icon-x {
  background: rgba(220, 53, 69, 0.1);
  color: var(--red-500);
}

.icon-check {
  background: rgba(40, 167, 69, 0.1);
  color: var(--green-400);
}

.comp-item-title {
  font-weight: 600;
  font-size: 0.975rem;
  color: var(--text-dark);
  margin-bottom: 3px;
}

.comp-item-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.comp-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-500);
  writing-mode: vertical-rl;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
}

/* ======================================================
   FEATURES — TABS
   ====================================================== */
.features {
  padding: 6rem 0;
}

.tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  background: var(--bg-off);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 6px;
  margin-bottom: 3rem;
}

.tab-btn {
  flex: 1;
  min-width: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
  transition: var(--tr);
}

.tab-btn i {
  font-size: 1rem;
}

.tab-btn:hover {
  color: var(--blue-500);
  background: var(--bg-white);
}

.tab-btn.active {
  background: var(--blue-500);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.tab-btn.active:hover {
  color: #fff;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.tab-features-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feat-item {
  display: flex;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  transition: var(--tr);
}

.feat-item:hover {
  border-color: var(--blue-400);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.feat-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  color: #fff;
}

.fi-blue {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-400));
}

.fi-green {
  background: linear-gradient(135deg, var(--green-500), var(--green-400));
}

.fi-orange {
  background: linear-gradient(135deg, #e65c00, var(--orange-500));
}

.fi-purple {
  background: linear-gradient(135deg, #5b21b6, var(--purple-500));
}

.fi-teal {
  background: linear-gradient(135deg, #0f766e, var(--teal-500));
}

.feat-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 3px;
}

.feat-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.tab-visual {
  position: relative;
  z-index: 1;
}

.tab-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), z-index 0.4s;
  cursor: zoom-in;
  position: relative;
}

.tab-visual:hover {
  z-index: 100;
}

.tab-visual img:hover {
  transform: scale(1.6);
  transform-origin: center right;
  box-shadow: -20px 40px 100px rgba(0, 0, 0, 0.4);
  z-index: 100;
}

.tab-visual-placeholder {
  background: linear-gradient(135deg, var(--bg-off), var(--blue-100));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--text-muted);
}

.tab-visual-placeholder i {
  font-size: 4rem;
  color: var(--blue-500);
  opacity: 0.4;
}

.tab-visual-placeholder p {
  font-size: 0.9rem;
}

/* ======================================================
   ARCHITECTURE
   ====================================================== */
.architecture {
  padding: 6rem 0;
  background: var(--bg-off);
}

.arch-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.arch-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.arch-step {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--tr);
}

.arch-step:hover {
  border-color: var(--blue-400);
  box-shadow: var(--shadow-md);
}

.arch-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-400));
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.arch-step-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.arch-step-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.arch-img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

.arch-img:hover {
  z-index: 100;
}

.arch-img img {
  width: 100%;
  border-radius: var(--radius-xl);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), z-index 0.4s;
  cursor: zoom-in;
  position: relative;
}

.arch-img img:hover {
  transform: scale(1.6);
  transform-origin: center right;
  box-shadow: -20px 40px 100px rgba(0, 0, 0, 0.4);
  z-index: 100;
}

/* ======================================================
   TESTIMONIALS
   ====================================================== */
.testimonials {
  padding: 6rem 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testi-card {
  background: linear-gradient(135deg, var(--blue-800), var(--blue-700));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: var(--tr);
}

.testi-card::before {
  content: '"';
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 8rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, 0.04);
  font-family: Georgia, serif;
}

.testi-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.testi-quote {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-style: italic;
}

.testi-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testi-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--blue-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  font-weight: 700;
  flex-shrink: 0;
}

.testi-name {
  font-weight: 700;
  color: #fff;
  font-size: 0.9rem;
}

.testi-company {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.testi-logo-tag {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.6);
  padding: 4px 10px;
  border-radius: 6px;
}

/* ======================================================
   FAQ ACCORDION
   ====================================================== */
.faq {
  padding: 6rem 0;
  background: var(--bg-off);
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.faq-item.open {
  box-shadow: var(--shadow-md);
  border-color: var(--blue-400);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
}

.faq-question:hover {
  color: var(--blue-500);
}

.faq-icon {
  color: var(--blue-500);
  font-size: 1rem;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.3s var(--ease);
  padding: 0 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.5rem;
}

/* ======================================================
   CTA SECTION
   ====================================================== */
.cta-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 60%, #092845 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 86, 179, 0.3) 0%, transparent 65%);
  top: -20%;
  right: -10%;
}

.cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta-inner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #fff;
  margin-bottom: 1rem;
}

.cta-inner p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 520px;
  margin: 0 auto 2rem;
}

.cta-form {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto 1.5rem;
}

.cta-form input {
  flex: 1;
  padding: 0.85rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.95rem;
  font-family: var(--font);
  border-radius: var(--radius-md);
  outline: none;
}

.cta-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.cta-form input:focus {
  border-color: var(--blue-300);
  background: rgba(255, 255, 255, 0.12);
}

.cta-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.cta-note i {
  color: var(--green-300);
  margin-right: 4px;
}

/* ======================================================
   FOOTER
   ====================================================== */
.footer {
  background: var(--blue-900);
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-logo {
  height: 36px;
  margin-bottom: 1.25rem;
}

.footer-brand-desc {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 320px;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: rgba(253, 126, 20, 0.15);
  color: var(--orange-500);
  border: 1px solid rgba(253, 126, 20, 0.25);
  padding: 4px 10px;
  border-radius: 6px;
  margin-top: 1.25rem;
}

.social-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.social-row a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.social-row a:hover {
  background: var(--blue-500);
  color: #fff;
}

.footer-col h5 {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col ul a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-col ul a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 0 0 2rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ======================================================
   SCROLL ANIMATIONS (via JS class injection)
   ====================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays */
.delay-1 {
  transition-delay: 0.1s !important;
}

.delay-2 {
  transition-delay: 0.2s !important;
}

.delay-3 {
  transition-delay: 0.3s !important;
}

.delay-4 {
  transition-delay: 0.4s !important;
}

.delay-5 {
  transition-delay: 0.5s !important;
}

.delay-6 {
  transition-delay: 0.6s !important;
}

/* ======================================================
   RESPONSIVE
   ====================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-sub {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-pills {
    justify-content: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    max-width: 480px;
    margin: 0 auto;
  }

  .hero-card {
    transform: none;
  }

  .tab-panel.active {
    grid-template-columns: 1fr;
  }

  .tab-visual {
    order: -1;
  }

  .arch-layout {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(3)::before,
  .stat-item:nth-child(1)::before {
    display: none;
  }
}

@media (max-width: 768px) {

  :root { --nav-h: 68px; }

  .container,
  .container-wide { padding-left: 16px; padding-right: 16px; }

  .nav-inner { padding-left: 16px; padding-right: 16px; }
  .brand-logo { font-size: 1.35rem; }

  .system-carousel-section { padding: 4rem 0; }
  .system-slide { aspect-ratio: 4 / 5; }
  .system-slide img { object-position: 65% center; }
  .system-carousel-controls { gap: .65rem; }
  .carousel-control { min-width: 0; padding: .7rem .85rem; }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: 3rem 0 3.5rem;
  }

  .hero-grid { gap: 2rem; }

  .hero h1 {
    font-size: clamp(2rem, 9vw, 2.5rem);
  }

  .hero-tag { margin-bottom: 1rem; }
  .hero-tag span { font-size: .7rem; padding: 5px 10px; }
  .hero-sub { font-size: 1rem; margin-bottom: 1.5rem; }
  .hero-pills { gap: .5rem; margin-bottom: 1.75rem; }
  .hero-pill { padding: 5px 10px; font-size: .78rem; }
  .hero-actions { gap: .75rem; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { max-width: 100%; height: auto !important; }
  .hero-card { height: auto !important; padding: .75rem !important; }

  .comp-wrapper {
    grid-template-columns: 1fr;
  }

  .comp-vs {
    writing-mode: horizontal-tb;
    padding: 1rem;
    font-size: 1rem;
  }

  .tab-nav {
    flex-direction: column;
  }

  .tab-btn {
    justify-content: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-form {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .carousel-control span { display: none; }
  .carousel-control { width: 46px; padding: .7rem; }
  .back-to-top { right: 1rem; bottom: 1rem; }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* ======================================================
   BACK TO TOP BUTTON
   ====================================================== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--green-500);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease);
  z-index: 1000;
  border: none;
  cursor: pointer;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  bottom: 2.5rem;
}

.back-to-top:hover {
  background: var(--green-400);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}
