/* ==========================================================================
   SITEDASH — STYLE SHEET
   Design tokens, layout, components, motion.
   ========================================================================== */

:root{
  /* Backgrounds */
  --bg-0:#050505;
  --bg-1:#0b0b0b;
  --bg-2:#111111;

  /* Accents */
  --accent-blue:#2563eb;
  --accent-violet:#6d28d9;
  --accent-purple:#8b5cf6;
  --accent-grad: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));

  /* Text */
  --white:#ffffff;
  --grey-1:#a1a1aa;
  --grey-2:#71717a;
  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.14);

  /* Type */
  --font-display: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  /* Motion */
  --ease: cubic-bezier(.16,.84,.44,1);
  --ease-soft: cubic-bezier(.22,1,.36,1);
}

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

html{
  background:var(--bg-0);
  scroll-behavior:auto; /* custom smooth scroll handled by JS-lite; native fallback fine */
}

body{
  background:var(--bg-0);
  color:var(--white);
  font-family:var(--font-display);
  overflow-x:hidden;
  cursor:none;
  -webkit-font-smoothing:antialiased;
}

@media (max-width: 860px){
  body{ cursor:auto; }
  .cursor-dot,.cursor-ring{ display:none; }
}

a{ color:inherit; text-decoration:none; }
button, input, select, textarea{ font-family:inherit; color:inherit; }
img{ max-width:100%; display:block; }

::selection{ background:var(--accent-purple); color:#fff; }

.section-inner{
  max-width:1360px;
  margin:0 auto;
  padding:0 clamp(24px,5vw,64px);
}

/* ==========================================================================
   GRAIN OVERLAY
   ========================================================================== */
.grain-overlay{
  position:fixed; inset:0; z-index:9998;
  pointer-events:none;
  opacity:0;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
  mix-blend-mode:overlay;
  transition:opacity 1.2s var(--ease);
}
.grain-overlay.visible{ opacity:.5; }

/* ==========================================================================
   CUSTOM CURSOR
   ========================================================================== */
.cursor-dot,.cursor-ring{
  position:fixed; top:0; left:0;
  pointer-events:none; z-index:9999;
  border-radius:50%;
  transform:translate(-50%,-50%);
  will-change:transform;
}
.cursor-dot{
  width:6px; height:6px;
  background:var(--white);
  transition:opacity .2s;
}
.cursor-ring{
  width:34px; height:34px;
  border:1px solid rgba(255,255,255,0.5);
  transition:width .3s var(--ease), height .3s var(--ease), border-color .3s, background .3s, opacity .2s;
  mix-blend-mode:difference;
}
.cursor-ring.hover{
  width:64px; height:64px;
  background:rgba(255,255,255,0.08);
  border-color:transparent;
}

/* ==========================================================================
   PRELOADER
   ========================================================================== */
.preloader{
  position:fixed; inset:0; z-index:10000;
  background:var(--bg-0);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:24px;
  transition:opacity .8s var(--ease), visibility .8s;
}
.preloader.done{ opacity:0; visibility:hidden; }
.preloader-mark{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-weight:900; font-size:14px; letter-spacing:4px;
  color:var(--grey-1);
}
.preloader-logo-img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 0 35px rgba(37, 99, 235, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.15);
  animation: logoPulse 2s ease-in-out infinite alternate;
}
@keyframes logoPulse {
  0% { transform: scale(0.96); box-shadow: 0 0 20px rgba(37, 99, 235, 0.3); }
  100% { transform: scale(1.04); box-shadow: 0 0 40px rgba(37, 99, 235, 0.6); }
}
.preloader-bar{
  width:160px; height:1px; background:var(--line-strong); position:relative; overflow:hidden;
}
.preloader-bar span{
  position:absolute; left:0; top:0; height:100%; width:0%;
  background:linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
}

/* ==========================================================================
   SCROLL PROGRESS
   ========================================================================== */
.scroll-progress{
  position:fixed; top:0; left:0; right:0; height:2px; z-index:900;
  background:transparent;
}
.scroll-progress span{
  display:block; height:100%; width:0%;
  background:var(--accent-grad);
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar{
  position:fixed; top:0; left:0; right:0; z-index:500;
  padding:24px;
  transition:transform .5s var(--ease-soft), padding .4s;
  pointer-events:none;
}
.navbar.scrolled{
  padding:16px 24px;
}
.navbar.hide-nav{ transform:translateY(-100%); }

.nav-inner{
  pointer-events:auto;
  max-width:1200px; margin:0 auto; padding:10px 24px;
  display:flex; align-items:center; justify-content:space-between; gap:32px;
  position: relative;
  background: rgba(10, 10, 12, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02), 0 10px 30px -10px rgba(0,0,0,0.5);
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
}

.navbar.scrolled .nav-inner {
  background: rgba(10, 10, 12, 0.7);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05), 0 20px 40px -20px rgba(0,0,0,0.8);
}

.nav-logo{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight:800; font-size:18px; letter-spacing:-0.5px; z-index:2; position:relative;
  text-decoration: none;
}
.nav-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.25);
  flex-shrink: 0;
}
.nav-logo .dot{ color:var(--accent-blue); }

.nav-links{ 
  display:flex; gap:4px;
  position: absolute; left: 50%; transform: translateX(-50%);
}
.nav-links a{
  font-size:13.5px; font-weight:500; color:var(--grey-1);
  position:relative; padding:8px 20px;
  border-radius: 100px;
  transition: color 0.3s, background 0.3s;
}
.nav-links a span{ position:relative; z-index:1; }
.nav-links a:hover{ color:var(--white); background: rgba(255,255,255,0.08); }

.nav-right{ display:flex; align-items:center; gap:22px; }
.nav-status{
  display:flex; align-items:center; gap:8px;
  font-size:12px; color:var(--grey-1);
  white-space:nowrap;
}
.nav-status i{
  width:6px; height:6px; border-radius:50%; background:var(--accent-blue);
  box-shadow:0 0 0 0 rgba(37,99,235,.6);
  animation:statusPulse 2s infinite;
}
@keyframes statusPulse{
  0%{ box-shadow:0 0 0 0 rgba(37,99,235,.5); }
  70%{ box-shadow:0 0 0 8px rgba(37,99,235,0); }
  100%{ box-shadow:0 0 0 0 rgba(37,99,235,0); }
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  cursor: pointer;
  width: 40px;
  height: 40px;
  padding: 0;
  position: relative;
  z-index: 500;
  transition: background 0.3s, border-color 0.3s;
}
.nav-burger:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}
.nav-burger span {
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s;
  transform-origin: center;
}
.nav-burger.open span:first-child {
  transform: translateY(4px) rotate(45deg);
}
.nav-burger.open span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 10, 14, 0.98);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  display: flex;
  flex-direction: column;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(20px, 5vw, 40px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-menu-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.5px;
  color: var(--white);
  text-decoration: none;
}
.mobile-menu-logo .dot {
  color: var(--accent-blue);
}

.mobile-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.mobile-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent-blue);
  transform: rotate(90deg);
  color: var(--accent-blue);
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow-y: auto;
  padding: 12px 0;
}
.mobile-menu-links a {
  padding: 18px clamp(20px, 5vw, 40px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.25s, padding-left 0.25s, background 0.25s;
}
.mobile-menu-links a:hover {
  color: var(--accent-blue);
  background: rgba(255, 255, 255, 0.03);
  padding-left: calc(clamp(20px, 5vw, 40px) + 8px);
}

.mobile-menu-footer {
  padding: 20px clamp(20px, 5vw, 40px) 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 860px) {
  .nav-links, .nav-status { display: none; }
  .nav-burger { display: flex; }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:14px 24px;
  font-size:13px; font-weight:600; letter-spacing:.2px;
  border-radius:100px;
  border:1px solid transparent;
  white-space:nowrap;
  position:relative;
}
.btn svg{ transition:transform .3s var(--ease); }
.btn:hover svg{ transform:translate(2px,-2px); }

.btn-primary{
  background:var(--accent-blue);
  color:#fff;
}
.btn-primary:hover{ background:#3b74f0; }

.btn-ghost{
  border-color:var(--line-strong);
  color:var(--white);
}
.btn-ghost:hover{ border-color:var(--white); }

.btn.full{ width:100%; justify-content:center; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero{
  position:relative;
  min-height:100vh;
  display:flex; flex-direction:column; justify-content:center;
  padding-top:90px;
  overflow:hidden;
  background:
    radial-gradient(ellipse 900px 500px at 78% 30%, rgba(37,99,235,0.14), transparent 60%),
    radial-gradient(ellipse 700px 500px at 15% 80%, rgba(109,40,217,0.10), transparent 60%),
    var(--bg-0);
}

.hero-grid{
  position:absolute; inset:0; z-index:0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size:64px 64px;
  mask-image:radial-gradient(ellipse 80% 60% at 50% 40%, black 40%, transparent 90%);
}

.hero-particles{
  position:absolute; inset:0; z-index:1; pointer-events:none;
}

.hero-inner{
  position:relative; z-index:2;
  max-width:1360px; width:100%; margin:0 auto;
  padding:0 clamp(24px,5vw,64px);
  display:grid; grid-template-columns:1.05fr .95fr; gap:40px;
  align-items:center;
}

.hero-index{
  display:flex; align-items:center; gap:10px;
  font-family:var(--font-mono);
  font-size:12px; color:var(--grey-2);
  margin-bottom:28px;
}
.idx-active{ color:var(--white); }
.idx-track{
  width:44px; height:1px; background:var(--line-strong); position:relative; overflow:hidden;
}
.idx-track i{ position:absolute; left:0; top:0; height:100%; width:26%; background:var(--accent-blue); display:block; }

/* HERO TITLE — sized down per request from the oversized spec value */
.hero-title{
  font-weight:800;
  font-size:clamp(2.2rem, 4.6vw, 4.4rem);
  line-height:1.03;
  letter-spacing:-1.5px;
  text-transform:uppercase;
}
.hero-title em{
  font-style:normal;
  background:var(--accent-grad);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.dynamic-text-wrapper {
  display: inline-block;
  vertical-align: top;
  position: relative;
  overflow: hidden;
  line-height: 1.05;
}
.hero-title .line{
  display:block;
  overflow:hidden;
}
.hero-title .line span{ display:block; }

.hero-desc{
  margin-top:26px;
  max-width:420px;
  font-size:16px; line-height:1.6;
  color:var(--grey-1);
}

.hero-actions{
  display:flex; gap:16px; margin-top:36px; flex-wrap:wrap;
}

.hero-footer-info {
  margin-top: 60px;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 14px 28px 14px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 100px;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
  backdrop-filter: blur(12px);
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}

.hero-footer-info:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.hfi-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hfi-logo-box {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(37,99,235,0.15), rgba(109,40,217,0.15));
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hfi-logo-box::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% { left: -100%; }
  20% { left: 200%; }
  100% { left: 200%; }
}

.hfi-mark {
  font-size: 13px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.5px;
}

.hfi-brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hfi-brand-text b {
  font-size: 14px;
  color: var(--white);
  font-weight: 600;
  letter-spacing: -0.2px;
}

.hfi-brand-text span {
  font-size: 12px;
  color: var(--grey-2);
  font-weight: 500;
}

.hfi-divider {
  width: 1px;
  height: 36px;
  background: var(--line-strong);
}

.hfi-tag {
  font-size: 13px;
  color: var(--grey-1);
  line-height: 1.5;
  font-weight: 500;
}

/* ---- Hero right: 3D workstation ---- */
.hero-right{ position:relative; height:560px; perspective:1500px; }

.workstation{
  position:absolute; inset:0;
  transform-style:preserve-3d;
  transition:transform .1s linear;
}

.w-layer{ position:absolute; transform-style:preserve-3d; }

.w-glow{
  left:50%; top:45%; width:420px; height:420px; transform:translate(-50%,-50%);
  background:radial-gradient(circle, rgba(139,92,246,0.22), transparent 70%);
  filter:blur(10px);
}

.w-panel{
  border-radius:12px;
  border:1px solid rgba(255,255,255,0.1);
  box-shadow:0 30px 60px -20px rgba(0,0,0,0.6);
  background:#0e0e10;
  overflow:hidden;
  transition:transform .5s var(--ease-soft);
  animation:floatY 7s ease-in-out infinite;
}

@keyframes floatY{
  0%,100%{ transform:translateY(0) translateZ(var(--tz,0)); }
  50%{ transform:translateY(-14px) translateZ(var(--tz,0)); }
}

.win-head{
  display:flex; align-items:center; gap:6px;
  padding:9px 12px; background:#161618; border-bottom:1px solid rgba(255,255,255,0.06);
  font-size:10px; color:var(--grey-2); font-family:var(--font-mono);
}
.win-head i{ width:8px; height:8px; border-radius:50%; background:#3a3a3d; }
.win-head span{ margin-left:6px; }
.win-head.light{ background:#eceef1; border-bottom-color:rgba(0,0,0,0.06); }
.win-head.light i{ background:rgba(0,0,0,0.12); }

.panel-code{
  width:300px; left:0; top:56%; --tz:20px; z-index:2; animation-delay:.2s;
}
.code-lines{ padding:16px; font-family:var(--font-mono); font-size:11px; line-height:1.9; color:#c7c7cc; }
.c-kw{ color:#8b5cf6; } .c-var{ color:#60a5fa; } .c-fn{ color:#f4d160; } .c-str{ color:#7ee6a8; }
.blink{ animation:blink 1s steps(2) infinite; color:#fff; }
@keyframes blink{ 50%{ opacity:0; } }

.panel-browser-dark{
  width:340px; left:34%; top:2%; --tz:60px; z-index:3; animation-delay:0s;
}
.browser-body.dark{ padding:26px 22px; background:linear-gradient(160deg,#111,#0a0a0c); position:relative; height:150px; }
.pb-eyebrow{ font-size:9px; letter-spacing:2px; color:var(--grey-2); margin-bottom:10px; }
.browser-body h4{ font-size:19px; font-weight:700; line-height:1.2; letter-spacing:-.5px; }
.pb-mesh{
  position:absolute; right:-20px; bottom:-30px; width:160px; height:120px;
  background:
    repeating-linear-gradient(0deg, rgba(37,99,235,0.5) 0 1px, transparent 1px 8px),
    repeating-linear-gradient(90deg, rgba(37,99,235,0.5) 0 1px, transparent 1px 8px);
  transform:rotate(-18deg) skewX(-8deg);
  mask-image:radial-gradient(circle, black, transparent 75%);
  opacity:.7;
}
.pb-mesh.small{ width:100px; height:80px; right:-10px; bottom:-20px; }

.panel-browser-light{
  width:230px; left:16%; top:34%; --tz:100px; z-index:5; animation-delay:.4s;
}
.browser-body.light{ padding:22px; background:#f4f2ee; height:96px; }
.browser-body.light h4{ color:#0c0c0c; font-size:16px; font-weight:700; line-height:1.25; letter-spacing:-.4px; }

.panel-small{
  width:190px; right:14%; top:56%; --tz:120px; z-index:6; animation-delay:.6s;
  background:#0a0a0c; padding:20px; position:absolute;
}
.panel-small p{ font-size:13px; font-weight:600; line-height:1.35; position:relative; z-index:2; }

.panel-tag{
  width:150px; right:0; top:24%; --tz:140px; z-index:7; animation-delay:.9s;
  background:#0a0a0c; padding:18px;
}
.panel-tag p{ font-size:14px; font-weight:700; line-height:1.35; }

@media (max-width:1080px){
  .hero-inner{ grid-template-columns:1fr; }
  .hero-right{ height:420px; margin-top:40px; }
  .hero-footer-info{ max-width:100%; }
}

.hero-scroll-cue{
  position:absolute; bottom:28px; right:clamp(24px,5vw,64px); z-index:3;
  display:flex; align-items:center; gap:10px;
  font-size:11px; letter-spacing:1px; color:var(--grey-2);
  text-transform:uppercase;
}
.hero-scroll-cue i{
  width:6px; height:6px; border-radius:50%; background:var(--accent-blue);
  animation:statusPulse 2s infinite;
}
@media (max-width:700px){ .hero-scroll-cue{ display:none; } }

/* ==========================================================================
   SHARED SECTION HEAD
   ========================================================================== */
.eyebrow{
  display:flex; align-items:center; gap:10px;
  font-size:12px; letter-spacing:1.5px; text-transform:uppercase; color:var(--grey-2);
  margin-bottom:20px;
}
.eyebrow-num{
  font-family:var(--font-mono); color:var(--accent-blue); font-weight:600;
}
.section-head{ margin-bottom:64px; }
.section-title{
  font-size:clamp(2rem,3.6vw,3.4rem);
  font-weight:800; letter-spacing:-1.5px; line-height:1.05;
}

/* Reveal utility (JS toggles .in-view) */
[data-reveal]{
  opacity:0; transform:translateY(28px);
  transition:opacity .9s var(--ease-soft), transform .9s var(--ease-soft);
}
[data-reveal].in-view{ opacity:1; transform:translateY(0); }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about{ padding:180px 0 140px; border-top:1px solid var(--line); position:relative; overflow:hidden;}
.about::before {
  content:''; position:absolute; top:-200px; right:-200px; width:600px; height:600px;
  background:radial-gradient(circle, rgba(37,99,235,0.08), transparent 70%);
  border-radius:50%; z-index:0; pointer-events:none;
}
.about .section-inner{ position:relative; z-index:1; }

.about-grid {
  display:grid; grid-template-columns: 1.1fr 0.9fr; gap:60px; margin-top:20px; align-items:center;
}

.about-text {
  display:flex; flex-direction:column; align-items:flex-start;
}

.about-desc {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--grey-1);
  margin-top: 24px;
  max-width: 480px;
}

.about-cta { margin-top: 40px; }

/* Bento Visuals */
.about-visuals {
  display:grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap:20px;
}

.bento-box {
  background:rgba(255,255,255,0.02);
  border:1px solid var(--line);
  border-radius:20px;
  padding:32px;
  position:relative;
  overflow:hidden;
  transition:transform 0.4s var(--ease-soft), background 0.4s;
}
.bento-box:hover {
  background:rgba(255,255,255,0.04);
  transform:translateY(-4px);
}

.bento-main {
  grid-column: 1 / -1;
  display:flex; justify-content:space-between; align-items:center;
  min-height: 200px;
  background:linear-gradient(145deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
}

.bento-glow {
  position:absolute; top:-50%; left:-50%; width:200%; height:200%;
  background:radial-gradient(circle at center, rgba(139,92,246,0.1) 0%, transparent 50%);
  opacity:0; transition:opacity 0.5s; pointer-events:none;
}
.bento-box:hover .bento-glow { opacity:1; }

.bento-content {
  display:flex; justify-content:space-between; align-items:center; width:100%; position:relative; z-index:2;
}

.bento-chart {
  display:flex; align-items:flex-end; gap:8px; height:80px;
}
.bento-chart .bar {
  width:12px; background:var(--accent-grad); border-radius:10px;
  animation: barGrow 2s var(--ease-soft) infinite alternate;
  transform-origin: bottom;
}
.bento-chart .bar:nth-child(2) { animation-delay: -0.4s; }
.bento-chart .bar:nth-child(3) { animation-delay: -0.8s; }
.bento-chart .bar:nth-child(4) { animation-delay: -1.2s; }
.bento-chart .bar:nth-child(5) { animation-delay: -1.6s; }

@keyframes barGrow {
  0% { transform: scaleY(0.4); opacity:0.6;}
  100% { transform: scaleY(1); opacity:1;}
}

.bento-sub1, .bento-sub2 {
  min-height: 160px;
  display:flex; flex-direction:column; justify-content:center;
}

.bento-sub1::before {
  content:''; position:absolute; inset:0; 
  background:radial-gradient(circle at top right, rgba(37,99,235,0.1), transparent 70%);
}

.bento-sub2::before {
  content:''; position:absolute; inset:0; 
  background:radial-gradient(circle at bottom left, rgba(109,40,217,0.1), transparent 70%);
}

.meta-col{ display:flex; flex-direction:column; gap:8px; position:relative; z-index:2; }
.meta-num{
  font-size:clamp(2.5rem,4vw,3.5rem); font-weight:800; letter-spacing:-1.5px;
  font-family:var(--font-mono);
  background:linear-gradient(to right, #fff, #a1a1aa); -webkit-background-clip:text; background-clip:text; color:transparent;
}
.meta-label{ font-size:14px; color:var(--grey-2); font-weight:500; }

@media (max-width:960px){
  .about-grid{ grid-template-columns:1fr; gap:50px; }
  .split-reveal{ max-width: 100%; }
}
@media (max-width:500px){
  .about-visuals{ grid-template-columns:1fr; }
  .bento-main .bento-content { flex-direction:column; gap:30px; align-items:flex-start; }
}

/* ==========================================================================
   FOUNDER & CEO
   ========================================================================== */
.founder {
  padding: 140px 0;
  border-top: 1px solid var(--line);
}

.founder-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.founder-image {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  aspect-ratio: 3/4;
}

.founder-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,12,0.8), transparent 50%);
  pointer-events: none;
}

.founder-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(20%) contrast(1.1);
  transition: transform 0.8s var(--ease-soft), filter 0.8s;
}

.founder-image:hover img {
  transform: scale(1.05);
  filter: grayscale(0%) contrast(1.1);
}

.founder-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.founder-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: var(--white);
  margin-top: 10px;
}

.founder-role {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-purple);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.founder-bio {
  margin-top: 32px;
  padding-left: 24px;
  border-left: 2px solid var(--accent-blue);
}

.founder-bio p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--grey-1);
  font-style: italic;
}

.founder-socials {
  margin-top: 40px;
  display: flex;
  gap: 24px;
}

.founder-socials a {
  font-size: 14px;
  font-weight: 600;
  color: var(--grey-2);
  transition: color 0.3s;
}

.founder-socials a:hover {
  color: var(--white);
}

@media (max-width: 960px) {
  .founder-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .founder-image {
    max-width: 400px;
    margin: 0 auto;
  }
}

/* ==========================================================================
   SERVICES (REDESIGNED BENTO SUITE)
   ========================================================================== */
.services {
  padding: 160px 0 140px;
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(37,99,235,0.07) 0%, rgba(139,92,246,0.04) 40%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.services .section-inner {
  position: relative;
  z-index: 1;
}

/* Services Header Wrap */
.services-header-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  margin-bottom: 64px;
}

.services-header-meta {
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.services-subtitle {
  font-size: 16px;
  line-height: 1.65;
  color: var(--grey-1);
}

.services-stats-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--grey-1);
  letter-spacing: 0.2px;
  backdrop-filter: blur(10px);
}

.service-meta-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-blue);
  box-shadow: 0 0 8px var(--accent-blue);
}

/* Grid Layout */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Base Service Card */
.service-card {
  background: rgba(12, 12, 15, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 36px 30px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
  transform-style: preserve-3d;
  will-change: transform;
}

/* Dynamic Spotlight Hover Layer */
.sc-spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.08), transparent 80%);
}

.service-card:hover .sc-spotlight {
  opacity: 1;
}

/* Micro Dot Pattern */
.sc-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}

/* Card Header */
.sc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  margin-bottom: 24px;
}

.sc-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}

.sc-icon-blue {
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.3);
  color: #60a5fa;
}
.sc-icon-purple {
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #c084fc;
}
.sc-icon-emerald {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}
.sc-icon-rose {
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid rgba(244, 63, 94, 0.3);
  color: #fb7185;
}
.sc-icon-amber {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fbbf24;
}
.sc-icon-fuchsia {
  background: rgba(236, 72, 153, 0.12);
  border: 1px solid rgba(236, 72, 153, 0.3);
  color: #f472b6;
}

.service-card:hover .sc-icon-wrap {
  transform: scale(1.08) translateY(-2px);
}

.sc-header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sc-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 4px 10px;
  border-radius: 100px;
  font-family: var(--font-mono);
  display: inline-flex;
  align-items: center;
}

.badge-blue { background: rgba(37, 99, 235, 0.15); color: #93c5fd; border: 1px solid rgba(59, 130, 246, 0.3); }
.badge-purple { background: rgba(139, 92, 246, 0.15); color: #d8b4fe; border: 1px solid rgba(139, 92, 246, 0.3); }
.badge-emerald { background: rgba(16, 185, 129, 0.15); color: #6ee7b7; border: 1px solid rgba(16, 185, 129, 0.3); }
.badge-rose { background: rgba(244, 63, 94, 0.15); color: #fda4af; border: 1px solid rgba(244, 63, 94, 0.3); }
.badge-amber { background: rgba(245, 158, 11, 0.15); color: #fde68a; border: 1px solid rgba(245, 158, 11, 0.3); }
.badge-fuchsia { background: rgba(236, 72, 153, 0.15); color: #fbcfe8; border: 1px solid rgba(236, 72, 153, 0.3); }

.sc-index {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--grey-2);
  font-weight: 500;
}

/* Card Body */
.sc-body {
  position: relative;
  z-index: 2;
  margin-bottom: 24px;
}

.sc-title {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.4px;
  line-height: 1.25;
  color: var(--white);
  transition: color 0.3s ease;
}

.sc-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--grey-1);
  margin-top: 10px;
  margin-bottom: 18px;
}

.sc-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 0;
  padding: 0;
}

.sc-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #e4e4e7;
  line-height: 1.4;
}

.sc-features li svg {
  flex-shrink: 0;
  color: var(--accent-blue);
  opacity: 0.9;
}

.service-card[data-service="ai"] .sc-features li svg { color: var(--accent-purple); }
.service-card[data-service="saas"] .sc-features li svg { color: #10b981; }
.service-card[data-service="design"] .sc-features li svg { color: #f43f5e; }
.service-card[data-service="automation"] .sc-features li svg { color: #f59e0b; }
.service-card[data-service="branding"] .sc-features li svg { color: #ec4899; }

/* ==========================================================================
   INTERACTIVE WIDGET CONTAINERS (THE BESPOKE SANDBOXES)
   ========================================================================== */
.sc-widget-container {
  position: relative;
  z-index: 2;
  background: rgba(5, 5, 8, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 16px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05), 0 10px 20px -10px rgba(0,0,0,0.5);
  transition: border-color 0.4s, transform 0.4s var(--ease);
}

.service-card:hover .sc-widget-container {
  border-color: rgba(255, 255, 255, 0.14);
}

/* --- Widget 1: Web Dev Code HUD --- */
.sc-widget-code-hud {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}

.widget-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.widget-dots {
  display: flex;
  gap: 5px;
}

.widget-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}
.widget-dots span:nth-child(1) { background: #ef4444; }
.widget-dots span:nth-child(2) { background: #f59e0b; }
.widget-dots span:nth-child(3) { background: #10b981; }

.widget-tab {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--grey-2);
}

.widget-metric-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 2px 7px;
  border-radius: 100px;
}

.score-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  color: #34d399;
}

.score-label {
  font-size: 9px;
  text-transform: uppercase;
  color: #6ee7b7;
  letter-spacing: 0.5px;
}

.widget-code-body {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  color: #d1d5db;
}

.code-line.indent { padding-left: 12px; }
.c-k { color: #818cf8; }
.c-v { color: #38bdf8; }
.c-f { color: #fbbf24; }
.c-p { color: #f472b6; }
.c-s { color: #34d399; }
.c-n { color: #f97316; }
.c-c { color: #6b7280; font-style: italic; }

.widget-live-pills {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}

.live-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--grey-1);
  display: flex;
  align-items: center;
  gap: 5px;
}

.dot-green {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
  animation: statusPulse 2s infinite;
}

/* --- Widget 2: AI Neural HUD --- */
.sc-widget-ai-hud {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}

.ai-stream-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ai-node-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #c084fc;
}

.pulse-ring {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a855f7;
  box-shadow: 0 0 8px #a855f7;
  animation: statusPulse 1.8s infinite;
}

.ai-model-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--grey-2);
  background: rgba(255, 255, 255, 0.04);
  padding: 2px 6px;
  border-radius: 4px;
}

.ai-prompt-box {
  background: rgba(139, 92, 246, 0.06);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 8px;
  padding: 8px 10px;
}

.ai-prompt-line {
  display: flex;
  align-items: center;
  gap: 8px;
}

.prompt-icon { font-size: 12px; }
.prompt-text {
  font-size: 11px;
  color: #e9d5ff;
  font-family: var(--font-mono);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ai-nodes-visual {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 4px;
}

.node {
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-mono);
  font-size: 10px;
  color: #f3e8ff;
  transition: all 0.3s;
}

.node.n-2 {
  background: rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.5);
  color: #fff;
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.3);
}

.node-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  position: relative;
  margin: 0 6px;
}

.node-packet {
  position: absolute;
  top: -2px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c084fc;
  box-shadow: 0 0 6px #c084fc;
  animation: movePacket 2.2s linear infinite;
}

.node-packet.delay { animation-delay: 1.1s; }

@keyframes movePacket {
  0% { left: 0%; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* --- Widget 3: SaaS HUD --- */
.sc-widget-saas-hud {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.saas-hud-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.saas-stat-box {
  display: flex;
  flex-direction: column;
}

.saas-stat-label {
  font-size: 10px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  color: var(--grey-2);
  letter-spacing: 0.5px;
}

.saas-stat-val {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.growth-val {
  font-style: normal;
  font-size: 11px;
  color: #34d399;
  font-weight: 600;
}

.saas-pulse-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 3px 8px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.saas-chart-visual {
  width: 100%;
  height: 48px;
  margin-top: 4px;
}

.sparkline-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.chart-ping-dot {
  animation: statusPulse 2s infinite;
}

/* --- Widget 4: UI/UX Design HUD --- */
.sc-widget-design-hud {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.design-canvas-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.canvas-tool-chip {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #fda4af;
  display: flex;
  align-items: center;
  gap: 5px;
}

.figma-cursor {
  width: 8px;
  height: 8px;
  border-left: 2px solid #f43f5e;
  border-top: 2px solid #f43f5e;
  transform: rotate(-45deg);
  display: inline-block;
}

.canvas-swatches {
  display: flex;
  gap: 4px;
}

.swatch {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.2s;
  cursor: pointer;
}
.swatch:hover { transform: scale(1.3); }
.swatch.c1 { background: #3b82f6; }
.swatch.c2 { background: #8b5cf6; }
.swatch.c3 { background: #f43f5e; }
.swatch.c4 { background: #10b981; }

.design-preview-stage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px 12px;
  margin-top: 6px;
}

.design-token-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.token-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.token-avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f43f5e, #fb923c);
}

.token-lines span {
  display: block;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  margin-bottom: 2px;
}
.token-lines span:nth-child(1) { width: 36px; }
.token-lines span:nth-child(2) { width: 22px; }

.token-metrics {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--grey-2);
  display: flex;
  gap: 8px;
}

.bezier-handle-box {
  width: 70px;
  height: 35px;
}

.bezier-svg {
  width: 100%;
  height: 100%;
}

/* --- Widget 5: Automation Pipeline HUD --- */
.sc-widget-auto-hud {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.auto-pipeline-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.auto-status-text {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #fde68a;
  display: flex;
  align-items: center;
  gap: 5px;
}

.dot-amber {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 6px #f59e0b;
  animation: statusPulse 1.9s infinite;
}

.auto-exec-time {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--grey-2);
}

.pipeline-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0 2px;
}

.p-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  padding: 6px 8px;
  min-width: 58px;
}

.p-icon { font-size: 13px; }
.p-label {
  font-family: var(--font-mono);
  font-size: 9px;
  color: #e4e4e7;
}

.p-connector {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  margin: 0 4px;
}

.p-pulse {
  position: absolute;
  top: -2px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fbbf24;
  box-shadow: 0 0 8px #fbbf24;
  animation: movePulse 2.4s linear infinite;
}

.p-pulse.delay-1 { animation-delay: 1.2s; }

@keyframes movePulse {
  0% { left: 0%; opacity: 0; }
  25% { opacity: 1; }
  75% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* --- Widget 6: Branding & Design System HUD --- */
.sc-widget-brand-hud {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.brand-specimen-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-glyph-box {
  display: flex;
  flex-direction: column;
}

.glyph-big {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #fff, #f472b6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.glyph-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--grey-2);
  margin-top: 4px;
}

.brand-mark-preview {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(236,72,153,0.2), rgba(99,102,241,0.2));
  border: 1px solid rgba(236,72,153,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(236,72,153,0.2);
}

.mono-letter {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #fff;
}

.brand-color-gradient-bar {
  display: flex;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.grad-stop { flex: 1; }
.grad-stop.s1 { background: #ec4899; }
.grad-stop.s2 { background: #8b5cf6; }
.grad-stop.s3 { background: #3b82f6; }
.grad-stop.s4 { background: #10b981; }

/* ==========================================================================
   CARD FOOTER (TAGS & MAGNETIC ACTION BUTTON)
   ========================================================================== */
.sc-footer {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 24px;
  position: relative;
  z-index: 2;
}

.sc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sc-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--grey-2);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 4px 10px;
  border-radius: 6px;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}

.service-card:hover .sc-tag {
  color: var(--grey-1);
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.sc-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.1px;
  text-decoration: none;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.sc-action-btn svg {
  transition: transform 0.3s var(--ease);
}

.sc-action-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.4);
}

.sc-action-btn:hover svg {
  transform: translateX(4px);
}

/* Service Card Hover Accents */
.service-card[data-service="web"]:hover {
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 20px 40px -15px rgba(59, 130, 246, 0.25);
}
.service-card[data-service="ai"]:hover {
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 20px 40px -15px rgba(139, 92, 246, 0.25);
}
.service-card[data-service="saas"]:hover {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 20px 40px -15px rgba(16, 185, 129, 0.25);
}
.service-card[data-service="design"]:hover {
  border-color: rgba(244, 63, 94, 0.4);
  box-shadow: 0 20px 40px -15px rgba(244, 63, 94, 0.25);
}
.service-card[data-service="automation"]:hover {
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 20px 40px -15px rgba(245, 158, 11, 0.25);
}
.service-card[data-service="branding"]:hover {
  border-color: rgba(236, 72, 153, 0.4);
  box-shadow: 0 20px 40px -15px rgba(236, 72, 153, 0.25);
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .services-header-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 48px;
  }
}

@media (max-width: 768px) {
  .services {
    padding: 100px 0 80px;
  }
  .service-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .service-card {
    padding: 28px 22px 24px;
  }
}

/* ==========================================================================
   WORK — HORIZONTAL SCROLL
   ========================================================================== */
.work{ padding:140px 0 0; border-top:1px solid var(--line); }
.work-head{ margin-bottom:56px; }

.work-track-wrap{
  position: relative;
  overflow: hidden;
  padding-bottom: 40px;
}
.work-track{
  display:flex; align-items:center; gap:28px;
  padding-left:clamp(24px,5vw,64px);
  padding-right:clamp(24px,5vw,64px);
  will-change:transform;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-controls {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 48px;
}

.work-btn {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-btn svg {
  width: 24px; height: 24px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-btn:hover {
  background: var(--white);
  color: var(--bg-0);
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(255,255,255,0.15);
}

.work-btn#workPrev:hover svg {
  transform: translateX(-4px);
}

.work-btn#workNext:hover svg {
  transform: translateX(4px);
}
.project-card{
  flex:0 0 auto;
  width:min(60vw, 560px);
}
.project-media{
  width:100%; aspect-ratio:16/10; border-radius:16px; overflow:hidden;
  border:1px solid var(--line);
  position:relative;
}
.project-ph{
  position:absolute; inset:0;
  transition:transform .6s var(--ease-soft);
}
.project-card:hover .project-ph{ transform:scale(1.05); }
.ph1{ background:linear-gradient(135deg,#111,#1b2140); }
.ph2{ background:linear-gradient(135deg,#151515,#1d2a24); }
.ph3{ background:linear-gradient(135deg,#141414,#241a34); }
.ph4{ background:linear-gradient(135deg,#101010,#131b2c); }
.ph5{ background:linear-gradient(135deg,#131313,#221729); }

.project-meta{ display:flex; justify-content:space-between; align-items:baseline; margin-top:20px; }
.project-meta h3{ font-size:19px; font-weight:700; letter-spacing:-.3px; }
.project-meta span{ font-size:12px; color:var(--grey-2); }

/* ==========================================================================
   STATS
   ========================================================================== */
.stats{ padding:120px 0; border-top:1px solid var(--line); position:relative; }

.stats-banner {
  background: rgba(10, 10, 12, 0.6);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 60px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02), 0 20px 40px -20px rgba(0,0,0,0.5);
  backdrop-filter: blur(20px);
  will-change: transform;
}

.stats-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.15;
  animation: gridMove 10s linear infinite;
  z-index: 0;
}
@keyframes gridMove {
  0% { background-position: 0 0; }
  100% { background-position: 40px 40px; }
}

.stats-glow {
  position: absolute;
  top: 50%; left: 0%;
  width: 150%; height: 150%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at center, rgba(139,92,246,0.15) 0%, transparent 40%);
  pointer-events: none;
  animation: orbSweep 8s ease-in-out infinite alternate;
}
@keyframes orbSweep {
  0% { left: 0%; transform: translate(-50%, -50%) scale(1); }
  100% { left: 100%; transform: translate(-50%, -50%) scale(1.3); }
}

.stat {
  text-align: center;
  position: relative;
  z-index: 1;
}

.stat:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 15%; right: 0;
  width: 1px; height: 70%;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.15), transparent);
}

.stat-num {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800; 
  letter-spacing: -2px;
  background: linear-gradient(to right, var(--accent-blue), var(--accent-purple), #38bdf8, var(--accent-blue));
  background-size: 300% 100%;
  -webkit-background-clip: text; 
  background-clip: text; 
  color: transparent;
  display: block;
  line-height: 1;
  text-shadow: 0 10px 30px rgba(37,99,235,0.2);
  animation: gradientShift 6s ease infinite;
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.stat-label { 
  font-size: 13px; 
  color: var(--white); 
  margin-top: 16px; 
  display: block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  opacity: 0.8;
}

@media (max-width:900px){
  .stats-banner { grid-template-columns: 1fr 1fr; gap: 40px 0; padding: 40px 20px; }
  .stat:nth-child(2n)::after { display: none; }
  .stat:nth-child(1)::after, .stat:nth-child(3)::after { top: 0; height: 100%; }
}
@media (max-width:500px){
  .stats-banner { grid-template-columns: 1fr; gap: 40px 0; }
  .stat::after { display: none !important; }
}

/* ==========================================================================
   TESTIMONIALS — INFINITE SLIDER
   ========================================================================== */
.testimonials{ padding:100px 0; border-top:1px solid var(--line); overflow:hidden; }
.t-slider-wrap{
  margin-top:20px;
  -webkit-mask-image:linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image:linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.t-slider{
  display:flex; gap:24px; width:max-content;
  animation:tScroll 36s linear infinite;
}
.t-slider:hover{ animation-play-state:paused; }
@keyframes tScroll{
  from{ transform:translateX(0); }
  to{ transform:translateX(-50%); }
}
.t-card {
  width: 420px; flex: 0 0 auto;
  background: linear-gradient(145deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.05), 0 10px 30px -10px rgba(0,0,0,0.5);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s, background 0.4s;
}

.t-card::before {
  content: '“';
  position: absolute;
  top: 10px; right: 20px;
  font-size: 140px;
  line-height: 1;
  font-family: Georgia, serif;
  color: rgba(255,255,255,0.03);
  pointer-events: none;
  z-index: 0;
}

.t-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,255,255,0.2);
  background: linear-gradient(145deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
}

.t-card p {
  position: relative;
  z-index: 1;
  font-size: 16px;
  line-height: 1.7;
  color: var(--white);
  min-height: 110px;
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.2px;
}

.t-person {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  font-size: 13px;
  color: var(--grey-1);
}

.t-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent-grad);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
  box-shadow: 0 4px 12px rgba(37,99,235,0.3);
  border: 2px solid rgba(255,255,255,0.1);
}

.t-person b {
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  display: block;
  margin-bottom: 2px;
}

/* ==========================================================================
   SCROLL REVEALS
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   INNER SERVICE PAGES — ULTRA LUXURY & ANIMATED ARCHITECTURE
   ========================================================================== */

/* Theme Variables for Each Service */
body.theme-web {
  --theme-primary: #2563eb;
  --theme-secondary: #8b5cf6;
  --theme-glow: rgba(37, 99, 235, 0.3);
  --theme-grad: linear-gradient(135deg, #2563eb 0%, #8b5cf6 100%);
  --theme-grad-text: linear-gradient(135deg, #ffffff 30%, #93c5fd 100%);
}

body.theme-ai {
  --theme-primary: #8b5cf6;
  --theme-secondary: #d946ef;
  --theme-glow: rgba(139, 92, 246, 0.3);
  --theme-grad: linear-gradient(135deg, #8b5cf6 0%, #d946ef 100%);
  --theme-grad-text: linear-gradient(135deg, #ffffff 30%, #e9d5ff 100%);
}

body.theme-saas {
  --theme-primary: #10b981;
  --theme-secondary: #06b6d4;
  --theme-glow: rgba(16, 185, 129, 0.3);
  --theme-grad: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  --theme-grad-text: linear-gradient(135deg, #ffffff 30%, #a7f3d0 100%);
}

body.theme-ui {
  --theme-primary: #f43f5e;
  --theme-secondary: #a855f7;
  --theme-glow: rgba(244, 63, 94, 0.3);
  --theme-grad: linear-gradient(135deg, #f43f5e 0%, #a855f7 100%);
  --theme-grad-text: linear-gradient(135deg, #ffffff 30%, #fecdd3 100%);
}

body.theme-auto {
  --theme-primary: #f59e0b;
  --theme-secondary: #f97316;
  --theme-glow: rgba(245, 158, 11, 0.3);
  --theme-grad: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
  --theme-grad-text: linear-gradient(135deg, #ffffff 30%, #fef3c7 100%);
}

body.theme-brand {
  --theme-primary: #ec4899;
  --theme-secondary: #8b5cf6;
  --theme-glow: rgba(236, 72, 153, 0.3);
  --theme-grad: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
  --theme-grad-text: linear-gradient(135deg, #ffffff 30%, #fbcfe8 100%);
}

/* Default fallback */
:root {
  --theme-primary: var(--accent-blue);
  --theme-secondary: var(--accent-purple);
  --theme-glow: rgba(37, 99, 235, 0.25);
  --theme-grad: var(--accent-grad);
  --theme-grad-text: linear-gradient(135deg, #ffffff 30%, #93c5fd 100%);
}

/* --- Service Page Navigation & Back Buttons --- */
.nav-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--grey-1);
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s var(--ease);
  text-decoration: none;
}
.nav-back-btn svg {
  transition: transform 0.3s var(--ease);
}
.nav-back-btn:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--theme-primary);
  transform: translateX(-3px);
  box-shadow: 0 6px 16px -6px var(--theme-glow);
}
.nav-back-btn:hover svg {
  transform: translateX(-3px);
}

.page-back-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--grey-1);
  margin-bottom: 20px;
  backdrop-filter: blur(12px);
  transition: all 0.3s var(--ease);
  text-decoration: none;
}
.page-back-badge svg {
  transition: transform 0.3s var(--ease);
}
.page-back-badge:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--theme-primary);
  transform: translateX(-4px);
  box-shadow: 0 8px 20px -6px var(--theme-glow);
}
.page-back-badge:hover svg {
  transform: translateX(-3px);
}

/* --- Luxury Page Hero --- */
.page-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 160px 0 100px;
  overflow: hidden;
  text-align: center;
  background: var(--bg-0);
}

.page-hero-glow {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 550px;
  background: radial-gradient(ellipse at center, var(--theme-glow) 0%, transparent 65%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.page-hero .hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 24px;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 25px -10px var(--theme-glow);
}

.page-hero-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--theme-primary);
  box-shadow: 0 0 10px var(--theme-primary);
  animation: statusPulse 2s infinite;
}

.page-title {
  font-size: clamp(2.8rem, 6.5vw, 5.6rem);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 24px;
  color: var(--white);
}

.page-title em {
  font-style: normal;
  background: var(--theme-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.page-desc {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--grey-1);
  line-height: 1.65;
  max-width: 720px;
  margin: 0 auto 40px;
}

.page-hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

/* Luxury Hero Metric Counters */
.page-hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 900px;
  margin-top: 10px;
}

.hero-metric-card {
  background: rgba(14, 14, 18, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 24px 20px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.4s var(--ease), border-color 0.4s;
}

.hero-metric-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
}

.metric-number {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -1px;
  background: var(--theme-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
  margin-bottom: 6px;
}

.metric-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.2px;
}

.metric-desc {
  font-size: 11px;
  color: var(--grey-2);
  margin-top: 4px;
  font-family: var(--font-mono);
}

/* --- Luxury Feature Bento Section --- */
.page-content {
  padding: 140px 0;
  position: relative;
  border-top: 1px solid var(--line);
}

.content-section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.content-section-head .eyebrow {
  justify-content: center;
}

.luxury-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 64px);
}

.luxury-feature-card {
  background: rgba(12, 12, 16, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 40px 36px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(24px);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
  will-change: transform;
}

.luxury-feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--theme-glow);
  box-shadow: 0 24px 48px -15px var(--theme-glow);
}

.lfc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.lfc-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--theme-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s var(--ease);
}

.luxury-feature-card:hover .lfc-icon {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.08);
}

.lfc-index {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--grey-2);
}

.luxury-feature-card h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
  color: var(--white);
}

.luxury-feature-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--grey-1);
  margin-bottom: 28px;
}

/* Feature Micro-Widget Inside Page Cards */
.lfc-widget {
  background: rgba(5, 5, 8, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 16px 18px;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
}

.lfc-widget-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lfc-widget-tag {
  color: var(--grey-2);
}

.lfc-widget-val {
  color: #34d399;
  font-weight: 600;
}

.lfc-bar-track {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.lfc-bar-fill {
  height: 100%;
  background: var(--theme-grad);
  border-radius: 2px;
}

/* --- Luxury Animated Process Timeline --- */
.process-section {
  padding: 140px 0;
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 64px);
  position: relative;
}

.process-card {
  background: rgba(14, 14, 18, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 40px 32px;
  position: relative;
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), border-color 0.4s;
}

.process-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.2);
}

.process-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.process-num-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}

.process-time-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--grey-2);
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 10px;
  border-radius: 100px;
}

.process-card h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.4px;
  margin-bottom: 12px;
  color: var(--white);
}

.process-card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--grey-1);
  margin-bottom: 24px;
}

.process-deliverables-list {
  list-style: none;
  padding: 0;
  margin: auto 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 18px;
}

.process-deliverables-list li {
  font-size: 13px;
  color: var(--grey-1);
  display: flex;
  align-items: center;
  gap: 8px;
}

.process-deliverables-list li i {
  color: var(--theme-primary);
  font-size: 10px;
}

/* --- Luxury Tech Stack & Ecosystem Section --- */
.tech-ecosystem-section {
  padding: 100px 0 140px;
  border-top: 1px solid var(--line);
}

.tech-badges-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

.tech-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--white);
  transition: all 0.3s var(--ease);
}

.tech-badge-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px -8px var(--theme-glow);
}

/* --- Luxury Obsidian Inner CTA --- */
.inner-cta {
  padding: 120px 0 140px;
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.inner-cta-box {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 48px;
  background: radial-gradient(ellipse at center, rgba(18, 18, 24, 0.95), rgba(8, 8, 10, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.8), 0 0 100px -30px var(--theme-glow);
}

.inner-cta-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 250px;
  background: radial-gradient(ellipse at top, var(--theme-glow) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.inner-cta-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
}

.inner-cta h2 {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
}

.inner-cta p {
  font-size: 17px;
  color: var(--grey-1);
  line-height: 1.65;
  margin-bottom: 40px;
}

.inner-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .luxury-feature-grid {
    grid-template-columns: 1fr;
  }
  .process-timeline {
    grid-template-columns: 1fr;
  }
  .page-hero-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-hero {
    min-height: auto;
    padding: 130px 0 80px;
  }
  .inner-cta-box {
    padding: 50px 24px;
    border-radius: 24px;
  }
  .luxury-feature-card {
    padding: 28px 22px;
  }
}

/* ==========================================================================
   TEAM
   ========================================================================== */
.team {
  position: relative;
  padding: 120px 0;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.team-bg-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}

.team .section-inner {
  position: relative;
  z-index: 1;
}

.team-header {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 60px;
  align-items: center;
  text-align: center;
}

@media (min-width: 900px) {
  .team-header {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    align-items: flex-start;
  }
}

.team-prefix {
  display: block;
  font-size: 20px;
  font-weight: 500;
  color: #38bdf8;
  letter-spacing: 4px;
  margin-bottom: 8px;
}

.team-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.1;
}

.team-desc {
  max-width: 500px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--grey-2);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 32px;
}

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}

.team-card {
  position: relative;
  border-radius: 20px;
  background: var(--bg-1);
  padding: 40px 24px;
  text-align: center;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05), 0 20px 40px -20px rgba(0,0,0,0.5);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1), 0 30px 60px -20px rgba(0,0,0,0.8);
}

/* Card custom backgrounds to mimic the tailwind dynamic colors */
.t-card-1 { background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(220,38,38,0.05) 100%); }
.t-card-2 { background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.05) 100%); }
.t-card-3 { background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(234,179,8,0.05) 100%); }

/* Animated Wave */
.team-wave {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  transform-origin: bottom;
  transform: scaleY(0);
  background: linear-gradient(to top, rgba(56,189,248,0.15), transparent);
  border-radius: 50% 50% 0 0;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 0;
}

.team-card:hover .team-wave {
  transform: scaleY(1);
}

.team-image-wrap {
  position: relative;
  width: 140px; height: 140px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid transparent;
  background: rgba(255,255,255,0.05);
  margin-bottom: 24px;
  z-index: 1;
  transition: border-color 0.4s, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card:hover .team-image-wrap {
  border-color: #38bdf8;
  transform: scale(1.05);
}

.team-image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card:hover .team-image-wrap img {
  transform: scale(1.1);
}

.team-name {
  position: relative;
  z-index: 1;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--white);
}

.team-role {
  position: relative;
  z-index: 1;
  font-size: 14px;
  color: var(--grey-2);
  margin-bottom: 20px;
}

.team-socials {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 16px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.team-card:hover .team-socials {
  opacity: 1;
  transform: translateY(0);
}

.team-socials a {
  color: var(--grey-2);
  transition: color 0.3s;
}

.team-socials a:hover {
  color: #38bdf8;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact{ padding:160px 0; border-top:1px solid var(--line); }
.contact-grid{
  display:grid; grid-template-columns:1.1fr .9fr; gap:60px;
}
.contact-title{
  font-size:clamp(2rem,4vw,3.6rem); font-weight:800; letter-spacing:-1.5px; line-height:1.08;
  margin-top:8px;
}
.contact-title .word{ color:var(--grey-2); display:inline-block; transition:color .6s var(--ease-soft); }
.contact-title .word.in-view{ color:var(--white); }

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.3s var(--ease);
}

.contact-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateX(8px);
}

.cc-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(37,99,235,0.1);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.wa-icon {
  background: rgba(34, 197, 94, 0.1); 
  color: #22c55e; 
}

.map-icon {
  background: rgba(139, 92, 246, 0.1);
  color: var(--accent-purple);
}

.contact-card:hover .cc-icon {
  background: var(--accent-blue);
  color: #fff;
  transform: scale(1.1);
}

.contact-card:hover .wa-icon {
  background: #22c55e;
  color: #fff;
}

.contact-card:hover .map-icon {
  background: var(--accent-purple);
  color: #fff;
}

.cc-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cc-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--grey-2);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cc-detail {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
}

.contact-form {
  display: flex; flex-direction: column; gap: 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 40px;
  border-radius: 24px;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5);
}
.field { display: flex; flex-direction: column; gap: 8px; position: relative; }
.field label { 
  font-size: 13px; font-weight: 500; 
  color: var(--grey-2); 
  transition: color 0.3s;
}
.field:focus-within label { color: var(--white); }

.field input, .field select, .field textarea {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 16px 20px;
  border-radius: 12px;
  font-family: inherit; font-size: 15px; color: var(--white);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
  transition: all 0.4s var(--ease);
}

.field input::placeholder, .field textarea::placeholder {
  color: var(--grey-2);
  transition: opacity 0.3s;
}

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent-purple);
  background: rgba(0,0,0,0.4);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.2), 0 0 0 4px rgba(139, 92, 246, 0.1);
  transform: translateY(-2px);
}

.field input:focus::placeholder, .field textarea:focus::placeholder {
  opacity: 0;
}

/* Budget input wrapper */
.budget-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.budget-prefix {
  position: absolute;
  left: 20px;
  color: var(--grey-1);
  font-size: 0.95rem;
  font-weight: 500;
  pointer-events: none;
  transition: color 0.2s ease;
  z-index: 1;
}

.budget-input-wrapper:focus-within .budget-prefix {
  color: var(--white);
}

.budget-input-wrapper input[type="number"] {
  padding-left: 36px !important;
  width: 100%;
}

/* Hide number input spinner arrows */
.budget-input-wrapper input[type="number"]::-webkit-inner-spin-button,
.budget-input-wrapper input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.budget-input-wrapper input[type="number"] {
  -moz-appearance: textfield;
}


/* Form Success & Validation */
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  padding: 40px;
  background: rgba(34, 197, 94, 0.05);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 16px;
  animation: fadeIn 0.5s ease forwards;
}

.success-icon {
  width: 48px;
  height: 48px;
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-success h4 { font-size: 20px; color: var(--white); margin-top: 8px; }
.form-success p { color: var(--grey-2); font-size: 14px; }

.form-error {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 14px;
  color: #fca5a5;
  font-size: 13.5px;
  line-height: 1.5;
  animation: fadeIn 0.4s ease forwards;
}

.form-error svg {
  flex-shrink: 0;
  color: #ef4444;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

input:invalid:not(:placeholder-shown),
textarea:invalid:not(:placeholder-shown) {
  border-color: rgba(239, 68, 68, 0.5);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.2), 0 0 0 2px rgba(239, 68, 68, 0.1);
}

.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.spinner { animation: rotate 2s linear infinite; }
.spinner .path {
  stroke: currentColor; stroke-linecap: round;
  animation: dash 1.5s ease-in-out infinite;
}
@keyframes rotate { 100% { transform: rotate(360deg); } }
@keyframes dash {
  0% { stroke-dasharray: 1, 150; stroke-dashoffset: 0; }
  50% { stroke-dasharray: 90, 150; stroke-dashoffset: -35; }
  100% { stroke-dasharray: 90, 150; stroke-dashoffset: -124; }
}

/* Form Button enhancements */
.contact-form .btn-primary {
  margin-top: 10px;
  padding: 18px;
  font-size: 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.contact-form .btn-primary::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.contact-form .btn-primary:hover::before {
  opacity: 1;
}

.contact-form .btn-primary:hover {
  box-shadow: 0 10px 20px -5px rgba(139, 92, 246, 0.4);
  transform: translateY(-2px);
}

@media (max-width:900px){
  .contact-grid{ grid-template-columns:1fr; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  position: relative;
  padding: 100px 0 40px;
  background: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.footer-glow {
  position: absolute;
  top: 0; left: 50%;
  width: 800px; height: 400px;
  background: radial-gradient(ellipse at top, rgba(37,99,235,0.15), transparent 70%);
  transform: translateX(-50%);
  pointer-events: none;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 80px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 80px;
}

.footer-mega-title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -2px;
  color: var(--white);
  line-height: 1;
}

.footer-mega-title span {
  color: var(--grey-2);
  font-style: italic;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
}

.brand-col .footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--white);
  text-decoration: none;
}
.footer-logo-img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  flex-shrink: 0;
}

.footer-desc {
  margin-top: 24px;
  color: var(--grey-1);
  line-height: 1.6;
  max-width: 320px;
  font-size: 15px;
}

.footer-col-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--grey-2);
  margin-bottom: 24px;
  font-weight: 600;
}

.footer-nav, .footer-social, .footer-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-nav a, .footer-social a, .footer-info p {
  color: var(--grey-1);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s;
}

.footer-nav a:hover, .footer-social a:hover {
  color: var(--white);
}

.footer-info p { color: var(--grey-2); }

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 32px;
  font-size: 13px;
  color: var(--grey-2);
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin-top: 40px;
}

.footer-social-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dotted rgba(255, 255, 255, 0.15);
  color: var(--grey-1);
  transition: all 0.3s var(--ease);
}

.social-icon:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.scroll-top-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  color: var(--bg-0);
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.scroll-top-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px -5px rgba(255, 255, 255, 0.3);
}

.made-with {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.heart-icon {
  color: #ef4444; /* red-500 */
  animation: pulseHeart 1.5s infinite;
}

@keyframes pulseHeart {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.author-link {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s;
}
.author-link:hover { color: var(--accent-purple); }

.brand-link {
  color: var(--grey-2);
  text-decoration: none;
  transition: color 0.3s;
}
.brand-link:hover { color: #ef4444; }

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-social-bar { flex-direction: column; gap: 24px; text-align: center; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

/* ==========================================================================
   MAGNETIC BUTTON HELPER (JS adds transform via style attr)
   ========================================================================== */
.magnetic{ will-change:transform; }

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; }
}

/* ==========================================================================
   MODERN HERO (Tailark Inspired)
   ========================================================================== */
.hm-inner {
  position: relative;
  width: 100%;
  padding-top: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 10;
}

.hm-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 900px;
}

.hm-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--white);
  text-transform: none;
}

/* Solo mode: only the dynamic word — make it massive */
.hm-title--solo {
  font-size: clamp(4rem, 12vw, 9rem);
  letter-spacing: -4px;
  line-height: 1;
}

.hm-title em {
  font-style: normal;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hm-desc {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--grey-1);
  line-height: 1.6;
  max-width: 600px;
  margin: 16px 0 28px;
  text-wrap: balance;
}

.hm-image-wrapper {
  margin-top: 15px;
  width: 100%;
  max-width: 980px;
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

.hm-perspective {
  perspective: 1400px;
  padding: 0 20px;
  position: relative;
  display: flex;
  justify-content: center;
}

.hm-image-container {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0d1117;
  box-shadow: 
    0 0 80px -20px rgba(37, 99, 235, 0.35),
    0 30px 70px -20px rgba(0, 0, 0, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  overflow: hidden;
  position: relative;
  transform: rotateX(10deg);
  transform-origin: center top;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
}

.hm-image-container:hover {
  transform: rotateX(0deg) translateY(-6px);
  box-shadow: 
    0 0 100px -15px rgba(37, 99, 235, 0.45),
    0 40px 80px -20px rgba(0, 0, 0, 0.95),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* Browser Mockup Chrome Header */
.hm-mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background: rgba(18, 22, 31, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.hm-window-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hm-window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot-close { background: #ff5f56; }
.dot-min { background: #ffbd2e; }
.dot-max { background: #27c93f; }

.hm-url-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--grey-2);
}

.hm-mockup-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #10b981;
}

.hm-mockup-tag .live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulseGlow 2s infinite;
}

.hm-image-frame {
  width: 100%;
  background: #151a24;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hm-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  opacity: 1;
  transition: transform 0.6s ease;
}

/* Floating Glass Badges */
.hm-float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: rgba(13, 17, 23, 0.88);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(37, 99, 235, 0.2);
  z-index: 20;
  pointer-events: auto;
  animation: floatSlow 4s ease-in-out infinite;
}

.hm-badge-left {
  left: -20px;
  bottom: 40px;
  animation-delay: 0s;
}

.hm-badge-right {
  right: -20px;
  top: 40px;
  animation-delay: -2s;
}

.hm-float-icon {
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
}

.hm-float-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.hm-float-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
}

.hm-float-sub {
  font-size: 0.72rem;
  color: var(--grey-2);
  font-family: var(--font-mono);
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 900px) {
  .hm-float-badge { display: none; }
  .hm-image-container { transform: rotateX(6deg); }
  .hm-image-wrapper { margin-top: 10px; }
}

@media (max-width: 600px) {
  .hm-image-container { transform: none; border-radius: 14px; }
  .hm-mockup-header { padding: 10px 14px; }
  .hm-url-bar { display: none; }
}

/* Partners */
.hm-partners {
  padding: 60px 0 120px;
  background: transparent;
  position: relative;
  z-index: 10;
}

.hm-partners-title {
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  color: var(--grey-2);
  margin-bottom: 50px;
}

.hm-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 48px 64px;
  max-width: 1000px;
  margin: 0 auto;
}

.hm-logos img {
  filter: invert(1) opacity(0.4);
  transition: opacity 0.3s var(--ease);
  height: auto;
  max-height: 24px;
}

.hm-logos img:hover {
  opacity: 1;
}

@media (max-width: 760px) {
  .hm-title { font-size: 3rem; }
}
/* ==========================================================================
   UNIQUE PAGE LAYOUTS
   ========================================================================== */
body.theme-ui .feature-grid {
  grid-template-columns: repeat(1, 1fr);
}
@media (min-width: 900px) {
  body.theme-ui .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

body.theme-brand .feature-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
body.theme-brand .feature-card {
  width: 100%;
  max-width: 800px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

body.theme-auto .feature-card:nth-child(even) {
  transform: translateY(40px);
}
body.theme-auto .feature-card:nth-child(even):hover {
  transform: translateY(36px);
}

/* ==========================================================================
   PROCESS & CTA SECTIONS (FOR INNER PAGES)
   ========================================================================== */
.process-section {
  padding: 120px 0;
  background: var(--bg-1);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 64px);
}

@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.process-step {
  position: relative;
  padding: 30px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), border-color 0.4s;
}

.process-step:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.08);
}

.step-num {
  font-size: 40px;
  font-weight: 800;
  font-family: var(--font-mono);
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 20px;
  display: block;
}

.process-step h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.process-step p {
  color: var(--grey-2);
  font-size: 14px;
  line-height: 1.6;
}

.inner-cta {
  padding: 160px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.inner-cta-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 64px);
  position: relative;
  z-index: 2;
}

.inner-cta h2 {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 24px;
}

.inner-cta p {
  font-size: 18px;
  color: var(--grey-1);
  margin-bottom: 40px;
  line-height: 1.6;
}

/* ==========================================================================
   HERO STAT CARDS
   ========================================================================== */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 1360px;
  margin: 60px auto 0;
  padding: 0 clamp(24px, 5vw, 64px);
}

@media (max-width: 768px) {
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

.hero-stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s, background 0.4s;
  backdrop-filter: blur(12px);
}

.hero-stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 20% 20%, rgba(37,99,235,0.06), transparent 70%);
  pointer-events: none;
}

.hero-stat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.055);
}

.hero-stat-num {
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 1;
  color: var(--white);
}

.hero-stat-num em {
  font-style: normal;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-stat-label {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--grey-2);
}

/* Inline stat grid (inside about section) � full width, no side margin */
.hero-stats-grid--inline {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
}

.about-stats {
  width: 100%;
}

/* ==========================================================================
   ANIMATED STAT CARDS (ABOUT SECTION)
   ========================================================================== */
.about-stats-animated {
  width: 100%;
  position: relative;
}

/* Flex Bento Accordion */
.stat-bento-grid {
  display: flex;
  gap: 20px;
  width: 100%;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-bento-col, .stat-center-showcase {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: flex 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s;
}

/* Adjustable Layout Interaction on Hover */
.stat-bento-grid:hover .stat-bento-col, 
.stat-bento-grid:hover .stat-center-showcase {
  flex: 0.8; /* Slightly shrink unhovered columns */
}

.stat-bento-grid .stat-bento-col:hover,
.stat-bento-grid .stat-center-showcase:hover {
  flex: 1.4; /* Expand the hovered column */
}

/* Card Containers */
.stat-card-animated {
  --mouse-x: 50%;
  --mouse-y: 50%;
  --rx: 0deg;
  --ry: 0deg;
  background: rgba(10, 10, 15, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 28px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 180px;
  backdrop-filter: blur(25px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  perspective: 1000px;
  transform-style: preserve-3d;
  transition: border-color 0.4s ease, background-color 0.4s ease, box-shadow 0.4s ease, transform 0.1s ease;
}

.stat-card-animated:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(15, 15, 25, 0.6);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Parallax Inner Wrapper */
.stat-inner-parallax {
  transform: translateZ(40px) scale(0.95);
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-card-animated:hover .stat-inner-parallax {
  transform: translateZ(60px) scale(1);
}

/* Mouse Glow Source */
.stat-glow {
  position: absolute;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.18) 0%, rgba(37, 99, 235, 0.06) 50%, transparent 100%);
  filter: blur(40px);
  opacity: 0;
  transform: translate(-50%, -50%);
  left: var(--mouse-x);
  top: var(--mouse-y);
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}
.stat-card-animated:hover .stat-glow {
  opacity: 1;
}

/* Dot Matrix Grid Pattern */
.stat-dot-matrix {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 16px 16px;
  background-position: var(--grid-offset-x, 0px) var(--grid-offset-y, 0px);
  opacity: 0.35;
  mix-blend-mode: overlay;
  pointer-events: none;
  transition: opacity 0.4s ease, background-position 0.1s ease;
  z-index: 0;
}
.stat-card-animated:hover .stat-dot-matrix {
  opacity: 0.65;
}

/* SVG Progress Rings */
.stat-ring {
  width: 76px;
  height: 76px;
  flex-shrink: 0;
  transform: rotate(-90deg) translateZ(10px);
  filter: drop-shadow(0 0 8px rgba(37, 99, 235, 0));
  transition: filter 0.4s ease;
}

.stat-card-animated:hover .stat-ring {
  filter: drop-shadow(0 0 12px rgba(99, 102, 241, 0.4));
}

.ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.04);
  stroke-width: 6;
}

.ring-fill {
  fill: none;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 264;
  stroke-dashoffset: 264;
  transition: stroke-dashoffset 2.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Individual Ring Colors */
.stat-1 .ring-fill { stroke: #38bdf8; } /* Azure */
.stat-2 .ring-fill { stroke: #8b5cf6; } /* Violet */
.stat-3 .ring-fill { stroke: #2563eb; } /* Royal Blue */
.stat-4 .ring-fill { stroke: #6d28d9; } /* Dark Purple */

/* Animate Stroke Fill when in-view */
.about-stats-animated.in-view .ring-fill {
  stroke-dashoffset: calc(264 - (264 * var(--percent)) / 100);
}

/* Stats Text Content */
.stat-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform: translateZ(20px);
}

.stat-card-animated .stat-num {
  font-size: clamp(2.2rem, 3.5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -2px;
  background: linear-gradient(135deg, #38bdf8 0%, #2563eb 45%, #6d28d9 75%, #8b5cf6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  display: inline-block;
}

.stat-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--grey-1);
  margin-top: 8px;
  opacity: 0.65;
}

/* --- Center Showcase Card (Unique Styling) --- */
.stat-card-showcase {
  padding: 0 !important;
  min-height: 380px;
  cursor: pointer;
}

.showcase-inner {
  gap: 0 !important;
  display: block !important;
  position: absolute;
  inset: 0;
  transform: translateZ(20px) scale(0.98);
}
.stat-card-showcase:hover .showcase-inner {
  transform: translateZ(40px) scale(1.02);
}

.stat-card-showcase .stat-glow {
  background: radial-gradient(circle, rgba(139, 92, 246, 0.28) 0%, rgba(37, 99, 235, 0.12) 50%, transparent 100%);
  z-index: 1;
}

.showcase-image-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  border-radius: 27px;
}

.showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
  opacity: 0.55;
  transform: scale(1.02);
}

.stat-card-showcase:hover .showcase-img {
  transform: scale(1.1) rotate(0.5deg);
  opacity: 0.85;
}

.showcase-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 36px 32px;
  width: 100%;
  background: linear-gradient(to top, rgba(5, 5, 8, 0.95) 0%, rgba(5, 5, 8, 0.4) 70%, transparent 100%);
  transform: translateZ(10px);
}

.showcase-badge {
  display: inline-block;
  background: rgba(37, 99, 235, 0.25);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.showcase-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.5px;
  opacity: 0.9;
}

/* Entrance Animations */
.stat-card-animated {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease, border-color 0.4s, background-color 0.4s, box-shadow 0.4s;
}

.about-stats-animated.in-view .stat-card-animated {
  opacity: 1;
  transform: translateY(0);
}

.about-stats-animated.in-view .stat-1 { transition-delay: 0ms; }
.about-stats-animated.in-view .stat-2 { transition-delay: 150ms; }
.about-stats-animated.in-view .stat-center-showcase { transition-delay: 300ms; }
.about-stats-animated.in-view .stat-3 { transition-delay: 450ms; }
.about-stats-animated.in-view .stat-4 { transition-delay: 600ms; }

/* Responsive Layout */
@media (max-width: 1100px) {
  .stat-bento-grid {
    flex-direction: column;
    gap: 16px;
  }
  .stat-bento-grid:hover .stat-bento-col, 
  .stat-bento-grid:hover .stat-center-showcase {
    flex: 1 !important; /* Disable accordion stretch on mobile/tablet */
  }
  .stat-center-showcase {
    min-height: 260px;
    order: 3; /* Move visual showcase to bottom */
  }
  .col-left {
    order: 1;
  }
  .col-right {
    order: 2;
  }
  .stat-bento-col {
    flex-direction: row;
    width: 100%;
    gap: 16px;
  }
  .stat-card-animated {
    width: 50%;
    min-height: 150px;
  }
}

@media (max-width: 640px) {
  .stat-bento-col {
    flex-direction: column;
  }
  .stat-card-animated {
    width: 100%;
    min-height: 130px;
    padding: 30px 24px;
  }
  .stat-ring {
    width: 64px;
    height: 64px;
  }
  .stat-card-showcase {
    min-height: 220px;
  }
}

/* ==========================================================================
   COMPREHENSIVE RESPONSIVE OVERHAUL — EVERY SCREEN SIZE
   Breakpoints: 1280, 1024, 860, 768, 600, 480, 380
   ========================================================================== */

/* --------------------------------------------------------------------------
   BASE MOBILE ENHANCEMENTS
   -------------------------------------------------------------------------- */
@media (max-width: 1280px) {
  .section-inner { max-width: 100%; }
  .hm-inner { padding-top: 120px; }
}

/* --------------------------------------------------------------------------
   NAVBAR — mobile polish
   -------------------------------------------------------------------------- */
@media (max-width: 860px) {
  .navbar { padding: 14px; }
  .nav-inner { padding: 10px 18px; gap: 0; }
  .nav-right .btn-primary { display: none; }

  /* Full-screen mobile menu */
  .mobile-menu {
    top: 0;
    padding-top: 80px;
    background: rgba(5,5,5,0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
  }
  .mobile-menu a {
    font-size: 28px;
    font-weight: 700;
    padding: 22px clamp(24px,5vw,40px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    letter-spacing: -0.5px;
    transition: color 0.3s, padding-left 0.3s;
  }
  .mobile-menu a:hover { color: var(--accent-blue); padding-left: calc(clamp(24px,5vw,40px) + 12px); }
  /* Burger → X animation */
  .nav-burger { z-index: 600; position: relative; }
  .nav-burger span {
    transition: transform 0.3s var(--ease), opacity 0.3s;
    transform-origin: center;
  }
  .nav-burger.open span:first-child { transform: translateY(3px) rotate(45deg); }
  .nav-burger.open span:last-child  { transform: translateY(-3px) rotate(-45deg); }
}

/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
@media (max-width: 860px) {
  .hero { padding-top: 80px; min-height: 100svh; }
  .hm-inner { padding-top: 100px; gap: 0; }
  .hm-content { gap: 16px; max-width: 100%; padding: 0 clamp(20px,5vw,40px); }
  .hm-title--solo {
    font-size: clamp(3rem, 11vw, 6rem);
    letter-spacing: -2px;
  }
  .hm-desc {
    font-size: 15px;
    margin: 12px 0 20px;
  }
  .hero-actions { gap: 12px; margin-top: 24px; }
  .hm-image-wrapper { margin-top: 40px; padding: 0 clamp(16px,4vw,32px); }
  .hm-perspective { padding: 0; }
  .hm-float-badge { display: none; }
  .hm-image-container { transform: rotateX(4deg); }
}

@media (max-width: 600px) {
  .hm-title--solo { font-size: clamp(2.6rem, 14vw, 4.5rem); letter-spacing: -1.5px; }
  .hm-image-container { transform: none; border-radius: 12px; }
  .hm-mockup-header { padding: 8px 12px; }
  .hm-url-bar { display: none; }
  .hm-mockup-tag span { display: none; }
}

@media (max-width: 380px) {
  .hm-title--solo { font-size: 2.4rem; }
  .hero-actions .btn { padding: 12px 18px; font-size: 12px; }
}

/* --------------------------------------------------------------------------
   ABOUT SECTION
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .about { padding: 120px 0 100px; }
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
}

@media (max-width: 768px) {
  .about { padding: 80px 0 70px; }
  .about-grid { gap: 40px; }
  .about-desc { font-size: 15px; max-width: 100%; }
}

@media (max-width: 600px) {
  .about { padding: 64px 0 60px; }
}

/* --------------------------------------------------------------------------
   FOUNDER SECTION
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .founder { padding: 100px 0; }
  .founder-grid { grid-template-columns: 1fr; gap: 48px; }
  .founder-image { max-width: 360px; margin: 0 auto; aspect-ratio: 3/4; }
  .founder-content { align-items: flex-start; }
}

@media (max-width: 600px) {
  .founder { padding: 64px 0; }
  .founder-title { font-size: clamp(2rem, 8vw, 3rem); }
  .founder-bio p { font-size: 15px; }
  .founder-image { max-width: 280px; }
  .founder-socials { gap: 16px; }
}

/* --------------------------------------------------------------------------
   SERVICES SECTION
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .services { padding: 100px 0 80px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .services-header-wrap { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 40px; }
  .services-header-meta { max-width: 100%; }
}

@media (max-width: 640px) {
  .services { padding: 64px 0 60px; }
  .service-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card { padding: 24px 20px 20px; }
  .sc-title { font-size: 18px; }
  .sc-widget-container { min-height: 120px; }
  /* Simplify AI node widget on small screens */
  .ai-nodes-visual { gap: 4px; }
  .node { padding: 3px 6px; font-size: 9px; }
  /* Hide complex pipeline on tiny screens */
  .pipeline-track { gap: 2px; }
  .p-node { min-width: 44px; padding: 5px 6px; }
  .p-label { font-size: 8px; }
}

@media (max-width: 480px) {
  .sc-header { flex-wrap: wrap; gap: 8px; }
  .sc-badge { font-size: 10px; }
  .sc-index { display: none; }
}

/* --------------------------------------------------------------------------
   WORK / PROJECT SLIDER
   -------------------------------------------------------------------------- */
@media (max-width: 860px) {
  .work { padding: 80px 0 0; }
  .work-head { margin-bottom: 36px; }
  .project-card { width: min(80vw, 420px); }
  .work-controls { margin-top: 32px; gap: 14px; }
  .work-btn { width: 52px; height: 52px; }
}

@media (max-width: 600px) {
  .work { padding: 60px 0 0; }
  .project-card { width: min(88vw, 340px); }
  .project-meta h3 { font-size: 16px; }
  .project-meta span { font-size: 11px; }
  .work-btn { width: 48px; height: 48px; }
  .work-track { gap: 16px; padding-left: 20px; padding-right: 20px; }
}

@media (max-width: 380px) {
  .project-card { width: 90vw; }
}

/* --------------------------------------------------------------------------
   TESTIMONIALS
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .testimonials { padding: 64px 0; }
  .t-card { width: 320px; padding: 28px 24px; }
  .t-card p { font-size: 14px; min-height: auto; }
  .t-person { margin-top: 20px; }
}

@media (max-width: 480px) {
  .t-card { width: 280px; padding: 24px 20px; }
  .t-card::before { font-size: 100px; }
}

/* --------------------------------------------------------------------------
   TEAM SECTION
   -------------------------------------------------------------------------- */
@media (max-width: 860px) {
  .team { padding: 80px 0; }
  .team-header { margin-bottom: 40px; }
  .team-title { font-size: clamp(28px, 6vw, 48px); }
  .team-desc { font-size: 15px; max-width: 100%; }
}

@media (max-width: 600px) {
  .team { padding: 60px 0; }
  .team-card { padding: 32px 20px; }
  .team-image-wrap { width: 120px; height: 120px; }
  .team-name { font-size: 18px; }
}

/* --------------------------------------------------------------------------
   CONTACT SECTION
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .contact { padding: 80px 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-title { font-size: clamp(1.8rem, 5vw, 2.8rem); }
}

@media (max-width: 600px) {
  .contact { padding: 60px 0; }
  .contact-form { padding: 28px 20px; gap: 18px; border-radius: 18px; }
  .contact-card { padding: 12px 16px; border-radius: 12px; }
  .cc-detail { font-size: 14px; }
  .cc-icon { width: 40px; height: 40px; border-radius: 10px; }
  .field input, .field textarea { padding: 14px 16px; font-size: 14px; }
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 60px; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 28px; padding-bottom: 60px; margin-bottom: 60px; }
  .footer-mega-title { font-size: clamp(2.2rem, 5vw, 4rem); }
}

@media (max-width: 760px) {
  .footer { padding: 64px 0 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 48px; }
  .footer-mega-title { font-size: clamp(1.8rem, 7vw, 3rem); }
  .footer-top { padding-bottom: 40px; margin-bottom: 40px; }
  .brand-col .footer-logo { font-size: 24px; }
  .footer-desc { font-size: 13px; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-social-bar { flex-direction: column; gap: 20px; align-items: flex-start; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; align-items: center; }
  .footer-top { gap: 20px; }
}

@media (max-width: 480px) {
  .footer { padding: 48px 0 24px; }
  .social-icons { gap: 12px; }
  .social-icon { width: 40px; height: 40px; border-radius: 10px; }
}

/* --------------------------------------------------------------------------
   SECTION PADDING — global tightening on small screens
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .about        { padding: 72px 0 64px; }
  .founder      { padding: 72px 0; }
  .services     { padding: 72px 0 60px; }
  .work         { padding: 72px 0 0; }
  .testimonials { padding: 72px 0; }
  .team         { padding: 72px 0; }
  .contact      { padding: 72px 0; }
  .footer       { padding: 64px 0 32px; }
  .section-head { margin-bottom: 40px; }
}

@media (max-width: 480px) {
  .about        { padding: 56px 0 48px; }
  .founder      { padding: 56px 0; }
  .services     { padding: 56px 0 48px; }
  .work         { padding: 56px 0 0; }
  .testimonials { padding: 56px 0; }
  .team         { padding: 56px 0; }
  .contact      { padding: 56px 0; }
  .section-title { font-size: clamp(1.6rem, 6vw, 2.4rem); }
  .section-head { margin-bottom: 32px; }
}

/* --------------------------------------------------------------------------
   BUTTONS — touch-friendly minimum size
   -------------------------------------------------------------------------- */
@media (max-width: 860px) {
  .btn { min-height: 44px; padding: 12px 22px; }
  .btn-lg { padding: 14px 26px; }
  .work-btn { min-width: 48px; min-height: 48px; }
  .scroll-top-btn { min-width: 44px; min-height: 44px; }
}

/* --------------------------------------------------------------------------
   INNER SERVICE PAGES — responsive fixes
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .luxury-feature-grid { grid-template-columns: 1fr; padding: 0 clamp(16px,5vw,40px); }
  .process-timeline { grid-template-columns: 1fr; }
  .page-hero-metrics { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .page-hero { padding: 110px 0 64px; min-height: auto; }
  .page-title { font-size: clamp(2rem, 8vw, 3.5rem); letter-spacing: -1px; }
  .page-desc { font-size: 15px; }
  .inner-cta-box { padding: 40px 20px; border-radius: 20px; }
  .inner-cta h2 { font-size: clamp(1.8rem, 5vw, 3rem); }
  .luxury-feature-card { padding: 28px 22px; }
  .process-card { padding: 28px 24px; }
  .page-hero-metrics { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}

@media (max-width: 600px) {
  .page-hero-metrics { grid-template-columns: 1fr; max-width: 340px; }
  .hero-metric-card { padding: 18px 16px; }
  .metric-number { font-size: 28px; }
  .page-hero-actions { flex-direction: column; align-items: center; }
  .page-hero-actions .btn { width: 100%; max-width: 280px; justify-content: center; }
  .tech-badges-grid { gap: 8px; padding: 0 16px; }
  .tech-badge-item { padding: 10px 16px; font-size: 12px; }
}

/* --------------------------------------------------------------------------
   STATS BANNER (if present on page)
   -------------------------------------------------------------------------- */
@media (max-width: 760px) {
  .stats { padding: 72px 0; }
  .stats-banner { grid-template-columns: 1fr 1fr; gap: 32px 0; padding: 36px 20px; border-radius: 18px; }
  .stat:nth-child(2)::after, .stat:nth-child(4)::after { display: none; }
}

@media (max-width: 480px) {
  .stats-banner { grid-template-columns: 1fr; gap: 28px; }
  .stat::after { display: none !important; }
}

/* --------------------------------------------------------------------------
   SCROLL PROGRESS — ensure it stays on top on mobile
   -------------------------------------------------------------------------- */
.scroll-progress { z-index: 9997; }

/* --------------------------------------------------------------------------
   WORK TRACK — touch drag support (set via JS, but ensure smooth feel)
   -------------------------------------------------------------------------- */
.work-track { touch-action: pan-x pinch-zoom; user-select: none; }
.work-track-wrap { touch-action: pan-x; -webkit-overflow-scrolling: touch; }

/* --------------------------------------------------------------------------
   VERY SMALL DEVICES (≤380px)
   -------------------------------------------------------------------------- */
@media (max-width: 380px) {
  .nav-inner { padding: 8px 14px; }
  .nav-logo { font-size: 16px; }
  .section-inner { padding: 0 16px; }
  .contact-form { padding: 22px 16px; }
  .founder-bio { padding-left: 16px; }
  .founder-bio p { font-size: 14px; }
  .team-card { padding: 28px 16px; }
  .footer-col-title { font-size: 10px; }
  .footer-nav a { font-size: 13px; }
}

/* --------------------------------------------------------------------------
   LANDSCAPE MOBILE — prevent hero overflow
   -------------------------------------------------------------------------- */
@media (max-height: 480px) and (orientation: landscape) {
  .hero { min-height: auto; padding: 80px 0 40px; }
  .hm-inner { padding-top: 70px; }
  .hm-title--solo { font-size: clamp(2.4rem, 8vw, 4rem); }
  .hm-image-wrapper { display: none; }
}

/* --------------------------------------------------------------------------
   SAFE AREA / NOTCH SUPPORT (iPhone X+)
   -------------------------------------------------------------------------- */
@supports (padding: max(0px)) {
  .navbar { padding-left: max(14px, env(safe-area-inset-left)); padding-right: max(14px, env(safe-area-inset-right)); }
  .section-inner { padding-left: max(clamp(16px,5vw,64px), env(safe-area-inset-left)); padding-right: max(clamp(16px,5vw,64px), env(safe-area-inset-right)); }
  .footer { padding-bottom: max(32px, env(safe-area-inset-bottom)); }
  .mobile-menu { padding-left: max(0px, env(safe-area-inset-left)); padding-right: max(0px, env(safe-area-inset-right)); }
}
