:root {
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --bg-soft2: #eef2f9;
  --surface: #ffffff;
  --ink: #1e2954;
  --indigo: #3b4fd4;
  --indigo-d: #2c3aa8;
  --teal: #0fb9a6;
  --teal-l: #2dd4bf;
  --text: #1e2954;
  --text-dim: #5a6585;
  --text-faint: #8a93ad;
  --border: #e6eaf2;
  --border-2: #d8deeb;
  --shadow: 0 10px 30px rgba(30, 41, 84, 0.08);
  --shadow-lg: 0 24px 60px rgba(30, 41, 84, 0.14);
  --glow: rgba(59, 79, 212, 0.18);
  --radius: 18px;
  --code-bg: #fff;
  --footer-bg: #1e2954;
}
html[data-theme="dark"] {
  --bg: #0c1020;
  --bg-soft: #121830;
  --bg-soft2: #1a2240;
  --surface: #141a31;
  --ink: #eef2fb;
  --indigo: #7c8cff;
  --indigo-d: #5b6bf0;
  --teal: #2dd4bf;
  --teal-l: #5eead4;
  --text: #eef2fb;
  --text-dim: #a7b0cf;
  --text-faint: #7882a6;
  --border: #26304f;
  --border-2: #323d61;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.55);
  --glow: rgba(124, 140, 255, 0.25);
  --code-bg: #0e1426;
  --footer-bg: #080b16;
  --nav-bg: rgba(12, 16, 32, 0.7);
  --nav-bg-scroll: rgba(12, 16, 32, 0.92);
}
html {
  transition: none;
  overflow-x: hidden;
  width: 100%;
}
html[data-theme] * {
  transition:
    background-color 0.4s,
    border-color 0.4s,
    color 0.25s,
    box-shadow 0.4s;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  width: 100%;
}
body.ta {
  font-family: "Noto Sans Tamil", "Inter", sans-serif;
}
h1,
h2,
h3,
h4 {
  font-family: "Sora", sans-serif;
  line-height: 1.16;
  letter-spacing: -0.02em;
}
body.ta h1,
body.ta h2,
body.ta h3,
body.ta h4 {
  font-family: "Noto Sans Tamil", "Sora", sans-serif;
  letter-spacing: 0;
}

/* Tamil Typography Sizing Optimizations */
body.ta h1 {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem) !important;
  line-height: 1.3 !important;
}
body.ta h2 {
  font-size: clamp(1.4rem, 3.8vw, 2rem) !important;
  line-height: 1.3 !important;
}
body.ta h3 {
  font-size: clamp(1.15rem, 3.2vw, 1.45rem) !important;
  line-height: 1.35 !important;
}
body.ta p,
body.ta li,
body.ta input,
body.ta textarea,
body.ta select {
  font-size: 0.94rem !important;
  line-height: 1.6 !important;
}
body.ta .lead {
  font-size: 1.05rem !important;
}
body.ta .nav-links {
  gap: 20px;
}
body.ta .nav-links a {
  font-size: 0.85rem;
}
body.ta .nav-cta {
  font-size: 0.82rem;
  padding: 8px 16px;
  white-space: nowrap;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}
.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 14px;
  display: inline-block;
}
body.ta .eyebrow {
  letter-spacing: 0.05em;
}
.grad {
  background: linear-gradient(110deg, var(--indigo), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

#progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 200;
  background: linear-gradient(90deg, var(--indigo), var(--teal));
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--nav-bg, rgba(255, 255, 255, 0.7));
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition:
    background 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
}
nav.scrolled {
  background: var(--nav-bg-scroll, rgba(255, 255, 255, 0.92));
  border-color: var(--border);
  box-shadow: 0 4px 24px rgba(30, 41, 84, 0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: "Sora";
  font-weight: 800;
  font-size: 1.12rem;
  color: var(--ink);
}
.logo-mark {
  transition: transform 0.4s;
  filter: drop-shadow(0 4px 10px var(--glow));
}
/* .logo:hover .logo-mark {
  transform: rotate(-6deg) scale(1.08);
} */
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-size: 0.92rem;
  color: var(--text-dim);
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--indigo);
  transition: width 0.25s;
}
.nav-links a:not(.nav-cta):hover {
  color: var(--ink);
}
.nav-links a:not(.nav-cta):hover::after {
  width: 100%;
}
.nav-cta {
  background: linear-gradient(135deg, var(--indigo), var(--indigo-d));
  padding: 10px 20px;
  border-radius: 11px;
  color: #fff !important;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 6px 18px var(--glow);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px var(--glow);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition:
    background 0.25s,
    transform 0.25s,
    border-color 0.25s;
}
.theme-toggle:hover {
  transform: translateY(-2px);
  border-color: var(--indigo);
}
.theme-toggle .ic-moon {
  display: none;
}
html[data-theme="dark"] .theme-toggle .ic-sun {
  display: none;
}
html[data-theme="dark"] .theme-toggle .ic-moon {
  display: block;
}
html[data-theme="dark"] nav .logo-mark {
  filter: brightness(0) invert(1)
    drop-shadow(0 4px 10px rgba(255, 255, 255, 0.2));
}
.lang-toggle {
  display: flex;
  background: var(--bg-soft2);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 3px;
  cursor: pointer;
  gap: 2px;
}
.lang-opt {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 24px;
  color: var(--text-dim);
  transition: 0.25s;
  font-family: "Inter", sans-serif;
}
.lang-opt[data-lang="ta"] {
  font-family: "Noto Sans Tamil", sans-serif;
}
.lang-opt.active {
  background: linear-gradient(135deg, var(--indigo), var(--teal));
  color: #fff;
  box-shadow: 0 3px 10px var(--glow);
}
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: 0;
}
.burger span {
  width: 26px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: 0.3s;
}
.burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* HERO */
.hero {
  position: relative;
  padding: 150px 0 50px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-soft), var(--bg));
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.4;
}
.b1 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, var(--indigo), transparent 70%);
  top: -160px;
  right: -120px;
  animation: drift 16s ease-in-out infinite;
}
.b2 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, var(--teal), transparent 70%);
  bottom: -120px;
  left: -100px;
  opacity: 0.3;
  animation: drift 16s ease-in-out infinite reverse;
  animation-delay: -8s;
}
@keyframes drift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(40px, -30px) scale(1.1);
  }
}
.dotgrid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--border-2) 1.4px, transparent 1.4px);
  background-size: 30px 30px;
  mask-image: radial-gradient(
    ellipse 60% 55% at 60% 35%,
    #000 20%,
    transparent 70%
  );
  opacity: 0.7;
}
.hero .wrap {
  position: relative;
  z-index: 2;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 50px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.7rem);
  font-weight: 800;
  margin-bottom: 22px;
  color: var(--ink);
}
.hero p.lead {
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 520px;
  margin-bottom: 34px;
}
.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--indigo), var(--indigo-d));
  color: #fff;
  padding: 15px 30px;
  border-radius: 13px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 12px 28px var(--glow);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
  display: inline-block;
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.45),
    transparent
  );
  transform: skewX(-20deg);
  transition: left 0.6s;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px var(--glow);
}
.btn-primary:hover::after {
  left: 150%;
}
.btn-ghost {
  border: 1.5px solid var(--border-2);
  padding: 14px 28px;
  border-radius: 13px;
  font-weight: 600;
  color: var(--ink);
  background: transparent;
  transition:
    border-color 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
  display: inline-block;
}
.btn-ghost:hover {
  border-color: var(--indigo);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 38px;
  flex-wrap: wrap;
}
.hero-stats .num {
  font-family: "Sora";
  font-size: 2rem;
  font-weight: 800;
  color: var(--indigo);
}
.hero-stats .num::after {
  content: "+";
}
.hero-stats .lbl {
  font-size: 0.8rem;
  color: var(--text-faint);
}

/* entrance */
.up {
  opacity: 0;
  transform: translateY(26px);
  animation: up 0.85s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.up.d1 {
  animation-delay: 0.1s;
}
.up.d2 {
  animation-delay: 0.22s;
}
.up.d3 {
  animation-delay: 0.34s;
}
.up.d4 {
  animation-delay: 0.46s;
}
@keyframes up {
  to {
    opacity: 1;
    transform: none;
  }
}

/* HERO VISUAL — advanced floating cards */
.hero-visual {
  position: relative;
  height: 380px;
}
.float-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}
.fc-main {
  top: 40px;
  left: 20px;
  right: 20px;
  padding: 22px;
  animation: floaty 6s ease-in-out infinite;
}
.fc-main {
  background: var(--code-bg);
}
.fc-main::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 1.5px;
  background: linear-gradient(
    140deg,
    var(--indigo),
    var(--teal),
    transparent 60%
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.card-dots {
  display: flex;
  gap: 7px;
  margin-bottom: 16px;
}
.card-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.card-dots span:nth-child(1) {
  background: #ff5f57;
}
.card-dots span:nth-child(2) {
  background: #febc2e;
}
.card-dots span:nth-child(3) {
  background: #28c840;
}
.code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.86rem;
  line-height: 1.95;
  color: var(--ink);
}
.code .k {
  color: #c026d3;
}
.code .s {
  color: var(--teal);
}
.code .c {
  color: var(--text-faint);
}
.code .f {
  color: var(--indigo);
}
.cursor {
  animation: blink 1s steps(1) infinite;
  color: var(--indigo);
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}
.fc-badge {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 16px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink);
}
.fc-badge i {
  font-style: normal;
  font-weight: 800;
  color: var(--indigo);
}
.fc-1 {
  top: -6px;
  right: 0;
  animation: floaty 5s ease-in-out infinite;
  animation-delay: -1s;
}
.fc-2 {
  bottom: 46px;
  left: -14px;
  animation: floaty 5.5s ease-in-out infinite;
  animation-delay: -2.5s;
}
.fc-stat {
  bottom: 0;
  right: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 20px;
  animation: floaty 6.5s ease-in-out infinite;
  animation-delay: -1.5s;
}
.fc-stat strong {
  font-family: "Sora";
  font-size: 1.5rem;
  color: var(--teal);
}
.fc-stat span {
  font-size: 0.72rem;
  color: var(--text-faint);
}
.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}
.dot.g {
  background: #28c840;
  box-shadow: 0 0 0 0 rgba(40, 200, 64, 0.5);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(40, 200, 64, 0.5);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(40, 200, 64, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(40, 200, 64, 0);
  }
}

/* marquee */
.marquee {
  margin-top: 40px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 15px 0;
  overflow: hidden;
  position: relative;
  z-index: 2;
  background: var(--surface);
}
.marquee-track {
  display: flex;
  gap: 22px;
  white-space: nowrap;
  width: max-content;
  animation: scroll 30s linear infinite;
}
.marquee-track span {
  font-family: "Sora";
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-dim);
}
.marquee-track .sep {
  color: var(--teal);
}
body.ta .marquee-track span {
  font-family: "Noto Sans Tamil", sans-serif;
}
@keyframes scroll {
  to {
    transform: translateX(-50%);
  }
}

/* SECTIONS */
section {
  padding: 74px 0;
  position: relative;
}
.sec-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 44px;
}
.sec-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--ink);
}
.sec-head p {
  color: var(--text-dim);
  font-size: 1.05rem;
}

/* icons (CSS drawn, mask-free simple shapes via pseudo) */
.ico {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(
    135deg,
    rgba(59, 79, 212, 0.1),
    rgba(45, 212, 191, 0.12)
  );
  margin-bottom: 20px;
  transition: transform 0.3s;
}
.ico i {
  width: 26px;
  height: 26px;
  display: block;
  position: relative;
}
[class^="i-"]::before,
[class^="i-"]::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
}
.i-web::before {
  inset: 0;
  border: 2.5px solid var(--indigo);
  border-radius: 50%;
}
.i-web::after {
  inset: 0;
  border: 2.5px solid var(--indigo);
  border-radius: 50%;
  clip-path: ellipse(35% 50% at 50% 50%);
}
.i-bolt::before {
  content: "⚡";
  font-size: 24px;
  line-height: 26px;
  color: var(--indigo);
}
.i-cart::before {
  content: "";
  width: 16px;
  height: 11px;
  border: 2.5px solid var(--indigo);
  border-top: 0;
  left: 5px;
  top: 6px;
  transform: skewX(-4deg);
}
.i-cart::after {
  content: "";
  width: 20px;
  height: 2.5px;
  background: var(--indigo);
  top: 4px;
  left: 3px;
  border-radius: 2px;
}
.i-bill::before {
  inset: 1px 4px;
  border: 2.5px solid var(--indigo);
  border-radius: 3px;
}
.i-bill::after {
  content: "";
  width: 10px;
  height: 2px;
  background: var(--indigo);
  left: 8px;
  top: 9px;
  box-shadow:
    0 5px 0 var(--indigo),
    0 -4px 0 var(--indigo);
}
.i-box::before {
  content: "";
  width: 20px;
  height: 18px;
  border: 2.5px solid var(--indigo);
  left: 3px;
  top: 4px;
}
.i-box::after {
  content: "";
  width: 20px;
  height: 2.5px;
  background: var(--indigo);
  left: 3px;
  top: 11px;
  box-shadow: -1px -7px 0 -0.5px var(--indigo);
}
.i-gear::before {
  content: "⚙";
  font-size: 26px;
  line-height: 26px;
  color: var(--indigo);
}
.i-py::before {
  content: "🐍";
  font-size: 22px;
  line-height: 26px;
}
.i-db::before {
  content: "";
  width: 20px;
  height: 20px;
  left: 3px;
  top: 3px;
  border: 2.5px solid var(--indigo);
  border-radius: 50%/24%;
}
.i-front::before {
  content: "</>";
  font-family: monospace;
  font-weight: 800;
  font-size: 15px;
  color: var(--indigo);
  line-height: 26px;
}
.i-back::before {
  content: "{ }";
  font-family: monospace;
  font-weight: 800;
  font-size: 15px;
  color: var(--indigo);
  line-height: 26px;
}
.i-stack::before {
  content: "";
  width: 22px;
  height: 5px;
  background: var(--indigo);
  top: 4px;
  left: 2px;
  border-radius: 2px;
  box-shadow:
    0 7px 0 var(--teal),
    0 14px 0 var(--indigo);
}
.i-java::before {
  content: "☕";
  font-size: 22px;
  line-height: 26px;
}
.i-books::before {
  content: "📚";
  font-size: 22px;
  line-height: 26px;
}
.i-erp::before {
  content: "🏭";
  font-size: 22px;
  line-height: 26px;
}

/* SERVICES */
.serv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.serv-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition:
    transform 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
  position: relative;
}
.serv-card:hover {
  transform: translateY(-8px);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}
.serv-card:hover .ico {
  transform: scale(1.1) rotate(-6deg);
}
.serv-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--ink);
}
.serv-card p {
  color: var(--text-dim);
  font-size: 0.93rem;
  margin-bottom: 16px;
}
.serv-card .price {
  font-family: "Sora";
  font-weight: 700;
  color: var(--indigo);
  font-size: 0.95rem;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}
.serv-card .price small {
  color: var(--text-faint);
  font-weight: 400;
  font-size: 0.78rem;
}
.serv-wide {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, var(--surface), var(--bg-soft));
  border-color: var(--border-2);
}
.serv-wide::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1.5px;
  background: linear-gradient(
    120deg,
    var(--indigo),
    var(--teal),
    transparent 70%
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.6;
}
.serv-wide h3 {
  font-size: 1.35rem;
}
.serv-wide p {
  max-width: 760px;
  font-size: 0.96rem;
}
.erp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 18px;
}
.erp-tags span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--indigo);
  background: rgba(59, 79, 212, 0.08);
  border: 1px solid var(--border);
  padding: 6px 13px;
  border-radius: 20px;
}
.erp-tags span:first-child {
  background: linear-gradient(135deg, var(--indigo), var(--teal));
  color: #fff;
  border: 0;
}
body.ta .serv-card .price,
body.ta .hero-stats .num,
body.ta .amt {
  font-family: "Noto Sans Tamil", sans-serif;
}

/* PRICING */
.pricing {
  background: var(--bg-soft);
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 22px;
  justify-content: center;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  text-align: center;
  position: relative;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.price-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.price-card.featured {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}
.price-card.featured::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 2px;
  background: linear-gradient(135deg, var(--indigo), var(--teal));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.price-card .tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--indigo), var(--teal));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 15px;
  border-radius: 20px;
  text-transform: uppercase;
}
.price-card h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
  color: var(--ink);
}
.price-card .amt {
  font-family: "Sora";
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--ink);
  margin: 10px 0;
}
.price-card .amt small {
  font-size: 1rem;
  color: var(--text-faint);
  font-weight: 500;
}
.price-card .timeline {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal);
  background: rgba(15, 185, 166, 0.1);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.price-card ul {
  list-style: none;
  text-align: left;
  margin: 22px 0 28px;
}
.price-card li {
  padding: 8px 0;
  color: var(--text-dim);
  font-size: 0.91rem;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.price-card li::before {
  content: "✓";
  color: var(--teal);
  font-weight: 700;
}
.price-card .btn-primary,
.price-card .btn-ghost {
  width: 100%;
  text-align: center;
}
.price-note {
  text-align: center;
  margin-top: 30px;
  font-size: 0.85rem;
  color: var(--text-faint);
}

/* COURSES */
.course-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.course-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition:
    border-color 0.3s,
    transform 0.3s,
    box-shadow 0.3s;
}
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.course-card:hover .ico {
  transform: scale(1.1) rotate(6deg);
}
.course-card .ico {
  flex-shrink: 0;
  margin-bottom: 0;
}
.course-card h3 {
  font-size: 1.08rem;
  margin-bottom: 6px;
  color: var(--ink);
}
.course-card p {
  color: var(--text-dim);
  font-size: 0.89rem;
}

/* WORK */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.work-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  display: block;
}
.work-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.work-thumb {
  height: 175px;
  overflow: hidden;
}
.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.work-card:hover .work-thumb img {
  transform: scale(1.07);
}
.work-body {
  padding: 18px 20px;
}
.work-body h4 {
  font-size: 1.01rem;
  margin-bottom: 5px;
  color: var(--ink);
}
.work-body p {
  font-size: 0.83rem;
  color: var(--text-faint);
}
.work-body .badge {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--indigo);
  background: rgba(59, 79, 212, 0.09);
  padding: 4px 11px;
  border-radius: 20px;
}

/* CLIENTS */
.clients {
  background: var(--bg-soft);
}
.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.test-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.test-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.test-card .stars {
  color: #f5a623;
  margin-bottom: 14px;
  font-size: 0.95rem;
}
.test-card p {
  color: var(--text-dim);
  font-size: 0.93rem;
  font-style: italic;
  margin-bottom: 20px;
}
.test-who {
  display: flex;
  align-items: center;
  gap: 13px;
}
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "Sora";
  font-weight: 700;
  color: #fff;
  font-size: 1rem;
  background: linear-gradient(135deg, var(--indigo), var(--teal));
}
.test-who .name {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}
.test-who .role {
  font-size: 0.78rem;
  color: var(--text-faint);
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}
.about-grid h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin-bottom: 20px;
  color: var(--ink);
}
.about-grid p {
  color: var(--text-dim);
  margin-bottom: 18px;
}
.reg-line {
  font-size: 0.9rem;
  color: var(--text-dim);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 10px 16px;
  border-radius: 12px;
  display: inline-block;
}
.about-points {
  list-style: none;
  margin-top: 24px;
}
.about-points li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.about-points .chk {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--indigo), var(--teal));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}
.about-points strong {
  display: block;
  color: var(--ink);
  font-size: 0.96rem;
}
.about-points small {
  color: var(--text-faint);
}
.about-visual {
  background: linear-gradient(160deg, var(--surface), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  box-shadow: var(--shadow);
}
.stat-box {
  text-align: center;
  padding: 22px 10px;
  border-radius: 14px;
  background: var(--bg-soft);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.stat-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.stat-box .n {
  font-family: "Sora";
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--indigo);
}
.stat-box .n:not(.nostar)::after {
  content: "+";
}
.stat-box .l {
  font-size: 0.78rem;
  color: var(--text-faint);
  margin-top: 4px;
}

/* CTA */
.cta-band {
  padding: 0 0 74px;
}
.cta-inner {
  background: linear-gradient(135deg, var(--indigo), var(--teal));
  border-radius: 28px;
  padding: 64px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(59, 79, 212, 0.3);
}
.cta-inner::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.18),
    transparent 70%
  );
  top: -120px;
  right: -60px;
}
.cta-inner h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 16px;
  color: #fff;
  position: relative;
}
.cta-inner p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 520px;
  margin: 0 auto 30px;
  font-size: 1.05rem;
  position: relative;
}
.cta-inner .btn-primary {
  background: #fff;
  color: var(--indigo);
  position: relative;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
}
.contact-info h3 {
  font-size: 1.4rem;
  margin-bottom: 18px;
  color: var(--ink);
}
.contact-info p {
  color: var(--text-dim);
  margin-bottom: 28px;
}
.contact-item {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 20px;
}
.contact-item .ci {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  background: linear-gradient(
    135deg,
    rgba(59, 79, 212, 0.1),
    rgba(45, 212, 191, 0.12)
  );
}
.contact-item .ct {
  font-size: 0.78rem;
  color: var(--text-faint);
}
.contact-item .cv {
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--ink);
}
.contact-item .cv a {
  transition: color 0.2s;
}
.contact-item .cv a:hover {
  color: var(--indigo);
}
form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow);
}
.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--text-dim);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 13px 15px;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.94rem;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    background 0.2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--indigo);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(59, 79, 212, 0.12);
}
form button {
  width: 100%;
  background: linear-gradient(135deg, var(--indigo), var(--indigo-d));
  color: #fff;
  border: 0;
  padding: 15px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 12px 28px var(--glow);
  transition: transform 0.2s;
  font-family: inherit;
}
form button:hover {
  transform: translateY(-2px);
}
form button:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}
#formStatus {
  margin-top: 14px;
  text-align: center;
  font-size: 0.92rem;
  display: none;
}

/* FOOTER */
footer {
  background: var(--footer-bg);
  color: #fff;
  padding: 48px 0 28px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 34px;
  margin-bottom: 40px;
}
footer .logo {
  color: #fff;
}
.foot-grid h4 {
  font-size: 0.92rem;
  margin-bottom: 16px;
  color: #fff;
}
.foot-grid a,
.foot-grid p {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.foot-grid a:hover {
  color: var(--teal-l);
}
footer p[style] {
  color: rgba(255, 255, 255, 0.6) !important;
}
.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.84rem;
}

/* WhatsApp */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  z-index: 120;
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s;
  animation: wapulse 2.6s ease-out infinite;
}
.wa-float:hover {
  transform: scale(1.1);
}
@keyframes wapulse {
  0% {
    box-shadow:
      0 8px 26px rgba(37, 211, 102, 0.45),
      0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow:
      0 8px 26px rgba(37, 211, 102, 0.45),
      0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow:
      0 8px 26px rgba(37, 211, 102, 0.45),
      0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.show {
  opacity: 1;
  transform: none;
}
.serv-grid .reveal.show,
.course-grid .reveal.show,
.work-grid .reveal.show,
.test-grid .reveal.show,
.price-grid .reveal.show {
  transition-delay: var(--d, 0s);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-visual {
    height: 300px;
    margin-top: 6px;
  }
  .serv-grid,
  .price-grid,
  .test-grid,
  .course-grid {
    grid-template-columns: 1fr;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--surface);
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-180%);
    transition: transform 0.35s;
    box-shadow: var(--shadow);
  }
  .nav-links.open {
    transform: translateY(0);
  }
  .burger {
    display: flex;
  }
  .hero {
    padding: 120px 0 40px;
  }
  .serv-wide h3 {
    font-size: 1.2rem;
  }
}
@media (max-width: 560px) {
  .wrap {
    padding: 0 18px;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-stats {
    gap: 18px;
  }
  .hero-stats .num {
    font-size: 1.7rem;
  }
  section {
    padding: 54px 0;
  }
  .cta-inner {
    padding: 40px 22px;
  }
  .logo-txt {
    font-size: 0.9rem;
    line-height: 1.15;
    max-width: 130px;
  }
  .lang-opt {
    padding: 5px 9px;
    font-size: 0.72rem;
  }
  .theme-toggle {
    width: 34px;
    height: 34px;
  }
  .hero-visual {
    height: 280px;
  }
  .float-card.fc-1 {
    right: -6px;
  }
  .float-card.fc-2 {
    left: -6px;
  }
  .sec-head h2 {
    font-size: 1.7rem;
  }
  .erp-tags span {
    font-size: 0.72rem;
    padding: 5px 10px;
  }
  form {
    padding: 24px 20px;
  }
}
@media (max-width: 480px) {
  /* Logo text remains visible on mobile */
}
@media (max-width: 380px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero-stats {
    gap: 14px;
  }
  .nav-right {
    gap: 8px;
  }
}
/* DEMO VIDEO SHOWCASE */
.demo-section {
  padding: 74px 0;
  background: linear-gradient(180deg, var(--bg), var(--bg-soft));
}
.demo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
  perspective: 1000px;
}
@media (max-width: 1024px) {
  .demo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 600px;
  }
}
.browser-mockup {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition:
    transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    box-shadow 0.4s,
    border-color 0.4s;
  cursor: pointer;
  position: relative;
}
.browser-mockup:hover {
  transform: translateY(-8px) rotateX(1deg);
  box-shadow: 0 30px 60px rgba(30, 41, 84, 0.18);
  border-color: var(--indigo);
}
html[data-theme="dark"] .browser-mockup:hover {
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}
.browser-bar {
  background: var(--bg-soft2);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  gap: 16px;
}
.browser-dots {
  display: flex;
  gap: 6px;
}
.b-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.b-dot.red {
  background: #ff5f56;
}
.b-dot.yellow {
  background: #ffbd2e;
}
.b-dot.green {
  background: #27c93f;
}
.browser-address {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 12px;
  font-size: 0.76rem;
  color: var(--text-faint);
  text-align: center;
  font-family: ui-monospace, monospace;
  user-select: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
}
.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 41, 84, 0.45);
  backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  gap: 12px;
  z-index: 2;
}
.browser-mockup:hover .video-overlay {
  opacity: 1;
}
.play-btn-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--teal));
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(59, 79, 212, 0.4);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.browser-mockup:hover .play-btn-circle {
  transform: scale(1.1);
}
.play-btn-circle svg {
  transform: translateX(2px);
}
.overlay-text {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  color: #fff;
  font-size: 0.95rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.05em;
}

/* LIGHTBOX MODAL */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.lightbox-modal.open {
  display: flex;
  opacity: 1;
}
.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 16, 32, 0.85);
  backdrop-filter: blur(12px);
}
.lightbox-content {
  position: relative;
  width: 100%;
  max-width: 960px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transform: scale(0.9);
  transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.lightbox-modal.open .lightbox-content {
  transform: scale(1);
}
.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: var(--text);
  border: 1px solid var(--border);
  font-size: 1.5rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 1002;
  backdrop-filter: blur(8px);
  transition:
    background 0.25s,
    transform 0.25s;
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}
.lightbox-video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
}
.lightbox-video-container video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.lightbox-caption {
  padding: 20px 24px;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
}
.lightbox-caption h4 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  color: var(--ink);
}
.lightbox-caption p {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.5;
}

/* ANIMATIONS & HOVER ENHANCEMENTS */
.btn-primary:active,
.btn-ghost:active,
form button:active {
  transform: scale(0.96) !important;
}
.serv-card:hover .ico i,
.course-card:hover .ico i {
  animation: pulseIcon 0.8s ease-in-out infinite alternate;
}
@keyframes pulseIcon {
  0% {
    transform: scale(1) rotate(0deg);
  }
  100% {
    transform: scale(1.18) rotate(6deg);
  }
}
.btn-primary:hover,
form button:hover {
  box-shadow:
    0 16px 36px var(--glow),
    0 0 12px var(--teal-l);
}
.btn-ghost:hover {
  box-shadow:
    var(--shadow),
    0 0 8px rgba(59, 79, 212, 0.15);
}

@keyframes borderPulse {
  0% {
    box-shadow:
      var(--shadow-lg),
      0 0 12px rgba(59, 79, 212, 0.2);
  }
  50% {
    box-shadow:
      0 28px 64px rgba(30, 41, 84, 0.18),
      0 0 22px rgba(45, 212, 191, 0.4);
  }
  100% {
    box-shadow:
      var(--shadow-lg),
      0 0 12px rgba(59, 79, 212, 0.2);
  }
}
.price-card.featured {
  animation: borderPulse 4s infinite ease-in-out;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal-left.show {
  opacity: 1;
  transform: none;
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal-right.show {
  opacity: 1;
  transform: none;
}
.serv-grid .reveal-left.show,
.serv-grid .reveal-right.show,
.price-grid .reveal-left.show,
.price-grid .reveal-right.show,
.about-grid .reveal-left.show,
.about-grid .reveal-right.show,
.contact-grid .reveal-left.show,
.contact-grid .reveal-right.show {
  transition-delay: var(--d, 0s);
}

#progress {
  box-shadow:
    0 0 8px var(--teal-l),
    0 0 4px var(--indigo);
}

@media (max-width: 768px) {
  .lightbox-modal {
    padding: 0;
  }
  .lightbox-content {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-width: 100vw;
    border-radius: 0;
    border: 0;
    background: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transform: scale(1) !important;
  }
  .lightbox-video-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
  }
  .lightbox-video-container video {
    width: 100%;
    max-height: 100%;
    object-fit: contain;
  }
  .lightbox-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.85) 40%,
      rgba(0, 0, 0, 0)
    );
    border-top: 0;
    padding: 40px 20px 20px;
    z-index: 1001;
  }
  .lightbox-caption h4 {
    color: #fff !important;
    font-size: 1.05rem;
    margin-bottom: 4px;
  }
  .lightbox-caption p {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.8rem;
  }
  .lightbox-close {
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 1.8rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }
}

/* PRIVACY POLICY MODAL */
.policy-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.policy-modal.open {
  display: flex;
  opacity: 1;
}
.policy-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 16, 32, 0.8);
  backdrop-filter: blur(8px);
}
.policy-content {
  position: relative;
  width: 100%;
  max-width: 600px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.policy-modal.open .policy-content {
  transform: scale(1);
}
.policy-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-soft2);
  color: var(--text);
  border: 1px solid var(--border);
  font-size: 1.3rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 1002;
  transition:
    background 0.25s,
    transform 0.25s;
}
.policy-close:hover {
  background: var(--border);
  transform: rotate(90deg);
}
.policy-body {
  padding: 30px;
  overflow-y: auto;
}
.policy-body h3 {
  font-size: 1.5rem;
  color: var(--ink);
  margin-bottom: 8px;
}
.policy-date {
  font-size: 0.84rem;
  color: var(--text-faint);
  margin-bottom: 24px;
}
.policy-body h4 {
  font-size: 1.05rem;
  color: var(--ink);
  margin-top: 20px;
  margin-bottom: 8px;
}
.policy-body p {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 12px;
}

@media (max-width: 560px) {
  .policy-modal {
    padding: 16px;
  }
  .policy-content {
    max-height: 90vh;
  }
  .policy-body {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  .reveal,
  .reveal-left,
  .reveal-right,
  .up {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Hide volume and mute controls on all video players since they are silent */
video::-webkit-media-controls-volume-slider,
video::-webkit-media-controls-mute-button {
  display: none !important;
}

/* Responsive visibility utilities & Mobile drawer toggle styles */
.show-mobile {
  display: none !important;
}

@media (max-width: 1024px) {
  .show-mobile {
    display: flex !important;
  }
  .hide-mobile {
    display: none !important;
  }
  
  .mobile-toggles {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 8px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    width: 100%;
  }
}
