/* ============================================================
   Makai US Group LLC — Main Stylesheet
   makaiusgroup.com
   ============================================================ */

:root {
  --navy:      #060b14;
  --navy-2:    #0a0f1a;
  --navy-3:    #0d1525;
  --navy-4:    #111d35;
  --blue:      #3b82f6;
  --blue-2:    #60a5fa;
  --blue-3:    #818cf8;
  --white:     #ffffff;
  --white-2:   #e8ecff;
  --white-3:   #94a3b8;
  --muted:     #4f6aad;
  --border:    #1e2d4a;
  --border-2:  #253555;
  --gold:      #b39359;
  --r-sm:      6px;
  --r-md:      10px;
  --r-lg:      14px;
  --r-xl:      20px;
  --t:         0.3s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background: var(--navy);
  color: var(--white-2);
  overflow-x: hidden;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 2px; }

/* ── TYPOGRAPHY ── */
h1 { font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { color: var(--white-3); line-height: 1.75; }

/* ── UTILITY ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.section    { padding: 100px 0; }
.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.section-label::before { content: ''; width: 24px; height: 1px; background: var(--blue); }
.text-gradient {
  background: linear-gradient(135deg, var(--white) 0%, var(--blue-2) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--r-md); font-size: 13px;
  font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  border: none; transition: all var(--t); white-space: nowrap;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-2); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(59,130,246,0.35); }
.btn-outline { background: transparent; color: var(--white-2); border: 1px solid var(--border-2); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue-2); transform: translateY(-2px); }
.btn-ghost { background: rgba(59,130,246,0.08); color: var(--blue-2); border: 1px solid rgba(59,130,246,0.2); }
.btn-ghost:hover { background: rgba(59,130,246,0.15); transform: translateY(-2px); }

/* ── ANIMATION CLASSES ── */
.fade-up { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-in { opacity: 0; transition: opacity 0.7s ease; }
.fade-in.visible { opacity: 1; }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ══════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 20px 0; transition: all var(--t);
}
#navbar.scrolled {
  background: rgba(6,11,20,0.95); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border); padding: 14px 0;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 36px; width: auto; mix-blend-mode: screen; filter: brightness(1.1); }
.nav-logo-text { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; color: var(--white-2); }
.nav-logo-sub  { font-size: 9px; color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--white-3); transition: color var(--t); }
.nav-links a:hover { color: var(--white); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  background: var(--navy-3); border: 1px solid var(--border);
  color: var(--white-3); border-radius: var(--r-sm);
  padding: 6px 12px; transition: all var(--t);
}
.lang-toggle:hover { border-color: var(--blue); color: var(--blue-2); }
.nav-cta { padding: 10px 20px; font-size: 11px; }

/* Mobile menu */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 4px; }
.hamburger span { width: 22px; height: 2px; background: var(--white-2); border-radius: 2px; transition: all var(--t); }

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
#hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-video-wrap {
  position: absolute; inset: 0; z-index: 0;
}
.hero-video-wrap video {
  width: 100%; height: 100%; object-fit: contain;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(6,11,20,0.88) 0%, rgba(6,11,20,0.65) 50%, rgba(6,11,20,0.82) 100%);
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 780px;
}
.hero-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px;
}
.hero-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--blue); }
.hero-title { color: var(--white); margin-bottom: 24px; }
.hero-title span { color: var(--blue-2); }
.hero-subtitle { font-size: 1.1rem; color: var(--white-3); max-width: 560px; margin-bottom: 40px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
  animation: bounce 2s ease-in-out infinite;
}
.hero-scroll::after { content: '↓'; font-size: 16px; color: var(--blue); }
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

/* Stats bar */
.stats-bar {
  background: var(--navy-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 32px 0;
}
.stats-inner { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.stat-item { text-align: center; padding: 0 24px; border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: none; }
.stat-num { font-size: 2.2rem; font-weight: 800; color: var(--white); line-height: 1; margin-bottom: 6px; }
.stat-num span { color: var(--blue-2); }
.stat-label { font-size: 11px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }

/* ══════════════════════════════════════════
   SERVICES
══════════════════════════════════════════ */
#services { background: var(--navy); }
.services-header { text-align: center; max-width: 600px; margin: 0 auto 64px; }
.services-header .section-label { justify-content: center; }
.services-header .section-label::before { display: none; }
.services-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.service-card {
  background: var(--navy-2); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 40px; position: relative;
  overflow: visible; transition: all var(--t); cursor: default;
}
.service-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(59,130,246,0.05) 0%, transparent 60%);
  opacity: 0; transition: opacity var(--t); pointer-events: none;
}
.service-card:hover { border-color: var(--border-2); transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.service-card:hover::before { opacity: 1; }
.service-card-num {
  font-size: 48px; font-weight: 800; color: var(--border);
  line-height: 1; margin-bottom: 20px; transition: color var(--t);
}
.service-card:hover .service-card-num { color: rgba(59,130,246,0.2); }
.service-card-icon {
  width: 56px; height: 56px; border-radius: var(--r-md);
  background: rgba(59,130,246,0.06); border: 1px solid rgba(59,130,246,0.15);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; overflow: hidden;
}
.service-card-icon img {
  width: 40px; height: 40px; object-fit: contain;
}
.service-card h3 { color: var(--white); margin-bottom: 8px; }
.service-card-sub { font-size: 12px; color: var(--blue); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px; }
.service-card p { font-size: 14px; margin-bottom: 24px; }
.service-card-features { display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; }
.service-card-features li { font-size: 12px; color: var(--white-3); display: flex; align-items: center; gap: 8px; }
.service-card-features li::before { content: '→'; color: var(--blue); font-size: 12px; }
.service-card-link {
  display: inline-block !important;
  margin-top: 16px;
  padding: 12px 24px !important;
  background: rgba(59,130,246,0.1) !important;
  border: 1px solid var(--blue) !important;
  color: var(--blue-2) !important;
  border-radius: var(--r-md) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  transition: all var(--t);
}
.service-card-link:hover {
  background: var(--blue) !important;
  color: var(--white) !important;
  box-shadow: 0 6px 24px rgba(59,130,246,0.45);
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════
   SERVICE CARD — UNIQUE IDENTITIES
══════════════════════════════════════════ */

/* Shared ambient layer */
.service-card { overflow: hidden; }
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 1.2s ease;
  z-index: 0;
}
.service-card > * { position: relative; z-index: 1; }
.service-card:hover::after { opacity: 1; }

/* ── 01 TERMINAL — Cyan / Electric Blue ── */
.card-terminal {
  border-color: rgba(0,212,255,0.18);
  background:
    linear-gradient(160deg, rgba(10,15,30,0.88) 0%, rgba(7,13,28,0.86) 100%),
    url('../images/01_Terminal_Image.png') center/cover no-repeat;
}
.card-terminal::before {
  background: linear-gradient(135deg, rgba(0,212,255,0.08) 0%, transparent 55%);
}
.card-terminal::after {
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 38px,
      rgba(0,212,255,0.03) 38px,
      rgba(0,212,255,0.03) 39px
    );
}
.card-terminal:hover {
  border-color: rgba(0,212,255,0.55);
  box-shadow: 0 0 40px rgba(0,212,255,0.12), 0 20px 60px rgba(0,0,0,0.5);
}
.card-terminal .service-card-num { color: rgba(0,212,255,0.15); }
.card-terminal:hover .service-card-num { color: rgba(0,212,255,0.28); }
.card-terminal .service-card-icon {
  background: rgba(0,212,255,0.07);
  border-color: rgba(0,212,255,0.25);
  box-shadow: 0 0 18px rgba(0,212,255,0.12);
}
.card-terminal .service-card-sub { color: #00d4ff; }
.card-terminal .service-card-features li::before { color: #00d4ff; }
.card-terminal .service-card-link {
  background: rgba(0,212,255,0.08) !important;
  border-color: rgba(0,212,255,0.4) !important;
  color: #00d4ff !important;
}
.card-terminal .service-card-link:hover {
  background: rgba(0,212,255,0.85) !important;
  color: #000 !important;
  box-shadow: 0 6px 28px rgba(0,212,255,0.4);
}

/* Scan-line animation */
.card-terminal::before {
  animation: terminal-scan 6s linear infinite;
}
@keyframes terminal-scan {
  0%   { background-position: 0 -100%; }
  100% { background-position: 0 200%; }
}

/* ── 02 INTELLIGENCE — Purple / Violet ── */
.card-intelligence {
  border-color: rgba(168,85,247,0.18);
  background:
    linear-gradient(160deg, rgba(13,10,30,0.88) 0%, rgba(9,7,20,0.86) 100%),
    url('../images/02_MBI_Intelligence_Image.png') center/cover no-repeat;
}
.card-intelligence::before {
  background: radial-gradient(ellipse at 20% 20%, rgba(168,85,247,0.1) 0%, transparent 65%);
  opacity: 1;
  animation: intel-pulse 5s ease-in-out infinite;
}
.card-intelligence::after {
  background: radial-gradient(ellipse at 80% 80%, rgba(168,85,247,0.07) 0%, transparent 55%);
}
@keyframes intel-pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.08); }
}
.card-intelligence:hover {
  border-color: rgba(168,85,247,0.55);
  box-shadow: 0 0 40px rgba(168,85,247,0.12), 0 20px 60px rgba(0,0,0,0.5);
}
.card-intelligence .service-card-num { color: rgba(168,85,247,0.15); }
.card-intelligence:hover .service-card-num { color: rgba(168,85,247,0.28); }
.card-intelligence .service-card-icon {
  background: rgba(168,85,247,0.07);
  border-color: rgba(168,85,247,0.25);
  box-shadow: 0 0 18px rgba(168,85,247,0.15);
  animation: icon-glow-purple 4s ease-in-out infinite;
}
@keyframes icon-glow-purple {
  0%, 100% { box-shadow: 0 0 12px rgba(168,85,247,0.1); }
  50%       { box-shadow: 0 0 28px rgba(168,85,247,0.3); }
}
.card-intelligence .service-card-sub { color: #c084fc; }
.card-intelligence .service-card-features li::before { color: #c084fc; }
.card-intelligence .service-card-link {
  background: rgba(168,85,247,0.08) !important;
  border-color: rgba(168,85,247,0.4) !important;
  color: #c084fc !important;
}
.card-intelligence .service-card-link:hover {
  background: rgba(168,85,247,0.85) !important;
  color: #fff !important;
  box-shadow: 0 6px 28px rgba(168,85,247,0.4);
}

/* ── 03 INFRASTRUCTURE — Amber / Orange ── */
.card-infrastructure {
  border-color: rgba(251,146,60,0.18);
  background:
    linear-gradient(160deg, rgba(21,13,4,0.88) 0%, rgba(15,9,3,0.86) 100%),
    url('../images/03_Infrastructure_Image.png') center/cover no-repeat;
}
.card-infrastructure::before {
  background: linear-gradient(135deg, rgba(251,146,60,0.08) 0%, transparent 55%);
  opacity: 1;
}
.card-infrastructure::after {
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 48px,
      rgba(251,146,60,0.03) 48px,
      rgba(251,146,60,0.03) 49px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 48px,
      rgba(251,146,60,0.03) 48px,
      rgba(251,146,60,0.03) 49px
    );
  animation: grid-shift 8s linear infinite;
}
@keyframes grid-shift {
  0%   { background-position: 0 0, 0 0; }
  100% { background-position: 49px 49px, 49px 49px; }
}
.card-infrastructure:hover {
  border-color: rgba(251,146,60,0.55);
  box-shadow: 0 0 40px rgba(251,146,60,0.1), 0 20px 60px rgba(0,0,0,0.5);
}
.card-infrastructure .service-card-num { color: rgba(251,146,60,0.15); }
.card-infrastructure:hover .service-card-num { color: rgba(251,146,60,0.28); }
.card-infrastructure .service-card-icon {
  background: rgba(251,146,60,0.07);
  border-color: rgba(251,146,60,0.25);
  box-shadow: 0 0 18px rgba(251,146,60,0.1);
}
.card-infrastructure .service-card-sub { color: #fb923c; }
.card-infrastructure .service-card-features li::before { color: #fb923c; }
.card-infrastructure .service-card-link {
  background: rgba(251,146,60,0.08) !important;
  border-color: rgba(251,146,60,0.4) !important;
  color: #fb923c !important;
}
.card-infrastructure .service-card-link:hover {
  background: rgba(251,146,60,0.85) !important;
  color: #000 !important;
  box-shadow: 0 6px 28px rgba(251,146,60,0.4);
}

/* ── 04 SOFTWARE & APPS — Emerald / Green ── */
.card-software {
  border-color: rgba(16,185,129,0.18);
  background:
    linear-gradient(160deg, rgba(3,15,10,0.88) 0%, rgba(2,12,8,0.86) 100%),
    url('../images/04_Software_Image.png') center/cover no-repeat;
}
.card-software::before {
  background: linear-gradient(225deg, rgba(16,185,129,0.09) 0%, transparent 60%);
  opacity: 1;
}
.card-software::after {
  background: radial-gradient(circle at 85% 15%, rgba(16,185,129,0.06) 0%, transparent 45%);
  animation: code-breathe 7s ease-in-out infinite;
}
@keyframes code-breathe {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}
.card-software:hover {
  border-color: rgba(16,185,129,0.55);
  box-shadow: 0 0 40px rgba(16,185,129,0.1), 0 20px 60px rgba(0,0,0,0.5);
}
.card-software .service-card-num { color: rgba(16,185,129,0.15); }
.card-software:hover .service-card-num { color: rgba(16,185,129,0.28); }
.card-software .service-card-icon {
  background: rgba(16,185,129,0.07);
  border-color: rgba(16,185,129,0.25);
  box-shadow: 0 0 18px rgba(16,185,129,0.1);
  animation: icon-glow-green 5s ease-in-out infinite;
}
@keyframes icon-glow-green {
  0%, 100% { box-shadow: 0 0 12px rgba(16,185,129,0.08); }
  50%       { box-shadow: 0 0 26px rgba(16,185,129,0.28); }
}
.card-software .service-card-sub { color: #34d399; }
.card-software .service-card-features li::before { color: #34d399; }
.card-software .service-card-link {
  background: rgba(16,185,129,0.08) !important;
  border-color: rgba(16,185,129,0.4) !important;
  color: #34d399 !important;
}
.card-software .service-card-link:hover {
  background: rgba(16,185,129,0.85) !important;
  color: #000 !important;
  box-shadow: 0 6px 28px rgba(16,185,129,0.4);
}

/* ── Shared hover lift override per card ── */
.card-terminal:hover,
.card-intelligence:hover,
.card-infrastructure:hover,
.card-software:hover {
  transform: translateY(-6px);
}

/* ══════════════════════════════════════════
   HOW IT WORKS
══════════════════════════════════════════ */
#how-it-works { background: var(--navy-2); }
.how-header { text-align: center; max-width: 600px; margin: 0 auto 64px; }
.how-header .section-label { justify-content: center; }
.how-header .section-label::before { display: none; }
.how-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; position: relative; }
.how-steps::before {
  content: ''; position: absolute; top: 36px; left: 12.5%; right: 12.5%;
  height: 1px; background: linear-gradient(90deg, transparent, var(--border), var(--border), transparent);
}
.how-step { text-align: center; padding: 0 20px; }
.how-step-num {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--navy-3); border: 1px solid var(--border-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800; color: var(--blue);
  margin: 0 auto 24px; position: relative; z-index: 1;
  transition: all var(--t);
}
.how-step:hover .how-step-num { background: rgba(59,130,246,0.15); border-color: var(--blue); box-shadow: 0 0 24px rgba(59,130,246,0.2); }
.how-step h4 { color: var(--white); margin-bottom: 8px; }
.how-step p { font-size: 13px; }

/* ══════════════════════════════════════════
   ABOUT
══════════════════════════════════════════ */
#about { background: var(--navy); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-image-wrap { position: relative; }
.about-image-wrap img {
  width: 100%; border-radius: var(--r-xl);
  border: 1px solid var(--border);
}
.about-image-placeholder {
  width: 100%; aspect-ratio: 3/4; border-radius: var(--r-xl);
  background: var(--navy-3); border: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; color: var(--muted); font-size: 13px;
}
.about-image-placeholder i { font-size: 48px; }
.about-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--blue); color: var(--white);
  border-radius: var(--r-lg); padding: 20px 24px; text-align: center;
  box-shadow: 0 8px 32px rgba(59,130,246,0.4);
}
.about-badge-num { font-size: 32px; font-weight: 800; line-height: 1; }
.about-badge-label { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; margin-top: 4px; }
.about-content .section-label { justify-content: flex-start; }
.about-content h2 { color: var(--white); margin-bottom: 24px; }
.about-mission { font-size: 15px; color: var(--white-3); line-height: 1.8; margin-bottom: 32px; font-style: italic; border-left: 3px solid var(--blue); padding-left: 20px; }
.about-bio {
  background: var(--navy-3); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 20px 24px; margin-bottom: 24px;
  border-left: 3px solid var(--blue);
}
.about-bio-name {
  display: flex; align-items: center; gap: 10px;
  font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 4px;
}
.about-bio-flags { display: flex; gap: 4px; font-size: 18px; line-height: 1; }
.about-bio-titles {
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 10px;
}
.about-bio-text { font-size: 13px; line-height: 1.8; color: var(--white-3); margin: 0; }

.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 32px; }
.about-value { background: var(--navy-2); border: 1px solid var(--border); border-radius: var(--r-md); padding: 16px; }
.about-value-title { font-size: 12px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.about-value-text  { font-size: 12px; color: var(--muted); }

/* ══════════════════════════════════════════
   PRICING
══════════════════════════════════════════ */
#pricing { background: var(--navy-2); }
.pricing-header { text-align: center; max-width: 600px; margin: 0 auto 64px; }
.pricing-header .section-label { justify-content: center; }
.pricing-header .section-label::before { display: none; }
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-bottom: 40px; }
.p-card { border-radius: var(--r-xl); padding: 36px; border: 1px solid; position: relative; transition: transform var(--t); }
.p-card:hover { transform: translateY(-6px); }
.p-card-basic      { background: #071510; border-color: #1a4a30; }
.p-card-pro        { background: #041518; border-color: #0e5060; }
.p-card-enterprise { background: #050d1a; border-color: #1a3a6e; }
.p-popular {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 16px; border-radius: 20px; white-space: nowrap;
  background: #0a3040; color: #22d3ee; border: 1px solid #0e5060;
}
.p-tier { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; }
.p-card-basic      .p-tier { color: #4ade80; }
.p-card-pro        .p-tier { color: #22d3ee; }
.p-card-enterprise .p-tier { color: #60a5fa; }
.p-price { font-size: 42px; font-weight: 800; color: var(--white); line-height: 1; margin-bottom: 4px; }
.p-price span { font-size: 16px; font-weight: 400; color: var(--muted); }
.p-period { font-size: 12px; color: var(--muted); margin-bottom: 28px; }
.p-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.p-features li { font-size: 13px; color: var(--white-3); display: flex; align-items: center; gap: 10px; }
.p-features li i { font-size: 14px; }
.p-card-basic      .p-features li i { color: #4ade80; }
.p-card-pro        .p-features li i { color: #22d3ee; }
.p-card-enterprise .p-features li i { color: #60a5fa; }
.p-features li.no { color: #2d3748; }
.p-features li.no i { color: #2d3748; }
.p-btn { width: 100%; padding: 13px; border-radius: var(--r-md); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; border: 1px solid; transition: opacity var(--t); }
.p-btn:hover { opacity: 0.82; }
.p-card-basic      .p-btn { background: #0f3020; color: #4ade80; border-color: #1a4a30; }
.p-card-pro        .p-btn { background: #083040; color: #22d3ee; border-color: #0e5060; }
.p-card-enterprise .p-btn { background: #0a1e40; color: #60a5fa; border-color: #1a3a6e; }
.pricing-note { text-align: center; font-size: 13px; color: var(--muted); }
.pricing-note a { color: var(--blue-2); }

/* ══════════════════════════════════════════
   WHY MAKAI
══════════════════════════════════════════ */
#why-makai { background: var(--navy-2); }
.why-header { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.why-header .section-label { justify-content: center; }
.why-header .section-label::before { display: none; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card {
  background: var(--navy-3); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 36px 32px;
  display: flex; flex-direction: column;
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
  position: relative; overflow: hidden;
}
.why-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0; transition: opacity var(--t);
}
.why-card:hover { border-color: var(--border-2); transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.35); }
.why-card:hover::before { opacity: 1; }
.why-card-cta { border-color: rgba(59,130,246,0.25); background: linear-gradient(135deg, var(--navy-3) 0%, rgba(59,130,246,0.05) 100%); }
.why-icon { margin-bottom: 20px; line-height: 1; }
.why-icon img { width: 64px; height: 64px; object-fit: contain; border-radius: var(--r-md); }
.why-card h3 { color: var(--white); font-size: 1.15rem; margin-bottom: 12px; }
.why-card p  { font-size: 14px; line-height: 1.8; flex: 1; }

/* ══════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════ */
#testimonials { background: var(--navy); }
.test-header { text-align: center; max-width: 600px; margin: 0 auto 64px; }
.test-header .section-label { justify-content: center; }
.test-header .section-label::before { display: none; }
.test-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.test-card {
  background: var(--navy-2); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 32px; position: relative;
  transition: border-color var(--t);
}
.test-card:hover { border-color: var(--border-2); }
.test-stars { color: #fbbf24; font-size: 14px; letter-spacing: 2px; margin-bottom: 16px; }
.test-quote { font-size: 14px; color: var(--white-3); line-height: 1.75; margin-bottom: 24px; font-style: italic; }
.test-author { display: flex; align-items: center; gap: 12px; }
.test-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(59,130,246,0.15); border: 1px solid rgba(59,130,246,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: var(--blue-2); flex-shrink: 0;
}
.test-name    { font-size: 13px; font-weight: 700; color: var(--white); }
.test-company { font-size: 11px; color: var(--muted); margin-top: 2px; }

/* ══════════════════════════════════════════
   CONTACT
══════════════════════════════════════════ */
#contact { background: var(--navy-2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
.contact-info h2 { color: var(--white); margin-bottom: 16px; }
.contact-info > p { margin-bottom: 40px; }
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-icon {
  width: 44px; height: 44px; border-radius: var(--r-md); flex-shrink: 0;
  background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.2);
  display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--blue);
}
.contact-item-label { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-item-value { font-size: 14px; color: var(--white-2); }
.contact-form { background: var(--navy-3); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-group label { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.form-group input, .form-group select, .form-group textarea {
  background: var(--navy-2); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 12px 16px; color: var(--white-2);
  font-size: 14px; font-family: inherit; transition: border-color var(--t); outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--blue); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--navy-2); }
.form-submit { width: 100%; padding: 14px; }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
footer {
  background: var(--navy); border-top: 1px solid var(--border); padding: 60px 0 30px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-logo-text { display: flex; flex-direction: column; gap: 2px; }
.footer-logo-main { font-size: 1.6rem; font-weight: 800; color: var(--white); letter-spacing: 0.12em; line-height: 1; }
.footer-logo-sub  { font-size: 9px; font-weight: 700; color: var(--blue); letter-spacing: 0.2em; text-transform: uppercase; }
.footer-brand p { font-size: 13px; color: var(--muted); max-width: 280px; }
.footer-col h4 { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white-2); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 13px; color: var(--muted); transition: color var(--t); }
.footer-col ul li a:hover { color: var(--white-2); }
.footer-social {
  border-top: 1px solid var(--border); padding: 28px 0;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.footer-social-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); white-space: nowrap;
}
.footer-social-links { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.social-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: var(--r-md);
  background: var(--navy-3); border: 1px solid var(--border);
  color: var(--white-3); font-size: 12px; font-weight: 600;
  transition: all var(--t); white-space: nowrap;
}
.social-btn:hover { border-color: var(--blue); color: var(--blue-2); transform: translateY(-2px); }
.social-btn svg { flex-shrink: 0; }

.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 12px; color: var(--muted); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 12px; color: var(--muted); transition: color var(--t); }
.footer-links a:hover { color: var(--white-2); }

/* ══════════════════════════════════════════
   KAI CHAT WIDGET
══════════════════════════════════════════ */
#kai-widget { position: fixed; bottom: 28px; right: 28px; z-index: 9000; }
.kai-bubble {
  width: 60px; height: 60px; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #0a2a6e 0%, #030e1f 70%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Ccircle cx='30' cy='30' r='28' fill='none' stroke='%233b82f6' stroke-width='1.5' opacity='0.8'/%3E%3Ccircle cx='30' cy='30' r='22' fill='none' stroke='%2360a5fa' stroke-width='0.5' opacity='0.4'/%3E%3Cline x1='22' y1='10' x2='22' y2='16' stroke='%2394a3b8' stroke-width='1.5' stroke-linecap='round'/%3E%3Ccircle cx='22' cy='9' r='2' fill='%2394a3b8'/%3E%3Cline x1='38' y1='10' x2='38' y2='16' stroke='%2394a3b8' stroke-width='1.5' stroke-linecap='round'/%3E%3Ccircle cx='38' cy='9' r='2' fill='%2394a3b8'/%3E%3Crect x='16' y='16' width='28' height='22' rx='5' fill='%230f2a5e' stroke='%233b82f6' stroke-width='1'/%3E%3Crect x='19' y='21' width='8' height='5' rx='1.5' fill='%2360a5fa'/%3E%3Crect x='33' y='21' width='8' height='5' rx='1.5' fill='%2360a5fa'/%3E%3Crect x='22' y='30' width='16' height='3' rx='1.5' fill='%23203a6e'/%3E%3Crect x='24' y='17' width='12' height='2.5' rx='1.25' fill='%23f59e0b'/%3E%3C/svg%3E");
  background-size: cover;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(59,130,246,0.7), 0 0 0 2px rgba(96,165,250,0.35);
  transition: transform var(--t), box-shadow var(--t);
  animation: kai-pulse 3s ease-in-out infinite;
  display: flex; align-items: center; justify-content: center;
}
.kai-bubble:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(59,130,246,0.6); }
@keyframes kai-pulse {
  0%,100% { box-shadow: 0 4px 20px rgba(59,130,246,0.5); }
  50%      { box-shadow: 0 4px 32px rgba(59,130,246,0.8); }
}
.kai-tooltip {
  position: absolute; bottom: 68px; right: 0;
  background: var(--navy-3); border: 1px solid var(--border-2);
  border-radius: var(--r-lg); padding: 12px 16px; white-space: nowrap;
  font-size: 12px; color: var(--white-2); opacity: 0;
  transform: translateY(8px); transition: all var(--t); pointer-events: none;
}
.kai-tooltip strong { color: var(--blue-2); }
#kai-widget:hover .kai-tooltip { opacity: 1; transform: translateY(0); }
.kai-chat {
  position: absolute; bottom: 68px; right: 0;
  width: 340px; background: var(--navy-3); border: 1px solid var(--border-2);
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  display: none; flex-direction: column;
}
.kai-chat.open { display: flex; }
.kai-chat-header {
  background: linear-gradient(135deg, #0a1628, #111d35);
  border-bottom: 1px solid var(--border); padding: 16px 20px;
  display: flex; align-items: center; gap: 12px;
}
.kai-avatar {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Ccircle cx='30' cy='30' r='28' fill='none' stroke='%233b82f6' stroke-width='1.5' opacity='0.8'/%3E%3Ccircle cx='30' cy='30' r='22' fill='none' stroke='%2360a5fa' stroke-width='0.5' opacity='0.4'/%3E%3Cline x1='22' y1='10' x2='22' y2='16' stroke='%2394a3b8' stroke-width='1.5' stroke-linecap='round'/%3E%3Ccircle cx='22' cy='9' r='2' fill='%2394a3b8'/%3E%3Cline x1='38' y1='10' x2='38' y2='16' stroke='%2394a3b8' stroke-width='1.5' stroke-linecap='round'/%3E%3Ccircle cx='38' cy='9' r='2' fill='%2394a3b8'/%3E%3Crect x='16' y='16' width='28' height='22' rx='5' fill='%230f2a5e' stroke='%233b82f6' stroke-width='1'/%3E%3Crect x='19' y='21' width='8' height='5' rx='1.5' fill='%2360a5fa'/%3E%3Crect x='33' y='21' width='8' height='5' rx='1.5' fill='%2360a5fa'/%3E%3Crect x='22' y='30' width='16' height='3' rx='1.5' fill='%23203a6e'/%3E%3Crect x='24' y='17' width='12' height='2.5' rx='1.25' fill='%23f59e0b'/%3E%3C/svg%3E");
  background-size: cover;
  background-color: #030e1f;
}
.kai-name { font-size: 14px; font-weight: 700; color: var(--white); }
.kai-status { font-size: 11px; color: #4ade80; display: flex; align-items: center; gap: 4px; }
.kai-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #4ade80; }
.kai-close { margin-left: auto; background: none; border: none; color: var(--muted); font-size: 18px; line-height: 1; }
.kai-messages { flex: 1; padding: 20px; display: flex; flex-direction: column; gap: 12px; max-height: 320px; overflow-y: auto; }
.kai-msg { max-width: 85%; }
.kai-msg.bot { align-self: flex-start; }
.kai-msg.user { align-self: flex-end; }
.kai-msg-bubble {
  padding: 10px 14px; border-radius: 12px; font-size: 13px; line-height: 1.5;
}
.kai-msg.bot  .kai-msg-bubble { background: var(--navy-4); color: var(--white-2); border-radius: 4px 12px 12px 12px; }
.kai-msg.user .kai-msg-bubble { background: var(--blue); color: var(--white); border-radius: 12px 4px 12px 12px; }
.kai-input-wrap { padding: 16px; border-top: 1px solid var(--border); display: flex; gap: 8px; }
.kai-input {
  flex: 1; background: var(--navy-2); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 10px 14px; color: var(--white-2);
  font-size: 13px; font-family: inherit; outline: none;
}
.kai-input:focus { border-color: var(--blue); }
.kai-send {
  width: 38px; height: 38px; border-radius: var(--r-md);
  background: var(--blue); border: none; color: var(--white);
  font-size: 16px; display: flex; align-items: center; justify-content: center;
  transition: background var(--t);
}
.kai-send:hover { background: var(--blue-2); }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services-grid  { grid-template-columns: 1fr; }
  .about-grid     { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid   { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid    { grid-template-columns: 1fr 1fr; gap: 32px; }
  .how-steps      { grid-template-columns: repeat(2,1fr); gap: 40px; }
  .how-steps::before { display: none; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }
  .stats-inner { grid-template-columns: repeat(2,1fr); gap: 24px; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 24px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .test-grid    { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .about-badge  { bottom: -16px; right: 16px; }
  .why-grid { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 52px 0; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .hero-subtitle { font-size: 0.95rem; }
  .btn { padding: 12px 20px; font-size: 12px; width: 100%; justify-content: center; }
  .hero-actions { width: 100%; }
  .stat-num { font-size: 1.8rem; }
  .service-card { padding: 28px 20px; }
  .why-card { padding: 28px 20px; }
  .p-card { padding: 28px 20px; }
  .test-card { padding: 24px 20px; }
  .contact-form { padding: 28px 20px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .kai-chat { width: calc(100vw - 32px); right: -12px; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .about-badge { position: static; margin-top: 20px; display: inline-block; }
  .about-image-wrap { text-align: center; }
}
