/* =============================================================
   CEISAH LANDING — Additional styles
   Extends design system. Does NOT redefine variables or
   duplicate base classes. Mobile-first.
   Breakpoints: 480px | 768px | 1024px
   ============================================================= */

/* =============================================================
   NAVBAR — OVERRIDES & ADDITIONS
   ============================================================= */

.navbar {
  background: rgba(4, 22, 52, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--transition-normal),
              box-shadow var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(4, 22, 52, 0.92);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

.navbar__logo {
  overflow: hidden;
  height: 56px;
  flex-shrink: 0;
}

.navbar__logo img {
  display: block;
  height: 320px;
  width: auto;
  margin-top: -132px;
  margin-left: -40px;
}

.footer__logo-wrap {
  overflow: hidden;
  height: 50px;
}

.footer__logo-wrap img {
  display: block;
  height: 280px;
  width: auto;
  margin-top: -116px;
  margin-left: -40px;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar__link {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: var(--text-md);
  font-weight: var(--weight-medium);
  transition: color var(--transition-fast);
  letter-spacing: 0.01em;
}

.navbar__link:hover,
.navbar__link--active {
  color: var(--white);
}

.navbar__link--active {
  font-weight: var(--weight-semibold);
  border-bottom: 2px solid var(--accent-cyan);
  padding-bottom: 2px;
}

.navbar__cta {
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  white-space: nowrap;
  border-radius: var(--radius-full);
}

/* Hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
}

.navbar__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition-normal),
              opacity var(--transition-normal);
}

/* Hamburger open state */
.navbar__hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar__hamburger.open span:nth-child(2) {
  opacity: 0;
}
.navbar__hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =============================================================
   HERO — BACKGROUND GRID & GLOW ORBS
   ============================================================= */

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.6) 20%, rgba(0,0,0,0.6) 80%, transparent 100%);
  pointer-events: none;
}

.hero__orb {
  position: absolute;
  border-radius: var(--radius-full);
  pointer-events: none;
  filter: blur(80px);
  will-change: transform;
}

.hero__orb--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(11, 61, 145, 0.55) 0%, transparent 70%);
  top: -200px;
  left: -100px;
  animation: orbFloat1 12s ease-in-out infinite alternate;
}

.hero__orb--2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(3, 255, 246, 0.18) 0%, transparent 70%);
  top: 100px;
  right: -80px;
  animation: orbFloat2 10s ease-in-out infinite alternate;
}

.hero__orb--3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(0, 181, 255, 0.15) 0%, transparent 70%);
  bottom: -80px;
  left: 40%;
  animation: orbFloat3 14s ease-in-out infinite alternate;
}

@keyframes orbFloat1 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, 60px) scale(1.08); }
}
@keyframes orbFloat2 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-30px, 40px) scale(0.92); }
}
@keyframes orbFloat3 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(20px, -50px) scale(1.05); }
}

/* Hero layout */
.hero__content {
  position: relative;
  z-index: var(--z-base);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.hero__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.hero__badge {
  align-self: flex-start;
  border: 1px solid rgba(3, 255, 246, 0.25);
}

.badge__dot {
  width: 8px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: var(--radius-full);
  box-shadow: 0 0 8px var(--accent-cyan);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.85); }
}

.hero__title {
  font-size: var(--text-5xl);
  font-weight: var(--weight-extrabold);
  line-height: var(--line-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--white);
}

.hero__title--accent {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}

.hero__btn-primary {
  border-radius: var(--radius-full);
  padding: var(--space-4) var(--space-10);
  font-size: var(--text-md);
}

.hero__btn-secondary {
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  border-radius: var(--radius-full);
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-md);
  transition: background var(--transition-normal),
              color var(--transition-normal),
              border-color var(--transition-normal);
}

.hero__btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

/* Trust indicators */
.hero__trust {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  padding-top: var(--space-4);
}

.hero__trust-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.hero__trust-number {
  font-size: var(--text-2xl);
  font-weight: var(--weight-extrabold);
  color: var(--white);
  line-height: 1;
  letter-spacing: var(--tracking-tight);
}

.hero__trust-label {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.hero__trust-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

/* ---- Hero Visual / Dashboard ---- */

.hero__visual {
  position: relative;
}

.hero__dashboard {
  padding: var(--space-6);
  border-radius: var(--radius-2xl);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow-premium), 0 0 60px rgba(3, 255, 246, 0.08);
}

.dashboard__header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.dashboard__dots {
  display: flex;
  gap: var(--space-2);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
}
.dot--red    { background: #ff5f57; }
.dot--yellow { background: #febc2e; }
.dot--green  { background: #28c840; }

.dashboard__title {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.4);
  font-family: 'Courier New', monospace;
  margin-left: auto;
}

.dashboard__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.dashboard__metric {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: var(--space-4);
  align-items: center;
}

.dashboard__metric-label {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.5);
  grid-column: 1;
  grid-row: 1;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.dashboard__metric-value {
  font-size: var(--text-3xl);
  font-weight: var(--weight-extrabold);
  color: var(--white);
  grid-column: 1;
  grid-row: 2;
  line-height: 1.1;
  letter-spacing: var(--tracking-tight);
}

.dashboard__metric-delta {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  white-space: nowrap;
}

.delta--up {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.12);
}

/* Mini chart */
.dashboard__chart {
  display: flex;
  align-items: flex-end;
  gap: var(--space-2);
  height: 56px;
  padding: var(--space-2);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.chart__bar {
  flex: 1;
  background: rgba(3, 255, 246, 0.25);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  transition: background var(--transition-fast);
  min-height: 4px;
}

.chart__bar--active {
  background: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(3, 255, 246, 0.5);
}

.dashboard__status {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.5);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.status-dot--live {
  background: #4ade80;
  box-shadow: 0 0 6px #4ade80;
  animation: pulse 2.4s ease-in-out infinite;
}

/* Floating code chips */
.hero__code-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-full);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
  white-space: nowrap;
}

.hero__code-chip code {
  font-family: 'Courier New', monospace;
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.8);
}

.code-chip__prefix {
  font-size: 9px;
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wide);
  color: var(--accent-cyan);
  background: rgba(3, 255, 246, 0.12);
  border-radius: var(--radius-sm);
  padding: 1px 5px;
}

.hero__code-chip--1 {
  top: -16px;
  right: 30px;
  animation: chipFloat 6s ease-in-out infinite;
}

.hero__code-chip--2 {
  bottom: 60px;
  left: -24px;
  animation: chipFloat 8s ease-in-out infinite reverse;
}

.hero__code-chip--3 {
  top: 40%;
  right: -24px;
  animation: chipFloat 7s ease-in-out infinite 1s;
}

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

/* =============================================================
   SECTION HEADER (shared)
   ============================================================= */

.section-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--space-16);
}

.section-badge {
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary-700);
  border: 1px solid rgba(37, 99, 235, 0.18);
  margin-bottom: var(--space-4);
}

.section-title {
  font-size: var(--text-4xl);
  font-weight: var(--weight-extrabold);
  color: var(--text-primary);
  margin-bottom: var(--space-5);
  letter-spacing: var(--tracking-tight);
  line-height: var(--line-tight);
}

.section-title--light {
  color: var(--white);
}

.section-description {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: var(--line-relaxed);
}

.section-description--light {
  color: rgba(255, 255, 255, 0.65);
}

/* =============================================================
   TECHNOLOGY SECTION
   ============================================================= */

.tech-section {
  background: var(--background-primary);
  padding-block: var(--space-16);
}

.tech-section__label {
  text-align: center;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  margin-bottom: var(--space-10);
}

.tech-section__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-2);
}

.tech-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-5) var(--space-6);
  border-radius: var(--radius-xl);
  border: 1px solid var(--neutral-200);
  background: var(--white);
  transition: border-color var(--transition-normal),
              box-shadow var(--transition-normal),
              transform var(--transition-normal);
  min-width: 110px;
  cursor: default;
}

.tech-logo:hover {
  border-color: var(--primary-600);
  box-shadow: var(--shadow-medium);
  transform: translateY(-3px);
}

.tech-logo__svg {
  width: 80px;
  height: 48px;
  color: var(--neutral-400);
  transition: color var(--transition-normal);
}

.tech-logo:hover .tech-logo__svg {
  color: var(--primary-700);
}

.tech-logo__name {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  transition: color var(--transition-normal);
}

.tech-logo:hover .tech-logo__name {
  color: var(--primary-700);
}

/* =============================================================
   SERVICES SECTION
   ============================================================= */

.services-section {
  background: var(--background-secondary);
}

.services-grid {
  gap: var(--space-6);
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  border: 1px solid var(--neutral-100);
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-slow);
  z-index: 0;
  border-radius: inherit;
}

.service-card:hover::before {
  opacity: 0.035;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card:hover {
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow: var(--shadow-premium), 0 0 0 1px rgba(37, 99, 235, 0.12);
}

.service-card__icon-wrap {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(11, 61, 145, 0.08), rgba(0, 207, 200, 0.08));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(37, 99, 235, 0.12);
  flex-shrink: 0;
}

.service-card__icon {
  width: 26px;
  height: 26px;
  color: var(--primary-700);
}

.service-card__title {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  letter-spacing: var(--tracking-tight);
}

.service-card__desc {
  font-size: var(--text-md);
  color: var(--text-secondary);
  line-height: var(--line-relaxed);
  flex: 1;
}

.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--neutral-100);
}

.service-tag {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--primary-700);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: var(--radius-full);
  padding: 3px 10px;
  letter-spacing: 0.01em;
}

/* =============================================================
   WHY CEISAH SECTION
   ============================================================= */

.why-section {
  background: var(--background-dark);
  position: relative;
  overflow: hidden;
}

.why-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

.badge--dark {
  background: rgba(3, 255, 246, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(3, 255, 246, 0.2);
}

.why-grid {
  position: relative;
  z-index: var(--z-base);
  gap: var(--space-6);
}

.why-card {
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  border-radius: var(--radius-xl);
  transition: border-color var(--transition-normal),
              box-shadow var(--transition-normal),
              transform var(--transition-normal);
}

.why-card:hover {
  border-color: rgba(3, 255, 246, 0.25);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.why-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background: rgba(3, 255, 246, 0.08);
  border: 1px solid rgba(3, 255, 246, 0.15);
}

.why-card__icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent-cyan);
}

.why-card__title {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--white);
  letter-spacing: var(--tracking-tight);
}

.why-card__desc {
  font-size: var(--text-md);
  color: rgba(255, 255, 255, 0.55);
  line-height: var(--line-relaxed);
}

/* =============================================================
   PROCESS SECTION
   ============================================================= */

.process-section {
  background: var(--background-primary);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  position: relative;
}

/* Connector line */
.process-timeline::before {
  content: "";
  position: absolute;
  top: 52px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neutral-200) 15%, var(--neutral-200) 85%, transparent);
  pointer-events: none;
}

.process-step {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  text-align: center;
  position: relative;
}

.process-step__number {
  font-size: var(--text-4xl);
  font-weight: var(--weight-extrabold);
  letter-spacing: var(--tracking-tight);
  line-height: 1;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  width: 64px;
  height: 64px;
  line-height: 64px;
  margin-inline: auto;
  text-align: center;
  background: var(--white);
  border: 2px solid var(--neutral-200);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-soft);
  color: var(--primary-700);
  font-size: var(--text-xl);
  -webkit-text-fill-color: var(--primary-700);
  transition: border-color var(--transition-normal),
              box-shadow var(--transition-normal);
  flex-shrink: 0;
}

.process-step:hover .process-step__number {
  border-color: var(--primary-600);
  box-shadow: var(--shadow-button);
}

.process-step__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.process-step__title {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  letter-spacing: var(--tracking-tight);
}

.process-step__desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--line-relaxed);
}

.process-step__duration {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--primary-700);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: var(--radius-full);
  padding: 3px 12px;
  align-self: center;
}

/* =============================================================
   CASE STUDIES
   ============================================================= */

.cases-section {
  background: var(--background-secondary);
}

.cases-grid {
  gap: var(--space-6);
}

.case-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  border: 1px solid var(--neutral-100);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  transition: transform var(--transition-normal),
              box-shadow var(--transition-normal),
              border-color var(--transition-normal);
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-premium);
  border-color: rgba(37, 99, 235, 0.2);
}

.case-card--featured {
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow: var(--shadow-medium), 0 0 0 1px rgba(37, 99, 235, 0.1);
  position: relative;
  overflow: hidden;
}

.case-card--featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  border-radius: var(--radius-full) var(--radius-full) 0 0;
}

.case-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.case-card__industry {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--primary-700);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: var(--radius-full);
  padding: 4px 12px;
}

.case-card__result {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.case-card__result-number {
  font-size: var(--text-2xl);
  font-weight: var(--weight-extrabold);
  color: var(--primary-700);
  line-height: 1;
  letter-spacing: var(--tracking-tight);
}

.case-card__result-label {
  font-size: 10px;
  color: var(--text-muted);
  text-align: right;
  font-weight: var(--weight-medium);
}

.case-card__title {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  letter-spacing: var(--tracking-tight);
  line-height: var(--line-tight);
}

.case-card__desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--line-relaxed);
  flex: 1;
}

.case-card__metrics {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--background-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--neutral-200);
}

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

.case-metric__value {
  font-size: var(--text-md);
  font-weight: var(--weight-bold);
  color: var(--primary-800);
  letter-spacing: var(--tracking-tight);
  line-height: 1.2;
}

.case-metric__label {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: var(--weight-medium);
  text-align: center;
}

.case-card__tech {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.case-tech-tag {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--text-muted);
  background: var(--neutral-100);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-sm);
  padding: 2px 8px;
}

/* =============================================================
   CTA / CONTACT SECTION
   ============================================================= */

.cta-section {
  background: var(--gradient-dark);
  position: relative;
  overflow: hidden;
}

.cta__orb {
  pointer-events: none;
}

.cta__orb--1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(11, 61, 145, 0.5) 0%, transparent 70%);
  top: -150px;
  left: -100px;
  filter: blur(80px);
  animation: orbFloat1 14s ease-in-out infinite alternate;
}

.cta__orb--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(3, 255, 246, 0.12) 0%, transparent 70%);
  bottom: -100px;
  right: -80px;
  filter: blur(80px);
  animation: orbFloat2 10s ease-in-out infinite alternate;
}

.cta-section__inner {
  position: relative;
  z-index: var(--z-base);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

.cta-section__copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  padding-top: var(--space-4);
}

.cta-section__guarantees {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-top: var(--space-2);
}

.cta-guarantee {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-md);
  color: rgba(255, 255, 255, 0.7);
}

.cta-guarantee svg {
  color: var(--accent-green);
  flex-shrink: 0;
}

/* Centered CTA layout (WhatsApp-only) */
.cta-section__inner--centered {
  grid-template-columns: 1fr;
  max-width: 640px;
  text-align: center;
  gap: var(--space-6);
  justify-items: center;
}

.cta-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-5) var(--space-12);
  background: #25d366;
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  text-decoration: none;
  transition: background var(--transition-fast),
              transform var(--transition-fast),
              box-shadow var(--transition-fast);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  white-space: nowrap;
}

.cta-whatsapp-btn:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.45);
}

/* Contact Form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-premium);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-form__title {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-6);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
}

.contact-form__textarea {
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
}

select.input {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  padding-right: var(--space-10);
  cursor: pointer;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
  margin-top: var(--space-6);
}

.contact-form__submit {
  flex: 1;
  min-width: 200px;
  justify-content: center;
  border-radius: var(--radius-full);
  padding: var(--space-5) var(--space-8);
  font-size: var(--text-md);
}

.contact-form__whatsapp {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-5) var(--space-6);
  background: #25d366;
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: var(--text-md);
  font-weight: var(--weight-semibold);
  text-decoration: none;
  transition: background var(--transition-fast), transform var(--transition-fast);
  white-space: nowrap;
}

.contact-form__whatsapp:hover {
  background: #1da851;
  transform: translateY(-2px);
}

/* Form success message */
.form-success {
  display: none;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.25);
  border-radius: var(--radius-lg);
  margin-top: var(--space-5);
}

.form-success.visible {
  display: flex;
}

.form-success svg {
  color: #4ade80;
  flex-shrink: 0;
}

.form-success p {
  font-size: var(--text-md);
  color: var(--text-primary);
}

/* =============================================================
   FOOTER
   ============================================================= */

.footer {
  background: var(--primary-950);
  padding-top: var(--space-16);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  padding-bottom: var(--space-16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  align-items: start;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.footer__tagline {
  font-size: var(--text-md);
  color: rgba(255, 255, 255, 0.45);
  line-height: var(--line-relaxed);
}

.footer__nav {
  display: flex;
  gap: var(--space-16);
  justify-content: flex-end;
}

.footer__nav-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__nav-title {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: var(--space-1);
}

.footer__nav-link {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer__nav-link:hover {
  color: var(--white);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: var(--space-6);
  gap: var(--space-4);
  flex-wrap: wrap;
}

.footer__copy,
.footer__legal {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.3);
}

/* =============================================================
   REVEAL ANIMATIONS
   ============================================================= */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger sibling reveals */
[data-reveal]:nth-child(2) { transition-delay: 0.08s; }
[data-reveal]:nth-child(3) { transition-delay: 0.16s; }
[data-reveal]:nth-child(4) { transition-delay: 0.24s; }
[data-reveal]:nth-child(5) { transition-delay: 0.32s; }
[data-reveal]:nth-child(6) { transition-delay: 0.40s; }

/* =============================================================
   RESPONSIVE — 1024px
   ============================================================= */

@media (max-width: 1024px) {
  .hero__content {
    grid-template-columns: 1fr;
    gap: var(--space-12);
    text-align: center;
  }

  .hero__badge { align-self: center; }

  .hero__title { font-size: var(--text-5xl); }

  .hero-description {
    max-width: 100%;
  }

  .hero__ctas { justify-content: center; }

  .hero__trust { justify-content: center; }

  .hero__visual {
    max-width: 480px;
    margin-inline: auto;
  }

  .hero__code-chip--2 { left: 0; }
  .hero__code-chip--3 { right: 0; }

  .cta-section__inner {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }

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

  .process-timeline::before { display: none; }

  .section-title { font-size: var(--text-3xl); }
}

/* =============================================================
   RESPONSIVE — 768px
   ============================================================= */

@media (max-width: 768px) {
  /* Navbar */
  .navbar__links {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--primary-950);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: var(--space-6) var(--space-6) var(--space-8);
    gap: var(--space-5);
    transform: translateY(-105%);
    opacity: 0;
    transition: transform var(--transition-normal),
                opacity var(--transition-normal);
    z-index: var(--z-dropdown);
    align-items: flex-start;
  }

  .navbar__links.open {
    transform: translateY(0);
    opacity: 1;
  }

  .navbar__link {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.85);
  }

  .navbar__cta { display: none; }

  .navbar__hamburger {
    display: flex;
  }

  /* Hero */
  .hero__title { font-size: var(--text-4xl); }

  .hero__trust {
    flex-wrap: wrap;
    gap: var(--space-5);
  }

  .hero__trust-divider { display: none; }

  /* Services grid */
  .services-grid,
  .cases-grid {
    grid-template-columns: 1fr;
  }

  /* Process */
  .process-timeline {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .process-step {
    flex-direction: row;
    text-align: left;
    gap: var(--space-5);
  }

  .process-step__number {
    margin-inline: 0;
    flex-shrink: 0;
  }

  /* Form grid */
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group--full {
    grid-column: 1;
  }

  /* Footer */
  .footer__inner {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .footer__nav {
    justify-content: flex-start;
    gap: var(--space-10);
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* =============================================================
   RESPONSIVE — 480px
   ============================================================= */

@media (max-width: 480px) {
  .hero__title { font-size: var(--text-3xl); }

  .hero__ctas {
    flex-direction: column;
    gap: var(--space-3);
  }

  .hero__btn-primary,
  .hero__btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .cta-whatsapp-btn {
    width: 100%;
    justify-content: center;
    padding: var(--space-5) var(--space-6);
  }

  .contact-form {
    padding: var(--space-6);
  }

  .contact-form__submit,
  .contact-form__whatsapp {
    width: 100%;
    justify-content: center;
  }

  .form-actions {
    flex-direction: column;
  }

  .tech-section__logos {
    gap: var(--space-2);
  }

  .tech-logo {
    min-width: 90px;
    padding: var(--space-4);
  }

  .tech-logo__svg {
    width: 56px;
    height: 34px;
  }

  .case-card__metrics {
    flex-direction: column;
    gap: var(--space-3);
  }

  .case-metric {
    align-items: flex-start;
  }

  .case-metric__label {
    text-align: left;
  }
}

/* =============================================================
   PRINT / REDUCED MOTION
   ============================================================= */

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

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