/* ============================================================
   START APPS — Premium Design System Stylesheet
   All tokens from the Linear design system
   ============================================================ */

/* ── Font ──────────────────────────────────────────────────── */
:root {
  --font-regular: "Inter", "Inter Variable", "SF Pro Display", -apple-system,
    BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell",
    "Open Sans", "Helvetica Neue", sans-serif;
  --font-monospace: ui-monospace, "SF Mono", "Menlo", monospace;
}

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  --header-height: 72px;
  --header-blur: 20px;

  --page-padding-inline: 24px;
  --page-max-width: 1024px;
  --homepage-max-width: 1344px;
  --homepage-outer-padding: 46px;
  --homepage-padding-inset: 32px;
  --prose-max-width: 624px;

  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 510;
  --font-weight-semibold: 590;
  --font-weight-bold: 680;

  --title-3-size: 1.5rem;
  --title-3-lh: 1.33;
  --title-3-ls: -0.012em;
  --title-5-size: 2.5rem;
  --title-5-lh: 1.1;
  --title-5-ls: -0.022em;
  --title-7-size: 3.5rem;
  --title-7-lh: 1.1;
  --title-7-ls: -0.022em;
  --title-8-size: 4rem;
  --title-8-lh: 1.06;
  --title-8-ls: -0.022em;
  --title-9-size: 4.5rem;
  --title-9-lh: 1;
  --title-9-ls: -0.022em;

  --text-large-size: 1.0625rem;
  --text-large-lh: 1.6;
  --text-regular-size: 0.9375rem;
  --text-regular-lh: 1.6;
  --text-regular-ls: -0.011em;
  --text-small-size: 0.875rem;
  --text-small-lh: 1.5;
  --text-small-ls: -0.013em;
  --text-mini-size: 0.8125rem;
  --text-mini-lh: 1.5;
  --text-mini-ls: -0.01em;
  --text-micro-size: 0.75rem;
  --text-micro-lh: 1.4;

  --radius-4: 4px;
  --radius-6: 6px;
  --radius-8: 8px;
  --radius-12: 12px;
  --radius-16: 16px;
  --radius-24: 24px;
  --radius-rounded: 9999px;
  --border-hairline: 1px;

  --speed-quick: 0.1s;
  --speed-regular: 0.25s;

  --ease-out-quad: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out-cubic: cubic-bezier(0.215, 0.61, 0.355, 1);
  --ease-out-quart: cubic-bezier(0.165, 0.84, 0.44, 1);
  --ease-out-quint: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out-quad: cubic-bezier(0.455, 0.03, 0.515, 0.955);

  --color-white: #fff;
  --color-black: #000;
  --color-red: #eb5757;
  --color-green: #27a644;
  --color-orange: #fc7840;
  --color-yellow: #f0bf00;
  --color-indigo: #5e6ad2;
  /* Brand Primary */
  --color-accent: #facc15;     /* Yellow */
  --color-blue: #eab308;       /* Darker Yellow */
  --color-teal: #fef08a;       /* Light Yellow */

  --layer-header: 100;
  --layer-fab: 90;
  --focus-ring-color: var(--color-indigo);
  --focus-ring-width: 2px;
  --focus-ring-offset: 2px;
}

/* ── Dark Theme ────────────────────────────────────────────── */
[data-theme="dark"] {
  color-scheme: dark;
  --header-bg: rgba(8, 9, 10, 0.75);
  --header-border: rgba(255, 255, 255, 0.06);

  --color-bg-primary: #08090a;
  --color-bg-secondary: #1c1c1f;
  --color-bg-tertiary: #232326;
  --color-bg-quaternary: #28282c;
  --color-bg-translucent: rgba(255, 255, 255, 0.05);
  --color-bg-level-0: #08090a;
  --color-bg-level-1: #0f1011;
  --color-bg-level-2: #141516;
  --color-bg-level-3: #191a1b;

  --color-border-primary: #23252a;
  --color-border-secondary: #34343a;
  --color-border-tertiary: #3e3e44;
  --color-border-translucent: rgba(255, 255, 255, 0.05);
  --color-border-translucent-strong: rgba(255, 255, 255, 0.08);

  --color-text-primary: #f7f8f8;
  --color-text-secondary: #d0d6e0;
  --color-text-tertiary: #8a8f98;
  --color-text-quaternary: #62666d;

  --color-link-primary: #fef08a;
  --color-brand-bg: #facc15;
  --color-brand-text: #000;

  --color-overlay-primary: rgba(0, 0, 0, 0.85);

  --shadow-low: 0px 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0px 4px 24px rgba(0, 0, 0, 0.2);
  --shadow-high: 0px 7px 32px rgba(0, 0, 0, 0.35);
  --shadow-stack-low:
    0px 8px 2px 0px rgba(0, 0, 0, 0),
    0px 5px 2px 0px rgba(0, 0, 0, 0.01),
    0px 3px 2px 0px rgba(0, 0, 0, 0.04),
    0px 1px 1px 0px rgba(0, 0, 0, 0.07),
    0px 0px 1px 0px rgba(0, 0, 0, 0.08);
}

@media only screen and (-webkit-min-device-pixel-ratio: 2),
  only screen and (min-resolution: 192dpi) {
  :root { --border-hairline: 0.5px; }
}

@media (max-width: 1280px) { :root { --homepage-outer-padding: 10px; } }
@media (max-width: 1024px) { :root { --homepage-outer-padding: 28px; --homepage-padding-inset: 8px; } }
@media (max-width: 640px)  { :root { --homepage-outer-padding: 16px; } }

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 32px);
}

body {
  background: var(--color-bg-primary);
  color: var(--color-text-primary);
  font-family: var(--font-regular);
  font-weight: var(--font-weight-normal);
  font-feature-settings: "cv01", "ss03";
  font-variation-settings: "opsz" auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  overflow-x: hidden;
  cursor: none;
}

a { text-decoration: none; color: inherit; }
a, button, .btn, .nav-link, .logo-link { cursor: none; }
img, svg { flex-shrink: 0; }
ul { list-style: none; }

::selection {
  background: color-mix(in srgb, var(--color-brand-bg), transparent 30%);
  color: var(--color-white);
}

:focus-visible {
  outline: var(--focus-ring-width) solid var(--focus-ring-color);
  outline-offset: var(--focus-ring-offset);
}

/* ── Scrollbar ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: var(--radius-rounded); }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: calc(var(--homepage-max-width) + var(--homepage-outer-padding) * 2);
  margin-inline: auto;
  padding-inline: calc(var(--homepage-outer-padding) + var(--homepage-padding-inset));
}

.section { padding-block: 128px; }
.section--alt {
  background: var(--color-bg-level-1);
  border-top: var(--border-hairline) solid var(--color-border-translucent-strong);
  border-bottom: var(--border-hairline) solid var(--color-border-translucent-strong);
}

@media (max-width: 768px) { .section { padding-block: 80px; } }
@media (max-width: 640px) { .section { padding-block: 56px; } }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-bottom: 64px;
  gap: 32px;
  align-items: end;
}
.section-header--center {
  grid-template-columns: 1fr;
  text-align: center;
  max-width: var(--prose-max-width);
  margin-inline: auto;
}

.section-title {
  font-size: var(--title-5-size);
  line-height: var(--title-5-lh);
  letter-spacing: var(--title-5-ls);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
  text-wrap: balance;
}
.section-desc {
  font-size: var(--text-large-size);
  line-height: var(--text-large-lh);
  color: var(--color-text-secondary);
  text-wrap: pretty;
  max-width: 480px;
}

@media (max-width: 1024px) {
  .section-header { grid-template-columns: 1fr; padding-bottom: 48px; }
}
@media (max-width: 640px) {
  .section-title { font-size: 1.75rem; line-height: 1.2; }
}

/* ── Eyebrow ───────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-micro-size);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-rounded);
  background: var(--color-brand-bg);
  flex-shrink: 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  user-select: none;
  flex-shrink: 0;
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  font-weight: var(--font-weight-medium);
  text-decoration: none;
  transition: 0.16s var(--ease-out-quad);
  transition-property: background-color, color, box-shadow, opacity, filter, transform, border-color;
  will-change: transform;
}
.btn:active { transform: scale(0.97); }
.btn svg { flex-shrink: 0; }

.btn-small  { height: 32px; font-size: 13px; padding: 0 14px; border-radius: var(--radius-6); }
.btn-large  { height: 48px; font-size: 15px; padding: 0 24px; border-radius: var(--radius-8); }

/* Primary (brand) */
.btn-primary {
  background: var(--color-brand-bg);
  color: var(--color-brand-text);
  transform-origin: center;
}
.btn-primary:hover {
  filter: brightness(1.15);
  transform: perspective(400px) rotateX(8deg) rotateY(-4deg) translateY(-2px) scale(1.02);
  box-shadow: 0 10px 20px rgba(250,204,21,0.3);
}
.btn-primary:active { transform: scale(0.98); }

/* Hero primary — elevated with glow */
.btn-hero-primary {
  background: var(--color-brand-bg);
  color: var(--color-brand-text);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 4px 12px rgba(250, 204, 21, 0.25);
}
.btn-hero-primary:hover {
  background: color-mix(in srgb, var(--color-brand-bg) 90%, #fff);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 6px 16px rgba(250, 204, 21, 0.35);
  transform: perspective(500px) rotateX(10deg) rotateY(-5deg) translateY(-3px) scale(1.03);
}

/* Secondary */
.btn-secondary {
  background: var(--color-bg-quaternary);
  color: var(--color-text-primary);
  border: var(--border-hairline) solid var(--color-border-tertiary);
}
.btn-secondary:hover {
  filter: brightness(1.25);
  transform: perspective(400px) rotateX(6deg) rotateY(4deg) translateY(-2px) scale(1.02);
  box-shadow: 0 8px 16px rgba(255,255,255,0.05);
}

/* Card button */
.btn-card {
  height: 36px;
  font-size: 13px;
  padding: 0 16px;
  border-radius: var(--radius-6);
  background: var(--color-brand-bg);
  color: var(--color-brand-text);
  font-weight: var(--font-weight-medium);
}
.btn-card:hover { filter: brightness(1.15); }

/* ============================================================
   LOGO
   ============================================================ */
.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px;
  margin: -4px;
  border-radius: var(--radius-6);
}
.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-8);
  background: var(--color-brand-bg);
  display: grid;
  place-items: center;
  box-shadow: 0 0 16px rgba(94,106,210,0.3);
}
.logo-mark--sm { width: 28px; height: 28px; border-radius: var(--radius-6); }
.logo-text {
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  font-weight: 800; /* ExtraBold */
  font-style: normal;
  font-size: 20px;
  color: var(--color-accent);
  letter-spacing: 1.5px;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--layer-header);
  height: var(--header-height);
  backdrop-filter: blur(var(--header-blur)) saturate(1.6);
  -webkit-backdrop-filter: blur(var(--header-blur)) saturate(1.6);
  background: var(--header-bg);
  border-bottom: var(--border-hairline) solid var(--header-border);
  user-select: none;
}
.header-inner {
  max-width: calc(var(--homepage-max-width) + var(--homepage-outer-padding) * 2);
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  padding-inline: calc(var(--homepage-outer-padding) + var(--homepage-padding-inset));
  gap: 8px;
}
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-link {
  display: flex;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  font-size: 13px;
  color: var(--color-text-tertiary);
  border-radius: var(--radius-4);
  transition: var(--speed-quick) var(--ease-out-quad);
  transition-property: color, background;
}
.nav-link:hover { color: var(--color-text-primary); background: rgba(255,255,255,0.06); }
.header-actions { margin-left: 16px; }
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--color-text-primary);
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  margin-right: -8px;
}

@media (max-width: 768px) {
  .nav, .header-actions { display: none; }
  .mobile-menu-btn { display: block; }
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: var(--color-bg-primary);
  padding: 32px 24px;
  flex-direction: column;
  gap: 8px;
  animation: fadeIn 0.18s ease;
}
.mobile-nav.open { display: flex; }
.mobile-nav-link {
  font-size: var(--text-large-size);
  color: var(--color-text-secondary);
  padding: 14px 0;
  border-bottom: var(--border-hairline) solid var(--color-border-translucent-strong);
  transition: color 0.16s var(--ease-out-quad);
}
.mobile-nav-link:hover { color: var(--color-text-primary); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding-top: calc(var(--header-height) + 120px);
  padding-bottom: 120px;
  overflow: hidden;
  isolation: isolate;
}

/* Glowing orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: -1;
  animation: orbFloat 15s ease-in-out infinite alternate;
}
.hero-orb--1 {
  width: 600px;
  height: 600px;
  top: -250px;
  left: 15%;
  background: rgba(250, 204, 21, 0.15);
}
.hero-orb--2 {
  width: 450px;
  height: 450px;
  top: -80px;
  right: 5%;
  background: rgba(234, 179, 8, 0.08); /* Changed from rgba(78, 167, 252, 0.08) */
  animation-delay: -5s;
}
.hero-orb--3 {
  width: 350px;
  height: 350px;
  bottom: -100px;
  left: 40%;
  background: rgba(250, 204, 21, 0.06);
  animation-delay: -9s;
}

/* Subtle grid background */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  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: 40px 40px;
  background-position: center center;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 80%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 80%);
  transform: translateY(var(--parallax-y, 0px));
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 16px;
  border-radius: var(--radius-rounded);
  border: var(--border-hairline) solid var(--color-border-translucent-strong);
  background: var(--color-bg-translucent);
  backdrop-filter: blur(16px);
  font-size: var(--text-micro-size);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-secondary);
  letter-spacing: 0.02em;
  margin-bottom: 32px;
}
.badge-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-green);
  box-shadow: 0 0 6px var(--color-green);
  animation: pulse 2s ease-in-out infinite;
}

.hero-title {
  font-size: var(--title-9-size);
  line-height: var(--title-9-lh);
  letter-spacing: var(--title-9-ls);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  max-width: 820px;
}
.hero-gradient-text {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-blue) 50%, var(--color-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: var(--text-large-size);
  line-height: var(--text-large-lh);
  color: var(--color-text-tertiary);
  max-width: 520px;
  margin-top: 24px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 48px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Service pills */
.hero-services {
  margin-top: 80px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.service-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  border-radius: var(--radius-rounded);
  border: var(--border-hairline) solid var(--color-border-translucent-strong);
  background: rgba(255,255,255,0.03);
  font-size: var(--text-small-size);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-secondary);
  transition: 0.2s var(--ease-out-quad);
  transition-property: border-color, background, transform;
  cursor: default;
}
.service-pill:hover {
  border-color: color-mix(in srgb, var(--pill-color) 40%, transparent);
  background: color-mix(in srgb, var(--pill-color) 6%, transparent);
  transform: translateY(-2px);
}
.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pill-color);
}

@media (max-width: 768px) {
  .hero { padding-top: calc(var(--header-height) + 72px); padding-bottom: 72px; }
  .hero-title { font-size: var(--title-7-size); }
  .hero-services { margin-top: 56px; }
}
@media (max-width: 640px) {
  .hero { padding-top: calc(var(--header-height) + 48px); padding-bottom: 48px; }
  .hero-title { font-size: var(--title-5-size); }
  .hero-subtitle { font-size: var(--text-regular-size); }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .hero-services { margin-top: 40px; }
}

/* ============================================================
   PREMIUM SERVICE CARDS — The star component
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.premium-card {
  position: relative;
  border-radius: var(--radius-12);
  background: var(--color-bg-level-2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.premium-card:hover { 
  transform: translateY(-8px); 
  border-color: rgba(250, 204, 21, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 40px rgba(250, 204, 21, 0.1);
}

.premium-card__inner {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 100%);
}

.premium-card__shine {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(250, 204, 21, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.premium-card:hover .premium-card__shine {
  opacity: 1;
}

.premium-card__glow {
  position: absolute;
  width: 100%;
  height: 150px;
  background: radial-gradient(ellipse at top, rgba(250, 204, 21, 0.15), transparent 70%);
  opacity: 0;
  top: 0;
  left: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
  z-index: 1;
}
.premium-card:hover .premium-card__glow {
  opacity: 1;
}

.premium-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.premium-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-4);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  z-index: 2;
  position: relative;
}
.premium-card:hover .premium-card__icon {
  background: color-mix(in srgb, var(--card-accent) 12%, transparent);
  border-color: color-mix(in srgb, var(--card-accent) 20%, transparent);
}

.premium-card__status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: var(--font-weight-medium);
  color: var(--color-text-quaternary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.status-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-green);
  box-shadow: 0 0 6px var(--color-green);
  animation: pulse 2.5s ease-in-out infinite;
}

.premium-card__name {
  font-size: var(--text-large-size);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
  margin-bottom: 8px;
}
.premium-card__desc {
  font-size: var(--text-small-size);
  line-height: var(--text-small-lh);
  letter-spacing: var(--text-small-ls);
  color: var(--color-text-tertiary);
  flex: 1;
  margin-bottom: 24px;
}

.premium-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: var(--border-hairline) solid var(--color-border-translucent-strong);
  gap: 16px;
}
.premium-card__price { display: flex; flex-direction: column; gap: 2px; }
.price-from {
  font-size: 11px;
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-quaternary);
}
.price-amount {
  font-size: var(--title-3-size);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  line-height: 1.1;
}
.price-mo {
  font-size: var(--text-mini-size);
  font-weight: var(--font-weight-normal);
  color: var(--color-text-quaternary);
}

@media (max-width: 1024px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .services-grid { grid-template-columns: 1fr; } }

/* ============================================================
   STEPS
   ============================================================ */
.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}
.step-card {
  flex: 1;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 24px;
}
.step-ring {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border-translucent-strong);
  background: var(--color-bg-primary);
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  transition: 0.25s var(--ease-out-quad);
  transition-property: border-color, box-shadow;
}
.step-card:hover .step-ring {
  border-color: color-mix(in srgb, var(--color-brand-bg) 40%, transparent);
  box-shadow: 0 0 24px rgba(94,106,210,0.15);
}
.step-num {
  font-family: var(--font-monospace);
  font-size: var(--text-regular-size);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-secondary);
}
.step-divider {
  display: flex;
  align-items: center;
  padding-top: 52px;
  flex-shrink: 0;
}
.step-title {
  font-size: var(--text-large-size);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
  margin-bottom: 8px;
}
.step-desc {
  font-size: var(--text-small-size);
  line-height: var(--text-small-lh);
  color: var(--color-text-tertiary);
  max-width: 240px;
}

@media (max-width: 768px) {
  .steps-grid { flex-direction: column; align-items: center; gap: 0; }
  .step-divider { padding-top: 0; transform: rotate(90deg); }
}

/* ============================================================
   BENTO BENEFITS
   ============================================================ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.bento-card {
  position: relative;
  border-radius: var(--radius-12);
  border: var(--border-hairline) solid var(--color-border-translucent-strong);
  background: var(--color-bg-level-2);
  padding: 32px;
  overflow: hidden;
  transition: 0.25s var(--ease-out-cubic);
  transition-property: border-color, transform;
}
.bento-card:hover {
  border-color: var(--color-border-secondary);
  transform: translateY(-2px);
}
.bento-card__glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(94,106,210,0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.bento-card--lg { grid-column: span 2; }
.bento-card--md { grid-column: span 1; }
.bento-card--sm { padding: 24px; }

.bento-card__icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-8);
  background: rgba(255,255,255,0.04);
  border: var(--border-hairline) solid var(--color-border-translucent-strong);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.bento-card__icon-wrap--small { width: 40px; height: 40px; }

.bento-card__title {
  font-size: var(--text-large-size);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
  margin-bottom: 8px;
  position: relative;
}
.bento-card__desc {
  font-size: var(--text-small-size);
  line-height: var(--text-small-lh);
  letter-spacing: var(--text-small-ls);
  color: var(--color-text-tertiary);
  position: relative;
  max-width: 420px;
}

@media (max-width: 768px) {
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .bento-card--lg { grid-column: span 2; }
}
@media (max-width: 640px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card--lg { grid-column: span 1; }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.testimonial-card {
  padding: 28px;
  border-radius: var(--radius-12);
  border: var(--border-hairline) solid var(--color-border-translucent-strong);
  background: var(--color-bg-primary);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: 0.25s var(--ease-out-cubic);
  transition-property: border-color, transform;
}
.testimonial-card:hover {
  border-color: var(--color-border-secondary);
  transform: translateY(-3px);
}

.testimonial-card__stars {
  color: var(--color-yellow);
  font-size: var(--text-regular-size);
  letter-spacing: 2px;
}
.testimonial-card__text {
  all: unset;
  font-size: var(--text-regular-size);
  line-height: var(--text-regular-lh);
  letter-spacing: var(--text-regular-ls);
  color: var(--color-text-secondary);
  flex: 1;
  display: block;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: var(--border-hairline) solid var(--color-border-translucent-strong);
}
.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-rounded);
  background: color-mix(in srgb, var(--avatar-bg, var(--color-brand-bg)) 20%, var(--color-bg-quaternary));
  color: var(--color-text-primary);
  display: grid;
  place-items: center;
  font-weight: var(--font-weight-semibold);
  font-size: var(--text-small-size);
  flex-shrink: 0;
}
.author-name {
  display: block;
  font-size: var(--text-small-size);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-primary);
}
.author-role {
  display: block;
  font-size: var(--text-micro-size);
  color: var(--color-text-quaternary);
}

@media (max-width: 1024px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-card:last-child { display: none; }
}
@media (max-width: 640px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-card:last-child { display: flex; }
}

/* ============================================================
   CTA
   ============================================================ */
.cta-section {
  position: relative;
  padding-block: 160px;
  overflow: hidden;
  text-align: center;
  isolation: isolate;
}
.cta-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    color-mix(in srgb, var(--color-accent) 12%, transparent) 0%, /* Changed from rgba(94, 106, 210, 0.12) */
    color-mix(in srgb, var(--color-blue) 6%, transparent) 30%, /* Changed from rgba(113, 112, 255, 0.06) */
    transparent 60%
  );
  pointer-events: none;
  z-index: -1;
  filter: blur(60px);
}
.cta-content { display: flex; flex-direction: column; align-items: center; }
.cta-title {
  font-size: var(--title-8-size);
  line-height: var(--title-8-lh);
  letter-spacing: var(--title-8-ls);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
}
.cta-subtitle {
  font-size: var(--text-large-size);
  line-height: var(--text-large-lh);
  color: var(--color-text-tertiary);
  max-width: 440px;
  margin-top: 20px;
}
.cta-actions { display: flex; gap: 12px; margin-top: 40px; flex-wrap: wrap; justify-content: center; }

@media (max-width: 640px) {
  .cta-section { padding-block: 96px; }
  .cta-title { font-size: var(--title-5-size); }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions .btn { width: 100%; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--color-border-primary);
  background: var(--color-bg-primary);
}
.footer-inner {
  padding-block: 56px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-tagline { font-size: var(--text-mini-size); color: var(--color-text-quaternary); }
.footer-heading {
  font-size: var(--text-mini-size);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-primary);
  margin-bottom: 16px;
}
.footer-list { display: flex; flex-direction: column; gap: 4px; }
.footer-list a {
  font-size: var(--text-mini-size);
  color: var(--color-text-tertiary);
  padding-block: 4px;
  display: block;
  transition: color 0.16s var(--ease-out-quad);
}
.footer-list a:hover { color: var(--color-text-primary); }
.footer-bottom {
  padding-block: 24px;
  border-top: var(--border-hairline) solid var(--color-border-translucent-strong);
}
.footer-copy { font-size: var(--text-micro-size); color: var(--color-text-quaternary); }

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .footer-inner { grid-template-columns: 1fr; padding-block: 40px; }
}

/* ============================================================
   FLOATING WHATSAPP FAB
   ============================================================ */
.fab-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: var(--layer-fab);
  width: 56px;
  height: 56px;
  border-radius: var(--radius-rounded);
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3), var(--shadow-high);
  transition: 0.2s var(--ease-out-quad);
  transition-property: transform, box-shadow;
  animation: fabPulse 3s ease-in-out infinite;
}
.fab-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.4), var(--shadow-high);
}
.fab-whatsapp:active { transform: scale(0.97); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: 0.7s var(--ease-out-quart);
  transition-property: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes orbFloat {
  0%   { transform: translate(0, calc(0px + var(--parallax-y, 0px))) scale(1); }
  100% { transform: translate(30px, calc(20px + var(--parallax-y, 0px))) scale(1.1); }
}

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

@keyframes fabPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.3), var(--shadow-high); }
  50%      { box-shadow: 0 4px 30px rgba(37,211,102,0.45), var(--shadow-high); }
}

@keyframes shineSlide {
  0%   { background-position: 200% 0; }
  100% { background-position: -50% 0; }
}

@keyframes fontCycle {
  0%, 100% {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-style: normal;
    color: var(--color-text-primary);
  }
  25% {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    font-style: italic;
    color: var(--color-accent);
  }
  50% {
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    font-style: normal;
    color: var(--color-blue);
  }
  75% {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-style: normal;
    color: var(--color-teal);
  }
}

.font-transition {
  animation: fontCycle 8s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
  display: inline-block;
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.custom-cursor {
  position: fixed;
  top: 0; left: 0;
  width: 14px; height: 14px;
  border-radius: 50%;
  background-color: var(--color-brand-bg);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
              height 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
              background-color 0.3s ease;
}
.custom-cursor.hover {
  width: 48px; height: 48px;
  background-color: rgba(250, 204, 21, 0.1);
  border: 1.5px solid var(--color-brand-bg);
  backdrop-filter: blur(2px);
  /* Optional glass effect */
}

.custom-cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background-color: var(--color-brand-bg);
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 16px 4px rgba(250, 204, 21, 0.9);
  /* Adjust cursor to glass effect dark mode */
}

/* ============================================================
   AI CHATBOT WIDGET
   ============================================================ */
.chat-widget-trigger {
  position: fixed;
  bottom: 96px; /* Above WhatsApp */
  right: 24px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #111, #333);
  border: 1.5px solid rgba(250, 204, 21, 0.4);
  box-shadow: 0 4px 16px rgba(0,0,0,0.6), 0 0 20px rgba(250, 204, 21, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 95;
  color: var(--color-brand-bg);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.chat-widget-trigger:hover {
  transform: scale(1.1) rotate(-10deg);
  background: linear-gradient(135deg, #222, #444);
  border-color: rgba(255,255,255,0.2);
}
.chat-widget-trigger svg {
  width: 24px;
  height: 24px;
}

.chat-panel {
  position: fixed;
  bottom: 160px;
  right: 24px;
  width: 360px;
  max-width: calc(100vw - 48px);
  height: 520px;
  background: rgba(8, 9, 10, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(250, 204, 21, 0.15);
  border-radius: 20px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.8), 0 0 32px rgba(250, 204, 21, 0.05);
  display: flex;
  flex-direction: column;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.95);
  transform-origin: bottom right;
  transition: 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.chat-panel.active {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0) scale(1);
}

.chat-header {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 20px 20px 0 0;
}
.chat-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-avatar {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #ca8a04, var(--color-brand-bg));
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #000;
  font-weight: 700;
  font-size: 14px;
}
.chat-title {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}
.chat-status {
  font-size: 12px;
  color: #10b981;
  display: flex;
  align-items: center;
  gap: 6px;
}
.chat-status::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
}
.chat-close {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
}
.chat-close:hover {
  color: #fff;
}

.chat-body {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.chat-body::-webkit-scrollbar { width: 4px; }
.chat-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }

.chat-message {
  max-width: 85%;
  font-size: 14px;
  line-height: 1.5;
  padding: 12px 16px;
  border-radius: 16px;
  animation: chatPopIn 0.3s cubic-bezier(0.2,0.8,0.2,1) forwards;
  opacity: 0;
  transform: translateY(10px);
}
@keyframes chatPopIn {
  to { opacity: 1; transform: translateY(0); }
}

.message-ai {
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  border: 1px solid rgba(255,255,255,0.02);
}
.message-user {
  background: linear-gradient(135deg, #facc15, #ca8a04);
  color: #000;
  font-weight: 500;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.chat-pill {
  background: rgba(250, 204, 21, 0.1);
  border: 1px solid rgba(250, 204, 21, 0.3);
  color: #fef08a;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.2s ease;
  white-space: nowrap;
}
.chat-pill:hover {
  background: rgba(250, 204, 21, 0.25);
  transform: translateY(-2px);
}

.chat-typing {
  display: flex;
  gap: 4px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  align-self: flex-start;
  width: max-content;
  border-bottom-left-radius: 4px;
  display: none;
}
.chat-typing.active {
  display: flex;
}
.typing-dot {
  width: 6px;
  height: 6px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out;
}
.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(0); opacity: 0.5; }
  40% { transform: scale(1); opacity: 1; }
}

.chat-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0 0 20px 20px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.chat-footer input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 12px 16px;
  color: #fff;
  font-size: 14px;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
}
.chat-footer input:focus {
  border-color: var(--color-brand-bg);
}
.chat-footer input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.chat-send-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-brand-bg);
  color: var(--color-brand-text);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out-quad), filter 0.2s;
  flex-shrink: 0;
}
.chat-send-btn:hover {
  transform: scale(1.05);
  filter: brightness(1.15);
  box-shadow: 0 4px 12px rgba(250, 204, 21, 0.3);
}
.chat-send-btn svg {
  width: 20px;
  height: 20px;
  transform: translateX(1px); /* optical alignment */
}
