/* ============================================================
   VAYLENCY — Design System & Global Styles
   Brand: Web & AI Automation Agency
   Palette: Warm Off-White base, Teal-to-Green gradient
   Fonts: Outfit (display) + DM Sans (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

/* ── CSS Variables ── */
:root {
  /* Brand colors from logo */
  --teal-dark:    #145F6E;
  --teal-mid:     #1B8A78;
  --green-bright: #25C26A;
  --green-light:  #4DD98A;

  /* Accent colors for "colorful" feel */
  --coral:        #FF6B4A;
  --amber:        #F59E0B;
  --blue-accent:  #3B82F6;
  --purple-soft:  #8B5CF6;

  /* Backgrounds */
  --bg-warm:      #F7F5F0;   /* the default website color from image */
  --bg-white:     #FFFFFF;
  --bg-teal-soft: #EBF7F5;
  --bg-green-soft:#EDFBF3;

  /* Text */
  --text-dark:    #141414;
  --text-mid:     #4A5568;
  --text-light:   #9CA3AF;

  /* Borders */
  --border:       rgba(20, 95, 110, 0.12);
  --border-light: rgba(20, 95, 110, 0.06);

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #145F6E 0%, #1B8A78 50%, #25C26A 100%);
  --grad-hero:    linear-gradient(135deg, #145F6E 0%, #25C26A 100%);
  --grad-text:    linear-gradient(135deg, #145F6E, #25C26A);
  --grad-coral:   linear-gradient(135deg, #FF6B4A, #F59E0B);
  --grad-blue:    linear-gradient(135deg, #3B82F6, #8B5CF6);

  /* Shadows */
  --shadow-sm:    0 2px 8px rgba(20, 95, 110, 0.08);
  --shadow-md:    0 8px 32px rgba(20, 95, 110, 0.12);
  --shadow-lg:    0 20px 60px rgba(20, 95, 110, 0.16);
  --shadow-glow:  0 0 40px rgba(37, 194, 106, 0.25);

  /* Spacing scale (8pt) */
  --space-1:  8px;
  --space-2:  16px;
  --space-3:  24px;
  --space-4:  32px;
  --space-5:  48px;
  --space-6:  64px;
  --space-7:  96px;
  --space-8:  128px;

  /* Typography scale */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;
  --text-7xl:  4.5rem;
  --text-8xl:  6rem;

  /* Radius */
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out:    cubic-bezier(0.0, 0.0, 0.2, 1);

  /* Z-index scale */
  --z-base:    0;
  --z-raised:  10;
  --z-overlay: 20;
  --z-modal:   40;
  --z-nav:     100;
}

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

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

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-warm);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  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;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}

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

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

/* ── Layout ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-3);
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-3);
}

.section {
  padding: var(--space-8) 0;
}

.section-sm {
  padding: var(--space-6) 0;
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  padding: var(--space-2) 0;
  transition: all 0.4s var(--ease-smooth);
}

.nav.scrolled {
  background: rgba(247, 245, 240, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-3);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  transition: transform 0.3s var(--ease-spring);
}

.nav-logo:hover {
  transform: scale(1.02);
}

.nav-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.nav-logo span {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-mid);
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-hero);
  border-radius: 2px;
  transition: width 0.3s var(--ease-smooth);
}

.nav-links a:hover {
  color: var(--teal-dark);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  font-family: 'Outfit', sans-serif;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all 0.3s var(--ease-smooth);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  user-select: none;
  min-height: 44px;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background 0.3s;
}

.btn:hover::before {
  background: rgba(255, 255, 255, 0.1);
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn-primary {
  background: var(--grad-primary);
  color: white;
  box-shadow: 0 4px 20px rgba(37, 194, 106, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 8px 32px rgba(37, 194, 106, 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  background: white;
  color: var(--teal-dark);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--teal-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-mid);
  padding: 13px 20px;
}

.btn-ghost:hover {
  color: var(--teal-dark);
  background: var(--bg-teal-soft);
}

.btn-lg {
  padding: 16px 36px;
  font-size: var(--text-base);
}

.btn-sm {
  padding: 9px 20px;
  font-size: var(--text-xs);
}

/* Magnetic button wrapper */
.btn-magnetic {
  display: inline-block;
}

/* ── Hero Section ── */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-warm);
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

/* Mesh gradient blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: blobFloat 8s ease-in-out infinite;
}

.hero-blob-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #25C26A40, transparent 70%);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.hero-blob-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #145F6E30, transparent 70%);
  bottom: 0;
  left: -100px;
  animation-delay: -4s;
}

.hero-blob-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #3B82F620, transparent 70%);
  top: 40%;
  right: 30%;
  animation-delay: -2s;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(20px, -20px) scale(1.05); }
  66%       { transform: translate(-10px, 15px) scale(0.97); }
}

/* Floating geometric shapes */
.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.shape {
  position: absolute;
  opacity: 0.12;
  animation: shapeFloat 6s ease-in-out infinite;
}

.shape-v {
  width: 60px;
  height: 60px;
}

.shape-1 { top: 15%; right: 15%; animation-delay: 0s; }
.shape-2 { top: 60%; right: 8%; animation-delay: -2s; }
.shape-3 { top: 30%; left: 5%; animation-delay: -4s; width: 40px; height: 40px; }
.shape-4 { bottom: 20%; left: 20%; animation-delay: -1s; width: 80px; height: 80px; }
.shape-5 { top: 70%; right: 30%; animation-delay: -3s; width: 30px; height: 30px; }

@keyframes shapeFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50%       { transform: translateY(-20px) rotate(5deg); }
}

/* Cursor tracking layer */
.cursor-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.cursor-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37,194,106,0.12) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: left 0.15s, top 0.15s;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--teal-dark);
  margin-bottom: var(--space-3);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  animation: fadeSlideDown 0.6s var(--ease-out) 0.2s forwards;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--green-bright);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-3);
  color: var(--text-dark);
  opacity: 0;
  animation: fadeSlideUp 0.8s var(--ease-out) 0.4s forwards;
}

.hero-title em {
  font-style: normal;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-mid);
  max-width: 600px;
  margin: 0 auto var(--space-5);
  line-height: 1.65;
  font-weight: 400;
  opacity: 0;
  animation: fadeSlideUp 0.8s var(--ease-out) 0.6s forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeSlideUp 0.8s var(--ease-out) 0.8s forwards;
}

.hero-proof {
  margin-top: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  opacity: 0;
  animation: fadeSlideUp 0.8s var(--ease-out) 1s forwards;
}

.hero-proof-avatars {
  display: flex;
}

.hero-proof-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid white;
  margin-left: -10px;
  overflow: hidden;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: white;
}

.hero-proof-avatar:first-child {
  margin-left: 0;
}

.hero-proof-text {
  font-size: var(--text-sm);
  color: var(--text-mid);
}

.hero-proof-text strong {
  color: var(--text-dark);
  font-weight: 600;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: var(--space-4);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 1s ease 1.5s forwards;
}

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

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

/* ── Animations ── */
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

/* Scroll-triggered animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal-right.revealed {
  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; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ── Proof Bar ── */
.proof-bar {
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: var(--space-4) 0;
  overflow: hidden;
}

.proof-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.proof-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.proof-stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: var(--text-3xl);
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.proof-stat-label {
  font-size: var(--text-sm);
  color: var(--text-light);
  font-weight: 400;
}

.proof-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ── Section Headers ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: var(--space-2);
}

.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--grad-hero);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: var(--space-2);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--text-mid);
  max-width: 560px;
  line-height: 1.65;
}

.section-header {
  margin-bottom: var(--space-6);
}

.section-header.centered {
  text-align: center;
}

.section-header.centered .section-label {
  justify-content: center;
}

.section-header.centered .section-subtitle {
  margin: 0 auto;
}

/* ── Services Section ── */
.services {
  background: var(--bg-warm);
  padding: var(--space-8) 0;
}

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

.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-4) var(--space-5);
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-smooth);
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--card-gradient, var(--grad-primary));
  opacity: 0;
  transition: opacity 0.4s;
}

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

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

.service-card-1 { --card-gradient: var(--grad-primary); }
.service-card-2 { --card-gradient: var(--grad-coral); }
.service-card-3 { --card-gradient: var(--grad-blue); }

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-3);
  background: var(--icon-bg, var(--bg-teal-soft));
  transition: transform 0.3s var(--ease-spring);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(-3deg);
}

.service-card-1 .service-icon { --icon-bg: #EBF7F5; }
.service-card-2 .service-icon { --icon-bg: #FFF4EF; }
.service-card-3 .service-icon { --icon-bg: #EFF6FF; }

.service-icon svg {
  width: 26px;
  height: 26px;
}

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

.service-desc {
  font-size: var(--text-sm);
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: var(--space-3);
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  color: var(--text-mid);
}

.service-feature-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-teal-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-feature-check svg {
  width: 10px;
  height: 10px;
  color: var(--teal-dark);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--teal-dark);
  transition: gap 0.2s;
}

.service-link:hover {
  gap: 10px;
}

/* ── Process Section ── */
.process {
  background: var(--bg-white);
  padding: var(--space-8) 0;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-6);
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 28px);
  right: calc(12.5% + 28px);
  height: 1px;
  background: linear-gradient(to right, var(--teal-dark), var(--green-bright));
  opacity: 0.2;
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: white;
  font-family: 'Outfit', sans-serif;
  font-size: var(--text-xl);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-3);
  box-shadow: 0 4px 20px rgba(37, 194, 106, 0.3);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}

.process-step:hover .process-step-num {
  transform: scale(1.1);
  box-shadow: var(--shadow-glow);
}

.process-step-title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.process-step-desc {
  font-size: var(--text-sm);
  color: var(--text-mid);
  line-height: 1.6;
}

/* ── Results / Testimonials ── */
.results {
  background: var(--bg-warm);
  padding: var(--space-8) 0;
}

.results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: start;
  margin-top: var(--space-6);
}

.results-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.result-stat-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  transition: all 0.3s var(--ease-smooth);
}

.result-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.result-stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: var(--text-5xl);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 6px;
  background: var(--stat-gradient, var(--grad-text));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.result-stat-card:nth-child(1) { --stat-gradient: var(--grad-text); }
.result-stat-card:nth-child(2) { --stat-gradient: var(--grad-coral); }
.result-stat-card:nth-child(3) { --stat-gradient: var(--grad-blue); }
.result-stat-card:nth-child(4) { --stat-gradient: linear-gradient(135deg, #8B5CF6, #EC4899); }

.result-stat-label {
  font-size: var(--text-sm);
  color: var(--text-mid);
  line-height: 1.4;
}

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

.testimonial-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  transition: all 0.3s var(--ease-smooth);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: var(--space-2);
}

.star {
  color: #F59E0B;
  font-size: 14px;
}

.testimonial-text {
  font-size: var(--text-sm);
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: var(--space-2);
  font-style: italic;
}

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

.testimonial-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: white;
  font-size: var(--text-sm);
  flex-shrink: 0;
}

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

.testimonial-role {
  font-size: var(--text-xs);
  color: var(--text-light);
}

/* ── Pricing ── */
.pricing {
  background: var(--bg-white);
  padding: var(--space-8) 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-6);
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-5) var(--space-4);
  position: relative;
  transition: all 0.4s var(--ease-smooth);
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  background: var(--text-dark);
  border-color: transparent;
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured * {
  --text-mid: rgba(255,255,255,0.65);
  --text-light: rgba(255,255,255,0.45);
}

.pricing-card:hover:not(.featured) {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-dark);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-primary);
  color: white;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.pricing-tier {
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-2);
}

.pricing-card.featured .pricing-tier {
  color: rgba(255,255,255,0.7);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: var(--space-1);
}

.pricing-currency {
  font-family: 'Outfit', sans-serif;
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--teal-dark);
}

.pricing-card.featured .pricing-currency {
  color: var(--green-light);
}

.pricing-amount {
  font-family: 'Outfit', sans-serif;
  font-size: var(--text-5xl);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text-dark);
  line-height: 1;
}

.pricing-card.featured .pricing-amount {
  color: white;
}

.pricing-period {
  font-size: var(--text-sm);
  color: var(--text-light);
}

.pricing-desc {
  font-size: var(--text-sm);
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: var(--space-4);
  margin-top: 8px;
}

.pricing-card.featured .pricing-desc {
  color: rgba(255,255,255,0.6);
}

.pricing-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: var(--space-3);
}

.pricing-card.featured .pricing-divider {
  background: rgba(255,255,255,0.1);
}

.pricing-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: var(--space-4);
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-sm);
  color: var(--text-mid);
}

.pricing-card.featured .pricing-feature {
  color: rgba(255,255,255,0.75);
}

.pricing-feature-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-teal-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pricing-card.featured .pricing-feature-icon {
  background: rgba(37, 194, 106, 0.2);
}

.pricing-feature-icon svg {
  width: 11px;
  height: 11px;
  color: var(--teal-dark);
}

.pricing-card.featured .pricing-feature-icon svg {
  color: var(--green-bright);
}

.btn-pricing-dark {
  background: white;
  color: var(--text-dark);
  font-family: 'Outfit', sans-serif;
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  padding: 13px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease-smooth);
}

.btn-pricing-dark:hover {
  background: var(--green-bright);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,194,106,0.3);
}

/* ── CTA Section ── */
.cta-section {
  padding: var(--space-8) 0;
  background: var(--bg-warm);
}

.cta-card {
  background: var(--text-dark);
  border-radius: var(--radius-xl);
  padding: var(--space-7) var(--space-6);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37,194,106,0.15), transparent 70%);
  border-radius: 50%;
}

.cta-card::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(59,130,246,0.1), transparent 70%);
  border-radius: 50%;
}

.cta-card-content {
  position: relative;
  z-index: 1;
}

.cta-card-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: white;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-2);
}

.cta-card-subtitle {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.65);
  max-width: 500px;
  margin: 0 auto var(--space-5);
  line-height: 1.6;
}

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

/* ── Footer ── */
.footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.6);
  padding: var(--space-7) 0 var(--space-4);
}

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

.footer-brand {
  max-width: 280px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: white;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-2);
}

.footer-logo img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.footer-tagline {
  font-size: var(--text-sm);
  line-height: 1.65;
  margin-bottom: var(--space-3);
}

.footer-social {
  display: flex;
  gap: var(--space-1);
}

.footer-social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  color: rgba(255,255,255,0.6);
}

.footer-social-link:hover {
  background: var(--grad-primary);
  color: white;
  transform: translateY(-2px);
}

.footer-social-link svg {
  width: 16px;
  height: 16px;
}

.footer-col-title {
  font-family: 'Outfit', sans-serif;
  font-size: var(--text-sm);
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-3);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--green-bright);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-4);
  flex-wrap: wrap;
  gap: var(--space-2);
}

.footer-copyright {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
}

.footer-legal-links {
  display: flex;
  gap: var(--space-3);
}

.footer-legal-links a {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
  transition: color 0.2s;
}

.footer-legal-links a:hover {
  color: rgba(255,255,255,0.7);
}

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: var(--bg-warm);
  padding: 140px 0 var(--space-7);
  text-align: center;
}

.page-hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-2);
}

.page-hero-subtitle {
  font-size: var(--text-lg);
  color: var(--text-mid);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── Contact Form ── */
.contact-section {
  padding: var(--space-8) 0;
  background: var(--bg-warm);
}

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

.contact-info-item {
  display: flex;
  gap: var(--space-2);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border-light);
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--bg-teal-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 20px;
  height: 20px;
  color: var(--teal-dark);
}

.contact-info-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 3px;
}

.contact-info-value {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--text-dark);
}

.contact-form-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  box-shadow: var(--shadow-md);
}

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

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

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

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: var(--text-sm);
  color: var(--text-dark);
  background: var(--bg-warm);
  transition: all 0.2s;
  outline: none;
  appearance: none;
  min-height: 44px;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--teal-dark);
  background: white;
  box-shadow: 0 0 0 3px rgba(20, 95, 110, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-light);
}

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

.form-helper {
  font-size: var(--text-xs);
  color: var(--text-light);
  margin-top: 5px;
}

.form-error {
  font-size: var(--text-xs);
  color: #EF4444;
  margin-top: 5px;
  display: none;
}

.form-error.visible {
  display: block;
}

.form-input.invalid,
.form-textarea.invalid {
  border-color: #EF4444;
  background: #FFF5F5;
}

.form-success-message {
  display: none;
  text-align: center;
  padding: var(--space-5);
}

.form-success-message.visible {
  display: block;
}

/* ── Work / Portfolio ── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.portfolio-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  transition: all 0.4s var(--ease-smooth);
  cursor: pointer;
}

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

.portfolio-card-img {
  height: 240px;
  background: var(--card-bg, var(--grad-primary));
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-card:nth-child(1) { --card-bg: linear-gradient(135deg, #145F6E, #25C26A); }
.portfolio-card:nth-child(2) { --card-bg: linear-gradient(135deg, #FF6B4A, #F59E0B); }
.portfolio-card:nth-child(3) { --card-bg: linear-gradient(135deg, #3B82F6, #8B5CF6); }
.portfolio-card:nth-child(4) { --card-bg: linear-gradient(135deg, #1B8A78, #4DD98A); }

.portfolio-card-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.3) 0px, rgba(255,255,255,0.3) 1px, transparent 1px, transparent 12px);
}

.portfolio-card-label {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-3);
  text-align: center;
}

.portfolio-card-label-type {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.75);
  font-weight: 600;
  margin-bottom: 4px;
}

.portfolio-card-label-name {
  font-family: 'Outfit', sans-serif;
  font-size: var(--text-xl);
  font-weight: 800;
  color: white;
}

.portfolio-card-body {
  padding: var(--space-3);
}

.portfolio-card-title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.portfolio-card-desc {
  font-size: var(--text-sm);
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: var(--space-2);
}

.portfolio-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.portfolio-tag {
  font-size: var(--text-xs);
  font-weight: 500;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--bg-teal-soft);
  color: var(--teal-dark);
}

/* ── Legal pages ── */
.legal-content {
  padding: var(--space-8) 0;
  background: var(--bg-warm);
}

.legal-card {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-md);
}

.legal-card h2 {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin: var(--space-4) 0 var(--space-2);
  letter-spacing: -0.02em;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p {
  font-size: var(--text-base);
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: var(--space-2);
}

.legal-card ul {
  list-style: disc;
  padding-left: var(--space-3);
  margin-bottom: var(--space-2);
}

.legal-card ul li {
  font-size: var(--text-base);
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 6px;
}

.legal-meta {
  font-size: var(--text-sm);
  color: var(--text-light);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border-light);
}

/* ── Mobile Hamburger ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}

.nav-hamburger:hover {
  background: var(--bg-teal-soft);
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s var(--ease-smooth);
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(247, 245, 240, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: var(--space-3);
  box-shadow: var(--shadow-md);
}

.nav-mobile-menu.open {
  display: block;
}

.nav-mobile-links {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: var(--space-2);
}

.nav-mobile-links a {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--text-mid);
  padding: 10px var(--space-2);
  border-radius: var(--radius-md);
  transition: all 0.2s;
}

.nav-mobile-links a:hover {
  color: var(--teal-dark);
  background: var(--bg-teal-soft);
}

/* ── Active nav link ── */
.nav-links a.active {
  color: var(--teal-dark);
}

.nav-links a.active::after {
  width: 100%;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }

  .pricing-card.featured {
    transform: scale(1);
  }

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

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

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

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

  .nav-hamburger {
    display: flex;
  }

  .nav {
    position: fixed;
  }

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

  .process-steps {
    grid-template-columns: 1fr;
  }

  .results-stats {
    grid-template-columns: 1fr 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .proof-bar-inner {
    gap: var(--space-4);
  }

  .proof-divider {
    display: none;
  }

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

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

  .cta-card {
    padding: var(--space-5) var(--space-3);
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
  }

  .hero-proof {
    flex-direction: column;
    gap: var(--space-1);
    text-align: center;
  }
}

@media (max-width: 480px) {
  .section {
    padding: var(--space-6) 0;
  }

  .results-stats {
    grid-template-columns: 1fr;
  }

  .result-stat-number {
    font-size: var(--text-4xl);
  }
}

/* ── Utility ── */
.text-center { text-align: center; }
.hidden { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* Focus visible for keyboard nav */
:focus-visible {
  outline: 2px solid var(--teal-dark);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-warm);
}

::-webkit-scrollbar-thumb {
  background: var(--grad-primary);
  border-radius: 3px;
}

/* Selection */
::selection {
  background: rgba(37, 194, 106, 0.2);
  color: var(--teal-dark);
}
