/* ============================================================
   CloudChron — Premium Landing Page Styles
   Dark theme / Gold accent / Cloud & Precision aesthetic
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Core palette */
  --color-bg:         #0a0a0f;
  --color-bg-elevated:#111118;
  --color-bg-card:    #14141c;
  --color-bg-subtle:  #1a1a25;
  --color-surface:    #1e1e2a;

  /* Text */
  --color-text:       #e8e8ed;
  --color-text-muted: #8888a0;
  --color-text-subtle:#5a5a72;

  /* Accent — refined gold */
  --color-accent:     #c9a84c;
  --color-accent-light:#dfc06a;
  --color-accent-dim: rgba(201, 168, 76, 0.15);
  --color-accent-glow: rgba(201, 168, 76, 0.08);

  /* Borders */
  --color-border:     rgba(255, 255, 255, 0.06);
  --color-border-hover:rgba(255, 255, 255, 0.12);

  /* Fonts */
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Spacing scale */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Sizing */
  --container-max: 1200px;
  --nav-height: 72px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 0.2s;
  --duration-base: 0.4s;
  --duration-slow: 0.8s;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}


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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

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

input, textarea {
  font: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

::selection {
  background: var(--color-accent);
  color: var(--color-bg);
}


/* ---------- Utilities ---------- */
.text-accent {
  color: var(--color-accent);
}

.section__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-4xl);
}

.section__tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  padding: var(--space-xs) var(--space-md);
  border: 1px solid var(--color-accent-dim);
  border-radius: 100px;
  margin-bottom: var(--space-lg);
  background: var(--color-accent-glow);
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-lg);
}

.section__description {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}


/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  transition: all var(--duration-base) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn__icon {
  width: 18px;
  height: 18px;
  transition: transform var(--duration-base) var(--ease-out);
}

.btn:hover .btn__icon {
  transform: translateX(4px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
  color: var(--color-bg);
  box-shadow: 0 0 0 0 var(--color-accent-dim);
}

.btn--primary:hover {
  box-shadow: 0 8px 32px var(--color-accent-dim);
  transform: translateY(-2px);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--ghost {
  border: 1px solid var(--color-border-hover);
  color: var(--color-text);
}

.btn--ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: var(--color-accent-glow);
}

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


/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(10, 10, 15, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all var(--duration-base) var(--ease-out);
}

.nav--scrolled {
  background: rgba(10, 10, 15, 0.92);
  border-bottom-color: var(--color-border);
}

.nav__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  z-index: 10;
}

.nav__logo-img {
  height: 34px;
  width: auto;
  object-fit: contain;
}

.nav__logo-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav__logo-accent {
  color: var(--color-accent);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--duration-fast) ease;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width var(--duration-base) var(--ease-out);
}

.nav__link:hover {
  color: var(--color-text);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__link--cta {
  color: var(--color-bg);
  background: var(--color-accent);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: all var(--duration-fast) ease;
}

.nav__link--cta::after {
  display: none;
}

.nav__link--cta:hover {
  color: var(--color-bg);
  background: var(--color-accent-light);
  transform: translateY(-1px);
}

/* Mobile toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 10;
}

.nav__toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--duration-base) var(--ease-out);
}

.nav__toggle--active .nav__toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle--active .nav__toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav__toggle--active .nav__toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + var(--space-3xl)) 0 var(--space-3xl);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.hero__glow--1 {
  top: 10%;
  right: 15%;
  width: 400px;
  height: 400px;
  background: var(--color-accent-dim);
  animation: glowPulse 8s ease-in-out infinite;
}

.hero__glow--2 {
  bottom: 10%;
  left: 10%;
  width: 300px;
  height: 300px;
  background: rgba(60, 60, 120, 0.1);
  animation: glowPulse 10s ease-in-out infinite reverse;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.15); }
}

.hero__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  padding: var(--space-xs) var(--space-md);
  background: var(--color-accent-glow);
  border: 1px solid var(--color-accent-dim);
  border-radius: 100px;
  margin-bottom: var(--space-xl);
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-xl);
}

.hero__title-accent {
  display: block;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: var(--space-2xl);
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Hero deploy visual — Code to Cloud */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__deploy {
  position: relative;
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* --- Cloud --- */
.deploy__cloud {
  position: relative;
  width: 200px;
  z-index: 2;
  margin-bottom: -10px;
}

.deploy__cloud-svg {
  width: 100%;
  height: auto;
  color: var(--color-accent);
  filter: drop-shadow(0 0 20px var(--color-accent-dim));
}

.deploy__cloud-path {
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  animation: cloudDraw 3s var(--ease-out) forwards, cloudGlow 4s ease-in-out 3s infinite;
}

@keyframes cloudDraw {
  to { stroke-dashoffset: 0; }
}

@keyframes cloudGlow {
  0%, 100% { filter: drop-shadow(0 0 4px var(--color-accent-dim)); }
  50% { filter: drop-shadow(0 0 16px var(--color-accent-dim)); }
}

.deploy__cloud-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 40px;
  background: var(--color-accent);
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0;
  animation: cloudPulseGlow 4s ease-in-out 2s infinite;
}

@keyframes cloudPulseGlow {
  0%, 100% { opacity: 0; }
  50% { opacity: 0.15; }
}

/* --- Data stream --- */
.deploy__stream {
  position: relative;
  width: 2px;
  height: 100px;
  display: flex;
  justify-content: center;
  z-index: 1;
}

.deploy__stream-line {
  position: absolute;
  inset: 0;
  width: 1px;
  margin: 0 auto;
  background: linear-gradient(to top, var(--color-accent), transparent);
  opacity: 0.3;
}

/* Particles */
.deploy__particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--color-accent);
  border-radius: 50%;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  animation: particleRise 2.5s var(--ease-out) infinite;
  box-shadow: 0 0 8px var(--color-accent);
}

.deploy__particle--1 { animation-delay: 0s; left: 50%; }
.deploy__particle--2 { animation-delay: 0.5s; left: 35%; width: 3px; height: 3px; }
.deploy__particle--3 { animation-delay: 1s; left: 65%; width: 3px; height: 3px; }
.deploy__particle--4 { animation-delay: 1.5s; left: 45%; width: 2px; height: 2px; }
.deploy__particle--5 { animation-delay: 2s; left: 55%; width: 5px; height: 5px; }

@keyframes particleRise {
  0% {
    bottom: 0;
    opacity: 0;
    transform: translateX(-50%) scale(0);
  }
  15% {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
  85% {
    opacity: 0.8;
  }
  100% {
    bottom: 100%;
    opacity: 0;
    transform: translateX(-50%) scale(0.5);
  }
}

/* Code packets floating up */
.deploy__packet {
  position: absolute;
  font-family: var(--font-heading);
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--color-accent);
  background: var(--color-bg-card);
  border: 1px solid var(--color-accent-dim);
  border-radius: 4px;
  padding: 2px 6px;
  bottom: 0;
  animation: packetRise 4s var(--ease-out) infinite;
  white-space: nowrap;
}

.deploy__packet--1 { animation-delay: 0.8s; left: -30px; }
.deploy__packet--2 { animation-delay: 2.2s; right: -25px; left: auto; }
.deploy__packet--3 { animation-delay: 3.5s; left: -20px; }

@keyframes packetRise {
  0% {
    bottom: 0;
    opacity: 0;
    transform: translateY(0) scale(0.8);
  }
  10% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  80% {
    opacity: 0.6;
  }
  100% {
    bottom: 100%;
    opacity: 0;
    transform: translateY(-10px) scale(0.6);
  }
}

/* --- Code Editor --- */
.deploy__editor {
  width: 100%;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  z-index: 2;
}

.deploy__editor-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--color-border);
}

.deploy__dots {
  display: flex;
  gap: 6px;
}

.deploy__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.deploy__dot--red { background: #ff5f57; }
.deploy__dot--yellow { background: #febc2e; }
.deploy__dot--green { background: #28c840; }

.deploy__filename {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

.deploy__tab {
  margin-left: auto;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--color-text-subtle);
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 4px;
}

.deploy__code {
  padding: 16px;
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 0.72rem;
  line-height: 1.8;
  position: relative;
  min-height: 180px;
}

.deploy__line {
  display: flex;
  gap: 12px;
  opacity: 0;
  transform: translateX(-8px);
  animation: lineAppear 0.6s var(--ease-out) forwards;
  white-space: nowrap;
}

.deploy__line--1 { animation-delay: 0.5s; }
.deploy__line--2 { animation-delay: 1.0s; }
.deploy__line--3 { animation-delay: 1.5s; }
.deploy__line--4 { animation-delay: 2.0s; }
.deploy__line--5 { animation-delay: 2.5s; }
.deploy__line--6 { animation-delay: 3.0s; }
.deploy__line--7 { animation-delay: 3.5s; }

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

.deploy__ln {
  color: var(--color-text-subtle);
  min-width: 16px;
  text-align: right;
  user-select: none;
  opacity: 0.5;
}

.deploy__kw {
  color: #c792ea;
}

.deploy__fn {
  color: #82aaff;
}

.deploy__str {
  color: #c3e88d;
}

.deploy__val {
  color: var(--color-accent);
}

/* Blinking cursor */
.deploy__cursor {
  display: inline-block;
  width: 7px;
  height: 14px;
  background: var(--color-accent);
  margin-left: 34px;
  margin-top: 2px;
  border-radius: 1px;
  animation: cursorBlink 1s step-end infinite;
  opacity: 0;
  animation-delay: 4s;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* --- Floating status badges --- */
.deploy__status {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  padding: 6px 14px;
  backdrop-filter: blur(10px);
  opacity: 0;
  z-index: 3;
  animation: statusAppear 0.5s var(--ease-out) forwards,
             statusFloat 5s ease-in-out infinite;
}

.deploy__status--1 {
  top: 30%;
  right: -20px;
  animation-delay: 2s, 2.5s;
}

.deploy__status--2 {
  top: 5%;
  left: -15px;
  animation-delay: 3.5s, 4s;
}

.deploy__status--3 {
  bottom: 25%;
  left: -30px;
  animation-delay: 4.5s, 5s;
}

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

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

.deploy__status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.deploy__status-dot--green { background: #28c840; box-shadow: 0 0 6px rgba(40, 200, 64, 0.4); }
.deploy__status-dot--blue { background: #82aaff; box-shadow: 0 0 6px rgba(130, 170, 255, 0.4); }
.deploy__status-dot--gold { background: var(--color-accent); box-shadow: 0 0 6px var(--color-accent-dim); }

/* Scroll indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
  50.01% { transform-origin: bottom; }
  100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}


/* ============================================================
   SERVICES — chron.* bento ecosystem
   ============================================================ */
.services {
  padding: var(--space-5xl) 0;
  position: relative;
}

.services__bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

/* Service card base */
.svc {
  position: relative;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--duration-base) var(--ease-out);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Left accent line */
.svc::after {
  content: '';
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 0;
  width: 2px;
  background: var(--color-accent);
  border-radius: 2px;
  opacity: 0;
  transform: scaleY(0);
  transition: all var(--duration-base) var(--ease-out);
}

.svc:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.svc:hover::after {
  opacity: 1;
  transform: scaleY(1);
}

/* Wide card spans 2 columns */
.svc--wide {
  grid-column: span 2;
}

/* Card header: brand + arrow */
.svc__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.svc__brand {
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: -0.01em;
}

.svc__arrow {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-accent-glow);
  border: 1px solid var(--color-accent-dim);
  color: var(--color-accent);
  opacity: 0;
  transform: translateX(-6px);
  transition: all var(--duration-base) var(--ease-out);
}

.svc__arrow svg {
  width: 14px;
  height: 14px;
}

.svc:hover .svc__arrow {
  opacity: 1;
  transform: translateX(0);
}

.svc__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  letter-spacing: -0.01em;
}

.svc__tagline {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Animated SVG illustrations */
.svc__visual {
  margin-bottom: var(--space-md);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.svc__illus {
  width: 100%;
  max-width: 200px;
  height: 80px;
  color: var(--color-accent);
  transition: all var(--duration-base) var(--ease-out);
}

.svc:hover .svc__illus {
  transform: scale(1.04);
}

/* Animated elements inside illustrations */
.svc__line--1 { animation: svcFadeSlide 3s ease-in-out infinite; }
.svc__line--2 { animation: svcFadeSlide 3s ease-in-out 0.3s infinite; }
.svc__line--3 { animation: svcFadeSlide 3s ease-in-out 0.6s infinite; }
.svc__line--4 { animation: svcFadeSlide 3s ease-in-out 0.9s infinite; }

@keyframes svcFadeSlide {
  0%, 100% { opacity: 0.08; transform: translateX(0); }
  50% { opacity: 0.25; transform: translateX(2px); }
}

.svc__block--1 { animation: svcPulse 4s ease-in-out infinite; }
.svc__block--2 { animation: svcPulse 4s ease-in-out 0.5s infinite; }
.svc__block--3 { animation: svcPulse 4s ease-in-out 1s infinite; }
.svc__block--4 { animation: svcPulse 4s ease-in-out 1.5s infinite; }
.svc__block--5 { animation: svcPulse 4s ease-in-out 2s infinite; }

@keyframes svcPulse {
  0%, 100% { opacity: 0.05; }
  50% { opacity: 0.15; }
}

.svc__cursor {
  animation: svcCursorMove 3s ease-in-out infinite;
}

@keyframes svcCursorMove {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(10px, 8px); }
  66% { transform: translate(-5px, 4px); }
}

.svc__cloud {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: svcCloudDraw 4s ease-out forwards, svcCloudGlow 5s ease-in-out 4s infinite;
}

@keyframes svcCloudDraw {
  to { stroke-dashoffset: 0; }
}

@keyframes svcCloudGlow {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.7; }
}

.svc__upload--1 { animation: svcUpload 2.5s ease-in-out infinite; }
.svc__upload--2 { animation: svcUpload 2.5s ease-in-out 0.4s infinite; }
.svc__upload--3 { animation: svcUpload 2.5s ease-in-out 0.8s infinite; }

@keyframes svcUpload {
  0%, 100% { opacity: 0.1; transform: translateY(0); }
  50% { opacity: 0.35; transform: translateY(-3px); }
}

.svc__node--1 { animation: svcNodePulse 3s ease-in-out infinite; }
.svc__node--2 { animation: svcNodePulse 3s ease-in-out 0.5s infinite; }
.svc__node--3 { animation: svcNodePulse 3s ease-in-out 1s infinite; }

@keyframes svcNodePulse {
  0%, 100% { opacity: 0.1; r: 3; }
  50% { opacity: 0.3; r: 4; }
}

.svc__chart {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: svcChartDraw 3s ease-out forwards;
}

@keyframes svcChartDraw {
  to { stroke-dashoffset: 0; }
}

.svc__user--1 { animation: svcUserPop 3s ease-in-out infinite; }
.svc__user--2 { animation: svcUserPop 3s ease-in-out 0.4s infinite; }
.svc__user--3 { animation: svcUserPop 3s ease-in-out 0.8s infinite; }

@keyframes svcUserPop {
  0%, 100% { opacity: 0.15; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(1.1); }
}

.svc__bar--1 { animation: svcBarGrow 3s ease-in-out infinite; }
.svc__bar--2 { animation: svcBarGrow 3s ease-in-out 0.3s infinite; }
.svc__bar--3 { animation: svcBarGrow 3s ease-in-out 0.6s infinite; }

@keyframes svcBarGrow {
  0%, 100% { opacity: 0.08; }
  50% { opacity: 0.22; }
}

.svc__flow--1 { animation: svcFlowDash 2s linear infinite; }
.svc__flow--2 { animation: svcFlowDash 2s linear 0.3s infinite; }
.svc__flow--3 { animation: svcFlowDash 2s linear 0.6s infinite; }

@keyframes svcFlowDash {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -10; }
}

.svc__pipe--1 { animation: svcFlowDash 1.5s linear infinite; }
.svc__pipe--2 { animation: svcFlowDash 1.5s linear 0.5s infinite; }

.svc__check {
  animation: svcNodePulse 3s ease-in-out infinite;
}

.svc__wave {
  stroke-dasharray: 200;
  animation: svcWaveFlow 4s linear infinite;
}

@keyframes svcWaveFlow {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -200; }
}


/* ============================================================
   PROCESS — Horizontal card track
   ============================================================ */
.process {
  padding: var(--space-5xl) 0;
  background: var(--color-bg-elevated);
  position: relative;
}

.process::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.process__track {
  display: flex;
  align-items: stretch;
  gap: 0;
  justify-content: center;
}

.process__card {
  flex: 1;
  max-width: 240px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--duration-base) var(--ease-out);
  position: relative;
  display: flex;
  flex-direction: column;
}

.process__card:hover {
  border-color: var(--color-accent-dim);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.process__card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
}

.process__number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--color-accent);
  padding: 4px 10px;
  border: 1px solid var(--color-accent-dim);
  border-radius: var(--radius-sm);
  background: var(--color-accent-glow);
}

.process__icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process__icon svg {
  width: 20px;
  height: 20px;
  color: var(--color-text-subtle);
  transition: color var(--duration-base) var(--ease-out);
}

.process__card:hover .process__icon svg {
  color: var(--color-accent);
}

.process__card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.01em;
}

.process__card-text {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: var(--space-md);
}

.process__card-output {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--color-accent);
  padding: 5px 10px;
  background: var(--color-accent-glow);
  border: 1px solid var(--color-accent-dim);
  border-radius: 100px;
  display: inline-block;
  width: fit-content;
}

/* Connector arrows between cards */
.process__connector {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  flex-shrink: 0;
  color: var(--color-text-subtle);
}

.process__connector svg {
  width: 40px;
  height: 24px;
}


/* ============================================================
   ABOUT — Unified: Intro + Slide carousel
   ============================================================ */
.about {
  padding: var(--space-5xl) 0;
  background: var(--color-bg-elevated);
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

/* 2-column layout: intro left, slider right */
.about__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

/* Left column */
.about__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-lg);
}

.about__desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
}

/* Inline metrics */
.about__metrics {
  display: flex;
  gap: var(--space-2xl);
}

.about__metric {
  display: flex;
  flex-direction: column;
}

.about__metric-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}

.about__metric-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Right column — Slider */
.about__slider {
  position: relative;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  overflow: hidden;
}

.about__slides {
  position: relative;
  min-height: 180px;
}

.about__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  pointer-events: none;
  display: flex;
  flex-direction: column;
}

.about__slide--active {
  position: relative;
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.about__slide--exit {
  opacity: 0;
  transform: translateX(-30px);
}

.about__slide-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-glow);
  border: 1px solid var(--color-accent-dim);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
}

.about__slide-icon svg {
  width: 22px;
  height: 22px;
  color: var(--color-accent);
}

.about__slide-tag {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.about__slide-text {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* Indicators */
.about__indicators {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}

.about__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-text-subtle);
  opacity: 0.3;
  transition: all var(--duration-base) var(--ease-out);
  cursor: pointer;
  border: none;
  padding: 0;
}

.about__dot--active {
  opacity: 1;
  background: var(--color-accent);
  width: 24px;
  border-radius: 4px;
}

/* Progress bar */
.about__progress {
  margin-top: var(--space-md);
  height: 2px;
  background: var(--color-border);
  border-radius: 2px;
  overflow: hidden;
}

.about__progress-bar {
  height: 100%;
  width: 0%;
  background: var(--color-accent);
  border-radius: 2px;
  transition: width 0.1s linear;
}


/* ============================================================
   CTA
   ============================================================ */
.cta {
  padding: var(--space-5xl) 0;
  position: relative;
  overflow: hidden;
}

.cta__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: var(--color-accent-dim);
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.3;
}

.cta__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-4xl);
  position: relative;
  z-index: 1;
}

.cta__info {
  text-align: left;
}

.cta__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-lg);
}

.cta__text {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
}

.cta__email {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  padding: var(--space-sm) var(--space-lg);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 100px;
}

.cta__email svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.cta__email a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  transition: color var(--duration-fast) ease;
}

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

/* Social links row */
.cta__socials {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: 0;
}

.cta__social {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  transition: all var(--duration-base) var(--ease-out);
}

.cta__social svg {
  width: 26px;
  height: 26px;
}

.cta__social:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Inline WhatsApp form in CTA section */
.cta__wa-form {
  width: 100%;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: left;
}

.cta__wa-form-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-lg) var(--space-xl);
  border-bottom: 1px solid var(--color-border);
}

.cta__wa-form-logo {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.cta__wa-form-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
}

.cta__wa-form-body {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.cta__wa-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.cta__wa-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cta__wa-select,
.cta__wa-textarea {
  padding: 0.8rem 1rem;
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color var(--duration-fast) ease,
              box-shadow var(--duration-fast) ease;
  outline: none;
}

.cta__wa-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%238888a0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}

.cta__wa-select option {
  background: var(--color-bg-card);
  color: var(--color-text);
}

.cta__wa-textarea {
  resize: vertical;
  min-height: 80px;
}

.cta__wa-select:focus,
.cta__wa-textarea:focus {
  border-color: #25d366;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.15);
}

.cta__wa-send {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin: 0 var(--space-xl) var(--space-xl);
  padding: 0.85rem;
  background: #25d366;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--duration-base) var(--ease-out);
  text-decoration: none;
}

.cta__wa-send:hover {
  background: #20bd5a;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.cta__wa-send-icon {
  width: 20px;
  height: 20px;
}

/* ============================================================
   WHATSAPP MODAL
   ============================================================ */
.wa-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-base) var(--ease-out),
              visibility var(--duration-base);
}

.wa-modal--open {
  opacity: 1;
  visibility: visible;
}

.wa-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.wa-modal__dialog {
  position: relative;
  width: 90%;
  max-width: 440px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transform: translateY(20px) scale(0.96);
  transition: transform var(--duration-base) var(--ease-spring);
}

.wa-modal--open .wa-modal__dialog {
  transform: translateY(0) scale(1);
}

.wa-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-xl);
  border-bottom: 1px solid var(--color-border);
}

.wa-modal__header-left {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.wa-modal__logo {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.wa-modal__title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
}

.wa-modal__close {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--color-text-muted);
  transition: color var(--duration-fast) ease;
  cursor: pointer;
  padding: 4px 8px;
}

.wa-modal__close:hover {
  color: var(--color-text);
}

.wa-modal__body {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.wa-modal__field {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.wa-modal__label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.wa-modal__select,
.wa-modal__textarea {
  padding: 0.8rem 1rem;
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color var(--duration-fast) ease,
              box-shadow var(--duration-fast) ease;
  outline: none;
}

.wa-modal__select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%238888a0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}

.wa-modal__select option {
  background: var(--color-bg-card);
  color: var(--color-text);
}

.wa-modal__textarea {
  resize: vertical;
  min-height: 80px;
}

.wa-modal__select:focus,
.wa-modal__textarea:focus {
  border-color: #25d366;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.15);
}

.wa-modal__footer {
  padding: var(--space-md) var(--space-xl) var(--space-xl);
}

.wa-modal__send {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  width: 100%;
  padding: 0.85rem;
  background: #25d366;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--duration-base) var(--ease-out);
  text-decoration: none;
}

.wa-modal__send:hover {
  background: #20bd5a;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.wa-modal__send-icon {
  width: 18px;
  height: 18px;
}


/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 12px 20px;
  background: #25d366;
  color: #fff;
  border-radius: 100px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: all var(--duration-base) var(--ease-out);
  text-decoration: none;
}

.whatsapp-float:hover {
  background: #20bd5a;
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.45);
}

.whatsapp-float--hidden {
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  pointer-events: none;
}

.whatsapp-float__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.whatsapp-float__text {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .whatsapp-float {
    padding: 14px;
    bottom: 16px;
    right: 16px;
  }

  .whatsapp-float__text {
    display: none;
  }
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: var(--space-3xl) 0 var(--space-xl);
  border-top: 1px solid var(--color-border);
}

.footer__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-xl);
}

.footer__tagline {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: var(--space-md);
}

.footer__links {
  display: flex;
  gap: var(--space-4xl);
}

.footer__column-title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text);
  margin-bottom: var(--space-lg);
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer__link {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  transition: color var(--duration-fast) ease;
}

.footer__link:hover {
  color: var(--color-accent);
}

.footer__bottom {
  text-align: center;
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--color-text-subtle);
}


/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

[data-animate="fade-in"] {
  transform: none;
}

[data-animate].is-visible {
  opacity: 1;
  transform: none;
}

[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; }
[data-delay="5"] { transition-delay: 0.5s; }


/* ============================================================
   RESPONSIVE — TABLET (max 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .hero__container {
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
    text-align: center;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__visual {
    order: -1;
  }

  .hero__deploy {
    max-width: 360px;
  }

  .deploy__status--3 {
    left: 0;
  }

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

  .svc--wide {
    grid-column: span 1;
  }

  .process__track {
    flex-wrap: wrap;
    gap: var(--space-lg);
  }

  .process__connector {
    display: none;
  }

  .process__card {
    max-width: none;
    flex: 1 1 calc(50% - var(--space-lg));
  }

  .about__layout {
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
  }
}


/* ============================================================
   RESPONSIVE — MOBILE (max 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --space-4xl: 4rem;
    --space-5xl: 5rem;
  }

  /* Nav mobile */
  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 15, 0.97);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-base) var(--ease-out);
  }

  .nav__menu--open {
    opacity: 1;
    visibility: visible;
  }

  .nav__list {
    flex-direction: column;
    gap: var(--space-2xl);
  }

  .nav__link {
    font-size: 1.25rem;
  }

  .nav__link--cta {
    font-size: 1rem;
    padding: 0.75rem 2rem;
  }

  /* Hero mobile */
  .hero {
    min-height: auto;
    padding: calc(var(--nav-height) + var(--space-3xl)) 0 var(--space-3xl);
  }

  .hero__title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .hero__deploy {
    max-width: 320px;
  }

  .deploy__status {
    display: none;
  }

  .deploy__stream {
    height: 60px;
  }

  .deploy__cloud {
    width: 150px;
  }

  .hero__scroll-indicator {
    display: none;
  }

  /* Services mobile */
  .services__bento {
    grid-template-columns: 1fr;
  }

  .svc--wide {
    grid-column: span 1;
  }

  /* Process mobile */
  .process__card {
    flex: 1 1 100%;
  }

  /* About mobile */
  .about__metrics {
    gap: var(--space-xl);
  }

  /* CTA mobile */
  .cta__row {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .cta__info {
    text-align: center;
  }

  .cta__socials {
    justify-content: center;
  }

  /* Footer mobile */
  .footer__top {
    flex-direction: column;
    gap: var(--space-2xl);
  }

  .footer__links {
    gap: var(--space-2xl);
  }
}


/* ============================================================
   RESPONSIVE — SMALL MOBILE (max 480px)
   ============================================================ */
@media (max-width: 480px) {
  .section__container {
    padding: 0 var(--space-md);
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

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

  .about__metric-number {
    font-size: 1.5rem;
  }

  .footer__links {
    flex-direction: column;
  }
}


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

  html {
    scroll-behavior: auto;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
