/* ===================================================
   DevFlow — Main Stylesheet
   =================================================== */

/* === VARIABLES === */
:root {
  --bg: #05050a;
  --bg2: #0a0a14;
  --bg3: #0f0f1e;
  --card: rgba(255,255,255,0.04);
  --card-h: rgba(255,255,255,0.07);
  --border: rgba(255,255,255,0.08);
  --border-h: rgba(255,255,255,0.18);

  --indigo: #6366f1;
  --cyan: #06b6d4;
  --purple: #a855f7;
  --pink: #ec4899;

  --t1: #f1f5f9;
  --t2: #94a3b8;
  --t3: #64748b;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
}

[data-theme="light"] {
  --bg: #f7f8fc;
  --bg2: #eef1f7;
  --bg3: #e5e9f3;
  --card: rgba(2,6,23,0.045);
  --card-h: rgba(2,6,23,0.075);
  --border: rgba(15,23,42,0.11);
  --border-h: rgba(15,23,42,0.22);
  --t1: #101827;
  --t2: #475569;
  --t3: #64748b;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; max-width: 100vw; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--t1);
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}
body.menu-open { overflow: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
img { max-width: 100%; display: block; }
input, textarea, select { font-family: inherit; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

/* === TYPOGRAPHY === */
h1,h2,h3,h4 {
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

/* === LAYOUT === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }

/* === LOADER === */
.loader {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; }
.loader-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--indigo), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
}
.loader-bar {
  width: 200px;
  height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}
.loader-progress,
.loader-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--indigo), var(--cyan));
  border-radius: 2px;
  transition: width 0.05s linear;
}
.loader-pct {
  margin-top: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--t3);
}

/* === CUSTOM CURSOR === */
.cursor {
  width: 8px; height: 8px;
  background: var(--indigo);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: transform 0.08s, background 0.2s;
  mix-blend-mode: normal;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(99,102,241,0.6);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%);
  transition: transform 0.18s ease, width 0.3s, height 0.3s, border-color 0.3s, opacity 0.3s;
}
body:hover .cursor-ring { opacity: 1; }
.cursor-ring.active { width: 52px; height: 52px; border-color: rgba(99,102,241,0.3); }

/* === NAV === */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: padding 0.3s, background 0.3s, backdrop-filter 0.3s, border-bottom 0.3s;
}
.nav.scrolled {
  padding: 12px 0;
  background: rgba(5,5,10,0.85);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--t1);
  transition: opacity 0.2s;
}
.nav-logo:hover { opacity: 0.8; }
.bracket { color: var(--indigo); }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-link {
  color: var(--t2); font-size: 14px; font-weight: 500;
  padding: 8px 14px; border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--t1); background: rgba(255,255,255,0.06); }
.nav-cta {
  color: var(--t1); font-size: 14px; font-weight: 600;
  padding: 9px 20px;
  background: var(--indigo);
  border-radius: 10px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  margin-left: 8px;
}
.nav-booking {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
}
.nav-cta:hover {
  background: #7c7ef5;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(99,102,241,0.35);
}
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--t1); border-radius: 2px; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  padding: 120px 24px 80px;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(100px);
  animation: orbFloat 20s ease-in-out infinite;
}
.orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(99,102,241,0.25), transparent 70%);
  top: -200px; left: -200px;
  animation-duration: 28s;
}
.orb-2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(6,182,212,0.2), transparent 70%);
  top: 50%; right: -200px;
  animation-duration: 22s;
  animation-delay: -8s;
}
.orb-3 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(168,85,247,0.18), transparent 70%);
  bottom: -100px; left: 35%;
  animation-duration: 32s;
  animation-delay: -14s;
}
@keyframes orbFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  25% { transform: translate(40px,-40px) scale(1.06); }
  50% { transform: translate(-25px,30px) scale(0.94); }
  75% { transform: translate(25px,15px) scale(1.03); }
}
.hero-grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 1;
  text-align: center; max-width: 860px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; color: var(--t2);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  padding: 7px 16px; border-radius: 100px;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}
.badge-pulse {
  width: 7px; height: 7px;
  background: #22c55e; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34,197,94,0.6);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.6); }
  50% { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
}
.hero-title {
  font-size: clamp(44px, 7vw, 84px);
  font-weight: 700; line-height: 1.08;
  margin-bottom: 24px;
  color: var(--t1);
}
.gradient-text {
  background: linear-gradient(135deg, var(--indigo) 0%, var(--cyan) 50%, var(--purple) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease-in-out infinite;
}
@keyframes gradientShift {
  0%,100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.rotating-wrapper {
  display: inline-block;
  position: relative;
  min-width: 400px;
}
.rotating-text {
  display: inline-block;
  animation: none;
}
.rotating-text.fade-out {
  animation: textFadeOut 0.3s ease forwards;
}
.rotating-text.fade-in {
  animation: textFadeIn 0.3s ease forwards;
}
@keyframes textFadeOut {
  to { opacity: 0; transform: translateY(-12px); }
}
@keyframes textFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--t2); line-height: 1.7;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 600;
  padding: 13px 28px; border-radius: 12px;
  transition: all 0.25s ease;
  position: relative; overflow: hidden;
  white-space: nowrap;
}
.btn::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.2s;
}
.btn:hover::after { background: rgba(255,255,255,0.06); }
.btn-primary {
  background: linear-gradient(135deg, var(--indigo), #818cf8);
  color: white;
  box-shadow: 0 4px 20px rgba(99,102,241,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(99,102,241,0.45);
}
.btn-ghost {
  color: var(--t2);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { color: var(--t1); border-color: var(--border-h); transform: translateY(-2px); }
.btn-white {
  background: white; color: #0a0a14;
  font-weight: 700;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(255,255,255,0.2); }
.btn-full { width: 100%; justify-content: center; }

/* Stats */
.hero-stats {
  display: flex; align-items: center; justify-content: center;
  gap: 40px; flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-val { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 36px; font-weight: 700; color: var(--t1); line-height: 1; margin-bottom: 4px; }
.stat-lbl { font-size: 13px; color: var(--t3); }
.stat-sep { width: 1px; height: 40px; background: var(--border); }

/* Scroll hint */
.hero-scroll-hint {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--t3); font-size: 12px;
  animation: scrollBob 2s ease-in-out infinite;
}
@keyframes scrollBob { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }
.scroll-mouse {
  width: 22px; height: 34px;
  border: 2px solid var(--t3);
  border-radius: 20px;
  display: flex; justify-content: center; padding-top: 6px;
}
.scroll-wheel {
  width: 3px; height: 8px;
  background: var(--t3); border-radius: 3px;
  animation: wheelScroll 2s ease-in-out infinite;
}
@keyframes wheelScroll { 0%,100% { opacity:1; transform: translateY(0); } 50% { opacity:0; transform: translateY(8px); } }

/* === MARQUEE === */
.marquee-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
  padding: 20px 0;
  display: flex; align-items: center; gap: 40px;
  overflow: hidden;
  contain: paint;
}
.marquee-label {
  font-size: 12px; font-weight: 600; color: var(--t3);
  text-transform: uppercase; letter-spacing: 0.08em;
  white-space: nowrap; padding-left: 40px;
  flex-shrink: 0;
}
.marquee-track { overflow: hidden; flex: 1; min-width: 0; max-width: 100%; position: relative; height: 22px; contain: paint; }
.marquee-inner {
  position: absolute; left: 0; top: 0;
  display: flex; align-items: center; gap: 28px;
  width: max-content;
  animation: marquee 30s linear infinite;
  font-size: 14px; font-weight: 500; color: var(--t2);
}
.mdot { color: var(--t3); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* === SECTION HEADER === */
.section-head { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block;
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--indigo);
  background: rgba(99,102,241,0.12);
  padding: 5px 14px; border-radius: 100px;
  margin-bottom: 16px;
}
.section-head h2 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700; color: var(--t1);
  margin-bottom: 14px;
}
.section-head p { font-size: 17px; color: var(--t2); }

/* === SERVICES === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.svc-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  position: relative; overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  display: flex; flex-direction: column;
}
.svc-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--indigo), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.svc-card:hover {
  border-color: rgba(99,102,241,0.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 0 1px rgba(99,102,241,0.15);
}
.svc-card:hover::before { opacity: 1; }
.svc-card.featured {
  border-color: rgba(99,102,241,0.5);
  background: linear-gradient(180deg, rgba(99,102,241,0.08), rgba(6,182,212,0.04));
}
.svc-badge {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--indigo);
  background: rgba(99,102,241,0.15);
  padding: 4px 10px; border-radius: 100px;
  margin-bottom: 16px;
  width: fit-content;
}
.svc-icon {
  width: 48px; height: 48px;
  background: rgba(99,102,241,0.12);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: background 0.3s;
}
.svc-card:hover .svc-icon { background: rgba(99,102,241,0.2); }
.svc-icon svg { width: 24px; height: 24px; color: var(--indigo); }
.svc-card h3 { font-size: 20px; font-weight: 700; color: var(--t1); margin-bottom: 10px; }
.svc-card p { font-size: 14px; color: var(--t2); line-height: 1.6; margin-bottom: 20px; flex: 1; }
.svc-card ul { margin-bottom: 24px; }
.svc-card ul li {
  font-size: 13px; color: var(--t2);
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
}
.svc-card ul li::before { content: '✓'; color: var(--indigo); font-weight: 700; font-size: 12px; }
.svc-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.svc-price { font-family: 'Space Grotesk', sans-serif; font-size: 15px; font-weight: 700; color: var(--t1); }
.svc-link { font-size: 13px; font-weight: 600; color: var(--indigo); transition: color 0.2s; }
.svc-link:hover { color: #818cf8; }

/* === PORTFOLIO === */
.portfolio-section { background: var(--bg2); }
.portfolio-filters {
  display: flex; gap: 8px; justify-content: center;
  margin-bottom: 40px; flex-wrap: wrap;
}
.pf-btn {
  font-size: 14px; font-weight: 500; color: var(--t2);
  padding: 9px 20px; border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  transition: all 0.2s;
}
.pf-btn:hover { color: var(--t1); border-color: var(--border-h); }
.pf-btn.active {
  color: white; background: var(--indigo);
  border-color: var(--indigo);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pf-item {
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  transition: border-color 0.3s, transform 0.3s;
}
.pf-card-link {
  display: block;
  height: 100%;
  color: inherit;
}
.pf-item:hover { border-color: var(--border-h); transform: translateY(-4px); }
.pf-item.pf-large { grid-column: span 2; }
.pf-item.pf-featured {
  grid-column: 1 / -1;
  background: linear-gradient(180deg, rgba(37,99,235,0.13), rgba(255,255,255,0.035));
  border-color: rgba(99,102,241,0.32);
}
.pf-img {
  height: 200px; position: relative;
  background: var(--g);
  overflow: hidden;
}
.pf-large .pf-img { height: 240px; }
.pf-featured .pf-img { height: clamp(300px, 38vw, 430px); }
.pf-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s;
}
.pf-item:hover .pf-overlay { opacity: 1; }
.pf-view {
  color: white; font-size: 15px; font-weight: 600;
  background: rgba(255,255,255,0.15);
  padding: 10px 22px; border-radius: 10px;
  backdrop-filter: blur(8px);
}
.pf-open-case {
  border: 1px solid rgba(255,255,255,0.18);
  cursor: pointer;
}
/* Browser mockup */
.browser-mock {
  margin: 16px 16px 0;
  background: rgba(0,0,0,0.3);
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  height: 100%;
}
.bm-bar {
  display: flex; align-items: center; gap: 5px;
  padding: 8px 12px;
  background: rgba(0,0,0,0.3);
}
.bm-bar i { display: block; width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.2); }
.bm-body { padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.bm-body.dashboard { flex-direction: row; gap: 8px; }
.bm-nav { height: 12px; background: rgba(255,255,255,0.12); border-radius: 4px; }
.bm-nav.dark { background: rgba(0,0,0,0.3); }
.bm-hero { height: 48px; background: rgba(255,255,255,0.15); border-radius: 6px; }
.bm-hero.tall { height: 70px; }
.bm-cards { display: flex; gap: 6px; }
.bm-cards > div { flex: 1; height: 28px; background: rgba(255,255,255,0.1); border-radius: 5px; }
.bm-features { display: flex; gap: 6px; }
.bm-features > div { flex: 1; height: 22px; background: rgba(255,255,255,0.1); border-radius: 5px; }
.bm-stats3 { display: flex; gap: 6px; }
.bm-stats3 > div { flex: 1; height: 20px; background: rgba(255,255,255,0.1); border-radius: 5px; }
.bm-cta { height: 20px; background: rgba(255,255,255,0.2); border-radius: 5px; width: 60%; margin: 0 auto; }
.bm-sidebar { width: 28%; height: 100%; background: rgba(0,0,0,0.25); border-radius: 6px; }
.bm-main { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.bm-chart { height: 60px; background: rgba(255,255,255,0.12); border-radius: 6px; }
.bm-table { flex: 1; background: rgba(255,255,255,0.08); border-radius: 6px; }
.bm-product { display: flex; gap: 8px; padding-top: 4px; }
.bm-prod-img { width: 48%; height: 60px; background: rgba(255,255,255,0.15); border-radius: 6px; }
.bm-prod-info { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.bm-prod-info > div { height: 12px; background: rgba(255,255,255,0.1); border-radius: 4px; }
.bm-form { height: 60px; background: rgba(255,255,255,0.1); border-radius: 6px; }
.bm-calendar { height: 50px; background: rgba(255,255,255,0.08); border-radius: 6px; margin-top: 4px; }
.pf-meta { padding: 24px; }
.pf-tag {
  display: inline-block; font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--indigo); background: rgba(99,102,241,0.12);
  padding: 4px 10px; border-radius: 6px; margin-bottom: 10px;
}
.pf-meta h3 { font-size: 18px; font-weight: 700; color: var(--t1); margin-bottom: 6px; }
.pf-meta p { font-size: 13px; color: var(--t2); line-height: 1.5; margin-bottom: 14px; }
.reference-shot {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px 16px 0;
}
.project-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.01);
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1), filter 0.5s ease;
}
.pf-item:hover .project-shot {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.03);
}
.pf-featured:hover .project-shot {
  transform: scale(1.025);
}
.project-shot-contained {
  object-fit: cover;
  object-position: center center;
}
.phone-reference {
  align-items: center;
  padding: 16px;
  background: var(--g);
}
.project-shot-phone {
  position: relative;
  inset: auto;
  width: min(58%, 210px);
  height: calc(100% - 12px);
  object-fit: cover;
  object-position: center top;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow: 0 26px 70px rgba(0,0,0,0.28);
  background: #fff7ed;
}
.pf-item:hover .project-shot-phone {
  transform: scale(1.035) translateY(-2px);
}
.pf-status {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  font-size: 10px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: white;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  padding: 6px 10px;
  backdrop-filter: blur(10px);
}
.pf-status.local-project { background: rgba(99,102,241,0.3); }
.pf-status.slot { background: rgba(6,182,212,0.24); }
.pf-gallery-strip {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 3;
  display: flex;
  gap: 8px;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(3,7,18,0.58);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 70px rgba(0,0,0,0.28);
}
.pf-gallery-strip img {
  width: 86px;
  height: 54px;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.18);
  opacity: 0.92;
}
.screenshot-frame {
  width: 100%;
  height: 100%;
  min-height: 170px;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  background: rgba(0,0,0,0.28);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 24px 70px rgba(0,0,0,0.24);
}
.pf-large .screenshot-frame { min-height: 208px; }
.shot-browser-bar {
  height: 24px;
  display: flex; align-items: center; gap: 6px;
  padding: 0 12px;
  background: rgba(0,0,0,0.26);
}
.shot-browser-bar i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
}
.shot-content {
  position: relative;
  height: calc(100% - 24px);
  min-height: 146px;
  padding: 18px;
  overflow: hidden;
}
.shot-content.electric { background: linear-gradient(160deg, rgba(15,23,42,0.22), rgba(59,130,246,0.32)); }
.shot-content.bouncy { background: linear-gradient(160deg, rgba(255,255,255,0.18), rgba(0,0,0,0.18)); }
.shot-content.neutral { background: linear-gradient(160deg, rgba(99,102,241,0.2), rgba(6,182,212,0.2)); }
.shot-nav, .shot-headline, .shot-subline, .shot-cta,
.shot-grid span, .shot-cards span, .shot-form,
.shot-app-top, .shot-kanban span, .shot-list i, .shot-table {
  background: rgba(255,255,255,0.18);
  border-radius: 7px;
}
.shot-nav { height: 12px; width: 74%; margin-bottom: 24px; }
.shot-headline { height: 52px; width: 62%; margin-bottom: 12px; }
.shot-headline.wide { width: 78%; }
.shot-subline { height: 14px; width: 48%; margin-bottom: 18px; }
.shot-cta { height: 24px; width: 118px; background: rgba(255,255,255,0.3); }
.shot-grid, .shot-cards { display: flex; gap: 8px; margin-top: 20px; }
.shot-grid span { flex: 1; height: 34px; }
.shot-grid.compact span { height: 48px; }
.shot-cards span { flex: 1; height: 52px; background: rgba(255,255,255,0.2); }
.shot-form { position: absolute; right: 18px; bottom: 18px; width: 34%; height: 74px; background: rgba(0,0,0,0.18); }
.floating-ball {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.32);
  box-shadow: 0 14px 28px rgba(0,0,0,0.16);
}
.floating-ball.b1 { width: 32px; height: 32px; right: 26px; top: 26px; }
.floating-ball.b2 { width: 22px; height: 22px; right: 98px; top: 70px; }
.floating-ball.b3 { width: 16px; height: 16px; left: 42px; bottom: 34px; }
.app-frame { background: rgba(3,7,18,0.36); }
.shot-app-shell {
  height: 100%;
  display: grid;
  grid-template-columns: 30% 1fr;
  min-height: 170px;
}
.shot-app-shell aside {
  background: rgba(0,0,0,0.25);
  border-right: 1px solid rgba(255,255,255,0.12);
}
.shot-app-shell main { padding: 16px; }
.shot-app-top { height: 24px; width: 78%; margin-bottom: 16px; }
.shot-kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.shot-kanban span { height: 74px; background: rgba(255,255,255,0.16); }
.shot-list { display: grid; gap: 7px; }
.shot-list i { display: block; height: 10px; }
.shot-list.small i { height: 14px; }
.shot-table { height: 76px; margin-bottom: 12px; background: rgba(255,255,255,0.14); }
.pf-highlights {
  display: grid;
  gap: 7px;
  margin: -2px 0 15px;
}
.pf-highlights li {
  position: relative;
  padding-left: 16px;
  color: var(--t2);
  font-size: 12px;
  line-height: 1.45;
}
.pf-highlights li::before {
  content: '';
  position: absolute; left: 0; top: 0.65em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(6,182,212,0.12);
}
.pf-actions { margin-top: 18px; }
.pf-featured-meta {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(270px, 0.84fr);
  gap: 30px;
  align-items: end;
}
.pf-featured-copy h3 {
  font-size: clamp(24px, 3vw, 38px);
  margin-bottom: 10px;
}
.pf-featured-copy p {
  max-width: 760px;
  font-size: 15px;
}
.pf-featured-details {
  border-left: 1px solid var(--border);
  padding-left: 28px;
}
.pf-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 9px 14px;
  border-radius: 10px;
  color: white;
  background: linear-gradient(135deg, var(--indigo), #818cf8);
  font-size: 12px;
  font-weight: 800;
}
.pf-card-action.disabled {
  color: var(--t2);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
}
.pf-card-button {
  border: 0;
  cursor: pointer;
}
.btn.disabled,
.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}
.btn.disabled:hover,
.btn[aria-disabled="true"]:hover {
  transform: none;
}
.pf-stats { display: flex; gap: 16px; }
.pf-stats span { font-size: 12px; font-weight: 600; color: var(--t3); }
.pf-stats span:first-child { color: #22c55e; }
.pf-item.hidden { display: none; }

/* === PROCESS === */
.process-section { overflow: hidden; }
.process-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
}
.process-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}
.process-card:hover { border-color: rgba(99,102,241,0.4); transform: translateY(-4px); }
.pc-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 40px; font-weight: 800;
  background: linear-gradient(135deg, var(--indigo), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}
.process-card h3 { font-size: 18px; font-weight: 700; color: var(--t1); margin-bottom: 8px; }
.process-card p { font-size: 13px; color: var(--t2); line-height: 1.6; }
.process-connector {
  width: 60px; height: 1px;
  background: linear-gradient(90deg, var(--indigo), var(--cyan));
  position: relative;
  flex-shrink: 0;
}
.process-connector::after {
  content: '›'; color: var(--cyan);
  position: absolute; right: -8px; top: -12px;
  font-size: 20px;
}

/* === ABOUT === */
.about-section { background: var(--bg2); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.about-text .section-tag { margin-bottom: 16px; display: inline-block; }
.about-text h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 700; color: var(--t1); margin-bottom: 20px; }
.about-lead { font-size: 17px; color: var(--t2); line-height: 1.7; margin-bottom: 16px; }
.about-text p { font-size: 15px; color: var(--t2); line-height: 1.7; margin-bottom: 32px; }
.about-values { display: flex; flex-direction: column; gap: 20px; }
.av-item {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 18px;
}
.av-icon { font-size: 22px; flex-shrink: 0; width: 40px; text-align: center; }
.av-item strong { display: block; font-size: 15px; font-weight: 700; color: var(--t1); margin-bottom: 2px; }
.av-item span { font-size: 13px; color: var(--t2); }
.team-cards { display: flex; flex-direction: column; gap: 20px; }
.team-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px;
  display: flex; gap: 20px; align-items: flex-start;
  position: relative; overflow: hidden;
  contain: paint;
  transition: border-color 0.3s, transform 0.3s;
}
.team-card:hover { border-color: rgba(99,102,241,0.4); transform: translateY(-3px); }
.tc-glow {
  position: absolute; top: -40px; right: -40px;
  width: 150px; height: 150px;
  background: var(--glow-c, rgba(99,102,241,0.15));
  border-radius: 50%; filter: blur(40px);
  pointer-events: none;
}
.tc-avatar {
  width: 64px; height: 64px; flex-shrink: 0;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px; font-weight: 800; color: white;
}
.tc-info h3 { font-size: 18px; font-weight: 700; color: var(--t1); margin-bottom: 4px; }
.tc-role { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--indigo); margin-bottom: 10px; display: block; }
.tc-info p { font-size: 13px; color: var(--t2); line-height: 1.5; margin-bottom: 14px; }
.tc-skills { display: flex; flex-wrap: wrap; gap: 6px; }
.tc-skills span {
  font-size: 11px; font-weight: 600;
  color: var(--t2);
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--border);
  padding: 3px 10px; border-radius: 6px;
}

/* === TESTIMONIALS === */
.testi-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.testi-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 32px;
  transition: border-color 0.3s, transform 0.3s;
}
.testi-card:hover { border-color: rgba(99,102,241,0.3); transform: translateY(-3px); }
.testi-stars { color: #f59e0b; font-size: 16px; margin-bottom: 16px; letter-spacing: 2px; }
.testi-card p { font-size: 15px; color: var(--t2); line-height: 1.7; margin-bottom: 24px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 14px; }
.ta-av {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; color: white; flex-shrink: 0;
}
.testi-author strong { display: block; font-size: 15px; font-weight: 700; color: var(--t1); }
.testi-author span { font-size: 12px; color: var(--t3); }

/* === CTA BANNER === */
.cta-banner {
  background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(6,182,212,0.1));
  border: 1px solid rgba(99,102,241,0.3);
  border-radius: var(--r-xl);
  padding: 72px 80px;
  text-align: center;
  position: relative; overflow: hidden;
  contain: paint;
}
.cta-orb {
  position: absolute; border-radius: 50%;
  filter: blur(70px); pointer-events: none;
}
.cta-orb-1 { width: 300px; height: 300px; background: rgba(99,102,241,0.25); top: -80px; left: -80px; }
.cta-orb-2 { width: 250px; height: 250px; background: rgba(6,182,212,0.2); bottom: -60px; right: -60px; }
.cta-content { position: relative; z-index: 1; }
.cta-banner h2 { font-size: clamp(28px, 4vw, 48px); font-weight: 700; color: var(--t1); margin-bottom: 14px; }
.cta-banner p { font-size: 17px; color: var(--t2); margin-bottom: 36px; max-width: 560px; margin-left: auto; margin-right: auto; line-height: 1.6; }

/* === CONTACT === */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 80px; align-items: flex-start;
}
.contact-left .section-tag { margin-bottom: 16px; display: inline-block; }
.contact-left h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 700; color: var(--t1); margin-bottom: 14px; }
.contact-left > p { font-size: 15px; color: var(--t2); line-height: 1.7; margin-bottom: 36px; }
.contact-items { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.ci {
  display: flex; align-items: center; gap: 16px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 18px;
  transition: border-color 0.2s, transform 0.2s;
  color: var(--t1);
}
.ci-button {
  width: 100%;
  text-align: left;
}
.ci:hover { border-color: var(--border-h); transform: translateX(4px); }
.ci-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(99,102,241,0.12); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.ci-icon svg { width: 18px; height: 18px; color: var(--indigo); }
.ci-label { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--t3); margin-bottom: 2px; }
.ci-val { font-size: 15px; font-weight: 600; color: var(--t1); }
.availability-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--t2);
  background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.2);
  padding: 8px 16px; border-radius: 100px;
}
.ab-dot { width: 7px; height: 7px; background: #22c55e; border-radius: 50%; flex-shrink: 0; animation: pulse 2s ease-in-out infinite; }

/* Form */
.contact-form {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 40px;
  display: flex; flex-direction: column; gap: 20px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--t2); }
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--t1);
  font-size: 14px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
  -webkit-appearance: none;
}
.form-group select { cursor: pointer; }
.form-group select option { background: #0f0f1e; color: var(--t1); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--t3); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}
.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* === FOOTER === */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 60px;
}
.footer-brand .nav-logo { margin-bottom: 14px; display: inline-block; }
.footer-brand p { font-size: 14px; color: var(--t3); line-height: 1.6; margin-bottom: 24px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 38px; height: 38px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--t3); transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.footer-socials a:hover { color: var(--t1); border-color: var(--border-h); background: var(--card-h); }
.footer-col h4 { font-size: 14px; font-weight: 700; color: var(--t1); margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 14px; color: var(--t3); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--t1); }
.footer-link-button {
  color: var(--t3);
  font-size: 14px;
  text-align: left;
  transition: color 0.2s;
}
.footer-link-button:hover { color: var(--t1); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--t3); flex-wrap: wrap; gap: 12px;
}

/* === TOAST === */
.toast {
  position: fixed; bottom: 30px; right: 30px; z-index: 9000;
  background: #1a1a2e; border: 1px solid rgba(34,197,94,0.4);
  color: var(--t1); font-size: 14px; font-weight: 500;
  padding: 14px 24px; border-radius: 12px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  transform: translateY(80px); opacity: 0;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), opacity 0.4s;
}
.toast svg { color: #22c55e; flex-shrink: 0; }
.toast.show { transform: translateY(0); opacity: 1; }

/* === COMPLETION LAYER === */
.noise-overlay {
  position: fixed; inset: 0; z-index: 1;
  pointer-events: none; opacity: 0.08;
  background-image: radial-gradient(rgba(255,255,255,0.45) 0.7px, transparent 0.7px);
  background-size: 4px 4px;
  mix-blend-mode: soft-light;
}
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 10001;
  height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--indigo), var(--cyan), var(--purple));
  box-shadow: 0 0 18px rgba(99,102,241,0.55);
}
.theme-toggle {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--t2);
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.theme-toggle:hover { color: var(--t1); border-color: var(--border-h); background: var(--card-h); }
.theme-toggle svg { width: 17px; height: 17px; }
.theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* === LIGHT THEME FIXES === */

/* Nav */
[data-theme="light"] .nav.scrolled {
  background: rgba(247,248,252,0.93);
  border-bottom-color: rgba(15,23,42,0.1);
}
[data-theme="light"] .nav-link:hover {
  background: rgba(15,23,42,0.06);
}
[data-theme="light"] .theme-toggle {
  background: rgba(15,23,42,0.05);
}
[data-theme="light"] .theme-toggle:hover {
  background: rgba(15,23,42,0.09);
}

/* Hero */
[data-theme="light"] .hero-badge {
  background: rgba(99,102,241,0.09);
}
[data-theme="light"] .hero-grid-overlay {
  background-image:
    linear-gradient(rgba(15,23,42,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,0.06) 1px, transparent 1px);
}

/* Loader */
[data-theme="light"] .loader-bar {
  background: rgba(15,23,42,0.1);
}

/* Cookie banner */
[data-theme="light"] .cookie-banner {
  background: rgba(255,255,255,0.97);
  border-color: rgba(15,23,42,0.12);
  box-shadow: 0 26px 90px rgba(0,0,0,0.14);
}
[data-theme="light"] .cookie-banner h2,
[data-theme="light"] .cookie-banner p,
[data-theme="light"] .cookie-banner a { color: var(--t1); }
[data-theme="light"] .cookie-btn-secondary {
  background: rgba(15,23,42,0.05);
  border-color: rgba(15,23,42,0.12);
  color: var(--t2);
}

/* Contact form */
[data-theme="light"] .form-group input,
[data-theme="light"] .form-group select,
[data-theme="light"] .form-group textarea {
  background: var(--bg);
}
[data-theme="light"] .form-group select option {
  background: var(--bg);
  color: var(--t1);
}

/* About - skills tags */
[data-theme="light"] .tc-skills span {
  background: rgba(15,23,42,0.06);
}

/* Portfolio hover border */
[data-theme="light"] .pf-item:hover {
  border-color: rgba(99,102,241,0.35);
}

/* Bento shine line */
[data-theme="light"] .bento-card::before {
  background: linear-gradient(90deg, transparent, rgba(15,23,42,0.12), transparent);
}

/* Toast */
[data-theme="light"] .toast {
  background: #ffffff;
  border-color: rgba(34,197,94,0.35);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

/* Modal */
[data-theme="light"] .modal-box {
  background: var(--bg2);
  border-color: var(--border-h);
}
[data-theme="light"] .modal-close:hover {
  background: var(--card-h);
}
[data-theme="light"] .case-modal-box {
  background: var(--bg);
}
[data-theme="light"] .modal-kicker {
  color: var(--indigo);
}

/* Bento card hover shadow */
[data-theme="light"] .bento-card:hover {
  box-shadow: 0 24px 70px rgba(0,0,0,0.1);
}

/* Portfolio ref shot overlay */
[data-theme="light"] .pf-overlay {
  background: rgba(0,0,0,0.45);
}

/* Portfolio stack tags */
[data-theme="light"] .pf-stack span {
  background: rgba(15,23,42,0.06);
}

/* Case modal thumbs */
[data-theme="light"] .case-thumbs button {
  background: rgba(15,23,42,0.05);
}
[data-theme="light"] .case-thumbs button:hover,
[data-theme="light"] .case-thumbs button.active {
  color: var(--indigo);
  background: rgba(99,102,241,0.12);
  border-color: rgba(99,102,241,0.4);
}
[data-theme="light"] .case-showcase {
  background: rgba(15,23,42,0.03);
}

/* Ghost button */
[data-theme="light"] .btn-ghost {
  background: rgba(15,23,42,0.04);
}

/* Portfolio disabled action */
[data-theme="light"] .pf-card-action.disabled {
  background: rgba(15,23,42,0.06);
}

/* Bento features tags */
[data-theme="light"] .bento-features span {
  background: rgba(15,23,42,0.06);
}

/* Legal pages */
[data-theme="light"] .legal-card {
  background: rgba(15,23,42,0.04);
}
[data-theme="light"] .legal-table div {
  background: rgba(15,23,42,0.03);
}

/* Calculator section */
[data-theme="light"] .calc-radio,
[data-theme="light"] .calc-check {
  background: rgba(15,23,42,0.04);
}
[data-theme="light"] .cc-box {
  background: rgba(15,23,42,0.06);
}

/* Pricing featured card */
[data-theme="light"] .pc-featured {
  background: linear-gradient(180deg, rgba(99,102,241,0.13), rgba(15,23,42,0.035));
}

.cookie-banner {
  position: fixed; left: 24px; bottom: 24px; z-index: 9200;
  width: min(680px, calc(100vw - 48px));
  display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: end;
  padding: 22px;
  background: rgba(10,10,20,0.92);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  backdrop-filter: blur(24px);
  box-shadow: 0 26px 90px rgba(0,0,0,0.42);
  transform: translateY(130%);
  transition: transform 0.45s cubic-bezier(0.22,1,0.36,1);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-content { min-width: 0; }
.cookie-eyebrow {
  display: block;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}
.cookie-content h2 {
  color: var(--t1);
  font-size: 19px;
  margin-bottom: 8px;
}
.cookie-content p { font-size: 13px; line-height: 1.65; color: var(--t2); margin-bottom: 12px; }
.cookie-links { display: flex; flex-wrap: wrap; gap: 12px; }
.cookie-links a {
  color: var(--t1);
  font-size: 12px;
  font-weight: 700;
  border-bottom: 1px solid var(--border-h);
}
.cookie-actions { display: grid; gap: 8px; min-width: 148px; }
.cookie-btn-secondary,
.cookie-btn-primary {
  padding: 11px 15px; border-radius: 10px;
  font-size: 13px; font-weight: 700; white-space: nowrap;
}
.cookie-btn-secondary { color: var(--t2); border: 1px solid var(--border); background: rgba(255,255,255,0.04); }
.cookie-btn-primary { color: white; background: var(--indigo); }
.trust-bar {
  padding: 34px 0;
  background: linear-gradient(180deg, var(--bg2), var(--bg));
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.trust-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  gap: 18px; align-items: center;
}
.trust-item { display: flex; align-items: center; gap: 14px; min-width: 0; }
.trust-icon {
  width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(99,102,241,0.11);
}
.trust-text strong { display: block; font-size: 14px; color: var(--t1); margin-bottom: 3px; }
.trust-text span { display: block; font-size: 12px; color: var(--t3); }
.trust-sep { width: 1px; height: 42px; background: var(--border); }
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.bento-card {
  min-height: 260px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.bento-card::before {
  content: '';
  position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.34), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99,102,241,0.36);
  box-shadow: 0 24px 70px rgba(0,0,0,0.28);
}
.bento-card:hover::before { opacity: 1; }
.bento-lg { grid-column: span 2; }
.bento-full { grid-column: 1 / -1; }
.bento-featured { background: linear-gradient(180deg, rgba(99,102,241,0.12), rgba(6,182,212,0.045)); border-color: rgba(99,102,241,0.36); }
.bento-horizontal { min-height: auto; display: grid; grid-template-columns: auto 1.2fr 1fr auto; gap: 24px; align-items: center; }
.bc-icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(99,102,241,0.12);
  color: var(--indigo);
  margin-bottom: 20px;
}
.bento-horizontal .bc-icon { margin-bottom: 0; }
.bc-icon svg { width: 24px; height: 24px; }
.bc-badge {
  position: absolute; top: 18px; right: 18px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--cyan); background: rgba(6,182,212,0.12);
  border: 1px solid rgba(6,182,212,0.22);
  padding: 5px 10px; border-radius: 999px;
}
.bento-card h3 { font-size: 21px; margin-bottom: 10px; }
.bento-card p { font-size: 14px; color: var(--t2); line-height: 1.65; }
.bc-body { flex: 1; }
.bc-list { margin-top: 18px; display: grid; gap: 9px; }
.bc-list li { color: var(--t2); font-size: 13px; padding-left: 18px; position: relative; }
.bc-list li::before { content: '✓'; position: absolute; left: 0; color: var(--cyan); font-weight: 800; }
.bc-footer {
  margin-top: 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.bc-price { font-family: 'Space Grotesk', sans-serif; font-size: 15px; font-weight: 800; color: var(--t1); }
.bc-link { color: var(--indigo); font-size: 13px; font-weight: 800; }
.bento-features { display: flex; flex-wrap: wrap; gap: 8px; }
.bento-features span {
  font-size: 12px; font-weight: 700; color: var(--t2);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  padding: 7px 10px; border-radius: 999px;
}
.tech-stack-section { padding: 54px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; }
.tech-label { text-align: center; color: var(--t3); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 24px; }
.tech-marquee-track { overflow: hidden; max-width: 100%; contain: paint; position: relative; height: 42px; }
.tech-marquee-inner { position: absolute; left: 0; top: 0; display: flex; gap: 12px; width: max-content; animation: marquee 34s linear infinite; }
.tech-chip {
  font-size: 13px; font-weight: 800;
  color: var(--t1);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 16px;
}
.pf-stack { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.pf-stack span {
  font-size: 11px; font-weight: 700; color: var(--t2);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  padding: 4px 9px; border-radius: 7px;
}

/* === LEGAL PAGES === */
.legal-page {
  cursor: auto;
  min-height: 100vh;
  background:
    radial-gradient(circle at 16% 0%, rgba(99,102,241,0.16), transparent 30%),
    radial-gradient(circle at 86% 12%, rgba(6,182,212,0.12), transparent 28%),
    var(--bg);
}
.legal-page a { color: var(--t1); border-bottom: 1px solid var(--border-h); }
.legal-shell {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 52px 0 80px;
}
.legal-back {
  display: inline-flex;
  align-items: center;
  color: var(--t2);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 34px;
}
.legal-hero {
  margin-bottom: 28px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border);
}
.legal-hero h1 {
  max-width: 760px;
  color: var(--t1);
  font-size: clamp(38px, 7vw, 72px);
  margin: 16px 0;
}
.legal-hero p {
  max-width: 720px;
  color: var(--t2);
  font-size: 17px;
  line-height: 1.75;
}
.legal-hero small {
  display: block;
  color: var(--t3);
  font-size: 13px;
  margin-top: 18px;
}
.legal-card {
  margin-top: 16px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: rgba(255,255,255,0.045);
}
.legal-card h2 {
  color: var(--t1);
  font-size: 22px;
  margin-bottom: 14px;
}
.legal-card p {
  color: var(--t2);
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 12px;
}
.legal-card p:last-child { margin-bottom: 0; }
.legal-list {
  display: grid;
  gap: 10px;
  margin: 12px 0 16px;
}
.legal-list li {
  position: relative;
  padding-left: 18px;
  color: var(--t2);
  font-size: 14px;
  line-height: 1.65;
}
.legal-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
}
.legal-table {
  display: grid;
  gap: 10px;
}
.legal-table div {
  display: grid;
  grid-template-columns: minmax(150px, 0.35fr) minmax(0, 0.65fr);
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255,255,255,0.035);
}
.legal-table strong {
  color: var(--t1);
  font-size: 14px;
}
.legal-table span {
  color: var(--t2);
  font-size: 13px;
  line-height: 1.6;
}
.portfolio-note {
  margin-top: 28px;
  padding: 22px 26px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(6,182,212,0.045));
  display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center;
}
.portfolio-note span { font-family: 'Space Grotesk', sans-serif; font-weight: 800; color: var(--t1); }
.portfolio-note p { color: var(--t2); font-size: 14px; line-height: 1.6; }
.pricing-section { background: var(--bg); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.pricing-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.pricing-card:hover { transform: translateY(-4px); border-color: rgba(99,102,241,0.35); box-shadow: 0 24px 70px rgba(0,0,0,0.28); }
.pc-featured { background: linear-gradient(180deg, rgba(99,102,241,0.13), rgba(255,255,255,0.035)); border-color: rgba(99,102,241,0.45); }
.pc-popular-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--indigo); color: white;
  font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 999px;
}
.pc-name { display: block; color: var(--indigo); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.pc-price { display: flex; align-items: flex-end; gap: 5px; margin-bottom: 12px; }
.pc-amount { font-family: 'Space Grotesk', sans-serif; font-size: 38px; font-weight: 800; color: var(--t1); letter-spacing: -0.04em; }
.pc-cur { color: var(--t3); font-weight: 700; margin-bottom: 7px; }
.pc-desc { color: var(--t2); line-height: 1.6; font-size: 14px; min-height: 68px; }
.pc-features { display: grid; gap: 12px; margin: 28px 0; flex: 1; }
.pc-features li { display: flex; gap: 10px; color: var(--t2); font-size: 14px; }
.pc-features .check { color: #22c55e; font-weight: 900; }
.pc-features .off { color: var(--t3); opacity: 0.6; }
.pricing-note { color: var(--t3); text-align: center; font-size: 13px; line-height: 1.6; margin-top: 24px; }
.calc-section { background: var(--bg2); }
.calc-wrapper { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 24px; align-items: start; }
.calc-form, .calc-result-inner {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 30px;
}
.calc-result { position: sticky; top: 96px; }
.calc-result-inner { background: linear-gradient(180deg, rgba(99,102,241,0.12), rgba(6,182,212,0.045)); }
.calc-step + .calc-step { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--border); }
.calc-step-title { display: flex; align-items: center; gap: 12px; font-size: 17px; margin-bottom: 16px; }
.step-num { color: var(--cyan); font-family: 'JetBrains Mono', monospace; font-size: 13px; }
.calc-radio-group, .calc-check-group { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.calc-radio, .calc-check {
  position: relative;
  display: block;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.035);
  border-radius: var(--r-md);
  padding: 15px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.calc-radio:hover, .calc-check:hover { border-color: var(--border-h); transform: translateY(-1px); }
.calc-radio.active, .calc-check.active { border-color: rgba(99,102,241,0.55); background: rgba(99,102,241,0.12); }
.calc-radio input, .calc-check input { position: absolute; opacity: 0; pointer-events: none; }
.cr-content { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: center; }
.cr-icon { grid-row: span 2; font-size: 20px; }
.cr-label, .cc-label { color: var(--t1); font-weight: 800; font-size: 14px; }
.cr-price, .cc-price { color: var(--t3); font-size: 12px; font-weight: 700; }
.calc-check { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; }
.cc-box {
  width: 18px; height: 18px; border-radius: 5px;
  border: 1px solid var(--border-h);
  background: rgba(255,255,255,0.04);
}
.calc-check.active .cc-box { background: var(--indigo); border-color: var(--indigo); box-shadow: inset 0 0 0 4px rgba(255,255,255,0.22); }
.cr-label-sm { color: var(--t3); text-transform: uppercase; letter-spacing: 0.1em; font-size: 12px; font-weight: 800; }
.calc-price-display { font-family: 'Space Grotesk', sans-serif; font-size: clamp(34px, 4vw, 46px); font-weight: 800; letter-spacing: -0.04em; margin: 8px 0 4px; }
.calc-price-range, .calc-note { color: var(--t2); font-size: 13px; line-height: 1.6; }
.calc-divider { height: 1px; background: var(--border); margin: 22px 0; }
.calc-breakdown { display: grid; gap: 10px; }
.cb-item { display: flex; justify-content: space-between; gap: 16px; color: var(--t2); font-size: 13px; }
.cb-item span:last-child { color: var(--t1); font-weight: 800; }
.calc-features { display: grid; gap: 7px; margin-top: 18px; color: var(--t3); font-size: 12px; }
.pc-tag {
  display: inline-flex; margin-top: 16px;
  color: var(--cyan); background: rgba(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.16);
  padding: 6px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 800;
}
.blog-section { background: var(--bg2); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.blog-card {
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1px solid var(--border);
  transition: transform 0.3s, border-color 0.3s;
}
.blog-card:hover { transform: translateY(-4px); border-color: rgba(99,102,241,0.34); }
.blog-img { height: 150px; position: relative; }
.blog-cat {
  position: absolute; left: 18px; bottom: 18px;
  color: white; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em;
  background: rgba(0,0,0,0.28); padding: 6px 10px; border-radius: 999px; backdrop-filter: blur(8px);
}
.blog-body { padding: 24px; }
.blog-meta { display: flex; gap: 12px; flex-wrap: wrap; color: var(--t3); font-size: 12px; font-weight: 700; margin-bottom: 12px; }
.blog-body h3 { font-size: 18px; margin-bottom: 10px; }
.blog-body p { color: var(--t2); font-size: 14px; line-height: 1.6; margin-bottom: 18px; }
.blog-link { color: var(--indigo); font-size: 13px; font-weight: 800; }
.cta-badge {
  display: inline-flex;
  color: var(--cyan); background: rgba(6,182,212,0.14);
  border: 1px solid rgba(6,182,212,0.22);
  border-radius: 999px; padding: 6px 12px;
  font-size: 12px; font-weight: 800; margin-bottom: 18px;
}
.cta-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.btn-ghost-white {
  color: white; border: 1px solid rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
}
.btn-ghost-white:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.46); }
.faq-section { background: var(--bg); }
.faq-grid { max-width: 900px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--r-md);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  padding: 20px 22px;
  color: var(--t1);
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  text-align: left;
  font-size: 15px; font-weight: 800;
}
.faq-arrow { width: 18px; height: 18px; color: var(--t3); flex-shrink: 0; transition: transform 0.25s; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.32s ease; }
.faq-a p { padding: 0 22px 20px; color: var(--t2); font-size: 14px; line-height: 1.7; }
.form-note { color: var(--t3); font-size: 12px; line-height: 1.55; }
.form-note a { color: var(--t2); border-bottom: 1px solid var(--border-h); }
.footer-contact-quick { margin-top: 24px; display: grid; gap: 8px; }
.footer-contact-quick a { color: var(--t3); font-size: 14px; }
.whatsapp-btn, .back-top {
  position: fixed; right: 24px; z-index: 8500;
  width: 54px; height: 54px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 16px 38px rgba(0,0,0,0.32);
}
.whatsapp-btn {
  bottom: 94px;
  background: linear-gradient(135deg, var(--indigo), var(--cyan));
}
.wa-tooltip {
  position: absolute; right: 64px;
  background: #111827; color: white;
  padding: 7px 10px; border-radius: 8px;
  font-size: 12px; font-weight: 800; white-space: nowrap;
  opacity: 0; transform: translateX(8px);
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
}
.whatsapp-btn:hover .wa-tooltip { opacity: 1; transform: translateX(0); }
.back-top {
  bottom: 24px;
  background: var(--card-h);
  border: 1px solid var(--border-h);
  color: var(--t1);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.25s, visibility 0.25s, transform 0.25s;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.modal {
  position: fixed; inset: 0; z-index: 9300;
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.modal.open { display: flex; }
.modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.64); backdrop-filter: blur(10px); }
.modal-box {
  position: relative; z-index: 1;
  max-width: 520px; width: 100%;
  background: #0a0a14;
  border: 1px solid var(--border-h);
  border-radius: var(--r-xl);
  box-shadow: 0 30px 100px rgba(0,0,0,0.55);
  overflow: hidden;
}
.modal-header {
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 22px 24px; border-bottom: 1px solid var(--border);
}
.modal-header h3 { font-size: 20px; }
.modal-close { color: var(--t2); width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.modal-close:hover { color: var(--t1); background: rgba(255,255,255,0.06); }
.modal-close svg { width: 20px; height: 20px; }
.modal-body { padding: 24px; }
.modal-body p { color: var(--t2); line-height: 1.65; margin-bottom: 14px; }
.modal-body ul { display: grid; gap: 8px; color: var(--t2); font-size: 14px; margin: 12px 0 22px; }
.modal-actions { margin-top: 18px; }
.booking-modal-box {
  max-width: min(1180px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  background:
    radial-gradient(circle at 12% 8%, rgba(99,102,241,0.12), transparent 34%),
    radial-gradient(circle at 92% 18%, rgba(6,182,212,0.12), transparent 30%),
    #f8fafc;
  border-color: rgba(15,23,42,0.12);
}
.booking-modal-box .modal-header {
  background: rgba(255,255,255,0.84);
  border-bottom-color: rgba(15,23,42,0.1);
}
.booking-modal-box .modal-header h3 {
  color: #0f172a;
}
.booking-modal-box .modal-kicker {
  color: #4f46e5;
}
.booking-modal-box .modal-close {
  color: #475569;
  background: rgba(15,23,42,0.04);
  border: 1px solid rgba(15,23,42,0.1);
}
.booking-modal-box .modal-close:hover {
  color: #0f172a;
  background: rgba(15,23,42,0.08);
}
.booking-body {
  padding: 0;
}
.booking-shell {
  display: grid;
  grid-template-columns: minmax(300px, 0.42fr) minmax(0, 0.58fr);
  gap: 0;
  min-height: min(720px, calc(100vh - 165px));
}
.booking-summary {
  padding: 32px;
  border-right: 1px solid rgba(15,23,42,0.1);
  background:
    linear-gradient(180deg, rgba(238,242,255,0.95), rgba(240,249,255,0.78)),
    #ffffff;
  display: flex;
  flex-direction: column;
}
.booking-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: #3730a3;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 800;
}
.booking-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 5px rgba(34,197,94,0.13);
}
.booking-summary h4 {
  color: #0f172a;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
  margin: 24px 0 14px;
  max-width: 420px;
}
.booking-summary p {
  color: #475569;
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 22px;
}
.booking-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 6px 0 24px;
}
.booking-mini-grid div {
  min-width: 0;
  border: 1px solid rgba(15,23,42,0.12);
  border-radius: 12px;
  padding: 12px;
  background: rgba(255,255,255,0.78);
}
.booking-mini-grid strong {
  display: block;
  color: #0f172a;
  font-size: 15px;
  margin-bottom: 4px;
}
.booking-mini-grid span {
  display: block;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
}
.booking-checks {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
}
.booking-checks li {
  position: relative;
  color: #334155;
  font-size: 13px;
  line-height: 1.5;
  padding-left: 22px;
}
.booking-checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 5px rgba(6,182,212,0.1);
}
.booking-note {
  margin-top: auto;
  color: #334155;
  border: 1px solid rgba(14,165,233,0.28);
  background: rgba(240,249,255,0.88);
  border-radius: 14px;
  padding: 14px;
  font-size: 12px;
  line-height: 1.55;
}
.booking-widget {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #ffffff;
}
.booking-widget-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(15,23,42,0.1);
  background: #ffffff;
}
.booking-widget-head span {
  display: block;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 3px;
}
.booking-widget-head strong {
  display: block;
  color: #0f172a;
  font-size: 16px;
}
.booking-open-link {
  flex-shrink: 0;
  color: #312e81;
  border: 1px solid #c7d2fe;
  background: #eef2ff;
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 800;
  transition: border-color 0.2s, background 0.2s;
}
.booking-open-link:hover {
  border-color: #818cf8;
  background: #e0e7ff;
}
.calendly-frame {
  display: block;
  width: 100%;
  flex: 1;
  height: auto;
  min-height: 610px;
  border: 0;
  background: #fff;
}
.booking-fallbacks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 16px;
  border-top: 1px solid rgba(15,23,42,0.1);
  background: #f8fafc;
}
.booking-fallback {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 58px;
  border: 1px solid rgba(15,23,42,0.12);
  border-radius: 12px;
  padding: 12px 14px;
  background: #ffffff;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.booking-fallback:hover {
  border-color: #818cf8;
  background: #eef2ff;
  transform: translateY(-1px);
}
.booking-fallback span {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.booking-fallback strong {
  color: #0f172a;
  font-size: 13px;
  text-align: right;
}
.modal-kicker {
  display: block;
  color: var(--indigo);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 4px;
}
.case-modal {
  align-items: center;
}
.case-modal-box {
  max-width: min(1120px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
}
.case-body {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(320px, 0.84fr);
  gap: 24px;
  align-items: start;
}
.case-showcase {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: rgba(255,255,255,0.035);
}
.case-showcase img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center top;
  background: #111827;
}
.case-showcase p {
  margin: 0;
  padding: 14px 16px;
  font-size: 13px;
  color: var(--t2);
  border-top: 1px solid var(--border);
}
.case-content h4 {
  color: var(--t1);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.1;
  margin-bottom: 12px;
}
.case-points {
  display: grid;
  gap: 8px;
  margin: 16px 0 20px;
}
.case-points li {
  position: relative;
  padding-left: 16px;
  color: var(--t2);
  font-size: 13px;
  line-height: 1.5;
}
.case-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
}
.case-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.case-thumbs button {
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.045);
  color: var(--t2);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.case-thumbs button:hover,
.case-thumbs button.active {
  color: white;
  border-color: rgba(99,102,241,0.55);
  background: rgba(99,102,241,0.18);
}

/* === REVEAL ANIMATIONS === */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].visible {
  opacity: 1;
  transform: none;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-sep { display: none; }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-horizontal { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .calc-wrapper { grid-template-columns: 1fr; }
  .calc-result { position: static; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .pf-item.pf-large { grid-column: span 2; }
  .pf-item.pf-featured { grid-column: 1 / -1; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .process-connector { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  body { cursor: auto; }
  .cursor, .cursor-ring { display: none; }
  .nav-links {
    display: none; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(5,5,10,0.97); backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
  }
  .nav-links.open { display: flex; }
  .theme-toggle { width: 100%; border-radius: 0; border-left: 0; border-right: 0; justify-content: center; }
  .nav-link, .nav-cta { width: 100%; padding: 12px 0; text-align: center; border-radius: 0; margin: 0; background: none; display: block; }
  .trust-grid, .bento-grid, .blog-grid { grid-template-columns: 1fr; }
  .bento-lg, .bento-full { grid-column: span 1; }
  .bento-horizontal { gap: 18px; }
  .calc-radio-group, .calc-check-group { grid-template-columns: 1fr; }
  .portfolio-note { grid-template-columns: 1fr; }
  .cookie-banner { grid-template-columns: 1fr; left: 12px; bottom: 12px; width: calc(100vw - 24px); padding: 16px; gap: 12px; }
  .cookie-actions { justify-content: stretch; }
  .cookie-actions button { flex: 1; }
  .whatsapp-btn, .back-top { right: 16px; width: 48px; height: 48px; border-radius: 14px; }
  .whatsapp-btn { bottom: 82px; }
  .hamburger { display: flex; }
  .hero-title { font-size: 42px; }
  .rotating-wrapper { min-width: 0; }
  .hero-stats { gap: 24px; }
  .stat-sep { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .pf-item.pf-large { grid-column: span 1; }
  .pf-item.pf-featured { grid-column: 1; }
  .pf-featured-meta { grid-template-columns: 1fr; gap: 22px; }
  .pf-featured-details {
    border-left: 0;
    border-top: 1px solid var(--border);
    padding-left: 0;
    padding-top: 20px;
  }
  .pf-gallery-strip {
    left: 16px;
    right: 16px;
    overflow-x: auto;
    justify-content: flex-start;
  }
  .pf-gallery-strip img {
    flex: 0 0 auto;
    width: 76px;
    height: 48px;
  }
  .process-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }
  .legal-table div { grid-template-columns: 1fr; gap: 6px; }
  .case-body { grid-template-columns: 1fr; }
  .booking-shell { grid-template-columns: 1fr; min-height: auto; }
  .booking-summary { border-right: 0; border-bottom: 1px solid var(--border); padding: 26px; }
  .booking-summary h4 { max-width: none; }
  .booking-checks { display: none; }
  .booking-note { margin-top: 0; }
  .calendly-frame { height: 640px; min-height: 560px; flex: none; }
  .booking-fallbacks { grid-template-columns: 1fr; }
  .cta-banner { padding: 48px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .marquee-label { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { min-height: 92vh; padding: 110px 16px 72px; }
  .hero-content { width: 100%; }
  .hero-title { font-size: 34px; }
  .hero-badge { font-size: 11px; }
  .hero-sub br { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; justify-content: center; }
  .stat-item { width: calc(50% - 12px); }
  .hero-stats { gap: 16px; }
  .legal-shell { width: min(100% - 24px, 920px); padding: 34px 0 56px; }
  .legal-card { padding: 22px; border-radius: var(--r-md); }
  .legal-hero h1 { font-size: 36px; }
  .legal-hero p { font-size: 15px; }
  .bento-card, .pricing-card, .calc-form, .calc-result-inner, .contact-form { padding: 24px; border-radius: var(--r-lg); }
  .modal { padding: 12px; }
  .modal-header { padding: 18px; }
  .booking-modal-box { max-width: calc(100vw - 24px); max-height: calc(100vh - 24px); border-radius: var(--r-lg); }
  .booking-summary { padding: 18px; }
  .booking-pill { font-size: 11px; padding: 6px 10px; }
  .booking-summary h4 { font-size: 22px; margin: 16px 0 10px; }
  .booking-summary p { font-size: 13px; line-height: 1.55; margin-bottom: 14px; }
  .booking-mini-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 14px; }
  .booking-mini-grid div { padding: 9px 8px; }
  .booking-mini-grid strong { font-size: 12px; }
  .booking-mini-grid span { font-size: 10px; }
  .booking-checks { display: none; }
  .booking-note { padding: 12px; font-size: 11px; }
  .booking-widget-head { align-items: flex-start; flex-direction: column; }
  .booking-open-link { width: 100%; text-align: center; }
  .booking-fallback { align-items: flex-start; flex-direction: column; }
  .booking-fallback strong { text-align: left; }
  .pc-amount { font-size: 32px; }
  .pf-featured .pf-img { height: 268px; }
  .pf-gallery-strip { padding: 6px; gap: 6px; }
  .pf-gallery-strip img { width: 62px; height: 42px; border-radius: 7px; }
  .pf-stats { flex-direction: column; gap: 6px; }
  .cta-banner { padding: 38px 22px; border-radius: var(--r-lg); }
  .faq-q { padding: 18px; }
  .faq-a p { padding: 0 18px 18px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
  .container { padding: 0 14px; }
  .hero { padding: 100px 14px 60px; }
  .hero-title { font-size: 28px; letter-spacing: -0.02em; }
  .hero-badge { font-size: 10px; padding: 5px 11px; gap: 6px; }
  .hero-sub { font-size: 14px; }
  .hero-stats { gap: 12px; }
  .stat-val { font-size: 28px; }
  .stat-lbl { font-size: 11px; }
  .btn { font-size: 14px; padding: 12px 18px; }
  .cookie-banner { left: 10px; bottom: 10px; width: calc(100vw - 20px); padding: 14px; gap: 14px; }
  .cookie-content h2 { font-size: 16px; }
  .cookie-content p { font-size: 12px; margin-bottom: 8px; }
  .cookie-btn-secondary, .cookie-btn-primary { padding: 9px 12px; font-size: 12px; }
  .modal { padding: 8px; }
  .booking-modal-box { max-width: calc(100vw - 16px); max-height: calc(100vh - 16px); }
  .calendly-frame { min-height: 520px; }
  .section-head h2 { font-size: 26px; }
  .section-head p { font-size: 14px; }
  .bento-card, .contact-form { padding: 18px; }
  .faq-q { font-size: 14px; padding: 14px; }
  .cta-banner { padding: 28px 16px; }
  .cta-banner h2 { font-size: 24px; }
  .footer-brand p { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* === PAGE HERO (subpage intro) === */
.page-hero {
  padding: 160px 0 72px;
  text-align: center;
}
.page-hero .section-tag { margin-bottom: 16px; }
.page-hero h1 {
  font-size: clamp(32px, 5vw, 54px);
  letter-spacing: -0.04em;
  margin-bottom: 18px;
}
.page-hero p {
  color: var(--t2);
  font-size: 18px;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

/* === SECTION CTA === */
.section-cta {
  text-align: center;
  margin-top: 48px;
}

/* === PRICING HINT (homepage teaser) === */
.pricing-hint-section { padding: 0 0 80px; }
.pricing-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(6,182,212,0.05));
  border: 1px solid rgba(99,102,241,0.26);
  border-radius: var(--r-xl);
  padding: 36px 48px;
  flex-wrap: wrap;
}
.pricing-hint h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.pricing-hint p {
  color: var(--t2);
  font-size: 15px;
  max-width: 500px;
  line-height: 1.6;
}
@media (max-width: 700px) {
  .page-hero { padding: 130px 0 56px; }
  .page-hero p { font-size: 16px; }
  .pricing-hint { padding: 28px 22px; flex-direction: column; text-align: center; }
  .pricing-hint p { max-width: 100%; }
}
