/* ==========================================================================
   DAB CLOUD SOLUTIONS LTD — Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

/* ---------- Tokens ---------- */
:root {
  /* Neutrals */
  --navy-950: #04060c;
  --navy-900: #080b16;
  --navy-800: #0d1224;
  --navy-700: #141b34;
  --navy-600: #1e2748;
  --ink: #0b0f1a;
  --gray-50:  #f7f8fb;
  --gray-100: #eef1f6;
  --gray-200: #e1e5ee;
  --gray-400: #97a0b4;
  --gray-500: #6b7590;
  --gray-600: #4c5570;
  --white: #ffffff;

  /* Brand */
  --blue-600: #1d4ed8;
  --blue-500: #2f5cf0;
  --blue-400: #4f7dff;
  --cyan-400: #22d3ee;
  --violet-500: #7c3aed;
  --violet-400: #9f6bff;
  --pink-500: #ec4899;
  --amber-400: #fbbf24;
  --emerald-400: #34d399;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, var(--blue-500) 0%, var(--violet-500) 100%);
  --grad-ai: linear-gradient(135deg, var(--cyan-400) 0%, var(--violet-500) 50%, var(--pink-500) 100%);
  --grad-mesh: radial-gradient(circle at 15% 20%, rgba(47,92,240,.55), transparent 40%),
               radial-gradient(circle at 85% 15%, rgba(124,58,237,.45), transparent 45%),
               radial-gradient(circle at 50% 90%, rgba(34,211,238,.25), transparent 45%);
  --grad-text: linear-gradient(90deg, #6ea8ff, #a78bff 45%, #f472b6);

  /* Surface */
  --bg: var(--gray-50);
  --surface: var(--white);
  --text: var(--ink);
  --text-muted: var(--gray-500);
  --border: var(--gray-200);

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, .08);
  --shadow-lg: 0 24px 48px -12px rgba(15, 23, 42, .18);
  --shadow-glow: 0 0 0 1px rgba(124,58,237,.15), 0 20px 60px -15px rgba(79,124,255,.35);

  /* Rhythm */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;
  --container: 1200px;
  --nav-h: 80px;
  --ease: cubic-bezier(.22,1,.36,1);
}

/* ---------- Base ---------- */
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;
}
h1, h2, h3, h4, .font-display {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 4.5vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
h3 { font-size: 1.3rem; }
p { color: var(--text-muted); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { position: relative; }
.section-pad { padding: 120px 0; }
@media (max-width: 900px) { .section-pad { padding: 80px 0; } }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-500);
  background: rgba(47,92,240,.08);
  border: 1px solid rgba(47,92,240,.18);
  padding: 7px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--grad-primary);
}
.section-head { max-width: 640px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 16px; font-size: 1.08rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: .95rem;
  white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 10px 30px -8px rgba(47,92,240,.55);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 36px -8px rgba(47,92,240,.65); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--blue-500); color: var(--blue-500); transform: translateY(-3px); }
.btn-ghost-light {
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.25);
  color: #fff;
  backdrop-filter: blur(6px);
}
.btn-ghost-light:hover { background: rgba(255,255,255,.16); transform: translateY(-3px); }
.btn-sm { padding: 10px 20px; font-size: .85rem; }
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg.arrow { transform: translateX(4px); }

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), height .3s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.navbar.is-dark { background: transparent; }
.navbar.is-scrolled {
  height: 68px;
  background: rgba(8, 11, 22, .78);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 10px 30px rgba(2,6,23,.25);
}
.navbar:not(.is-dark) { background: rgba(255,255,255,.85); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
.navbar:not(.is-dark).is-scrolled { background: rgba(255,255,255,.92); box-shadow: var(--shadow-md); }

.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }

.brand { display: flex; align-items: center; gap: 10px; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.25rem; }
.navbar.is-dark .brand, .navbar.is-dark .nav-links > li > a, .navbar.is-dark .nav-cta .btn-outline { color: #fff; }
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 1rem;
  box-shadow: 0 6px 16px -4px rgba(47,92,240,.6);
  flex-shrink: 0;
}
.brand-text-sub { display: block; font-size: .62rem; font-weight: 600; letter-spacing: .14em; color: var(--gray-400); margin-top: -2px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  font-weight: 600; font-size: .93rem;
  color: var(--text);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.navbar:not(.is-dark) .nav-links > li > a { color: var(--navy-800); }
.nav-links > li > a:hover { background: rgba(127,127,127,.1); }
.nav-links > li > a.active { color: var(--blue-500); }
.nav-links .chev { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.nav-links li:hover .chev { transform: rotate(180deg); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-actions .btn-outline { border-color: rgba(127,127,127,.3); }

/* Mega menu */
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translate(-50%, 10px);
  width: min(760px, 90vw);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 28px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 8px;
}
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; align-content: start; }
.mega-item { display: flex; gap: 12px; padding: 12px; border-radius: var(--radius-sm); transition: background .25s var(--ease); }
.mega-item:hover { background: var(--gray-50); }
.mega-item .icon-badge { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mega-item .icon-badge svg { width: 19px; height: 19px; }
.mega-item h4 { font-size: .88rem; font-weight: 700; margin-bottom: 2px; color: var(--ink); }
.mega-item p { font-size: .78rem; color: var(--text-muted); margin: 0; line-height: 1.4; }
.mega-feature {
  border-radius: var(--radius-md);
  background: var(--navy-900);
  background-image: var(--grad-mesh);
  padding: 22px;
  color: #fff;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
}
.mega-feature .eyebrow { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); color: #cfe0ff; }
.mega-feature h4 { color: #fff; font-size: 1.05rem; margin-bottom: 6px; }
.mega-feature p { color: rgba(255,255,255,.7); font-size: .84rem; }
.mega-feature a { margin-top: 16px; font-size: .82rem; font-weight: 700; color: #fff; display: inline-flex; align-items: center; gap: 6px; }

/* Mobile nav */
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; position: relative; z-index: 1300; }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: ''; display: block; width: 20px; height: 2px; background: currentColor;
  position: absolute; transition: transform .35s var(--ease), opacity .3s var(--ease), top .35s var(--ease);
}
.navbar:not(.is-dark) .nav-toggle { color: var(--ink); }
.navbar.is-dark .nav-toggle { color: #fff; }
.nav-toggle::before { top: 16px; }
.nav-toggle span { top: 22px; }
.nav-toggle::after { top: 28px; }
.nav-toggle.is-open::before { top: 22px; transform: rotate(45deg); }
.nav-toggle.is-open span { opacity: 0; }
.nav-toggle.is-open::after { top: 22px; transform: rotate(-45deg); }

.mobile-overlay {
  position: fixed; inset: 0; z-index: 1200;
  background: var(--navy-950);
  background-image: var(--grad-mesh);
  display: flex; flex-direction: column;
  padding: 110px 32px 40px;
  transform: translateY(-100%);
  transition: transform .5s var(--ease);
}
.mobile-overlay.is-open { transform: translateY(0); }
.mobile-overlay .nav-links { flex-direction: column; align-items: flex-start; gap: 6px; width: 100%; }
.mobile-overlay .nav-links > li { width: 100%; }
.mobile-overlay .nav-links > li > a { color: #fff; font-size: 1.5rem; padding: 12px 6px; width: 100%; opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.mobile-overlay.is-open .nav-links > li > a { opacity: 1; transform: translateY(0); }
.mobile-overlay .nav-links > li:nth-child(1) > a { transition-delay: .05s; }
.mobile-overlay .nav-links > li:nth-child(2) > a { transition-delay: .1s; }
.mobile-overlay .nav-links > li:nth-child(3) > a { transition-delay: .15s; }
.mobile-overlay .nav-links > li:nth-child(4) > a { transition-delay: .2s; }
.mobile-overlay .nav-links > li:nth-child(5) > a { transition-delay: .25s; }
.mobile-overlay .mega, .mobile-overlay .chev { display: none; }
.mobile-overlay .nav-actions { margin-top: 32px; flex-direction: column; align-items: stretch; }
.mobile-overlay .nav-actions .btn { width: 100%; }
@media (max-width: 980px) {
  .navbar .nav-links, .navbar .nav-actions .btn-ghost-light { display: none; }
  .nav-toggle { display: flex; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 100px) 0 120px;
  background: var(--navy-950);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: var(--grad-mesh);
  z-index: -2;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 40%, transparent 90%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 40%, transparent 90%);
  z-index: -1;
}
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: float 9s ease-in-out infinite; z-index: -1; }
.orb-1 { width: 340px; height: 340px; background: var(--blue-500); top: 8%; right: 6%; animation-delay: 0s; }
.orb-2 { width: 260px; height: 260px; background: var(--violet-500); bottom: 4%; left: 4%; animation-delay: -3s; }
.orb-3 { width: 180px; height: 180px; background: var(--cyan-400); bottom: 30%; right: 22%; animation-delay: -6s; opacity: .35; }

.hero-content { max-width: 780px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.hero h1 { color: #fff; }
.hero h1 span.line { display: block; }
.hero-sub { color: rgba(255,255,255,.68); font-size: 1.15rem; max-width: 600px; margin: 22px auto 40px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-badges {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  margin-top: 64px;
}
.hero-badge {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: var(--radius-full);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.78); font-size: .82rem; font-weight: 600;
  backdrop-filter: blur(6px);
}
.hero-badge svg { width: 16px; height: 16px; color: var(--emerald-400); }

/* Stats strip */
.stats-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: relative; z-index: 2;
}
.stats-strip .container {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 48px 24px;
  gap: 24px;
}
.stat h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat p { font-size: .85rem; font-weight: 600; color: var(--gray-500); margin-top: 4px; }
@media (max-width: 900px) { .stats-strip .container { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   CARDS — Services
   ========================================================================== */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1100px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .card-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  position: relative;
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.service-card::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity .45s var(--ease);
  z-index: 0;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card > * { position: relative; z-index: 1; }
.service-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  background: var(--gray-100);
  color: var(--blue-500);
  transition: transform .45s var(--ease), background .45s var(--ease), color .45s var(--ease);
}
.service-icon svg { width: 26px; height: 26px; }
.service-card:hover .service-icon { transform: scale(1.08) rotate(-6deg); background: var(--grad-primary); color: #fff; }
.service-card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.service-card p { font-size: .92rem; margin-bottom: 18px; }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .84rem; color: var(--blue-500); }
.card-link svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.service-card:hover .card-link svg { transform: translateX(4px); }
.service-card .index-tag { position: absolute; top: 24px; right: 26px; font-family: 'Plus Jakarta Sans'; font-weight: 800; font-size: .75rem; color: var(--gray-200); }

/* ==========================================================================
   AI AUTOMATION — signature animated cards
   ========================================================================== */
.ai-section { background: var(--navy-950); position: relative; overflow: hidden; }
.ai-section::before { content: ''; position: absolute; inset: 0; background-image: var(--grad-mesh); opacity: .8; }
.ai-section .section-head p { color: rgba(255,255,255,.65); }
.ai-section .eyebrow { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #b9ccff; }
.ai-section h2 { color: #fff; }
.ai-section .container { position: relative; z-index: 1; }

.ai-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 980px) { .ai-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .ai-grid { grid-template-columns: 1fr; } }

.ai-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 2px;
  background: linear-gradient(120deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  overflow: hidden;
  isolation: isolate;
}
.ai-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  z-index: -1;
  background: conic-gradient(from var(--angle,0deg), var(--cyan-400), var(--violet-500), var(--pink-500), var(--cyan-400));
  animation: spin 5s linear infinite;
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.ai-card:hover::before { opacity: 1; }
.ai-card-inner {
  background: var(--navy-900);
  border-radius: calc(var(--radius-lg) - 2px);
  padding: 32px 28px;
  height: 100%;
  transition: transform .45s var(--ease);
}
.ai-card:hover .ai-card-inner { transform: translateY(-6px); }
.ai-card .service-icon { background: rgba(255,255,255,.06); color: var(--cyan-400); }
.ai-card:hover .service-icon { background: var(--grad-ai); color: #fff; animation: pulseGlow 1.8s ease-in-out infinite; }
.ai-card h3, .ai-card h4 { color: #fff; }
.ai-card p { color: rgba(255,255,255,.62); font-size: .92rem; }
.ai-card .tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ai-card .tag { font-size: .72rem; font-weight: 600; padding: 5px 12px; border-radius: var(--radius-full); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.7); }

@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@keyframes spin { to { --angle: 360deg; } }

/* Automation flow diagram */
.flow {
  display: flex; align-items: center; justify-content: center;
  gap: 0; margin-top: 80px; flex-wrap: wrap;
}
.flow-step {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  width: 150px; text-align: center;
}
.flow-step .node {
  width: 68px; height: 68px; border-radius: 20px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan-400);
  animation: floatSoft 4s ease-in-out infinite;
}
.flow-step .node svg { width: 30px; height: 30px; }
.flow-step span { font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.7); }
.flow-connector {
  width: 64px; height: 2px;
  background: linear-gradient(90deg, var(--cyan-400), var(--violet-500));
  position: relative;
  margin-bottom: 34px;
}
.flow-connector::after {
  content: ''; position: absolute; top: -3px; right: -2px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--pink-500);
  animation: travel 2.2s linear infinite;
}
@media (max-width: 780px) { .flow-connector { display: none; } }

@keyframes travel { 0% { left: -2px; right: auto; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: calc(100% - 6px); opacity: 0; } }
@keyframes floatSoft { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes float { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(20px,-30px) scale(1.05); } }
@keyframes pulseGlow { 0%,100% { box-shadow: 0 0 0 0 rgba(124,58,237,.5); } 50% { box-shadow: 0 0 0 10px rgba(124,58,237,0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > * { animation: fadeInUp .7s var(--ease) both; }
.reveal-stagger.is-visible > *:nth-child(1) { animation-delay: .05s; }
.reveal-stagger.is-visible > *:nth-child(2) { animation-delay: .12s; }
.reveal-stagger.is-visible > *:nth-child(3) { animation-delay: .19s; }
.reveal-stagger.is-visible > *:nth-child(4) { animation-delay: .26s; }
.reveal-stagger.is-visible > *:nth-child(5) { animation-delay: .33s; }
.reveal-stagger.is-visible > *:nth-child(6) { animation-delay: .4s; }
.reveal-stagger.is-visible > *:nth-child(7) { animation-delay: .47s; }
.reveal-stagger.is-visible > *:nth-child(8) { animation-delay: .54s; }

/* ==========================================================================
   GENERIC SECTIONS: split, values, process, testimonials, cta, footer
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.split-visual { position: relative; }
.visual-card {
  background: var(--navy-950);
  background-image: var(--grad-mesh);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3.2;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: center;
}
.visual-card .glyph { width: 46%; color: rgba(255,255,255,.9); animation: floatSoft 5s ease-in-out infinite; }
.check-list { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.check-item { display: flex; align-items: flex-start; gap: 14px; }
.check-item .dot { width: 26px; height: 26px; border-radius: 8px; background: var(--grad-primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.check-item .dot svg { width: 14px; height: 14px; color: #fff; }
.check-item h4 { font-size: 1rem; margin-bottom: 3px; }
.check-item p { font-size: .9rem; margin: 0; }

.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .value-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .value-grid { grid-template-columns: 1fr; } }
.value-card { padding: 28px 22px; border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--border); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value-card .service-icon { width: 44px; height: 44px; margin-bottom: 16px; }
.value-card .service-icon svg { width: 22px; height: 22px; }
.value-card h4 { font-size: 1rem; margin-bottom: 8px; }
.value-card p { font-size: .88rem; margin: 0; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; position: relative; }
@media (max-width: 900px) { .process-grid { grid-template-columns: 1fr; gap: 32px; } }
.process-step { position: relative; padding: 0 20px 0 0; }
.process-step .num { font-family: 'Plus Jakarta Sans'; font-weight: 800; font-size: 2.6rem; background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 14px; display: block; }
.process-step h4 { margin-bottom: 8px; }
.process-step p { font-size: .9rem; }
.process-step:not(:last-child)::after {
  content: ''; position: absolute; top: 22px; right: -10px; width: calc(100% - 20px); height: 2px;
  background: repeating-linear-gradient(90deg, var(--border) 0 6px, transparent 6px 12px);
}
@media (max-width: 900px) { .process-step:not(:last-child)::after { display: none; } }

.cta-band {
  background: var(--navy-950);
  background-image: var(--grad-mesh);
  border-radius: var(--radius-lg);
  padding: 72px 48px;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.68); max-width: 560px; margin: 16px auto 34px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Footer */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.6); padding: 80px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.08); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand p { color: rgba(255,255,255,.55); margin: 18px 0 22px; font-size: .9rem; max-width: 300px; }
.footer-col h5 { color: #fff; font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: .9rem; color: rgba(255,255,255,.6); transition: color .25s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-address { display: flex; gap: 10px; font-size: .88rem; color: rgba(255,255,255,.6); }
.footer-address svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--cyan-400); }
.social-row { display: flex; gap: 10px; margin-top: 20px; }
.social-row a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; transition: background .25s var(--ease), transform .3s var(--ease); }
.social-row a:hover { background: var(--grad-primary); transform: translateY(-3px); }
.social-row svg { width: 17px; height: 17px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 26px 0; font-size: .82rem; color: rgba(255,255,255,.45); flex-wrap: wrap; gap: 12px; }
.footer-bottom a { color: rgba(255,255,255,.45); }
.footer-bottom a:hover { color: #fff; }
.footer-legal { display: flex; gap: 20px; }

/* Page hero (inner pages) */
.page-hero {
  padding: calc(var(--nav-h) + 80px) 0 90px;
  background: var(--navy-950);
  background-image: var(--grad-mesh);
  position: relative; overflow: hidden;
  text-align: center;
}
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.65); max-width: 560px; margin: 18px auto 0; }
.breadcrumb { display: flex; gap: 8px; justify-content: center; align-items: center; font-size: .85rem; color: rgba(255,255,255,.5); margin-bottom: 18px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb svg { width: 13px; height: 13px; }

/* Utility */
.mt-lg { margin-top: 64px; }
.two-col-inline { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
@media (max-width: 620px) { .two-col-inline { grid-template-columns: 1fr; } }
::selection { background: var(--violet-500); color: #fff; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; margin-bottom: 20px; }
.info-card .service-icon { margin-bottom: 16px; }
.info-card h4 { margin-bottom: 6px; }
.info-card p { margin: 0; font-size: .92rem; }
.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); background: var(--gray-50);
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); background: var(--white); }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: .78rem; color: var(--text-muted); margin-top: 4px; }
.form-success { display: none; align-items: center; gap: 10px; background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.3); color: #0a7a53; padding: 14px 18px; border-radius: var(--radius-sm); font-size: .88rem; font-weight: 600; margin-top: 16px; }
.form-success.show { display: flex; }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); margin-top: 20px; }

/* Services detail rows */
.service-detail { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--border); scroll-margin-top: 110px; }
.service-detail:last-child { border-bottom: none; padding-bottom: 0; }
.detail-visual { order: 1; }
.detail-content { order: 2; }
.service-detail:nth-of-type(even) .detail-visual { order: 2; }
.service-detail:nth-of-type(even) .detail-content { order: 1; }
.detail-visual .icon-tile { width: 100%; aspect-ratio: 1; border-radius: 28px; background: var(--navy-950); background-image: var(--grad-mesh); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.detail-visual .icon-tile svg { width: 40%; height: 40%; color: #fff; opacity: .92; animation: floatSoft 5s ease-in-out infinite; }
.detail-content .index-num { font-family: 'Plus Jakarta Sans'; font-weight: 800; font-size: .85rem; color: var(--blue-500); letter-spacing: .08em; margin-bottom: 10px; display: block; }
.detail-content h3 { font-size: 1.7rem; margin-bottom: 14px; }
.detail-content p.lead { font-size: 1.03rem; margin-bottom: 22px; }
.detail-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-bottom: 24px; }
.detail-features li { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--text-muted); }
.detail-features li svg { width: 16px; height: 16px; color: var(--emerald-400); flex-shrink: 0; margin-top: 3px; }
@media (max-width: 820px) {
  .service-detail { grid-template-columns: 1fr; padding: 40px 0; }
  .detail-visual { order: 1 !important; }
  .detail-content { order: 2 !important; }
  .detail-visual .icon-tile { max-width: 220px; margin: 0 auto; }
  .detail-features { grid-template-columns: 1fr; }
}

/* AI Automation page extras */
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .benefit-grid { grid-template-columns: repeat(2, 1fr); } }
.benefit-card { text-align: center; padding: 36px 20px; border-radius: var(--radius-lg); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.benefit-card h3 { font-size: clamp(1.9rem, 3vw, 2.3rem); color: #fff; background: var(--grad-ai); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.benefit-card p { color: rgba(255,255,255,.6); font-size: .85rem; font-weight: 600; margin-top: 6px; }

.marquee-wrap { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 26s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-pill { display: flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: var(--radius-full); background: var(--surface); border: 1px solid var(--border); font-weight: 700; font-size: .88rem; white-space: nowrap; box-shadow: var(--shadow-sm); }
.marquee-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad-primary); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.usecase-banner { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
@media (max-width: 860px) { .usecase-banner { grid-template-columns: 1fr; } }
.usecase-banner .ub-text { padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.usecase-banner .ub-visual { background: var(--navy-950); background-image: var(--grad-mesh); display: flex; align-items: center; justify-content: center; padding: 40px; min-height: 260px; }
.usecase-banner .ub-visual svg { width: 60%; color: rgba(255,255,255,.9); animation: floatSoft 5s ease-in-out infinite; }
.usecase-banner .step-list { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.usecase-banner .step-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--text-muted); }
.usecase-banner .step-list b { color: var(--ink); }
.step-num { width: 26px; height: 26px; border-radius: 8px; background: var(--grad-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: .74rem; font-weight: 800; flex-shrink: 0; }
