/* ============================================================
   DIGITAL WITH THEJAS — Design System & Styles
   ============================================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ============================================================
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================================ */
:root {
  /* Colors */
  --color-purple:       #6C3BFF;
  --color-purple-dark:  #5528e0;
  --color-purple-light: #F3EEFF;
  --color-purple-mid:   #EDE5FF;
  --color-dark:         #111111;
  --color-dark-80:      rgba(17,17,17,0.8);
  --color-bg:           #FAFAFA;
  --color-white:        #FFFFFF;
  --color-muted:        #6B6B6B;
  --color-border:       #E8E8E8;
  --color-border-light: #F0F0F0;

  /* Typography */
  --font-heading: 'Manrope', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Font Sizes — fluid scale */
  --text-xs:   0.75rem;    /* 12px */
  --text-sm:   0.875rem;   /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg:   1.125rem;   /* 18px */
  --text-xl:   1.25rem;    /* 20px */
  --text-2xl:  1.5rem;     /* 24px */
  --text-3xl:  1.875rem;   /* 30px */
  --text-4xl:  2.25rem;    /* 36px */
  --text-5xl:  3rem;       /* 48px */
  --text-6xl:  3.75rem;    /* 60px */
  --text-7xl:  4.5rem;     /* 72px */

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --container-max: 1200px;
  --container-wide: 1400px;
  --container-narrow: 800px;

  /* Border Radius */
  --radius-sm:   0.5rem;
  --radius-md:   0.75rem;
  --radius-lg:   1rem;
  --radius-xl:   1.5rem;
  --radius-2xl:  2rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.08), 0 4px 8px rgba(0,0,0,0.04);
  --shadow-xl:  0 24px 64px rgba(0,0,0,0.10), 0 8px 16px rgba(0,0,0,0.05);
  --shadow-purple: 0 8px 32px rgba(108,59,255,0.18);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Navbar height */
  --navbar-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

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

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

ul, ol {
  list-style: none;
}

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

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

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

/* ============================================================
   3. LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.container--wide {
  max-width: var(--container-wide);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-block: var(--space-24);
}

.section--lg {
  padding-block: var(--space-32);
}

/* ============================================================
   4. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-dark);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-purple);
  margin-bottom: var(--space-4);
}

.eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-purple);
  border-radius: var(--radius-full);
}

.section-heading {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-5);
}

.section-subtext {
  font-size: var(--text-lg);
  color: var(--color-muted);
  line-height: 1.7;
  max-width: 560px;
}

.highlight {
  color: var(--color-purple);
  position: relative;
}

/* ============================================================
   5. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--color-purple);
  color: var(--color-white);
  box-shadow: var(--shadow-purple);
}

.btn--primary:hover {
  background: var(--color-purple-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(108,59,255,0.28);
}

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

.btn--outline {
  background: transparent;
  color: var(--color-dark);
  border-color: var(--color-border);
}

.btn--outline:hover {
  border-color: var(--color-dark);
  background: var(--color-dark);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--color-purple);
  padding-inline: 0;
  border-radius: 0;
}

.btn--ghost:hover {
  gap: var(--space-3);
}

.btn--lg {
  font-size: var(--text-base);
  padding: 1rem 2rem;
}

.btn--white {
  background: var(--color-white);
  color: var(--color-purple);
  box-shadow: var(--shadow-md);
}

.btn--white:hover {
  background: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ============================================================
   6. CARDS
   ============================================================ */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--color-border);
}

/* ============================================================
   7. TAGS / BADGES
   ============================================================ */
.tag {
  display: inline-flex;
  align-items: center;
  font-size: var(--text-xs);
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  background: var(--color-purple-light);
  color: var(--color-purple);
  border: 1px solid var(--color-purple-mid);
}

.tag--dark {
  background: var(--color-border-light);
  color: var(--color-muted);
  border-color: var(--color-border);
}

/* ============================================================
   8. NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--navbar-height);
  background: rgba(250,250,250,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
}

.navbar.scrolled {
  border-bottom-color: var(--color-border-light);
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
  background: rgba(255,255,255,0.96);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.navbar__logo {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--color-dark);
  letter-spacing: -0.03em;
  text-decoration: none;
  flex-shrink: 0;
}

.navbar__logo .logo-with {
  font-weight: 400;
  color: var(--color-muted);
  font-size: 0.85em;
}

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

.navbar__nav a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-muted);
  transition: color var(--transition-fast);
  text-decoration: none;
}

.navbar__nav a:hover {
  color: var(--color-dark);
}

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

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

.navbar__hamburger span {
  display: block;
  height: 2px;
  background: var(--color-dark);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  transform-origin: center;
}

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

/* Mobile menu */
.navbar__mobile {
  display: none;
  position: fixed;
  top: var(--navbar-height);
  left: 0;
  right: 0;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border-light);
  padding: var(--space-6);
  z-index: 999;
  box-shadow: var(--shadow-lg);
  transform: translateY(-10px);
  opacity: 0;
  transition: all var(--transition-base);
  pointer-events: none;
}

.navbar__mobile.open {
  display: block;
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.navbar__mobile nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin-bottom: var(--space-5);
}

.navbar__mobile nav a {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-dark);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border-light);
  transition: color var(--transition-fast);
}

.navbar__mobile nav a:hover {
  color: var(--color-purple);
}

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

/* ============================================================
   9. HERO
   ============================================================ */
.hero {
  padding-top: calc(var(--navbar-height) + var(--space-20));
  padding-bottom: var(--space-24);
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(108,59,255,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.hero__content {
  max-width: 580px;
}

.hero__heading {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-6);
}

.hero__sub {
  font-size: var(--text-lg);
  color: var(--color-muted);
  line-height: 1.75;
  margin-bottom: var(--space-8);
  max-width: 500px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-10);
}

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

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-muted);
}

.hero__trust-item svg {
  color: var(--color-purple);
  flex-shrink: 0;
}

/* Hero Visual */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__mockup {
  width: 100%;
  max-width: 520px;
  background: var(--color-white);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border-light);
  overflow: hidden;
  position: relative;
}

.hero__mockup-bar {
  background: var(--color-border-light);
  padding: var(--space-3) var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  border-bottom: 1px solid var(--color-border);
}

.hero__mockup-bar .dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
}
.dot--red   { background: #FF5F57; }
.dot--yellow { background: #FFBD2E; }
.dot--green { background: #28C840; }

.hero__mockup-bar .url-bar {
  flex: 1;
  background: var(--color-bg);
  border-radius: var(--radius-full);
  padding: var(--space-1) var(--space-4);
  font-size: var(--text-xs);
  color: var(--color-muted);
  margin-left: var(--space-2);
}

.hero__mockup-screen {
  background: linear-gradient(160deg, var(--color-purple-light) 0%, #fff 60%);
  padding: var(--space-8) var(--space-6);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: var(--space-4);
}

.hero__mockup-screen h3 {
  font-size: var(--text-2xl);
  color: var(--color-dark);
  font-weight: 800;
}

.hero__mockup-screen p {
  font-size: var(--text-sm);
  color: var(--color-muted);
  max-width: 280px;
}

.hero__mockup-screen .mock-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-purple);
  color: white;
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
}

.hero__mockup-metrics {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.mock-metric {
  background: white;
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-light);
  text-align: center;
}

.mock-metric .label {
  font-size: 10px;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mock-metric .value {
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--color-purple);
  font-family: var(--font-heading);
}

/* Floating labels */
.hero__float-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.float-label {
  position: absolute;
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-dark);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  animation: float 4s ease-in-out infinite;
}

.float-label .dot-label {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--color-purple);
}

.float-label:nth-child(1) { top: 10%;  left: -5%;   animation-delay: 0s; }
.float-label:nth-child(2) { top: 35%;  right: -8%;  animation-delay: 1s; }
.float-label:nth-child(3) { bottom: 30%; left: -8%; animation-delay: 2s; }
.float-label:nth-child(4) { bottom: 10%; right: -4%; animation-delay: 1.5s; }

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

/* ============================================================
   10. PROBLEM SECTION
   ============================================================ */
.problem {
  background: var(--color-dark);
  color: var(--color-white);
}

.problem .eyebrow {
  color: var(--color-purple-light);
}

.problem .eyebrow::before {
  background: var(--color-purple-light);
}

.problem .section-heading {
  color: var(--color-white);
  max-width: 640px;
}

.problem__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-12);
  margin-bottom: var(--space-12);
}

.problem__card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--transition-base);
}

.problem__card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(108,59,255,0.4);
  transform: translateY(-4px);
}

.problem__num {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-purple);
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
  font-family: var(--font-heading);
}

.problem__card h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-3);
  letter-spacing: -0.02em;
}

.problem__card p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
}

.problem__close {
  font-size: var(--text-xl);
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-heading);
}

.problem__close .purple {
  color: var(--color-purple);
}

/* ============================================================
   11. SERVICES
   ============================================================ */
.services {
  background: var(--color-bg);
}

.services__header {
  margin-bottom: var(--space-12);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}

.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--color-purple-mid);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  background: var(--color-purple-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-purple);
  flex-shrink: 0;
}

.service-card__num {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-purple);
  letter-spacing: 0.1em;
  font-family: var(--font-heading);
}

.service-card h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-2);
}

.service-card p {
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: 1.7;
  flex: 1;
}

.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

/* ============================================================
   12. PROCESS
   ============================================================ */
.process {
  background: var(--color-purple-light);
}

.process__header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.process__header .section-subtext {
  margin-inline: auto;
}

.process__timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  gap: var(--space-6);
}

.process__timeline::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-purple), rgba(108,59,255,0.2));
  z-index: 0;
}

.process__step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: var(--space-16);
}

.process__step-dot {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 64px;
  background: var(--color-white);
  border: 3px solid var(--color-purple);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--color-purple);
  box-shadow: var(--shadow-purple);
}

.process__step h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-3);
  letter-spacing: -0.02em;
}

.process__step p {
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: 1.65;
}

/* ============================================================
   13. PORTFOLIO
   ============================================================ */
.portfolio {
  background: var(--color-bg);
}

.portfolio__header {
  margin-bottom: var(--space-12);
}

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

.project-card {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.project-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: var(--color-border);
}

.project-card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--color-purple-light) 0%, var(--color-purple-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.project-card:hover .project-card__image img {
  transform: scale(1.03);
}

.project-card__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  width: 100%;
  height: 100%;
  color: var(--color-purple);
}

.project-card__placeholder span {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-muted);
}

.project-card__badge {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-dark);
}

.project-card__body {
  padding: var(--space-6);
}

.project-card__category {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-purple);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

.project-card__body h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-2);
}

.project-card__body p {
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: 1.65;
  margin-bottom: var(--space-4);
}

.project-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.project-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-purple);
  transition: gap var(--transition-base);
}

.project-card__link:hover {
  gap: var(--space-3);
}

/* ============================================================
   14. TESTIMONIALS
   ============================================================ */
.testimonials {
  background: var(--color-white);
}

.testimonials__header {
  margin-bottom: var(--space-12);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-bottom: var(--space-12);
}

.testimonial-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--transition-base);
  position: relative;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-purple-mid);
}

.testimonial-card__quote {
  font-size: var(--text-4xl);
  color: var(--color-purple);
  font-family: Georgia, serif;
  line-height: 1;
  margin-bottom: var(--space-3);
  display: block;
}

.testimonial-card__text {
  font-size: var(--text-sm);
  color: var(--color-dark);
  line-height: 1.75;
  margin-bottom: var(--space-5);
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--color-purple-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-purple);
  flex-shrink: 0;
  overflow: hidden;
}

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

.testimonial-card__name {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-dark);
}

.testimonial-card__role {
  font-size: var(--text-xs);
  color: var(--color-muted);
}

/* Placeholder testimonial state */
.testimonial-card--placeholder {
  opacity: 0.5;
  border-style: dashed;
}

.testimonials__placeholder-note {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-muted);
  margin-top: var(--space-6);
  padding: var(--space-4);
  background: var(--color-border-light);
  border-radius: var(--radius-md);
}

/* ============================================================
   15. AUDIT SECTION
   ============================================================ */
.audit {
  background: var(--color-bg);
}

.audit__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

.audit__content {}

.audit__content .section-heading {
  font-size: clamp(var(--text-3xl), 3.5vw, var(--text-4xl));
}

.audit__content .section-subtext {
  margin-bottom: var(--space-8);
  max-width: 100%;
}

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

.audit__include-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-dark);
}

.audit__include-item svg {
  color: var(--color-purple);
  flex-shrink: 0;
}

.audit__form-wrap {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-lg);
}

.audit__form-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-2);
}

.audit__form-subtitle {
  font-size: var(--text-sm);
  color: var(--color-muted);
  margin-bottom: var(--space-8);
}

.form-group {
  margin-bottom: var(--space-5);
}

.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: var(--space-2);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--color-dark);
  background: var(--color-bg);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-purple);
  box-shadow: 0 0 0 3px rgba(108,59,255,0.1);
  background: var(--color-white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #BBBBBB;
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
}

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

.form__micro {
  text-align: center;
  font-size: var(--text-xs);
  color: var(--color-muted);
  margin-top: var(--space-3);
}

.form__success {
  display: none;
  text-align: center;
  padding: var(--space-8);
}

.form__success h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-3);
}

.form__success p {
  color: var(--color-muted);
  font-size: var(--text-sm);
}

/* ============================================================
   16. ABOUT
   ============================================================ */
.about {
  background: var(--color-white);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.about__image-wrap {
  position: relative;
}

.about__image {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4/5;
  border-radius: var(--radius-2xl);
  background: var(--color-purple-light);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

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

.about__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  color: var(--color-purple);
  font-size: var(--text-sm);
  font-weight: 600;
}

.about__image-badge {
  position: absolute;
  bottom: -var(--space-4);
  right: -var(--space-4);
  bottom: -16px;
  right: -16px;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-4) var(--space-6);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border-light);
  text-align: center;
}

.about__image-badge .badge-number {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-purple);
  font-family: var(--font-heading);
  display: block;
}

.about__image-badge .badge-text {
  font-size: var(--text-xs);
  color: var(--color-muted);
}

.about__content .section-heading {
  margin-bottom: var(--space-4);
}

.about__lead {
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--color-dark);
  margin-bottom: var(--space-5);
  line-height: 1.5;
}

.about__body {
  font-size: var(--text-base);
  color: var(--color-muted);
  line-height: 1.75;
  margin-bottom: var(--space-8);
}

.about__creds {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.about__cred {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-dark);
}

.about__cred svg {
  color: var(--color-purple);
  flex-shrink: 0;
}

/* ============================================================
   17. FINAL CTA
   ============================================================ */
.final-cta {
  background: linear-gradient(135deg, #4A1FDB 0%, #6C3BFF 50%, #8B5CF6 100%);
  color: var(--color-white);
  text-align: center;
  padding-block: var(--space-24);
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.final-cta .eyebrow {
  color: rgba(255,255,255,0.7);
  justify-content: center;
}

.final-cta .eyebrow::before {
  background: rgba(255,255,255,0.5);
}

.final-cta h2 {
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  color: var(--color-white);
  margin-bottom: var(--space-5);
  max-width: 700px;
  margin-inline: auto;
}

.final-cta p {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: var(--space-10);
  line-height: 1.7;
}

.final-cta__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.btn--purple-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,0.4);
}

.btn--purple-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-2px);
}

/* ============================================================
   18. FOOTER
   ============================================================ */
.footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.7);
  padding-top: var(--space-16);
  padding-bottom: var(--space-8);
}

.footer__main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand .footer-logo {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.03em;
  display: block;
  margin-bottom: var(--space-4);
}

.footer__brand .footer-logo .logo-with {
  font-weight: 400;
  color: rgba(255,255,255,0.45);
  font-size: 0.85em;
}

.footer__brand p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  max-width: 260px;
  margin-bottom: var(--space-5);
}

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

.footer__col h4 {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-5);
  letter-spacing: -0.01em;
}

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

.footer__col ul li a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.45);
  transition: color var(--transition-fast);
}

.footer__col ul li a:hover {
  color: var(--color-white);
}

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

.footer__bottom p {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.3);
}

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

/* ============================================================
   19. SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.reveal--left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal--left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal--right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal--right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }

/* ============================================================
   20. RESPONSIVE — TABLET (max 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__trust {
    justify-content: center;
  }

  .hero__sub {
    margin-inline: auto;
  }

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

  .float-label:nth-child(1) { left: -2%; }
  .float-label:nth-child(2) { right: -2%; }
  .float-label:nth-child(3) { left: -2%; }
  .float-label:nth-child(4) { right: -2%; }

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

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

  .process__timeline::before {
    display: none;
  }

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

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

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

  .about__image {
    max-width: 380px;
    margin-inline: auto;
  }

  .footer__main {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

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

/* ============================================================
   21. RESPONSIVE — MOBILE (max 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --navbar-height: 64px;
  }

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

  .section--lg {
    padding-block: var(--space-20);
  }

  .navbar__nav,
  .navbar__actions {
    display: none;
  }

  .navbar__hamburger {
    display: flex;
  }

  .hero {
    padding-top: calc(var(--navbar-height) + var(--space-12));
    padding-bottom: var(--space-16);
    text-align: center;
  }

  .hero__visual {
    display: none;
  }

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

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

  .process__timeline {
    grid-template-columns: 1fr;
    padding-left: var(--space-12);
  }

  .process__timeline::before {
    display: none;
  }

  .process__step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-5);
    padding-top: 0;
    text-align: left;
    align-items: start;
  }

  .process__step-dot {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    font-size: var(--text-xs);
  }

  .process__step-content {
    padding-top: var(--space-2);
  }

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

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

  .audit__form-wrap {
    padding: var(--space-6);
  }

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

  .footer__main {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
  }

  .final-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

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

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

  .hero__actions {
    flex-direction: column;
  }

  .float-label {
    display: none;
  }
}

/* ============================================================
   22. FOCUS STYLES (Accessibility)
   ============================================================ */
:focus-visible {
  outline: 3px solid var(--color-purple);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================================
   23. UTILITY CLASSES
   ============================================================ */
.text-center { text-align: center; }
.text-muted  { color: var(--color-muted); }
.mt-auto     { margin-top: auto; }
.w-full      { width: 100%; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   CONTACT OPTIONS (replaces audit form)
   ============================================================ */
.contact-options {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.contact-option {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-5) var(--space-6);
  border-radius: var(--radius-xl);
  border: 2px solid var(--color-border-light);
  background: var(--color-bg);
  text-decoration: none;
  transition: all var(--transition-base);
  cursor: pointer;
}

.contact-option:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.contact-option--whatsapp {
  border-color: rgba(37, 211, 102, 0.25);
  background: rgba(37, 211, 102, 0.04);
}

.contact-option--whatsapp:hover {
  border-color: #25D366;
  background: rgba(37, 211, 102, 0.08);
}

.contact-option--email {
  border-color: var(--color-purple-mid);
  background: var(--color-purple-light);
}

.contact-option--email:hover {
  border-color: var(--color-purple);
  background: var(--color-purple-mid);
}

.contact-option__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-option--whatsapp .contact-option__icon {
  background: rgba(37, 211, 102, 0.12);
  color: #25D366;
}

.contact-option--email .contact-option__icon {
  background: var(--color-purple-mid);
  color: var(--color-purple);
}

.contact-option__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-option__label {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-dark);
  font-family: var(--font-heading);
}

.contact-option__value {
  font-size: var(--text-sm);
  color: var(--color-muted);
}

.contact-option__arrow {
  color: var(--color-muted);
  transition: transform var(--transition-base), color var(--transition-base);
  flex-shrink: 0;
}

.contact-option:hover .contact-option__arrow {
  transform: translateX(4px);
  color: var(--color-dark);
}

/* About section contact buttons */
.about__contact {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .contact-option {
    padding: var(--space-4) var(--space-5);
  }

  .contact-option__icon {
    width: 44px;
    height: 44px;
  }

  .about__contact {
    flex-direction: column;
    align-items: stretch;
  }

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