/* =============================================================
   DIGITAL DHINDHORA — Global Stylesheet
   Premium dark / futuristic agency theme
   -------------------------------------------------------------
   Table of contents
   1. Design tokens
   2. Base & typography
   3. Utilities (buttons, badges, gradient text, glass)
   4. Preloader, cursor, scroll progress, floating buttons
   5. Navbar
   6. Hero (3D scene)
   7. Sections: stats, about, services, software, showcase,
      why, process, CTA, page hero, contact, footer
   8. Reveal animations
   9. Responsive
   ============================================================= */

/* ---------- 1. Design tokens ---------- */
:root {
  --bg: #05060f;
  --bg-2: #0a0c1c;
  --bg-3: #0f1229;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --text: #eef0ff;
  --muted: #9aa1c2;
  --primary: #7c3aed;   /* purple  */
  --secondary: #2563eb; /* blue    */
  --accent: #06b6d4;    /* cyan    */
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --grad: linear-gradient(135deg, #7c3aed 0%, #2563eb 50%, #06b6d4 100%);
  --grad-soft: linear-gradient(135deg, rgba(124,58,237,.35), rgba(37,99,235,.25), rgba(6,182,212,.25));
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .7);
  --glow-purple: 0 0 40px rgba(124, 58, 237, .45);
  --glow-cyan: 0 0 40px rgba(6, 182, 212, .4);
  --radius: 18px;
  --radius-sm: 12px;
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --nav-h: 78px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
}
p { color: var(--muted); }
a { color: var(--accent); text-decoration: none; transition: color .25s; }
a:hover { color: #fff; }
img, video { max-width: 100%; height: auto; display: block; }
::selection { background: rgba(124, 58, 237, .6); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--primary), var(--accent)); border-radius: 10px; }

/* Section spacing */
section[id], article[id] { scroll-margin-top: 90px; } /* offset for fixed navbar on #anchor links */
.section { position: relative; padding: 100px 0; }
.section-sm { padding: 60px 0; }
.section-dark { background: var(--bg-2); }
.section-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }
.section-subtitle { font-size: 1.125rem; color: var(--muted); max-width: 640px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 64px; }
.section-head.text-start .section-subtitle { margin: 0; }

/* Background grid + glow blobs */
.bg-grid::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}
.blob {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .45; pointer-events: none; z-index: 0;
  animation: blobFloat 14s ease-in-out infinite alternate;
}
.blob-purple { background: #7c3aed; }
.blob-blue { background: #2563eb; }
.blob-cyan { background: #06b6d4; }
@keyframes blobFloat { from { transform: translate(0, 0) scale(1); } to { transform: translate(40px, -40px) scale(1.15); } }

/* ---------- 3. Utilities ---------- */
.text-gradient {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% 200%; animation: gradientShift 6s ease infinite;
}
@keyframes gradientShift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.badge-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; line-height: 1.3; border-radius: 100px; font-size: .75rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: #c7d2fe;
  background: rgba(124, 58, 237, .12); border: 1px solid rgba(124, 58, 237, .35);
}
.badge-pill i { color: var(--accent); }

/* Buttons */
.btn-dd {
  --btn-bg: var(--grad);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 30px; border-radius: 100px; font-weight: 600; font-size: .95rem;
  color: #fff; background: var(--btn-bg); background-size: 200% 200%;
  border: none; overflow: hidden; isolation: isolate; cursor: pointer;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, background-position .6s;
  box-shadow: 0 10px 30px -10px rgba(124, 58, 237, .7);
}
.btn-dd:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 18px 40px -12px rgba(37, 99, 235, .8), var(--glow-purple); background-position: 100% 50%; }
.btn-dd::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); transition: left .6s;
}
.btn-dd:hover::after { left: 160%; }
.btn-dd i { transition: transform .3s; }
.btn-dd:hover i { transform: translateX(4px); }

.btn-outline-dd {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 30px; border-radius: 100px; font-weight: 600; font-size: .95rem;
  color: var(--text); background: rgba(255,255,255,.03); border: 1px solid var(--border);
  backdrop-filter: blur(10px); transition: all .3s; cursor: pointer;
}
.btn-outline-dd:hover { color: #fff; border-color: rgba(6,182,212,.6); background: rgba(6,182,212,.08); transform: translateY(-3px); box-shadow: var(--glow-cyan); }
.btn-sm-dd { padding: 10px 22px; font-size: .875rem; }

/* Glass card */
.glass {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px -25px rgba(0,0,0,.8);
}

/* Gradient border wrapper */
.grad-border { position: relative; }
.grad-border::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s; pointer-events: none;
}
.grad-border:hover::before { opacity: 1; }

/* ---------- 4. Preloader / cursor / progress / floating ---------- */
#preloader {
  position: fixed; inset: 0; z-index: 10000; background: var(--bg);
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 22px;
  transition: opacity .6s, visibility .6s;
}
#preloader.hidden { opacity: 0; visibility: hidden; }
.loader-logo { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; letter-spacing: .1em; }
.loader-bar { width: 180px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; }
.loader-bar span { display: block; height: 100%; width: 40%; background: var(--grad); border-radius: 3px; animation: loaderSlide 1.1s ease-in-out infinite; }
@keyframes loaderSlide { 0% { transform: translateX(-100%); } 100% { transform: translateX(350%); } }

#scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--grad); z-index: 9999; transition: width .1s linear; }

/* Custom cursor (desktop only, enabled via JS) */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9998; border-radius: 50%; transform: translate(-50%, -50%); display: none; }
.cursor-dot { width: 8px; height: 8px; background: var(--accent); }
.cursor-ring { width: 36px; height: 36px; border: 1.5px solid rgba(124,58,237,.7); transition: width .25s, height .25s, background .25s, border-color .25s; }
body.cursor-hover .cursor-ring { width: 56px; height: 56px; background: rgba(124,58,237,.12); border-color: var(--accent); }
body.has-cursor .cursor-dot, body.has-cursor .cursor-ring { display: block; }

/* Floating Call & WhatsApp buttons */
.floating-actions { position: fixed; right: 22px; bottom: 26px; z-index: 900; display: flex; flex-direction: column; gap: 14px; }
.float-btn {
  position: relative; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.4rem; box-shadow: 0 12px 30px -8px rgba(0,0,0,.7);
  transition: transform .3s; animation: floatY 3.5s ease-in-out infinite;
}
.float-btn:hover { transform: scale(1.1); color: #fff; }
.float-btn.call { background: linear-gradient(135deg, #2563eb, #7c3aed); animation-delay: .4s; }
.float-btn.whatsapp { background: linear-gradient(135deg, #25d366, #128c7e); }
.float-btn::before { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid currentColor; opacity: .5; animation: pulseRing 2s ease-out infinite; }
.float-btn .tip {
  position: absolute; right: calc(100% + 14px); top: 50%; transform: translateY(-50%) translateX(8px);
  background: #0f1229; color: #fff; font-size: .8rem; font-weight: 600; white-space: nowrap;
  padding: 7px 12px; border-radius: 8px; border: 1px solid var(--border); opacity: 0; pointer-events: none; transition: all .3s;
}
.float-btn:hover .tip { opacity: 1; transform: translateY(-50%) translateX(0); }
@keyframes floatY { 0%,100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@keyframes pulseRing { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.6); opacity: 0; } }

/* Back to top */
#back-to-top {
  position: fixed; left: 22px; bottom: 26px; z-index: 900; width: 46px; height: 46px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text); display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(20px); transition: all .35s; backdrop-filter: blur(10px); cursor: pointer;
}
#back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
#back-to-top:hover { background: var(--grad); border-color: transparent; }

/* ---------- 5. Navbar ---------- */
.navbar-dd {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--nav-h);
  padding: 0; transition: all .4s ease; background: transparent;
}
.navbar-dd.scrolled {
  height: 68px; background: rgba(5, 6, 15, .72); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border); box-shadow: 0 10px 40px -20px rgba(0,0,0,.8);
}
.navbar-dd .container { height: 100%; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: #fff; letter-spacing: -.02em; }
.brand:hover { color: #fff; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px; background: var(--grad); display: grid; place-items: center;
  font-size: 1.05rem; box-shadow: var(--glow-purple); transform-style: preserve-3d; animation: markSpin 8s linear infinite;
}
@keyframes markSpin { 0%,100% { transform: rotateY(0deg); } 50% { transform: rotateY(180deg); } }
.brand span em { font-style: normal; color: var(--accent); }
.navbar-dd .nav-link {
  position: relative; color: var(--muted) !important; font-weight: 500; font-size: .95rem; padding: 8px 16px !important; transition: color .3s;
}
.navbar-dd .nav-link::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px; height: 2px; background: var(--grad);
  border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.navbar-dd .nav-link:hover, .navbar-dd .nav-link.active { color: #fff !important; }
.navbar-dd .nav-link:hover::after, .navbar-dd .nav-link.active::after { transform: scaleX(1); }
.navbar-toggler { border: 1px solid var(--border); padding: 8px 10px; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(124,58,237,.4); }
.navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }

@media (max-width: 991.98px) {
  .navbar-dd .navbar-collapse {
    position: absolute; top: calc(100% + 8px); left: 12px; right: 12px; padding: 18px;
    background: rgba(10, 12, 28, .96); border: 1px solid var(--border); border-radius: var(--radius); backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
  }
  .navbar-dd .nav-link { padding: 12px 14px !important; border-radius: 10px; }
  .navbar-dd .nav-link::after { display: none; }
  .navbar-dd .nav-link.active { background: rgba(124,58,237,.15); }
  .navbar-dd .nav-cta { margin-top: 12px; width: 100%; }
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative; min-height: min(100vh, 920px); display: flex; align-items: center; padding: calc(var(--nav-h) + 60px) 0 80px; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg video, .hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,6,15,.8) 0%, rgba(5,6,15,.7) 50%, var(--bg) 100%); }
/* CSS animated aurora background (used when no hero video is present) */
.hero-aurora { position: absolute; inset: -20%; background:
  radial-gradient(40% 50% at 20% 30%, rgba(124,58,237,.45), transparent 70%),
  radial-gradient(35% 45% at 75% 25%, rgba(37,99,235,.4), transparent 70%),
  radial-gradient(45% 40% at 60% 80%, rgba(6,182,212,.35), transparent 70%);
  filter: blur(40px); animation: aurora 18s ease-in-out infinite alternate; }
@keyframes aurora { 0% { transform: translate(0,0) rotate(0deg) scale(1); } 50% { transform: translate(-4%, 3%) rotate(6deg) scale(1.08); } 100% { transform: translate(3%, -3%) rotate(-4deg) scale(1.02); } }
#particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero .container { position: relative; z-index: 2; }
.hero-title { font-size: clamp(2.3rem, 5vw, 4.1rem); font-weight: 800; margin: 22px 0 22px; }
.hero-desc { font-size: 1.125rem; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-trust { display: flex; align-items: center; gap: 14px; margin-top: 40px; color: var(--muted); font-size: .9rem; }
.hero-trust .avatars { display: flex; }
.hero-trust .avatars span { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--bg); margin-left: -10px; background: var(--grad); display: grid; place-items: center; font-size: .7rem; font-weight: 700; color: #fff; }
.hero-trust .avatars span:first-child { margin-left: 0; }
.hero-trust .stars { color: var(--warning); }

/* 3D scene */
.scene { position: relative; perspective: 1400px; height: 560px; }
.scene-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .2s ease-out; }
.laptop {
  position: absolute; left: 50%; top: 50%; width: 460px; transform: translate(-50%, -50%) rotateX(8deg) rotateY(-14deg); transform-style: preserve-3d;
  animation: laptopFloat 7s ease-in-out infinite;
}
@keyframes laptopFloat { 0%,100% { transform: translate(-50%, -50%) rotateX(8deg) rotateY(-14deg) translateZ(0); } 50% { transform: translate(-50%, -52%) rotateX(6deg) rotateY(-10deg) translateZ(20px); } }
.laptop-screen {
  position: relative; border-radius: 14px; background: #0b0e1f; border: 6px solid #1a1e3a; box-shadow: 0 50px 100px -20px rgba(0,0,0,.95), 0 0 80px -30px rgba(124,58,237,.6), inset 0 0 0 1px rgba(255,255,255,.05);
  aspect-ratio: 16/10; overflow: hidden; transform: translateZ(10px);
}
.laptop-screen::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255,255,255,.08), transparent 40%); pointer-events: none; z-index: 5; }
.laptop-base {
  height: 14px; margin: 0 -20px; border-radius: 0 0 18px 18px; background: linear-gradient(#232748, #14172f);
  transform: rotateX(-70deg) translateY(7px); transform-origin: top; box-shadow: 0 30px 60px rgba(0,0,0,.7);
}

/* Fake dashboard inside screen */
.dash { position: absolute; inset: 0; padding: 12px; display: grid; grid-template-columns: 56px 1fr; gap: 10px; font-size: 10px; }
.dash-side { background: rgba(255,255,255,.04); border-radius: 8px; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 12px 0; }
.dash-side i { color: var(--muted); font-size: 12px; }
.dash-side i:first-child { color: var(--accent); }
.dash-main { display: flex; flex-direction: column; gap: 8px; }
.dash-top { display: flex; align-items: center; justify-content: space-between; color: var(--muted); }
.dash-top strong { color: #fff; font-size: 11px; }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kpi { background: rgba(255,255,255,.05); border: 1px solid var(--border); border-radius: 8px; padding: 8px; }
.kpi small { color: var(--muted); display: block; font-size: 8px; }
.kpi b { font-size: 12px; color: #fff; display: block; }
.kpi .up { color: var(--success); font-size: 8px; }
.dash-chart { flex: 1; background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: 8px; padding: 8px; position: relative; overflow: hidden; }
.dash-chart .bars { position: absolute; left: 8px; right: 8px; bottom: 8px; height: 60%; display: flex; align-items: flex-end; gap: 5px; }
.dash-chart .bars span { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, var(--primary), var(--accent)); animation: barGrow 3s ease-in-out infinite alternate; transform-origin: bottom; }
.dash-chart .bars span:nth-child(odd) { animation-delay: .6s; }
@keyframes barGrow { from { transform: scaleY(.7); } to { transform: scaleY(1); } }

/* Floating UI cards around laptop */
.float-card {
  position: absolute; padding: 12px 14px; border-radius: 14px; background: rgba(15, 18, 41, .82); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(12px); display: flex; align-items: center; gap: 10px;
  font-size: .8rem; color: #fff; white-space: nowrap; transform-style: preserve-3d;
  box-shadow: 0 30px 60px -18px rgba(0,0,0,.95), 0 0 0 1px rgba(124,58,237,.15), inset 0 1px 0 rgba(255,255,255,.12);
}
.float-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(135deg, rgba(255,255,255,.08), transparent 60%); pointer-events: none; }
.float-card i { font-size: 1.25rem; }
.float-card small { display: block; color: var(--muted); font-size: .7rem; }
.float-card strong { font-size: .9rem; }
.fc-1 { top: 8%; left: 2%; --rz: 10deg; --ry: 18deg; animation: fcFloat 6s ease-in-out infinite; }
.fc-2 { top: 16%; right: 2%; --rz: -8deg; --ry: -18deg; animation: fcFloat 7s ease-in-out infinite 1s; }
.fc-3 { bottom: 14%; left: 6%; --rz: 6deg; --ry: 16deg; animation: fcFloat 6.5s ease-in-out infinite .5s; }
.fc-4 { bottom: 8%; right: 6%; --rz: -6deg; --ry: -16deg; animation: fcFloat 7.5s ease-in-out infinite 1.5s; }
@keyframes fcFloat { 0%,100% { transform: translateY(0) translateZ(70px) rotateY(var(--ry, 0deg)) rotateX(var(--rz, 0deg)); } 50% { transform: translateY(-14px) translateZ(95px) rotateY(var(--ry, 0deg)) rotateX(var(--rz, 0deg)); } }
.fc-1 i { color: var(--success); } .fc-2 i { color: #e1306c; } .fc-3 i { color: var(--accent); } .fc-4 i { color: var(--warning); }

/* Orbiting icons */
.orbit { position: absolute; left: 50%; top: 50%; width: 600px; height: 600px; margin: -300px 0 0 -300px; border: 1px dashed rgba(124,58,237,.35); border-radius: 50%; animation: spin 40s linear infinite; box-shadow: 0 0 60px -20px rgba(124,58,237,.4), inset 0 0 60px -20px rgba(6,182,212,.25); }
.orbit span { position: absolute; width: 42px; height: 42px; border-radius: 50%; background: var(--bg-3); border: 1px solid var(--border); display: grid; place-items: center; color: var(--accent); font-size: 1rem; box-shadow: 0 0 25px rgba(6,182,212,.3); animation: spin 40s linear infinite reverse; }
.orbit span:nth-child(1) { top: -21px; left: calc(50% - 21px); }
.orbit span:nth-child(2) { right: -21px; top: calc(50% - 21px); }
.orbit span:nth-child(3) { bottom: -21px; left: calc(50% - 21px); }
.orbit span:nth-child(4) { left: -21px; top: calc(50% - 21px); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Abstract shapes */
.shape { position: absolute; border-radius: 30%; background: var(--grad-soft); border: 1px solid rgba(255,255,255,.15); backdrop-filter: blur(4px); animation: shapeSpin 18s linear infinite; box-shadow: 0 20px 50px -15px rgba(124,58,237,.6), inset 0 1px 0 rgba(255,255,255,.2); }
.shape-1 { width: 90px; height: 90px; top: -20px; right: 12%; }
.shape-2 { width: 50px; height: 50px; bottom: -10px; left: 30%; animation-duration: 12s; animation-direction: reverse; }
@keyframes shapeSpin { to { transform: rotate(360deg) translateZ(40px); } }

/* Hero scroll hint */
.scroll-hint { position: absolute; left: 50%; bottom: 90px; transform: translateX(-50%); z-index: 2; color: var(--muted); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-hint span { width: 1px; height: 40px; background: linear-gradient(var(--accent), transparent); animation: hintDrop 1.8s ease-in-out infinite; }
@keyframes hintDrop { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- 7. Sections ---------- */

/* Stats */
.stats-bar { position: relative; z-index: 3; margin-top: -60px; }
.stat-card { text-align: center; padding: 34px 20px; transition: transform .4s, border-color .4s; }
.stat-card:hover { transform: translateY(-6px); border-color: rgba(124,58,237,.5); }
.stat-card .num { font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; line-height: 1; }
.stat-card .label { color: var(--muted); margin-top: 10px; font-weight: 500; }
.stat-card i { font-size: 1.5rem; color: var(--accent); margin-bottom: 12px; display: inline-block; }

/* About preview / flow illustration */
.about-visual { position: relative; perspective: 1000px; }
.about-img-wrap { position: relative; border-radius: var(--radius); overflow: hidden; transform: rotateY(-4deg); box-shadow: var(--shadow-lg), 0 0 80px -30px rgba(124,58,237,.5); transition: transform .5s; border: 1px solid var(--border); }
.about-visual:hover .about-img-wrap { transform: rotateY(0deg); }
.about-img-wrap img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .8s; }
.about-img-wrap:hover img { transform: scale(1.06); }
.about-img-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(5,6,15,.85)); }
.flow-steps { position: absolute; left: 50%; bottom: -26px; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 100px; white-space: nowrap; font-size: .8rem; font-weight: 600; z-index: 3; background: rgba(10,12,28,.9); }
.flow-steps .step { display: flex; align-items: center; gap: 6px; }
.flow-steps .step i { color: var(--accent); }
.flow-steps .arrow { color: var(--muted); font-size: .7rem; }
.about-badge { position: absolute; top: 24px; right: 0; padding: 16px 20px; border-radius: var(--radius-sm); font-weight: 700; z-index: 3; background: rgba(10,12,28,.9); animation: floatY 6s ease-in-out infinite; }
.about-badge small { display: block; font-weight: 400; color: var(--muted); font-size: .75rem; }
.feature-list { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 14px; }
.feature-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--text); }
.feature-list li i { color: var(--accent); margin-top: 4px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #fff; }
.link-arrow i { transition: transform .3s; }
.link-arrow:hover i { transform: translateX(6px); }

/* Service cards */
.tilt { transform-style: preserve-3d; transition: transform .25s ease-out, box-shadow .4s; will-change: transform; }
.tilt .tilt-inner { transform-style: preserve-3d; }
.tilt.is-tilting { transition: transform .05s linear; }
.service-card {
  position: relative; height: 100%; padding: 36px 30px; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
}
.service-card::before { content: ""; position: absolute; inset: -2px; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(124,58,237,.25), transparent 45%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.service-card:hover::before { opacity: 1; }
.service-card:hover { border-color: rgba(124,58,237,.5); box-shadow: 0 30px 60px -25px rgba(124,58,237,.5); }
.icon-box {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-size: 1.6rem; color: #fff;
  background: var(--grad); box-shadow: 0 15px 30px -12px rgba(124,58,237,.8); transform: translateZ(40px); transition: transform .4s;
  margin-bottom: 24px;
}
.service-card:hover .icon-box { transform: translateZ(60px) rotateY(15deg) scale(1.05); }
.service-card h3 { font-size: 1.3rem; margin-bottom: 12px; transform: translateZ(20px); }
.service-card p { transform: translateZ(10px); margin-bottom: 18px; min-height: 3.4em; }
.service-card .num { position: absolute; top: 20px; right: 24px; font-family: var(--font-head); font-size: 3rem; font-weight: 800; color: rgba(255,255,255,.04); line-height: 1; }
.service-card .feature-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.feature-tags span { font-size: .8rem; font-weight: 500; padding: 5px 12px; border-radius: 100px; background: rgba(124,58,237,.1); border: 1px solid rgba(124,58,237,.3); color: #c7d2fe; }

/* Software cards */
.software-card {
  position: relative; height: 100%; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--border);
  display: flex; flex-direction: column;
}
.software-card:hover { border-color: rgba(6,182,212,.5); box-shadow: 0 30px 60px -25px rgba(6,182,212,.4); }
.software-mock { position: relative; padding: 26px 26px 0; background: linear-gradient(180deg, rgba(124,58,237,.18), transparent); }
.mini-dash {
  border-radius: 12px 12px 0 0; background: #0b0e1f; border: 1px solid var(--border); border-bottom: none; padding: 12px; height: 150px; overflow: hidden;
  transform: perspective(800px) rotateX(8deg); transform-origin: bottom; transition: transform .5s; box-shadow: 0 -10px 40px -20px rgba(124,58,237,.6);
}
.software-card:hover .mini-dash { transform: perspective(800px) rotateX(0deg) translateY(-6px); }
.mini-dash .mock-bar { height: 8px; border-radius: 4px; background: rgba(255,255,255,.08); margin-bottom: 8px; }
.mini-dash .mock-bar.w60 { width: 60%; } .mini-dash .mock-bar.w40 { width: 40%; background: var(--grad); }
.mini-dash .mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0; }
.mini-dash .mock-grid div { height: 34px; border-radius: 6px; background: rgba(255,255,255,.05); border: 1px solid var(--border); position: relative; overflow: hidden; }
.mini-dash .mock-grid div::after { content: ""; position: absolute; left: 6px; bottom: 6px; height: 4px; width: 50%; border-radius: 2px; background: var(--accent); }
.mini-dash .mock-line { height: 40px; position: relative; }
.mini-dash .mock-line svg { width: 100%; height: 100%; }
.mini-dash .mock-line path { fill: none; stroke: url(#lineGrad); stroke-width: 2; stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 3s ease forwards infinite alternate; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.software-icon { position: absolute; left: 26px; top: -26px; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.35rem; color: #fff; background: var(--grad); box-shadow: var(--glow-purple); }
.software-body { position: relative; padding: 40px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.software-body h3 { font-size: 1.25rem; margin-bottom: 8px; }
.software-body ul { list-style: none; padding: 0; margin: 14px 0 22px; display: grid; gap: 8px; font-size: .9rem; color: var(--muted); }
.software-body ul li { display: flex; gap: 8px; align-items: center; }
.software-body ul li i { color: var(--success); font-size: .8rem; }
.software-body .actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }

/* Software showcase (big laptop) */
.showcase { position: relative; overflow: hidden; }
.showcase-scene { perspective: 1600px; }
.big-laptop { transform: rotateX(10deg) rotateY(-8deg); transform-style: preserve-3d; transition: transform .3s ease-out; }
.big-screen { position: relative; border-radius: 18px; background: #0b0e1f; border: 8px solid #1a1e3a; box-shadow: 0 60px 120px -30px rgba(0,0,0,.95), 0 0 80px -20px rgba(124,58,237,.5); overflow: hidden; aspect-ratio: 16/9.5; }
.big-base { height: 18px; margin: 0 -24px; border-radius: 0 0 22px 22px; background: linear-gradient(#232748, #14172f); transform: rotateX(-70deg) translateY(9px); transform-origin: top; }
.dash-full { position: absolute; inset: 0; padding: 18px; display: grid; grid-template-columns: 170px 1fr; gap: 16px; }
.dash-full .side { background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 6px; font-size: .78rem; }
.dash-full .side .logo { font-family: var(--font-head); font-weight: 700; color: #fff; margin-bottom: 12px; font-size: .9rem; }
.dash-full .side .item { display: flex; align-items: center; gap: 8px; color: var(--muted); padding: 7px 10px; border-radius: 8px; }
.dash-full .side .item.active { background: rgba(124,58,237,.2); color: #fff; }
.dash-full .main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.dash-full .topbar { display: flex; justify-content: space-between; align-items: center; font-size: .8rem; color: var(--muted); }
.dash-full .topbar b { color: #fff; font-size: .95rem; }
.dash-full .bell { position: relative; width: 30px; height: 30px; border-radius: 8px; background: var(--surface-2); display: grid; place-items: center; color: #fff; }
.dash-full .bell::after { content: ""; position: absolute; top: 6px; right: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--danger); animation: pulseDot 1.5s infinite; }
@keyframes pulseDot { 0%,100% { transform: scale(1); } 50% { transform: scale(1.4); } }
.dash-full .kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.dash-full .kpi { padding: 12px; }
.dash-full .kpi small { font-size: .7rem; }
.dash-full .kpi b { font-size: 1.1rem; }
.dash-full .kpi .up { font-size: .7rem; }
.dash-full .kpi .down { color: var(--danger); font-size: .7rem; }
.dash-full .grid2 { display: grid; grid-template-columns: 1.6fr 1fr; gap: 12px; flex: 1; min-height: 0; }
.dash-full .panel { background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: 12px; padding: 12px; font-size: .75rem; overflow: hidden; }
.dash-full .panel h6 { font-size: .8rem; margin-bottom: 8px; color: #fff; }
.dash-full .chart-area { position: relative; height: calc(100% - 26px); min-height: 80px; }
.dash-full .chart-area svg { width: 100%; height: 100%; }
.dash-full .tx { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--border); color: var(--muted); }
.dash-full .tx:last-child { border-bottom: none; }
.dash-full .tx b { color: var(--success); }
.dash-full .tx b.neg { color: var(--danger); }
.showcase-notify { position: absolute; right: -10px; top: 12%; z-index: 5; padding: 12px 16px; border-radius: 14px; display: flex; gap: 10px; align-items: center; font-size: .82rem; transform: translateZ(100px); animation: fcFloat 5s ease-in-out infinite; }
.showcase-notify i { color: var(--success); font-size: 1.2rem; }
.showcase-notify small { display: block; color: var(--muted); }

/* Why choose us */
.why-card { height: 100%; padding: 32px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: all .4s; position: relative; overflow: hidden; }
.why-card::after { content: ""; position: absolute; width: 140px; height: 140px; border-radius: 50%; right: -60px; bottom: -60px; background: var(--grad); filter: blur(50px); opacity: 0; transition: opacity .5s; }
.why-card:hover { transform: translateY(-8px); border-color: rgba(37,99,235,.5); }
.why-card:hover::after { opacity: .4; }
.why-card .icon-ring { width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(6,182,212,.4); display: grid; place-items: center; color: var(--accent); font-size: 1.4rem; margin-bottom: 20px; position: relative; }
.why-card .icon-ring::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px dashed rgba(124,58,237,.4); animation: spin 12s linear infinite; }
.why-card:hover .icon-ring i { animation: iconBounce .6s ease; }
@keyframes iconBounce { 0%,100% { transform: translateY(0); } 40% { transform: translateY(-6px) rotate(-8deg); } 70% { transform: translateY(2px); } }
.why-card h4 { font-size: 1.15rem; margin-bottom: 10px; }
.why-card p { margin: 0; font-size: .95rem; }

/* Process timeline */
.timeline { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.timeline::before { content: ""; position: absolute; top: 28px; left: 5%; right: 5%; height: 2px; background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent)); opacity: .6; }
.tl-item { position: relative; text-align: center; }
.tl-dot { width: 56px; height: 56px; margin: 0 auto 20px; border-radius: 50%; background: var(--bg); border: 2px solid var(--primary); display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; color: #fff; position: relative; z-index: 2; transition: all .4s; box-shadow: 0 0 0 6px var(--bg); }
.tl-item:hover .tl-dot { background: var(--grad); border-color: transparent; transform: scale(1.1); box-shadow: 0 0 0 6px var(--bg), var(--glow-purple); }
.tl-item h5 { font-size: 1.05rem; margin-bottom: 8px; }
.tl-item p { font-size: .88rem; margin: 0; }
.tl-icon { color: var(--accent); font-size: 1.2rem; margin-bottom: 8px; display: block; }

/* CTA banner */
.cta-banner { position: relative; overflow: hidden; border-radius: 28px; padding: 70px 50px; text-align: center; background: linear-gradient(135deg, rgba(124,58,237,.3), rgba(37,99,235,.25), rgba(6,182,212,.2)); border: 1px solid rgba(124,58,237,.35); }
.cta-banner::before { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Ccircle cx='2' cy='2' r='1' fill='rgba(255,255,255,0.08)'/%3E%3C/svg%3E"); }
.cta-banner h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); position: relative; }
.cta-banner p { position: relative; }
.cta-banner .hero-actions { justify-content: center; position: relative; }

/* Page hero (inner pages) */
.page-hero { position: relative; padding: calc(var(--nav-h) + 90px) 0 90px; overflow: hidden; text-align: center; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; margin: 18px 0; }
.page-hero p { font-size: 1.15rem; max-width: 680px; margin: 0 auto; }
.breadcrumb-dd { display: inline-flex; gap: 10px; color: var(--muted); font-size: .85rem; margin-top: 24px; }
.breadcrumb-dd a { color: var(--muted); }
.breadcrumb-dd a:hover { color: #fff; }
.breadcrumb-dd span { color: var(--accent); }

/* Mission/Vision/Values */
.mvv-card { height: 100%; padding: 36px 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); position: relative; overflow: hidden; }
.mvv-card .big-icon { font-size: 2.2rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 18px; display: inline-block; }
.mvv-card h3 { font-size: 1.35rem; }
.mvv-card ul { padding-left: 18px; color: var(--muted); margin: 0; }
.mvv-card ul li { margin-bottom: 6px; }

/* Detailed service section (services page) */
.service-detail { padding: 60px 0; border-bottom: 1px solid var(--border); }
.service-detail:last-child { border-bottom: none; }
.service-detail .img-wrap { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.service-detail .img-wrap img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .8s; }
.service-detail .img-wrap:hover img { transform: scale(1.06); }
.service-detail .img-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(5,6,15,.8)); }
.service-detail .img-icon { position: absolute; left: 22px; bottom: 22px; z-index: 2; margin: 0; }
.service-detail h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 18px; list-style: none; padding: 0; margin: 22px 0; }
.check-grid li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--text); }
.check-grid li i { color: var(--accent); margin-top: 4px; }
.benefit-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.benefit-pills span { font-size: .8rem; padding: 6px 14px; border-radius: 100px; background: rgba(6,182,212,.08); border: 1px solid rgba(6,182,212,.3); color: #c9f4fb; }

/* Product cards (ready software page) */
.product-card { border-radius: 24px; background: var(--surface); border: 1px solid var(--border); overflow: hidden; }
.product-card:hover { border-color: rgba(124,58,237,.5); box-shadow: 0 40px 80px -30px rgba(124,58,237,.5); }
.product-visual { position: relative; padding: 40px 30px 0; background: radial-gradient(ellipse at top, rgba(124,58,237,.25), transparent 70%); min-height: 100%; display: flex; align-items: flex-end; perspective: 1200px; }
.product-visual .mini-dash { height: 240px; width: 100%; transform: perspective(1200px) rotateX(12deg) rotateY(-6deg); border-radius: 14px 14px 0 0; }
.product-card:hover .product-visual .mini-dash { transform: perspective(1200px) rotateX(4deg) rotateY(-2deg) translateY(-8px); }
.product-visual .mini-dash .mock-grid { grid-template-columns: repeat(4, 1fr); }
.product-visual .mini-dash .mock-grid div { height: 44px; }
.product-visual .mini-dash .mock-line { height: 90px; }
.product-visual .mock-rows { display: grid; gap: 6px; }
.product-visual .mock-rows div { height: 10px; border-radius: 4px; background: rgba(255,255,255,.06); }
.product-visual .mock-rows div:nth-child(2) { width: 80%; } .product-visual .mock-rows div:nth-child(3) { width: 65%; }
.product-visual .software-icon { position: absolute; top: 28px; left: 30px; width: 60px; height: 60px; font-size: 1.6rem; z-index: 3; }
.product-body { padding: 40px 34px; }
.product-body h2 { font-size: 1.7rem; margin-bottom: 8px; }
.product-body .tagline { color: var(--accent); font-weight: 600; font-size: .9rem; letter-spacing: .05em; text-transform: uppercase; }
.product-body .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Contact */
.contact-card { padding: 28px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); height: 100%; transition: all .4s; }
.contact-card:hover { transform: translateY(-6px); border-color: rgba(6,182,212,.5); }
.contact-card .icon-box { width: 54px; height: 54px; font-size: 1.3rem; margin-bottom: 16px; border-radius: 14px; }
.contact-card h4 { font-size: 1.05rem; margin-bottom: 6px; }
.contact-card a, .contact-card p { color: var(--muted); margin: 0; font-size: .95rem; word-break: break-word; }
.contact-card a:hover { color: #fff; }
.form-card { padding: 40px; border-radius: 24px; background: var(--surface); border: 1px solid var(--border); }
.form-dd .form-label { color: var(--text); font-weight: 500; font-size: .9rem; }
.form-dd .form-control, .form-dd .form-select {
  background: rgba(255,255,255,.04); border: 1px solid var(--border); color: #fff; border-radius: 12px; padding: 13px 16px; font-size: .95rem; transition: all .3s;
}
.form-dd .form-control::placeholder { color: #6b7194; }
.form-dd .form-control:focus, .form-dd .form-select:focus { background: rgba(255,255,255,.06); border-color: var(--primary); box-shadow: 0 0 0 4px rgba(124,58,237,.2); color: #fff; }
.form-dd .form-select { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%239aa1c2' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 16px center; background-size: 16px 12px; }
.form-dd .form-select option { background: #0f1229; color: #fff; }
.form-dd .invalid-feedback { color: #fca5a5; }
.form-dd .form-control.is-invalid, .form-dd .form-select.is-invalid { border-color: var(--danger); background-image: none; }
.form-alert { display: none; padding: 14px 18px; border-radius: 12px; font-size: .95rem; margin-top: 18px; }
.form-alert.success { display: flex; gap: 10px; align-items: center; background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.4); color: #bbf7d0; }
.form-alert.error { display: flex; gap: 10px; align-items: center; background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.4); color: #fecaca; }
.map-wrap { border-radius: 24px; overflow: hidden; border: 1px solid var(--border); position: relative; filter: grayscale(.4) contrast(1.05); }
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }

/* FAQ accordion (dark) */
.faq-accordion .accordion-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm) !important; margin-bottom: 12px; overflow: hidden; }
.faq-accordion .accordion-button { background: transparent; color: #fff; font-weight: 600; font-family: var(--font-head); font-size: 1rem; padding: 20px 24px; box-shadow: none; }
.faq-accordion .accordion-button:not(.collapsed) { background: rgba(124,58,237,.12); color: #fff; }
.faq-accordion .accordion-button::after { filter: invert(1) brightness(2); }
.faq-accordion .accordion-button:focus { box-shadow: 0 0 0 3px rgba(124,58,237,.35); }
.faq-accordion .accordion-body { color: var(--muted); padding: 4px 24px 22px; }

/* Spinner icon for submit button */
.spin { display: inline-block; animation: spin 1s linear infinite; }

/* Video section */
.video-section { position: relative; overflow: hidden; padding: 140px 0; }
.video-section video, .video-section img.video-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.video-section::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(5,6,15,.5) 50%, var(--bg) 100%); }
.video-section .container { position: relative; z-index: 2; }

/* Footer */
.footer { position: relative; background: var(--bg-2); border-top: 1px solid var(--border); padding: 80px 0 0; overflow: hidden; }
.footer h5 { font-size: 1rem; margin-bottom: 20px; letter-spacing: .05em; text-transform: uppercase; color: #fff; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { color: var(--muted); font-size: .95rem; display: inline-flex; align-items: center; gap: 6px; transition: all .3s; }
.footer ul a::before { content: ""; width: 0; height: 1px; background: var(--accent); transition: width .3s; }
.footer ul a:hover { color: #fff; padding-left: 4px; }
.footer ul a:hover::before { width: 12px; }
.footer .about-text { color: var(--muted); max-width: 320px; }
.social-links { display: flex; gap: 10px; margin-top: 22px; }
.social-links a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--muted); background: var(--surface-2); border: 1px solid var(--border); transition: all .3s; font-size: 1.05rem; }
.social-links a:hover { color: #fff; background: var(--grad); border-color: transparent; transform: translateY(-4px) rotate(-6deg); box-shadow: var(--glow-purple); }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 60px; padding: 24px 0; font-size: .875rem; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: #fff; }
.footer-glow { position: absolute; left: 50%; bottom: -200px; width: 800px; height: 400px; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(124,58,237,.25), transparent 70%); pointer-events: none; }

/* Marquee (tech stack) */
.marquee { overflow: hidden; position: relative; padding: 24px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-2); }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg-2), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg-2), transparent); }
.marquee-track { display: flex; gap: 60px; width: max-content; animation: marquee 30s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 600; font-size: .95rem; letter-spacing: .05em; white-space: nowrap; }
.marquee-track span i { color: var(--accent); font-size: 1.3rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 8. Reveal animations ---------- */
[data-reveal] { opacity: 0; transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); will-change: opacity, transform; }
[data-reveal="fade-up"] { transform: translateY(40px); }
[data-reveal="fade-down"] { transform: translateY(-40px); }
[data-reveal="fade-left"] { transform: translateX(-50px); }
[data-reveal="fade-right"] { transform: translateX(50px); }
[data-reveal="scale"] { transform: scale(.88); }
[data-reveal="rotate"] { transform: perspective(1000px) rotateX(-18deg) translateY(30px); }
[data-reveal].revealed, body.reveal-all [data-reveal] { opacity: 1; transform: none; }

/* ---------- 9. Responsive ---------- */
@media (max-width: 1199.98px) {
  .scene { height: 500px; }
  .laptop { width: 400px; }
  .orbit { width: 540px; height: 540px; margin: -270px 0 0 -270px; }
}
@media (max-width: 991.98px) {
  .section { padding: 80px 0; }
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 40px); text-align: center; }
  .hero-desc { margin: 0 auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .scene { height: 420px; margin-top: 50px; }
  .laptop { width: 360px; }
  .orbit { display: none; }
  .fc-1 { left: 0; } .fc-3 { left: 0; }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .timeline::before { display: none; }
  .stats-bar { margin-top: 20px; }
  .dash-full { grid-template-columns: 1fr; }
  .dash-full .side { display: none; }
  .dash-full .kpis { grid-template-columns: repeat(2, 1fr); }
  .showcase-notify { right: 10px; top: auto; bottom: -10px; }
  .about-badge { right: 10px; }
  .flow-steps { font-size: .72rem; padding: 10px 14px; }
  .check-grid { grid-template-columns: 1fr; }
  .product-visual { min-height: 300px; }
  .cta-banner { padding: 56px 28px; }
}
@media (max-width: 767.98px) {
  :root { --nav-h: 70px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 40px; }
  .hero-title { font-size: clamp(2rem, 8vw, 2.8rem); }
  .hero-desc { font-size: 1rem; }
  .scene { height: 340px; margin-top: 30px; }
  .laptop { width: min(300px, 80vw); }
  .float-card { font-size: .72rem; padding: 9px 11px; }
  .float-card i { font-size: 1rem; }
  .fc-2, .fc-4 { right: 0; }
  .shape-1 { display: none; }
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .tl-item { display: grid; grid-template-columns: 56px 1fr; gap: 18px; text-align: left; padding-bottom: 32px; position: relative; }
  .tl-item::before { content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 2px; background: linear-gradient(var(--primary), var(--accent)); opacity: .5; }
  .tl-item:last-child::before { display: none; }
  .tl-dot { margin: 0; }
  .tl-icon { display: inline-block; margin-right: 6px; }
  .flow-steps { display: none; }
  .form-card { padding: 26px 20px; }
  .product-body { padding: 28px 22px; }
  .product-visual { padding: 30px 20px 0; min-height: 240px; }
  .product-visual .mini-dash { height: 180px; }
  .dash-full { padding: 10px; gap: 8px; }
  .dash-full .kpis { gap: 6px; }
  .dash-full .kpi { padding: 8px; }
  .dash-full .kpi b { font-size: .85rem; }
  .dash-full .grid2 { grid-template-columns: 1fr; }
  .dash-full .panel:last-child { display: none; }
  .showcase-notify { display: none; }
  .floating-actions { right: 14px; bottom: 16px; gap: 10px; }
  .float-btn { width: 50px; height: 50px; font-size: 1.25rem; }
  .float-btn .tip { display: none; }
  #back-to-top { left: 14px; bottom: 16px; width: 42px; height: 42px; }
  .footer { padding-top: 60px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .cta-banner { padding: 44px 20px; border-radius: 20px; }
  .map-wrap iframe { height: 280px; }
  .big-laptop { transform: rotateX(4deg) rotateY(-3deg); }
}
@media (max-width: 424.98px) {
  .hero-actions .btn-dd, .hero-actions .btn-outline-dd { width: 100%; }
  .scene { height: 300px; }
  .fc-1, .fc-4 { display: none; }
  .stat-card .num { font-size: 2rem; }
}
@media (min-width: 1600px) {
  .container { max-width: 1400px; }
  .section { padding: 120px 0; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
