/* ===========================
   DefineDebug V3 — Premium CSS
   Inspired by DefineDebug reference
   =========================== */

/* TOKENS */
:root {
  --bg: #F5F5F3;
  --ink: #121212;
  --ink2: #2a2a2a;
  --muted: #7A7A7A;
  --muted2: #9a9a9a;
  --dark: #0E0E0E;
  --dark2: #141414;
  --border: #E5E5E3;
  --border-dark: rgba(255, 255, 255, 0.1);
  --white: #ffffff;
  --accent: #4DA3FF;
  --accent2: #FF8A1E;
  --accent3: #21C87A;
  --accent4: #7C6BFF;
  --accent-light: rgba(77, 163, 255, 0.08);
  --accent-border: rgba(77, 163, 255, 0.2);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.12);
  --font-display: 'Inter', -apple-system, sans-serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  --nav-h: 68px;
}

/* RESET */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  cursor: none
}

a {
  text-decoration: none;
  color: inherit
}

img {
  max-width: 100%;
  display: block
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none
}

/* CURSOR */
.cursor-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(77, 163, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}

/* SCROLL PROGRESS */
.scroll-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent4));
  z-index: 10000;
  width: 0%;
  transition: width 0.1s linear;
}

/* NAVIGATION */
#mainNav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1200px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  border-radius: var(--radius-lg);
  background: rgba(245, 245, 243, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  z-index: 1000;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

#mainNav.scrolled {
  background: rgba(245, 245, 243, 0.92);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

#mainNav.compact {
  height: 50px;
  padding: 0 20px;
}

#mainNav.compact .nav-links,
#mainNav.compact .nav-cta {
  opacity: 0;
  pointer-events: none;
}

#mainNav.compact.reveal-nav .nav-links,
#mainNav.compact.reveal-nav .nav-cta {
  opacity: 1;
  pointer-events: auto;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.04em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo em {
  color: var(--accent);
  font-style: normal;
}

.logo-mark {
  width: 30px;
  height: 30px;
  background: var(--ink);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-mark svg {
  width: 16px;
  height: 16px;
}

.logo-mark.sm {
  width: 26px;
  height: 26px;
  border-radius: 7px;
}

.logo-mark.sm svg {
  width: 14px;
  height: 14px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 6px;
  transition: opacity 0.3s;
}

.nav-links a {
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--muted);
  padding: 7px 13px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.04);
}

.nav-cta {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--white);
  background: var(--ink);
  padding: 9px 20px;
  border-radius: 10px;
  transition: background 0.2s, transform 0.2s, opacity 0.3s;
}

.nav-cta:hover {
  background: var(--accent);
}

/* MAGNETIC BUTTONS */
.magnetic-btn {
  display: inline-block;
}

/* HERO */
.hero {
  min-height: 100vh;
  padding: calc(var(--nav-h) + 60px) 5vw 80px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

.hero-grain {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(77, 163, 255, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(124, 107, 255, 0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent3);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(33, 200, 122, 0.25);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(33, 200, 122, 0.25);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(33, 200, 122, 0.1);
  }
}

.hero-h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 4.5vw, 5rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 22px;
}

.hero-h1 em {
  font-style: normal;
  color: var(--accent);
  position: relative;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white);
  background: var(--ink);
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  background: var(--accent);
  box-shadow: 0 8px 24px rgba(77, 163, 255, 0.3);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  background: transparent;
  border: 1.5px solid var(--border);
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: rgba(0, 0, 0, 0.03);
  transform: translateY(-1px);
}

.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.btn-ghost-light:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hstat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hstat-n {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.hstat-l {
  font-size: 0.76rem;
  color: var(--muted);
}

.hstat-div {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* PHONE MOCKUP */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-frame {
  width: 240px;
  height: 490px;
  background: var(--ink);
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1);
  position: relative;
  animation: phone-float 4s ease-in-out infinite;
}

@keyframes phone-float {

  0%,
  100% {
    transform: translateY(0) rotate(1deg);
  }

  50% {
    transform: translateY(-12px) rotate(1deg);
  }
}

.phone-notch {
  width: 80px;
  height: 22px;
  background: var(--ink);
  border-radius: 12px;
  margin: 0 auto 8px;
  position: relative;
  z-index: 2;
}

.phone-notch::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background: #2a2a2a;
  border-radius: 50%;
}

.phone-screen {
  background: #0a0a0f;
  border-radius: 30px;
  height: calc(100% - 50px);
  overflow: hidden;
  position: relative;
}

.phone-home-bar {
  width: 80px;
  height: 4px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  margin: 6px auto 0;
}

/* Phone slides */
.phone-slide {
  position: absolute;
  inset: 0;
  padding: 16px 14px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.phone-slide.active {
  opacity: 1;
}

.ps-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.ps-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.ps-header span {
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  flex: 1;
}

.ps-badge {
  font-size: 0.48rem;
  font-weight: 700;
  background: rgba(77, 163, 255, 0.15);
  color: var(--accent);
  padding: 2px 7px;
  border-radius: 4px;
}

.ps-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  margin-bottom: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.ps-icon {
  font-size: 1.6rem;
}

.ps-title {
  font-size: 0.62rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
}

.ps-stats {
  display: flex;
  gap: 16px;
}

.ps-stat {
  text-align: center;
}

.ps-stat span {
  font-size: 0.7rem;
  font-weight: 800;
  color: #fff;
  display: block;
}

.ps-stat small {
  font-size: 0.45rem;
  color: rgba(255, 255, 255, 0.4);
}

.ps-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.ps-tags span {
  font-size: 0.45rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  padding: 2px 6px;
}

/* Floating cards */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.float-card.visible {
  opacity: 1;
}

.fc1 {
  top: 20%;
  right: -10%;
  transform: translateX(20px);
}

.fc2 {
  bottom: 22%;
  left: -8%;
  transform: translateX(-20px);
}

.float-card.visible.fc1 {
  transform: translateX(0);
}

.float-card.visible.fc2 {
  transform: translateX(0);
}

.fc-icon {
  font-size: 1.2rem;
}

.fc-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--ink);
}

.fc-sub {
  font-size: 0.72rem;
  color: var(--muted);
}

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
}

.scroll-hint-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--muted2));
  animation: scroll-line 1.5s ease-in-out infinite;
}

@keyframes scroll-line {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  51% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

.scroll-hint span {
  font-size: 0.68rem;
  color: var(--muted2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* MARQUEE */
.marquee-strip {
  background: var(--ink);
  padding: 14px 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 0;
  animation: marquee 25s linear infinite;
  width: max-content;
}

.marquee-track span {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  padding: 0 20px;
  white-space: nowrap;
}

.marquee-dot {
  color: var(--accent) !important;
  padding: 0 4px !important;
  opacity: 0.6;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* SECTION COMMONS */
.section-eyebrow {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-eyebrow::before {
  content: '';
  display: block;
  width: 18px;
  height: 2px;
  background: var(--accent);
}

.section-eyebrow.light {
  color: rgba(77, 163, 255, 0.8);
}

.section-eyebrow.light::before {
  background: rgba(77, 163, 255, 0.6);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 16px;
}

.section-title.light {
  color: #fff;
}

.section-title em {
  font-style: normal;
  color: var(--accent);
}

.section-sub {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 520px;
}

.section-sub.light {
  color: rgba(255, 255, 255, 0.45);
}

.section-header-center {
  text-align: center;
  margin-bottom: 64px;
}

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

.section-header-center .section-eyebrow::before {
  display: none;
}

.section-header-center .section-sub {
  margin: 0 auto;
}

/* ABOUT */
.about-section {
  padding: 100px 5vw;
  background: var(--white);
}

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.about-left {
  position: relative;
}

.about-img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-img-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.about-img-badge span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}

.about-img-badge small {
  font-size: 0.72rem;
  color: var(--muted);
}

.about-heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  letter-spacing: -0.04em;
  line-height: 1.18;
  color: var(--ink);
  margin-bottom: 20px;
}

.about-heading em {
  font-style: italic;
  color: var(--accent);
}

.about-body {
  font-size: 0.97rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 28px 0;
}

.pillar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.pillar-icon {
  font-size: 1.2rem;
}

.pillar-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink);
}

.pillar-sub {
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 1px;
}

.about-socials {
  display: flex;
  gap: 12px;
}

.soc-link {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  padding: 7px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  transition: color 0.2s, border-color 0.2s;
}

.soc-link:hover {
  color: var(--ink);
  border-color: var(--ink);
}

/* ============================================================
   SERVICES SECTION — Techy Minimal v1
   Color palette: warm beige #EEECEA bg, white cards, #4DA3FF accent
   ============================================================ */

/* ---------- Section shell ---------- */
.svc-section {
  background: #EEECEA;
  padding: 72px 32px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.svc-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.svc-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 10px;
}

/* ---------- Section header ---------- */
.svc-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #4DA3FF;
  justify-content: center;
  margin-bottom: 16px;
}

.svc-label {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
}

.svc-title {
  text-align: center;
  margin-bottom: 18px;
}

.svc-sub {
  max-width: 600px;
  margin: 0 auto 56px;
  text-align: center;
}

.svc-label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4DA3FF;
  animation: labelDotPulse 2s ease-in-out infinite;
}

@keyframes labelDotPulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.7);
  }
}

.svc-title {
  font-size: 38px;
  font-weight: 800;
  color: #111;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.svc-sub {
  font-size: 15px;
  color: #777;
  max-width: 460px;
  line-height: 1.7;
  margin-bottom: 56px;
}

/* ---------- 3-column grid ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* ---------- Card base ---------- */
.svc-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid #e4e2df;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.svc-card:hover {
  transform: translateY(-4px);
  border-color: #c8c6c3;
}

/* ---------- Visual zone (top animated area) ---------- */
.svc-vis {
  height: 260px;
  background: #F5F3F0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #ebebeb;
}

/* fine dot texture */
.svc-vis::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#ccc9c5 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.55;
  z-index: 0;
}

/* vignette edges */
.svc-vis::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 50%, #F5F3F0 100%);
  z-index: 1;
  pointer-events: none;
}

.svc-vis-inner {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* ---------- Card body ---------- */
.svc-body {
  padding: 24px 22px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.svc-num {
  font-size: 11px;
  font-weight: 700;
  color: #bbb;
  letter-spacing: 1px;
  font-family: 'Courier New', monospace;
}

.svc-card-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #111;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin: 0;
}

.svc-card-desc {
  font-size: 13px;
  color: #777;
  line-height: 1.65;
  margin: 0;
}

.svc-tag {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.svc-pill {
  font-size: 10.5px;
  font-weight: 600;
  color: #555;
  background: #f0eeeb;
  border: 1px solid #e4e2df;
  border-radius: 999px;
  padding: 3px 10px;
  letter-spacing: 0.2px;
}

/* ============================================================
   CARD 1 — Build Terminal (MVP)
   ============================================================ */
.terminal {
  width: 100%;
  max-width: 260px;
  background: #16161e;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #2a2a36;
}

.term-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  background: #1e1e28;
  border-bottom: 1px solid #2a2a36;
}

.term-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.term-dot.r {
  background: #FF5F57;
}

.term-dot.y {
  background: #FEBC2E;
}

.term-dot.g {
  background: #28C840;
}

.term-title {
  font-size: 10px;
  color: #555;
  font-family: 'Courier New', monospace;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0.5px;
}

.term-body {
  padding: 12px 14px;
  font-family: 'Courier New', monospace;
  font-size: 10.5px;
  line-height: 2;
  color: #888;
  min-height: 140px;
}

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

.tl-ok {
  color: #28C840;
  font-size: 10px;
}

.tl-run {
  color: #4DA3FF;
  font-size: 10px;
}

.tl-wait {
  color: #444;
  font-size: 10px;
}

.tl-txt {
  color: #bbb;
}

.tl-txt.dim {
  color: #555;
}

.tl-bar-wrap {
  flex: 1;
  height: 3px;
  background: #2a2a36;
  border-radius: 2px;
  overflow: hidden;
}

.tl-bar-fill {
  height: 100%;
  background: #4DA3FF;
  border-radius: 2px;
  animation: barGrow 1.8s 0.6s cubic-bezier(.4, 0, .2, 1) both;
}

@keyframes barGrow {
  from {
    width: 0;
  }

  to {
    width: var(--w, 100%);
  }
}

.tl-cursor {
  display: inline-block;
  width: 7px;
  height: 12px;
  background: #4DA3FF;
  animation: cursorBlink 1s step-end infinite;
  vertical-align: middle;
  margin-left: 3px;
}

@keyframes cursorBlink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

/* step lines fade in */
.tl.s1 {
  animation: lineFade .3s .2s both;
}

.tl.s2 {
  animation: lineFade .3s .9s both;
}

.tl.s3 {
  animation: lineFade .3s 1.5s both;
}

.tl.s4 {
  animation: lineFade .3s 2.1s both;
}

.tl.s5 {
  animation: lineFade .3s 2.7s both;
}

@keyframes lineFade {
  from {
    opacity: 0;
    transform: translateX(-6px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ============================================================
   CARD 2 — System Status (Full Cycle)
   ============================================================ */
.status-board {
  width: 100%;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.status-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2px;
  margin-bottom: 4px;
}

.status-header-label {
  font-size: 10px;
  font-weight: 700;
  color: #aaa;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-family: 'Courier New', monospace;
}

.uptime-badge {
  font-size: 10px;
  font-weight: 700;
  color: #28C840;
  background: rgba(40, 200, 64, .1);
  border: 1px solid rgba(40, 200, 64, .25);
  border-radius: 999px;
  padding: 2px 9px;
}

.status-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #e8e6e3;
  border-radius: 10px;
  padding: 9px 12px;
  animation: rowSlide .4s cubic-bezier(.34, 1.56, .64, 1) var(--d, 0s) both;
  opacity: 0;
}

@keyframes rowSlide {
  from {
    opacity: 0;
    transform: translateY(10px) scale(.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.sr-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #f0eeeb;
  border: 1px solid #e4e2df;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.sr-label {
  font-size: 11px;
  font-weight: 600;
  color: #333;
  flex: 1;
}

.sr-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 18px;
}

.sr-bar {
  width: 4px;
  background: #e0dedb;
  border-radius: 2px;
}

.sr-bar.lit {
  background: #4DA3FF;
  animation: barPop .25s var(--bd, 0s) cubic-bezier(.34, 1.56, .64, 1) both;
}

@keyframes barPop {
  from {
    transform: scaleY(0.2);
  }

  to {
    transform: scaleY(1);
  }
}

.sr-status {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.sr-status.on {
  background: #28C840;
  animation: statusPulse 2s ease-in-out infinite;
}

.sr-status.mid {
  background: #FEBC2E;
}

@keyframes statusPulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(40, 200, 64, 0.4);
  }

  50% {
    box-shadow: 0 0 0 4px rgba(40, 200, 64, 0);
  }
}

/* ============================================================
   CARD 3 — Component Builder (Custom)
   ============================================================ */
.builder {
  width: 100%;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.builder-screen {
  width: 100%;
  background: #fff;
  border: 1.5px solid #e4e2df;
  border-radius: 14px;
  padding: 14px;
  position: relative;
}

.bs-topbar {
  display: flex;
  gap: 5px;
  margin-bottom: 12px;
}

.bs-tb-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e0dedb;
}

.bs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.bs-block {
  height: 34px;
  border-radius: 8px;
  border: 1.5px dashed #e0dedb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9.5px;
  font-weight: 600;
  color: #bbb;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
}

.bs-block.filled {
  border-style: solid;
  border-color: transparent;
  color: #fff;
  font-weight: 700;
  animation: blockSnap .4s cubic-bezier(.34, 1.56, .64, 1) var(--bs, 0s) both;
}

.bs-block.b1 {
  background: #4DA3FF;
  border-color: #4DA3FF;
}

.bs-block.b2 {
  background: #1a1a2e;
  border-color: #1a1a2e;
}

.bs-block.b3 {
  background: #28C840;
  border-color: #28C840;
}

.bs-block.b4 {
  background: #f0eeeb;
  color: #888;
  border-color: #ddd;
}

@keyframes blockSnap {
  from {
    opacity: 0;
    transform: scale(0.7) rotate(-4deg);
  }

  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

.bs-full {
  height: 28px;
  border-radius: 8px;
  background: #f7f5f2;
  border: 1.5px solid #e4e2df;
  margin-top: 7px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 6px;
}

.bs-full-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4DA3FF;
  animation: labelDotPulse 2s ease-in-out infinite;
}

.bs-full-label {
  font-size: 9.5px;
  font-weight: 600;
  color: #999;
  letter-spacing: 0.3px;
}

.builder-hint {
  font-size: 10px;
  font-weight: 600;
  color: #aaa;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: 'Courier New', monospace;
  text-align: center;
  animation: hintFade 3s ease-in-out infinite;
}

@keyframes hintFade {

  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }
}

/* PROJECTS */
.projects-section {
  background: #0a0a0f;
  padding: 100px 5vw;
}

.projects-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.proj-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.proj-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
}

.proj-card:hover {
  border-color: rgba(var(--card-accent-rgb, 77, 163, 255), 0.3);
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.pc-wide {
  grid-column: span 7;
  min-height: 380px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.pc-medium {
  grid-column: span 5;
  min-height: 380px;
}

.pc-tall {
  grid-column: span 4;
  min-height: 300px;
}

.pc-cta {
  grid-column: span 4;
  background: var(--accent);
  border: none;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
}

.pc-cta:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(77, 163, 255, 0.35);
}

.pc-dark:hover {
  border-color: color-mix(in srgb, var(--card-accent) 30%, transparent);
}

.pc-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.pc-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.pc-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.pc-desc {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.75;
  margin-bottom: 16px;
}

.pc-metrics {
  display: flex;
  gap: 18px;
  margin-bottom: 14px;
}

.pc-metric span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--card-accent, var(--accent));
  display: block;
  letter-spacing: -0.03em;
}

.pc-metric small {
  font-size: 0.67rem;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 2px;
  display: block;
}

.pc-techs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 18px;
}

.pc-techs span {
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  padding: 2px 9px;
}

.pc-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pc-btn {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 8px;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.pc-btn-primary {
  color: var(--card-accent, var(--accent));
  background: rgba(77, 163, 255, 0.1);
  border: 1px solid rgba(77, 163, 255, 0.2);
}

.pc-btn-primary:hover {
  background: rgba(77, 163, 255, 0.2);
}

.pc-btn-ghost {
  color: rgba(255, 255, 255, 0.4);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pc-btn-ghost:hover {
  color: rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 255, 255, 0.2);
}

.pc-btn-white {
  color: var(--accent);
  background: #fff;
  border: none;
  padding: 11px 20px;
}

.pc-btn-white:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
}

/* Phone visual in card */
.pc-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.pv-phone {
  width: 110px;
  height: 200px;
  background: var(--ink);
  border-radius: 20px;
  padding: 8px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.pv-screen {
  background: #0a0a0f;
  border-radius: 13px;
  height: 100%;
  overflow: hidden;
  padding: 10px 8px;
}

.pvs-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.pvs-topbar span {
  font-size: 0.46rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
}

.pvs-bell {
  font-size: 0.6rem;
}

/* CTA card rings */
.pc-cta-rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.cta-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.r1 {
  width: 300px;
  height: 300px;
  top: -120px;
  right: -100px;
}

.r2 {
  width: 180px;
  height: 180px;
  bottom: -60px;
  right: -30px;
}

.r3 {
  width: 100px;
  height: 100px;
  bottom: 20px;
  right: 30px;
}

/* AI visual in card */
.pv-ai-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
}

.ai-circle {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  animation: ai-spin 4s linear infinite;
}

.ai-r1 {
  width: 80px;
  height: 80px;
  border-color: rgba(124, 107, 255, 0.3);
  animation-duration: 6s;
}

.ai-r2 {
  width: 58px;
  height: 58px;
  border-color: rgba(124, 107, 255, 0.5);
  animation-direction: reverse;
  animation-duration: 4s;
}

.ai-r3 {
  width: 38px;
  height: 38px;
  border-color: rgba(124, 107, 255, 0.7);
  animation-duration: 3s;
}

.ai-core {
  font-size: 1.2rem;
  z-index: 1;
}

.ai-label {
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 600;
}

@keyframes ai-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* OLD PROCESS (kept for compatibility but hidden by new light version) */
.process-section {
  background: var(--bg);
  padding: 100px 5vw;
}

.process-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.process-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
  margin-bottom: 60px;
}

.ps-step {
  text-align: center;
  padding: 0 20px;
}

.ps-step-img {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
}

.ps-step-illus {
  width: 120px;
  height: 120px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}

.si-icon {
  font-size: 2rem;
}

.si-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.si-line {
  height: 3px;
  border-radius: 2px;
  background: var(--border);
}

.l1 {
  width: 48px;
}

.l2 {
  width: 36px;
}

.l3 {
  width: 42px;
}

.si-wireframe {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.si-wf-row {
  height: 8px;
  border-radius: 3px;
  background: var(--border);
}

.si-wf-row {
  width: 50px;
}

.si-wf-row.w2 {
  width: 38px;
}

.si-wf-row.w3 {
  width: 44px;
}

.si-phones {
  display: flex;
  gap: 6px;
}

.si-ph {
  width: 22px;
  height: 36px;
  border-radius: 5px;
  border: 2px solid;
}

.si-ph.s1 {
  border-color: var(--accent);
}

.si-ph.s2 {
  border-color: var(--accent4);
}

.ps-step-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.ps-step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 10px;
}

.ps-step-desc {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.75;
}

.ps-connector {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--border), var(--accent), var(--border));
  margin-top: 60px;
  align-self: start;
  opacity: 0.5;
}

.process-cta {
  text-align: center;
}

/* ============================================================
   NEW PROCESS SECTION — LIGHT THEME INTERACTIVE TIMELINE
   ============================================================ */
.process-light-section {
  background: #ffffff;
  padding: 100px 24px;
  position: relative;
}

.process-light-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.process-light-header {
  text-align: center;
  margin-bottom: 60px;
}

.process-light-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.process-light-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.process-light-title em {
  color: var(--accent);
  font-style: normal;
}

.process-light-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto;
}

/* Timeline visual */
.process-light-timeline {
  margin-bottom: 48px;
}

.timeline-progress {
  background: #e8e8e6;
  height: 4px;
  border-radius: 4px;
  margin-bottom: 24px;
  overflow: hidden;
}

.timeline-progress-bar {
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, var(--accent), var(--accent4));
  border-radius: 4px;
  transition: width 0.4s ease;
}

.timeline-steps {
  display: flex;
  justify-content: space-between;
}

.timeline-step {
  flex: 1;
  text-align: center;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.timeline-step.active {
  opacity: 1;
}

.step-marker {
  width: 40px;
  height: 40px;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-weight: 700;
  color: var(--muted);
  transition: all 0.3s;
}

.timeline-step.active .step-marker {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 4px 12px rgba(77, 163, 255, 0.3);
}

.step-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}

/* Step cards */
.process-light-cards {
  background: #fafaf8;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 48px;
}

.step-card {
  display: none;
  padding: 40px 36px;
  animation: fadeInUp 0.4s ease;
}

.step-card.active {
  display: block;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-card-icon {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.step-card-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
}

.step-card-desc {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 600px;
}

.step-card-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.step-card-list li {
  font-size: 0.9rem;
  color: var(--ink2);
  display: flex;
  align-items: center;
  gap: 8px;
}

.process-light-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.process-light-cta span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* FAQ */
.faq-section {
  background: var(--white);
  padding: 100px 5vw;
}

.faq-inner {
  max-width: 720px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item.open {
  border-color: var(--accent-border);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  gap: 16px;
  text-align: left;
  cursor: pointer;
  background: none;
}

.faq-q span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--ink);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s, transform 0.3s;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--accent-light);
  border-color: var(--accent-border);
}

.faq-icon svg {
  width: 12px;
  height: 12px;
  stroke: var(--muted);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
}

.faq-item.open .faq-icon svg {
  stroke: var(--accent);
}

.faq-a {
  padding: 0 22px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s;
}

.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 22px 20px;
}

.faq-a p {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.8;
}

/* ============================================================
   CTA SECTION — IMPROVED LIGHT THEME
   ============================================================ */
.cta-light-section {
  background: linear-gradient(135deg, #F8F8F6 0%, #EFEFEA 100%);
  padding: 100px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-light-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.cta-light-badge {
  display: inline-block;
  background: rgba(77, 163, 255, 0.12);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.cta-light-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.cta-light-heading em {
  color: var(--accent);
  font-style: normal;
}

.cta-light-sub {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 32px;
}

.cta-light-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.cta-light-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.cta-light-stats div {
  text-align: center;
}

.cta-light-stats strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink);
  display: block;
  margin-bottom: 4px;
}

.cta-light-stats span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ============================================================
   FOOTER — IMPROVED LIGHT THEME
   ============================================================ */
.footer-light {
  background: #ffffff;
  padding: 64px 24px 32px;
  border-top: 1px solid var(--border);
}

.footer-light-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-light-main {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-light-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-light-brand .logo-mark {
  background: var(--ink);
}

.footer-light-brand span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.footer-light-brand span em {
  color: var(--accent);
  font-style: normal;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 240px;
}

.footer-light-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted2);
  margin-bottom: 18px;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 12px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-light-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 20px;
}

.footer-light-bottom p {
  font-size: 0.75rem;
  color: var(--muted2);
}

.footer-light-social {
  display: flex;
  gap: 12px;
}

.footer-light-social a {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f3;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  transition: all 0.2s;
}

.footer-light-social a:hover {
  background: var(--accent);
  color: #fff;
}

/* BLOG */
.blog-section {
  background: #fff;
  padding: 100px 24px 80px;
}

.blog-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.blog-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--ink);
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.blog-sub {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 480px;
  margin: 0 auto 56px;
  line-height: 1.7;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.blog-card {
  border: 1.5px solid #ebebeb;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.3s, transform 0.3s;
  cursor: pointer;
}

.blog-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.blog-img-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.blog-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bi1 {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 50%, #ede9fe 100%);
  position: relative;
}

.bi1::after {
  content: "📊";
  font-size: 3rem;
  position: absolute;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

.bi2 {
  background: linear-gradient(135deg, #dbeafe 0%, #c7d2fe 50%, #e0e7ff 100%);
  position: relative;
}

.bi2::after {
  content: "⚡";
  font-size: 3rem;
  position: absolute;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

.bi3 {
  background: linear-gradient(135deg, #dbeafe 0%, #bae6fd 50%, #e0f2fe 100%);
  position: relative;
}

.bi3::after {
  content: "🚀";
  font-size: 3rem;
  position: absolute;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

.blog-card-body {
  padding: 18px 20px 20px;
}

.blog-tag {
  display: inline-block;
  font-size: 0.7rem;
  color: #555;
  border: 1.5px solid #ddd;
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 12px;
}

.blog-card-title {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.45;
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}

.blog-card-excerpt {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.blog-card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #aaa;
}

.blog-cta {
  display: flex;
  justify-content: center;
}

/* ABOUT 2 */
.about2-section {
  background: #F5F5F0;
  padding: 100px 24px 80px;
}

.about2-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.about2-heading-wrap {
  margin-bottom: 72px;
}

.about2-big-heading {
  font-family: var(--font-display);
  line-height: 1.15;
}

.about2-heading-muted {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: #aaaaaa;
  display: block;
}

.about2-heading-bold {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--ink);
  display: block;
  letter-spacing: -0.02em;
}

.about2-cols {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  align-items: flex-start;
}

.about2-photo-col {}

.about2-photo-frame {
  position: relative;
  width: 300px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  overflow: visible;
  margin-top: 20px;
}

.about2-photo-label {
  position: absolute;
  top: -14px;
  left: -2px;
  background: #fff;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 3px 10px;
  color: var(--ink);
  z-index: 2;
}

.about2-photo {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: top center;
  display: block;
  filter: grayscale(1) contrast(1.05);
}

.about2-photo-socials {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  background: var(--ink);
  border-radius: 999px;
  padding: 7px 14px;
  z-index: 2;
}

.about2-name-block {
  margin-top: 30px;
}

.about2-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

.about2-role {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 2px;
}

.about2-text-col {
  padding-top: 10px;
}

.about2-lead {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 14px;
  font-family: var(--font-display);
}

.about2-body {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 8px;
}

/* PROJECTS 2 */
.projects2-section {
  background: var(--dark);
  padding: 100px 24px 80px;
}

.projects2-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.proj2-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.proj2-card {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 22px 20px 20px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
  cursor: default;
}

.proj2-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-3px);
}

.proj2-glow-orb {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--glow-color, rgba(77, 163, 255, 0.15));
  top: -60px;
  right: -60px;
  pointer-events: none;
  opacity: 0;
  filter: blur(40px);
  transition: opacity 0.4s;
}

.proj2-card:hover .proj2-glow-orb {
  opacity: 1;
}

.proj2-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.proj2-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.proj2-info {}

.proj2-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.proj2-tagline {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 3px;
  line-height: 1.4;
}

.proj2-stack {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}

.proj2-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.ptag {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  letter-spacing: 0.04em;
  border: 1.5px solid;
}

.ptag-flutter {
  color: #54C5F8;
  border-color: rgba(84, 197, 248, 0.35);
  background: rgba(84, 197, 248, 0.08);
}

.ptag-android {
  color: #A4C639;
  border-color: rgba(164, 198, 57, 0.35);
  background: rgba(164, 198, 57, 0.08);
}

.ptag-ios {
  color: #aaa;
  border-color: rgba(200, 200, 200, 0.25);
  background: rgba(200, 200, 200, 0.06);
}

.ptag-web {
  color: #7C6BFF;
  border-color: rgba(124, 107, 255, 0.35);
  background: rgba(124, 107, 255, 0.08);
}

.ptag-macos {
  color: #bbb;
  border-color: rgba(180, 180, 180, 0.25);
  background: rgba(180, 180, 180, 0.06);
}

.proj2-metrics {
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: 12px 0;
  margin-bottom: 16px;
}

.proj2-metric {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pm-val {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
}

.pm-label {
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.35);
}

.proj2-actions {
  display: flex;
  gap: 8px;
}

.proj2-btn-primary {
  flex: 1;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  padding: 9px 14px;
  border-radius: 10px;
  transition: opacity 0.2s, transform 0.2s;
}

.proj2-btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.proj2-btn-ghost {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  padding: 9px 14px;
  border-radius: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.proj2-btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

/* NAV PILL & RESPONSIVE */
#mainNav.nav-hidden {
  top: -90px;
  opacity: 0;
  pointer-events: none;
}

#mainNav.nav-pill {
  top: 10px;
  width: auto;
  min-width: 160px;
  max-width: 220px;
  height: 44px;
  padding: 0 16px 0 12px;
  border-radius: 999px;
  background: rgba(245, 245, 243, 0.96);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

#mainNav.nav-pill .nav-links,
#mainNav.nav-pill .nav-cta {
  display: none;
}

#mainNav.nav-pill .nav-logo em {
  display: none;
}

.nav-pill-avatar {
  display: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #e0e0e0;
}

.nav-pill-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}

#mainNav.nav-pill .nav-pill-avatar {
  display: flex;
}

.nav-pill-name {
  display: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

#mainNav.nav-pill .nav-pill-name {
  display: block;
}

#mainNav.nav-pill .logo-mark {
  display: none;
}

#mainNav.nav-pill .nav-logo {
  font-size: 0;
  gap: 8px;
}

.nav-links a.active {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.06);
}

/* SCROLL REVEAL */
.rv {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.rv.visible {
  opacity: 1;
  transform: translateY(0);
}

.rv-float {
  opacity: 0;
}

.rv-float.visible {
  opacity: 1;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .phone-frame {
    margin: 0 auto;
  }

  .fc1,
  .fc2 {
    display: none;
  }

  .proj2-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .svc-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .svc-card {
    max-width: 650px;
    margin: 0 auto;
  }

  .about2-cols {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .footer-light-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .step-card-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .proj2-grid {
    grid-template-columns: 1fr;
  }

  .svc-section {
    padding: 80px 20px;
  }

  .svc-title {
    font-size: 30px;
  }

  .cta-light-stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  .footer-light-links {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-light-bottom {
    flex-direction: column;
    text-align: center;
  }

  .timeline-steps {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .timeline-progress {
    display: none;
  }

  .step-card {
    padding: 28px 20px;
  }

  .process-light-cta {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  #mainNav {
    width: calc(100% - 24px);
    padding: 0 16px;
  }

  .hero-stats {
    gap: 16px;
  }

  .svc-section {
    padding: 70px 16px;
  }

  .svc-title {
    font-size: 26px;
  }

  .cta-light-heading {
    font-size: 1.8rem;
  }
}