:root {
  --brand-blue: #0b5ed7;
  --brand-blue-dark: #0a3d91;
  --brand-dark: #0f172a;
  --soft-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --bg-primary: #ffffff;
  --bg-secondary: #f8fbff;
  --text-primary: #111827;
  --text-muted: #475569;
  --surface: #ffffff;
  --surface-soft: #eff6ff;
  --border: #dbe7ff;
  --nav-bg: rgba(255, 255, 255, 0.94);
  --glow-a: #93c5fd;
  --glow-b: #c4b5fd;
}

html[data-theme="dark"] {
  --brand-blue: #60a5fa;
  --brand-blue-dark: #3b82f6;
  --brand-dark: #e2e8f0;
  --soft-shadow: 0 16px 40px rgba(2, 6, 23, 0.6);
  --bg-primary: #020617;
  --bg-secondary: #0b1220;
  --text-primary: #e2e8f0;
  --text-muted: #94a3b8;
  --surface: #0f172a;
  --surface-soft: #111b31;
  --border: #1e293b;
  --nav-bg: rgba(2, 6, 23, 0.85);
  --glow-a: #1d4ed8;
  --glow-b: #6d28d9;

  --bs-body-color: #e2e8f0;
  --bs-body-color-rgb: 226, 232, 240;
  --bs-secondary-color: #94a3b8;
  --bs-secondary-color-rgb: 148, 163, 184;
  --bs-emphasis-color: #f8fafc;
  --bs-emphasis-color-rgb: 248, 250, 252;
  --bs-body-bg: #020617;
  --bs-body-bg-rgb: 2, 6, 23;
  --bs-tertiary-bg: #0f172a;
  --bs-tertiary-bg-rgb: 15, 23, 42;
  --bs-border-color: #1e293b;
  --bs-light-bg-subtle: #0b1220;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text-primary);
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  line-height: 1.6;
  position: relative;
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(50px);
  opacity: 0.35;
}

body::before {
  background: var(--glow-a);
  top: -80px;
  right: -100px;
}

body::after {
  background: var(--glow-b);
  bottom: -120px;
  left: -100px;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 24% 20%, rgba(37, 99, 235, 0.18), transparent 45%), radial-gradient(circle at 80% 82%, rgba(14, 165, 233, 0.2), transparent 48%), rgba(248, 250, 255, 0.94);
  backdrop-filter: blur(8px);
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.site-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-loader-inner {
  width: min(240px, 74vw);
  height: min(240px, 74vw);
  display: grid;
  place-items: center;
  position: relative;
}

.site-loader-orbit {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #2563eb;
  border-right-color: #0ea5e9;
  animation: loaderSpin 1.05s linear infinite;
  box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.08) inset;
}

.site-loader-core {
  position: absolute;
  width: 34%;
  height: 34%;
  border-radius: 50%;
  background: linear-gradient(145deg, #2563eb 0%, #0ea5e9 100%);
  box-shadow: 0 0 24px rgba(37, 99, 235, 0.45);
  animation: loaderPulse 1.2s ease-in-out infinite;
}

.site-loader-text {
  position: absolute;
  bottom: -2.4rem;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: #0f172a;
}

main {
  overflow-x: hidden;
  padding-top: 80px;
}

a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: 0.2px;
}

.brand-logo {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--border);
}

.navbar {
  background: var(--nav-bg) !important;
  backdrop-filter: saturate(180%) blur(8px);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.navbar-toggler {
  border: 1px solid var(--border);
  border-radius: 0.7rem;
  padding: 0.36rem 0.5rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.22);
  border-color: #93c5fd;
}

.nav-link {
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-blue) !important;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  bottom: 0.3rem;
  height: 2px;
  background: var(--brand-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.theme-toggle {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-primary);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.theme-toggle:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.hero {
  background: linear-gradient(135deg, #0a3d91 0%, #0b5ed7 60%, #2563eb 100%);
  color: #fff;
  padding: 5.5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
  perspective: 1100px;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.25;
}

.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  top: -140px;
  right: -90px;
}

.hero-3d-scene {
  position: relative;
  transform-style: preserve-3d;
  min-height: 380px;
  filter: drop-shadow(0 24px 40px rgba(2, 6, 23, 0.4));
}

.hero-3d-scene::before,
.hero-3d-scene::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero-3d-scene::before {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(147, 197, 253, 0.45), transparent 65%);
  top: -24px;
  left: -30px;
  transform: translateZ(55px);
  animation: floatOrb 6s ease-in-out infinite;
}

.hero-3d-scene::after {
  width: 130px;
  height: 130px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35), transparent 65%);
  bottom: 8px;
  right: 18px;
  transform: translateZ(80px);
  animation: floatOrb 7s ease-in-out infinite reverse;
}

.hero-3d-layer {
  position: absolute;
  border-radius: 1rem;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 18px 34px rgba(2, 6, 23, 0.35);
}

.hero-3d-main {
  inset: 50px 20px 20px 0;
  background: rgba(255, 255, 255, 0.14);
  transform: translateZ(30px) rotateY(-7deg) rotateX(4deg);
  padding: 0.7rem;
}

.hero-3d-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.75rem;
}

.hero-3d-badge {
  right: -10px;
  width: 160px;
  padding: 0.9rem;
  background: rgba(15, 23, 42, 0.62);
  color: #f8fafc;
  border-color: rgba(148, 163, 184, 0.45);
  text-shadow: 0 1px 2px rgba(2, 6, 23, 0.75);
  transform: translateZ(70px) rotateY(-10deg);
}

.hero-3d-badge.top {
  top: 16px;
  animation: floatCard 5.5s ease-in-out infinite;
}

.hero-3d-badge.bottom {
  bottom: 6px;
  animation: floatCard 6.5s ease-in-out infinite reverse;
}

.hero-3d-badge p {
  margin: 0;
}

.hero-3d-badge .value {
  font-size: 1.2rem;
  font-weight: 700;
}

.hero-3d-badge .label {
  font-size: 0.75rem;
  opacity: 0.9;
}

.hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero p {
  font-size: clamp(1rem, 2.3vw, 1.2rem);
  max-width: 760px;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--brand-dark);
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 760px;
}

.card-service,
.card-work,
.info-card {
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-soft) 100%);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  height: 100%;
  transform-style: preserve-3d;
  position: relative;
  overflow: hidden;
}

.card {
  color: var(--text-primary);
}

.card-service::before,
.card-work::before,
.info-card::before {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  right: -42px;
  top: -42px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.18), transparent 70%);
}

.card-service:hover,
.card-work:hover,
.info-card:hover {
  transform: translateY(-5px) rotateX(3deg) rotateY(-3deg);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  border-color: #bfdbfe;
}

.service-intro {
  background: linear-gradient(135deg, var(--surface-soft) 0%, var(--surface) 100%);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: var(--soft-shadow);
  transform-style: preserve-3d;
}

.icon-badge {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(11, 94, 215, 0.1);
  color: var(--brand-blue);
  font-weight: 700;
}

.check-list {
  padding-left: 0;
  list-style: none;
}

.check-list li {
  margin-bottom: 0.55rem;
  position: relative;
  padding-left: 1.7rem;
}

.check-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #16a34a;
  font-weight: 700;
}

.cta-band {
  background: linear-gradient(135deg, #0f172a 0%, #111827 100%);
  color: #fff;
  border-radius: 1rem;
  box-shadow: var(--soft-shadow);
}

.cta-band .text-light-emphasis {
  color: #cbd5e1 !important;
}

.page-hero {
  padding: 4.5rem 0 3rem;
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-soft) 100%);
  border-bottom: 1px solid var(--border);
}

.page-image {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid var(--border);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-image:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 20px 36px rgba(15, 23, 42, 0.15);
}

.content-section-image {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  border-radius: 1rem;
  border: 1px solid var(--border);
}

.site-footer {
  background: linear-gradient(135deg, #0f172a 0%, #111827 100%);
  color: #e2e8f0;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.site-footer-shell {
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 1.1rem;
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.88) 0%, rgba(30, 41, 59, 0.88) 100%);
  box-shadow: 0 16px 34px rgba(2, 6, 23, 0.28);
}

.site-footer-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: #93c5fd;
}

.site-footer-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #f8fafc;
}

.site-footer-heading {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #cbd5e1;
}

.site-footer-text {
  color: #cbd5e1;
  max-width: 460px;
}

.site-footer-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.site-footer-list li {
  margin-bottom: 0.55rem;
}

.site-footer a {
  color: #bfdbfe;
}

.site-footer a:hover {
  color: #ffffff;
}

.site-footer-contact li {
  color: #cbd5e1;
}

.site-footer-contact-chips {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.site-footer-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(147, 197, 253, 0.3);
  background: rgba(30, 64, 175, 0.2);
  color: #dbeafe;
  font-size: 0.88rem;
}

.site-footer-chip:hover {
  color: #fff;
  border-color: rgba(147, 197, 253, 0.55);
  background: rgba(37, 99, 235, 0.32);
}

.site-footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  color: #94a3b8;
  font-size: 0.92rem;
}

.card-work ul,
.card-service ul,
.info-card ul,
.site-footer,
.site-footer a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ideas-hero {
  position: relative;
  overflow: hidden;
}

.ideas-kicker {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--brand-blue);
}

.idea-card {
  height: 100%;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1rem;
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-soft) 100%);
  box-shadow: var(--soft-shadow);
  color: var(--text-primary);
}

.idea-tag {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.idea-demo {
  height: 180px;
  border-radius: 0.85rem;
  margin-bottom: 0.95rem;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(140deg, rgba(11, 94, 215, 0.08) 0%, rgba(37, 99, 235, 0.15) 100%);
  transform-style: preserve-3d;
  perspective: 900px;
}

.demo-layer-stack span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 110px;
  height: 80px;
  border-radius: 0.7rem;
  transform-style: preserve-3d;
  border: 1px solid rgba(147, 197, 253, 0.5);
}

.demo-layer-stack span:nth-child(1) {
  transform: translate(-50%, -50%) translateZ(10px) rotate(-6deg);
  background: rgba(59, 130, 246, 0.22);
}

.demo-layer-stack span:nth-child(2) {
  transform: translate(-45%, -48%) translateZ(35px) rotate(3deg);
  background: rgba(96, 165, 250, 0.24);
}

.demo-layer-stack span:nth-child(3) {
  transform: translate(-52%, -53%) translateZ(60px) rotate(9deg);
  background: rgba(224, 242, 254, 0.42);
}

.demo-cube {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cube {
  width: 72px;
  height: 72px;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, #1d4ed8 0%, #60a5fa 100%);
  box-shadow: 0 14px 26px rgba(30, 64, 175, 0.35);
  transform-style: preserve-3d;
  animation: spinCube 8s linear infinite;
}

.cube::before,
.cube::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.cube::before {
  background: rgba(191, 219, 254, 0.45);
  transform: rotateX(90deg) translateZ(36px);
}

.cube::after {
  background: rgba(147, 197, 253, 0.42);
  transform: rotateY(90deg) translateZ(36px);
}

.demo-orbs span {
  position: absolute;
  border-radius: 50%;
  filter: blur(0.2px);
}

.demo-orbs span:nth-child(1) {
  width: 64px;
  height: 64px;
  left: 26px;
  top: 46px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.92), rgba(29, 78, 216, 0.35));
  animation: orbFloat 5s ease-in-out infinite;
}

.demo-orbs span:nth-child(2) {
  width: 46px;
  height: 46px;
  right: 34px;
  top: 35px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.9), rgba(109, 40, 217, 0.35));
  animation: orbFloat 5.8s ease-in-out infinite reverse;
}

.demo-orbs span:nth-child(3) {
  width: 74px;
  height: 74px;
  right: 68px;
  bottom: 20px;
  background: radial-gradient(circle, rgba(191, 219, 254, 0.95), rgba(96, 165, 250, 0.34));
  animation: orbFloat 6.4s ease-in-out infinite;
}

.demo-steps span {
  position: absolute;
  bottom: 24px;
  width: 34px;
  border-radius: 0.45rem;
  background: linear-gradient(180deg, rgba(96, 165, 250, 0.9), rgba(29, 78, 216, 0.9));
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.25);
}

.demo-steps span:nth-child(1) { left: 26px; height: 32px; }
.demo-steps span:nth-child(2) { left: 68px; height: 52px; }
.demo-steps span:nth-child(3) { left: 110px; height: 72px; }
.demo-steps span:nth-child(4) { left: 152px; height: 96px; }

.demo-product span {
  position: absolute;
  width: 148px;
  height: 96px;
  left: 50%;
  top: 50%;
  border-radius: 0.95rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.8), rgba(191, 219, 254, 0.5));
  transform: translate(-50%, -50%) rotateX(22deg) rotateY(-26deg);
  box-shadow: 0 18px 26px rgba(15, 23, 42, 0.24);
}

.demo-product span::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 14px;
  bottom: 12px;
  border-radius: 0.65rem;
  background: linear-gradient(120deg, rgba(59, 130, 246, 0.22), rgba(99, 102, 241, 0.3));
}

.demo-isometric span {
  position: absolute;
  width: 72px;
  height: 46px;
  border-radius: 0.55rem;
  background: rgba(59, 130, 246, 0.72);
  border: 1px solid rgba(191, 219, 254, 0.65);
}

.demo-isometric span:nth-child(1) { left: 24px; top: 88px; transform: skewY(-14deg) rotate(-12deg); }
.demo-isometric span:nth-child(2) { left: 92px; top: 56px; transform: skewY(-14deg) rotate(-12deg); }
.demo-isometric span:nth-child(3) { left: 160px; top: 25px; transform: skewY(-14deg) rotate(-12deg); }

.demo-spotlight {
  background: radial-gradient(circle at 20% 30%, rgba(147, 197, 253, 0.32), rgba(15, 23, 42, 0.92));
}

.demo-spotlight span {
  position: absolute;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  left: -44px;
  top: -36px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.62), transparent 68%);
  animation: sweepLight 5.5s ease-in-out infinite;
}

.demo-rings span {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  border: 2px solid rgba(59, 130, 246, 0.6);
  transform: translate(-50%, -50%);
}

.demo-rings span:nth-child(1) { width: 48px; height: 48px; }
.demo-rings span:nth-child(2) { width: 84px; height: 84px; opacity: 0.8; }
.demo-rings span:nth-child(3) { width: 120px; height: 120px; opacity: 0.56; }

.demo-wave span {
  position: absolute;
  left: -12px;
  right: -12px;
  border-radius: 999px;
}

.demo-wave span:nth-child(1) {
  height: 74px;
  bottom: 20px;
  background: rgba(37, 99, 235, 0.36);
  transform: translateZ(10px);
}

.demo-wave span:nth-child(2) {
  height: 58px;
  bottom: 14px;
  background: rgba(59, 130, 246, 0.52);
  transform: translateZ(24px);
}

.demo-wave span:nth-child(3) {
  height: 44px;
  bottom: 10px;
  background: rgba(147, 197, 253, 0.68);
  transform: translateZ(40px);
}

.demo-dashboard span {
  position: absolute;
  border-radius: 0.6rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.16);
}

.demo-dashboard span:nth-child(1) { width: 112px; height: 64px; left: 18px; top: 30px; transform: translateZ(10px) rotateY(-10deg); }
.demo-dashboard span:nth-child(2) { width: 96px; height: 50px; right: 22px; top: 44px; transform: translateZ(32px) rotateY(12deg); }
.demo-dashboard span:nth-child(3) { width: 156px; height: 46px; left: 42px; bottom: 22px; transform: translateZ(48px); }

.demo-map::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 0.75rem;
  background-image: linear-gradient(rgba(148, 163, 184, 0.25) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 184, 0.25) 1px, transparent 1px);
  background-size: 18px 18px;
}

.demo-map span {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #2563eb;
  border: 3px solid #bfdbfe;
  box-shadow: 0 8px 14px rgba(37, 99, 235, 0.35);
}

.demo-map span:nth-child(1) { left: 46px; top: 44px; }
.demo-map span:nth-child(2) { left: 126px; top: 78px; }
.demo-map span:nth-child(3) { right: 52px; top: 52px; }

.demo-timeline span {
  position: absolute;
  width: 70px;
  height: 40px;
  border-radius: 0.55rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(255, 255, 255, 0.76);
}

.demo-timeline span:nth-child(1) { left: 16px; top: 28px; transform: translateZ(10px); }
.demo-timeline span:nth-child(2) { left: 88px; top: 68px; transform: translateZ(30px); }
.demo-timeline span:nth-child(3) { left: 160px; top: 36px; transform: translateZ(48px); }

.idea-list-card {
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1rem;
  background: linear-gradient(150deg, var(--surface) 0%, var(--surface-soft) 100%);
  color: var(--text-primary);
  box-shadow: var(--soft-shadow);
}

.idea-list {
  padding-left: 1.2rem;
}

.idea-list li {
  margin-bottom: 0.38rem;
}

.ready-idea-card {
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1rem;
  background: linear-gradient(165deg, var(--surface) 0%, var(--surface-soft) 100%);
  color: var(--text-primary);
  box-shadow: var(--soft-shadow);
}

.ready-idea-type {
  display: inline-block;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-blue);
  background: rgba(96, 165, 250, 0.16);
}

.ready-idea-meta {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.noncard-idea {
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1rem;
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-soft) 100%);
  color: var(--text-primary);
  box-shadow: var(--soft-shadow);
  height: 100%;
}

.noncard-list {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.noncard-list li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.52rem;
  color: var(--text-muted);
}

.noncard-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.63rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.16);
}

.btn-brand {
  background-color: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #fff;
  box-shadow: 0 8px 20px rgba(11, 94, 215, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-brand:hover {
  background-color: var(--brand-blue-dark);
  border-color: var(--brand-blue-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(10, 61, 145, 0.3);
}

.btn-outline-light:hover {
  color: #0b5ed7;
  transform: translateY(-1px);
}

img.project-thumb {
  border-radius: 0.75rem;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.contact-form-card {
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--surface);
}

.floating-metric {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  color: var(--text-primary);
  box-shadow: var(--soft-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-metric .small {
  color: var(--text-muted);
}

.floating-metric:hover {
  transform: translateY(-5px) rotateX(4deg);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

.tilt-3d {
  will-change: transform;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.contact-info-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.contact-info-list li {
  margin-bottom: 0.7rem;
}

.director-card {
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--surface);
}

.director-photo {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--border);
}

main > section {
  opacity: 0;
  transform: translateY(18px);
  animation: revealUp 0.65s ease forwards;
}

main > section:nth-of-type(2) {
  animation-delay: 0.08s;
}

main > section:nth-of-type(3) {
  animation-delay: 0.16s;
}

main > section:nth-of-type(4) {
  animation-delay: 0.24s;
}

main > section:nth-of-type(5) {
  animation-delay: 0.32s;
}

.form-control,
.form-select,
.form-control::placeholder {
  color: var(--text-primary);
}

.form-control,
.form-select {
  background-color: var(--surface);
  border-color: var(--border);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 0.18rem rgba(11, 94, 215, 0.2);
}

html[data-theme="dark"] .bg-light {
  background-color: #0b1220 !important;
}

html[data-theme="dark"] .text-light-emphasis {
  color: #cbd5e1 !important;
}

html[data-theme="dark"] .text-muted,
html[data-theme="dark"] .text-body-secondary {
  color: #94a3b8 !important;
}

html[data-theme="dark"] .navbar-toggler {
  border-color: #334155;
}

html[data-theme="dark"] .navbar-toggler-icon {
  filter: invert(1) brightness(1.6);
}

html[data-theme="dark"] .btn-light {
  background-color: #e2e8f0;
  border-color: #e2e8f0;
  color: #0f172a;
}

html[data-theme="dark"] .site-loader {
  background: radial-gradient(circle at 24% 20%, rgba(37, 99, 235, 0.24), transparent 45%), radial-gradient(circle at 80% 82%, rgba(56, 189, 248, 0.2), transparent 48%), rgba(2, 6, 23, 0.94);
}

html[data-theme="dark"] .site-loader-text {
  color: #e2e8f0;
}

html[data-theme="dark"] .site-footer {
  background: linear-gradient(135deg, #020617 0%, #0b1220 100%);
  border-top-color: #1e293b;
}

html[data-theme="dark"] .site-footer-shell {
  background: linear-gradient(160deg, rgba(2, 6, 23, 0.92) 0%, rgba(15, 23, 42, 0.92) 100%);
  border-color: rgba(51, 65, 85, 0.9);
}

html[data-theme="dark"] .idea-demo {
  background: linear-gradient(140deg, rgba(30, 64, 175, 0.32) 0%, rgba(15, 23, 42, 0.52) 100%);
  border-color: #334155;
}

html[data-theme="dark"] .ready-idea-type {
  background: rgba(59, 130, 246, 0.28);
}

html[data-theme="dark"] .demo-product span,
html[data-theme="dark"] .demo-dashboard span,
html[data-theme="dark"] .demo-timeline span {
  background: rgba(15, 23, 42, 0.75);
  border-color: rgba(148, 163, 184, 0.36);
}

html[data-theme="dark"] .demo-map span {
  border-color: #93c5fd;
}

html[data-theme="dark"] .site-footer-bottom {
  border-top-color: #1e293b;
  color: #94a3b8;
}

html[data-theme="dark"] .hero {
  background: linear-gradient(135deg, #0b1220 0%, #1d4ed8 55%, #3b82f6 100%);
}

html[data-theme="dark"] .about-who-we-are .section-title,
html[data-theme="dark"] .work-project-delivery .section-title,
html[data-theme="dark"] .work-project-delivery .card-work h3,
html[data-theme="dark"] .about-who-we-are .info-card h2 {
  color: #f8fafc;
}

html[data-theme="dark"] .about-who-we-are p,
html[data-theme="dark"] .about-who-we-are .info-card p,
html[data-theme="dark"] .work-project-delivery p,
html[data-theme="dark"] .work-project-delivery li,
html[data-theme="dark"] .work-project-delivery .section-subtitle {
  color: #cbd5e1;
}

html[data-theme="dark"] .work-project-delivery .card-work,
html[data-theme="dark"] .about-who-we-are .info-card {
  background: linear-gradient(160deg, #111827 0%, #1e293b 100%);
  border-color: #334155;
  box-shadow: 0 14px 28px rgba(2, 6, 23, 0.45);
}

html[data-theme="dark"] .about-who-we-are a,
html[data-theme="dark"] .work-project-delivery a {
  color: #93c5fd;
}

html[data-theme="dark"] .about-who-we-are a:hover,
html[data-theme="dark"] .work-project-delivery a:hover {
  color: #dbeafe;
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatOrb {
  0%,
  100% {
    transform: translateY(0) translateZ(70px);
  }
  50% {
    transform: translateY(-12px) translateZ(82px);
  }
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateZ(70px) rotateY(-10deg) translateY(0);
  }
  50% {
    transform: translateZ(78px) rotateY(-8deg) translateY(-10px);
  }
}

@keyframes spinCube {
  0% {
    transform: rotateX(0deg) rotateY(0deg);
  }
  100% {
    transform: rotateX(360deg) rotateY(360deg);
  }
}

@keyframes orbFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes sweepLight {
  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.8;
  }
  50% {
    transform: translate(170px, 70px);
    opacity: 0.45;
  }
}

@keyframes loaderSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes loaderPulse {
  0%,
  100% {
    transform: scale(0.82);
  }
  50% {
    transform: scale(1.06);
  }
}

@media (max-width: 991.98px) {
  main {
    padding-top: 74px;
  }

  .container,
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl,
  .container-xxl {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }

  .navbar-collapse {
    margin-top: 0.7rem;
    padding: 0.8rem;
    border: 1px solid var(--border);
    border-radius: 0.8rem;
    background: var(--surface);
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14);
  }

  .mobile-nav-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.35rem);
    z-index: 1100;
  }

  .navbar-nav {
    align-items: stretch !important;
    gap: 0.28rem !important;
  }

  .nav-link {
    padding: 0.6rem 0.5rem;
    border-radius: 0.55rem;
  }

  .nav-link:hover,
  .nav-link.active {
    background: rgba(59, 130, 246, 0.1);
  }

  .nav-link::after {
    left: 0.2rem;
    right: 0.2rem;
    bottom: 0.18rem;
  }

  .theme-toggle {
    width: 100%;
    justify-content: center;
    min-height: 42px;
  }

  .hero {
    padding: 4.4rem 0 3.4rem;
  }

  .hero::after {
    width: 300px;
    height: 300px;
    right: -120px;
    top: -120px;
  }

  .hero-3d-scene {
    min-height: 310px;
    margin-top: 1rem;
  }

  .hero-3d-main {
    inset: 34px 0 10px 0;
  }

  .hero-3d-badge {
    width: 142px;
    padding: 0.75rem;
  }

  .page-hero {
    padding: 3.7rem 0 2.4rem;
  }

  .cta-band {
    padding: 1.1rem !important;
  }

  .site-footer-shell {
    padding: 1.25rem !important;
  }
}

@media (max-width: 767.98px) {
  body::before,
  body::after {
    width: 210px;
    height: 210px;
    filter: blur(36px);
    opacity: 0.3;
  }

  main {
    padding-top: 70px;
  }

  main > section {
    transform: none;
    animation: none;
    opacity: 1;
  }

  .container,
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl,
  .container-xxl {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .card-service,
  .card-work,
  .info-card,
  .director-card,
  .contact-form-card,
  .idea-card,
  .idea-list-card,
  .ready-idea-card,
  .noncard-idea,
  .service-intro,
  .cta-band,
  .site-footer-shell {
    padding-left: 1.05rem !important;
    padding-right: 1.05rem !important;
  }

  main > section.py-5,
  main > section.pb-5,
  main > section.bg-light.py-5 {
    padding-top: 2.15rem !important;
    padding-bottom: 2.15rem !important;
  }

  .row.g-4 {
    --bs-gutter-y: 1rem;
  }

  .hero {
    padding: 3.6rem 0 2.8rem;
  }

  .hero h1 {
    font-size: clamp(1.55rem, 7vw, 2rem);
  }

  .hero p {
    font-size: 0.98rem;
  }

  .btn-lg,
  .hero .btn,
  .cta-band .btn {
    width: 100%;
  }

  .hero .d-flex.flex-wrap.gap-2 {
    gap: 0.65rem !important;
  }

  .hero-3d-scene {
    min-height: 260px;
  }

  .hero-3d-badge {
    right: 0;
    width: 132px;
    font-size: 0.88rem;
  }

  .hero-3d-badge.bottom {
    bottom: -6px;
  }

  .section-title {
    font-size: clamp(1.3rem, 6vw, 1.7rem);
  }

  .page-hero {
    padding: 3.2rem 0 2rem;
  }

  .page-hero .lead,
  .section-subtitle {
    font-size: 0.98rem;
  }

  .work-project-delivery .card-work li,
  .work-project-delivery .card-work a,
  .service-intro p,
  .card-service p,
  .card-work p,
  .info-card p {
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .card-service,
  .card-work,
  .info-card,
  .director-card,
  .contact-form-card,
  .idea-card,
  .idea-list-card,
  .ready-idea-card,
  .noncard-idea {
    border-radius: 0.75rem;
  }

  .card-service:hover,
  .card-work:hover,
  .info-card:hover,
  .floating-metric:hover {
    transform: none;
  }

  .site-footer-title {
    font-size: 1.05rem;
  }

  .site-footer-bottom {
    font-size: 0.86rem;
  }

  .site-footer-bottom .d-flex {
    gap: 0.45rem !important;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand span {
    font-size: 0.95rem;
  }

  .brand-logo {
    width: 32px;
    height: 32px;
  }

  .hero {
    padding: 3.15rem 0 2.3rem;
  }

  .page-hero .display-6,
  .page-hero h1 {
    font-size: 1.55rem;
    line-height: 1.25;
  }

  .hero::before {
    background-size: 28px 28px;
  }

  .hero-3d-scene {
    min-height: 235px;
  }

  .hero-3d-scene::before,
  .hero-3d-scene::after {
    display: none;
  }

  .hero-3d-main {
    inset: 26px 0 8px 0;
    transform: none;
  }

  .hero-3d-badge.top {
    top: 8px;
  }

  .hero-3d-badge.bottom {
    bottom: -10px;
  }

  .hero-3d-badge {
    width: 120px;
    padding: 0.58rem;
  }

  .hero-3d-badge .value {
    font-size: 1rem;
  }

  .hero-3d-badge .label {
    font-size: 0.68rem;
  }

  .site-loader-text {
    letter-spacing: 0.05em;
    font-size: 0.78rem;
  }

  .check-list li {
    padding-left: 1.45rem;
  }

  .work-project-delivery .card-work,
  .service-intro,
  .cta-band,
  .site-footer-shell {
    padding: 0.95rem !important;
  }

  .container,
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl,
  .container-xxl {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  .site-footer-shell {
    border-radius: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  main > section {
    opacity: 1;
    transform: none;
  }

  .hero-3d-main,
  .hero-3d-badge,
  .tilt-3d,
  .card-service:hover,
  .card-work:hover,
  .info-card:hover,
  .floating-metric:hover,
  .page-image:hover {
    transform: none !important;
  }

  .hero-3d-scene::before,
  .hero-3d-scene::after {
    animation: none !important;
  }

  .site-loader,
  .site-loader-orbit,
  .site-loader-core {
    animation: none !important;
    transition: none !important;
  }

  .cube,
  .demo-orbs span,
  .demo-spotlight span {
    animation: none !important;
  }
}

