/*
  definedigital.agency - Premium Digital Marketing Agency Stylesheet (v3 - Light Theme, Multi-Page)
  Design Principles: Human-Crafted, High Legibility, Asymmetric Grids, Custom Hand-Drawn Accents
  Colors: White (#FFFFFF), Off-White (#F7F5F0), Deep Navy (#0B1E3D), Warm Gold (#F5A524)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Sora:wght@400;600;700;800&display=swap');

:root {
  --navy-950: #040D1C;
  --navy-900: #071326;
  --navy-800: #0B1E3D;
  --navy-700: #14508A;
  --navy-600: #1B75BC;

  --gold-300: #FFE2B0;
  --gold-400: #FBB040;
  --gold-500: #F5A524;
  --gold-600: #C77A0B;
  --gold-700: #8F5606;

  --offwhite: #F7F5F0;
  --offwhite-alt: #EFECE6;
  --charcoal: #1A1A1A;
  --text-dark: #0F172A;
  --text-muted: #64748B;
  --text-light-muted: #94A3B8;

  --glass-bg: rgba(255, 255, 255, 0.9);
  --glass-card: #FFFFFF;
  --glass-border: rgba(11, 30, 61, 0.1);
  --glass-glow: rgba(251, 176, 64, 0.15);

  --font-heading: 'Sora', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-gold: 0 10px 30px -5px rgba(251, 176, 64, 0.3);
  --shadow-card: 0 20px 40px -18px rgba(11, 30, 61, 0.18);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: #FFFFFF;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  animation: pageFadeIn 0.5s ease-out;
}

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

/* Custom Interactive Desktop Cursor */
@media (min-width: 1025px) {
  body { cursor: default; }
  .custom-cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--gold-500);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background-color 0.2s, border-color 0.2s;
    mix-blend-mode: normal;
  }
  .custom-cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background: var(--gold-500);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
  }
  a:hover ~ .custom-cursor-ring, button:hover ~ .custom-cursor-ring {
    width: 52px;
    height: 52px;
    background: rgba(251, 176, 64, 0.12);
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.text-gold {
  color: var(--gold-600);
}

.text-gold-gradient {
  background: linear-gradient(135deg, var(--gold-600) 0%, var(--gold-500) 50%, var(--gold-700) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hand-Drawn SVG Highlight Accent Underline */
.hand-drawn-accent {
  position: relative;
  display: inline-block;
  color: var(--gold-600);
}

.hand-drawn-accent svg {
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 14px;
  overflow: visible;
  pointer-events: none;
}

.hand-drawn-accent svg path {
  stroke: var(--gold-500);
  stroke-width: 3.5;
  stroke-linecap: round;
  fill: none;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: drawSwoosh 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.3s;
}

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

.bg-alt-section {
  background-color: var(--offwhite);
}

.bg-navy-section {
  background-color: var(--navy-900);
  color: #FFFFFF;
}

.bg-navy-section h2,
.bg-navy-section h3,
.bg-navy-section h4 {
  color: #FFFFFF;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 6.5rem 0;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 4rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: rgba(251, 176, 64, 0.1);
  border: 1px solid rgba(251, 176, 64, 0.35);
  border-radius: var(--radius-full);
  color: var(--gold-700);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.85rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 2.1rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  white-space: nowrap;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-500) 100%);
  color: var(--navy-950);
  box-shadow: 0 4px 15px rgba(251, 176, 64, 0.35);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #FFD08A 0%, var(--gold-400) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(251, 176, 64, 0.45);
}

.btn-navy-outline {
  background: transparent;
  color: var(--navy-900);
  border: 1px solid rgba(11, 30, 61, 0.25);
}

.btn-navy-outline:hover {
  background: rgba(11, 30, 61, 0.05);
  border-color: var(--gold-500);
  color: var(--gold-700);
}

/* Header Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all var(--transition-normal);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  padding: 0.75rem 0;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px rgba(11, 30, 61, 0.06);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo img {
  height: 46px;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-700);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--navy-900);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Page Hero Banner (used on Services/Results/Pricing/About/Contact) */
.page-hero {
  position: relative;
  padding: 10rem 0 4rem 0;
  background: radial-gradient(circle at 15% 20%, rgba(251, 176, 64, 0.14), transparent 55%), radial-gradient(circle at 85% 80%, rgba(251, 176, 64, 0.08), transparent 50%), var(--offwhite);
  text-align: center;
  overflow: hidden;
}

.page-hero-orb {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(251, 176, 64, 0.35);
  pointer-events: none;
  animation: heroOrbFloat 6s ease-in-out infinite;
}

.page-hero-orb.orb-1 { width: 70px; height: 70px; top: 18%; left: 8%; animation-delay: 0s; }
.page-hero-orb.orb-2 { width: 40px; height: 40px; top: 65%; right: 10%; animation-delay: 1.2s; }
.page-hero-orb.orb-3 { width: 22px; height: 22px; top: 25%; right: 20%; background: rgba(251, 176, 64, 0.15); border: none; animation-delay: 2s; }

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

@media (max-width: 768px) {
  .page-hero-orb { display: none; }
}

.page-hero .section-tag { margin-bottom: 1.25rem; }

.page-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.page-hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

/* Hero Section (Home) */
.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: 8.5rem;
  padding-bottom: 5rem;
  background: radial-gradient(circle at 78% 25%, rgba(251, 176, 64, 0.14) 0%, transparent 55%), #FFFFFF;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content > * {
  min-width: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background: rgba(251, 176, 64, 0.1);
  border: 1px solid rgba(251, 176, 64, 0.35);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-700);
  margin-bottom: 1.5rem;
  max-width: 100%;
}

.hero-badge > span:not(.pulse-dot) {
  min-width: 0;
  white-space: normal;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--gold-500);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--gold-500);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-title {
  font-size: 3.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--navy-900);
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.hero-trust-preview {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(11, 30, 61, 0.08);
}

.avatar-group {
  display: flex;
}

.avatar-group img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  box-shadow: 0 2px 8px rgba(11,30,61,0.15);
  margin-left: -12px;
  object-fit: cover;
}

.avatar-group img:first-child {
  margin-left: 0;
}

.hero-trust-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(251, 176, 64, 0.1);
  border: 1px solid var(--glass-border);
  color: var(--gold-600);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-trust-text {
  color: var(--text-muted) !important;
}

/* Hero Visual: Live Campaign Activity Feed */
.hero-visual {
  position: relative;
  width: 100%;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.hero-visual-glow {
  position: absolute;
  inset: -10% -10%;
  background: radial-gradient(circle at 55% 40%, rgba(251, 176, 64, 0.18), transparent 62%);
  filter: blur(10px);
  z-index: 0;
  pointer-events: none;
}

.feed-stack {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  transition: transform 0.25s ease-out;
  transform-style: preserve-3d;
}

.feed-card-wrap {
  animation: feedFloat 4.5s ease-in-out infinite;
  animation-delay: var(--float-delay, 0s);
}

.feed-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: #FFFFFF;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-card);
  opacity: 0;
  transform: translateY(18px) scale(0.96);
  animation: feedIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--delay, 0s);
  transition: box-shadow 0.4s ease, border-color 0.4s ease, background 0.4s ease;
}

.feed-card.featured {
  position: relative;
  overflow: hidden;
  border-color: var(--gold-500);
  background: linear-gradient(135deg, rgba(251, 176, 64, 0.12), #FFFFFF);
  box-shadow: var(--shadow-gold), var(--shadow-card);
  animation: feedIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards, goldPulse 3.5s ease-in-out infinite 1.2s;
}

.feed-card.featured::after {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 45%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  animation: shimmerSweep 3.5s ease-in-out infinite 1.2s;
}

@keyframes shimmerSweep {
  0% { left: -60%; }
  35%, 100% { left: 130%; }
}

@keyframes goldPulse {
  0%, 100% { box-shadow: var(--shadow-gold), var(--shadow-card); }
  50% { box-shadow: 0 0 0 8px rgba(251, 176, 64, 0.12), var(--shadow-card); }
}

.feed-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(16, 163, 74, 0.12);
  color: #15803D;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: iconPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
  animation-delay: calc(var(--delay, 0s) + 0.35s);
}

.feed-icon.gold {
  background: rgba(251, 176, 64, 0.18);
  color: var(--gold-700);
}

@keyframes iconPop {
  0% { transform: scale(0); }
  70% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.feed-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy-900);
  line-height: 1.3;
}

.feed-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.hero-platforms {
  position: relative;
  z-index: 1;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
}

@keyframes feedIn {
  to { opacity: 1; transform: translateY(0); }
}

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

@media (prefers-reduced-motion: reduce) {
  .feed-card-wrap { animation: none; }
  .feed-card { animation: none; opacity: 1; transform: none; }
  .feed-card.featured::after { animation: none; display: none; }
}

/* Trust / Stats Bar with Specific Data */
.stats-section {
  background: var(--offwhite);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: 3rem 0;
  position: relative;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--glass-border), transparent);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.85rem;
  font-weight: 800;
  color: var(--gold-600);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Client Marquee */
.marquee-section {
  padding: 2.5rem 0;
  background: #FFFFFF;
  overflow: hidden;
  border-bottom: 1px solid var(--glass-border);
}

.marquee-title {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scrollMarquee 30s linear infinite;
}

@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0 3rem;
  opacity: 0.75;
  transition: all var(--transition-fast);
}

.marquee-item:hover {
  opacity: 1;
}

.marquee-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(251, 176, 64, 0.12);
  border: 1px solid rgba(251, 176, 64, 0.3);
  color: var(--gold-600);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.marquee-item:hover .marquee-icon {
  background: var(--gold-500);
  color: #FFFFFF;
  transform: scale(1.08);
}

/* Asymmetrical Services Grid */
.services-grid-asym {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.credibility-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.service-card {
  background: #FFFFFF;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: all var(--transition-normal);
  position: relative;
  box-shadow: var(--shadow-card);
}

.service-card.featured-card {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(251, 176, 64, 0.07) 0%, #FFFFFF 100%);
  border: 1.5px solid var(--gold-500);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-500);
  box-shadow: 0 20px 40px rgba(11,30,61,0.1), 0 0 20px rgba(251, 176, 64, 0.12);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(251, 176, 64, 0.1);
  border: 1px solid rgba(251, 176, 64, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-600);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.service-title {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold-700);
}

/* Process Timeline */
.process-timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--gold-500) 0%, rgba(251, 176, 64, 0.1) 100%);
}

.process-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
  position: relative;
}

.process-step:nth-child(even) {
  direction: rtl;
}

.process-step:nth-child(even) .step-content {
  direction: ltr;
  text-align: right;
}

.step-node {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy-900);
  border: 2px solid var(--gold-500);
  box-shadow: 0 0 15px rgba(251, 176, 64, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--gold-400);
  z-index: 5;
}

.step-card {
  background: var(--navy-900);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold), var(--shadow-card);
}

.step-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(251, 176, 64, 0.14);
  border: 1px solid rgba(251, 176, 64, 0.3);
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: transform var(--transition-normal);
}

.step-card:hover .step-icon {
  transform: scale(1.08) rotate(-4deg);
}

.step-number {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: var(--gold-400);
  margin-bottom: 0.75rem;
}

.step-card .step-title {
  color: #FFFFFF;
  margin-bottom: 0.6rem;
}

.step-desc {
  color: var(--text-light-muted);
}

/* Case Studies Section */
.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.case-card {
  background: #FFFFFF;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 45px rgba(11,30,61,0.14);
}

.case-image {
  height: 180px;
  background: var(--navy-900);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.case-icon {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(251, 176, 64, 0.18);
  border: 1px solid rgba(251, 176, 64, 0.4);
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-normal);
}

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

.case-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--gold-500);
  color: var(--navy-950);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
}

.case-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.case-client {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-600);
  margin-bottom: 0.5rem;
}

.case-headline {
  font-size: 1.25rem;
  color: var(--navy-900);
  margin-bottom: 1rem;
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 1rem;
  background: var(--offwhite-alt);
  border-radius: var(--radius-md);
  margin-top: auto;
}

.case-metric-val {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy-800);
}

.case-metric-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Results Snapshot / Testimonials */
.testimonials-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--offwhite);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
}

.rating-stars {
  color: var(--gold-500);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.testimonial-quote {
  font-size: 1.25rem;
  line-height: 1.7;
  font-style: italic;
  color: var(--navy-800);
  margin-bottom: 2rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.author-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid var(--gold-500);
  object-fit: cover;
}

/* Team Section (About page) */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.team-card {
  background: #FFFFFF;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-500);
  box-shadow: 0 20px 40px rgba(11,30,61,0.1);
}

.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.25rem auto;
  border: 3px solid var(--gold-400);
  box-shadow: 0 8px 20px rgba(251, 176, 64,0.25);
}

.team-name {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.85rem;
  color: var(--gold-700);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.9rem;
}

.team-bio {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: center;
}

.pricing-card {
  background: #FFFFFF;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-card);
}

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(251, 176, 64,0.06) 0%, #FFFFFF 100%);
  border: 2px solid var(--gold-500);
  box-shadow: 0 0 30px rgba(251, 176, 64, 0.18);
  transform: scale(1.05);
}

.featured-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-600) 100%);
  color: var(--navy-950);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  padding: 0.3rem 1.25rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.pricing-plan {
  color: var(--navy-900);
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 1.5rem;
}

.pricing-price .amount {
  font-size: 1.9rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.925rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.pricing-features li svg {
  color: var(--gold-600);
  flex-shrink: 0;
}

/* Contact Lead Form */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  background: #FFFFFF;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-card);
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-input, .form-textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: var(--offwhite);
  border: 1px solid rgba(11, 30, 61, 0.15);
  border-radius: var(--radius-sm);
  color: var(--navy-900);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 12px rgba(251, 176, 64, 0.2);
}

.budget-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  grid-column: span 2;
}

.budget-btn {
  padding: 0.6rem 0.5rem;
  background: var(--offwhite);
  border: 1px solid rgba(11, 30, 61, 0.15);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.budget-btn.active, .budget-btn:hover {
  background: rgba(251, 176, 64, 0.12);
  border-color: var(--gold-500);
  color: var(--gold-700);
}

.form-status {
  grid-column: span 2;
  padding: 1rem;
  border-radius: var(--radius-sm);
  display: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.form-status.success {
  display: block;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid #10B981;
  color: #047857;
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid #EF4444;
  color: #B91C1C;
}

/* Footer */
.site-footer {
  background: var(--navy-950);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 5rem 0 2rem 0;
  color: var(--text-light-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-title {
  color: #FFFFFF;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a:hover {
  color: var(--gold-400);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
}

/* Two-column content blocks (About founder ethos, Home founder teaser) */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.two-col-grid.auto-fit {
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  max-width: 900px;
}

/* Snapshot stat grid (used inside the results-page numbers card) */
.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 0;
}

/* CTA Band (used near the bottom of inner pages) */
.cta-band {
  background: var(--navy-900);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  text-align: center;
  margin: 0 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.cta-band h2 { color: #FFFFFF; }
.cta-band p { color: var(--text-light-muted); margin-bottom: 2rem; }

/* Scroll-reveal utility (JS toggles .in-view) */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-visual {
    min-height: 360px;
    margin-top: 1rem;
  }
  .feed-card-wrap[style*="margin-left"] {
    margin-left: 1.25rem !important;
  }
  .services-grid-asym {
    grid-template-columns: 1fr;
  }
  .service-card.featured-card {
    grid-column: span 1;
  }
  .case-studies-grid, .pricing-grid, .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  /* Tighter vertical rhythm overall — desktop spacing left too much dead air on phones */
  .section-padding { padding: 3.25rem 0; }
  .section-header { margin: 0 auto 2.25rem auto; }
  .section-title { font-size: 1.85rem; margin-bottom: 1rem; }
  .section-subtitle { font-size: 1rem; }
  .section-tag { font-size: 0.75rem; padding: 0.3rem 0.85rem; }

  .page-hero { padding: 6.5rem 0 2.25rem 0; }
  .page-hero h1 { font-size: 1.9rem; line-height: 1.2; }
  .page-hero p { font-size: 1rem; }

  .hero-section { padding-top: 6.5rem; padding-bottom: 2.5rem; min-height: 0; }
  .hero-title { font-size: 2.1rem; }
  .hero-description { font-size: 1.05rem; margin-bottom: 1.75rem; }
  .hero-badge { font-size: 0.78rem; }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 1.75rem;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: #FFFFFF;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    box-shadow: -10px 0 30px rgba(11,30,61,0.15);
    transition: right var(--transition-normal);
  }
  .nav-menu.active { right: 0; }
  .mobile-toggle { display: block; }

  .case-studies-grid, .pricing-grid, .team-grid, .services-grid-asym, .credibility-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .service-card { padding: 1.75rem; }
  .service-title { font-size: 1.2rem; }
  .case-body { padding: 1.5rem; }
  .case-headline { font-size: 1.1rem; }

  .pricing-card.featured { transform: scale(1); }
  .pricing-card { padding: 2rem 1.5rem; }
  .pricing-price { font-size: 2.1rem; margin-bottom: 1rem; }

  .team-card { padding: 1.5rem; }
  .team-photo { width: 96px; height: 96px; }

  .process-timeline::before { left: 20px; }
  .process-step { grid-template-columns: 1fr; padding-left: 60px; margin-bottom: 2.5rem; }
  .process-step:nth-child(even) { direction: ltr; }
  .process-step:nth-child(even) .step-content { text-align: left; }
  .step-node { left: 20px; width: 40px; height: 40px; font-size: 0.85rem; }
  .step-card { padding: 1.5rem; }

  .testimonial-card { padding: 1.75rem 1.5rem; }
  .testimonial-quote { font-size: 1.05rem; }

  .contact-wrapper { padding: 1.75rem; gap: 2rem; }
  .contact-form-grid { grid-template-columns: 1fr; }
  .form-group.full-width, .budget-options { grid-column: span 1; }
  .budget-options { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: 1fr; gap: 2.25rem; margin-bottom: 2.5rem; }
  .site-footer { padding: 3rem 0 1.5rem 0; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

  .cta-band { padding: 2rem 1.5rem; }
  .cta-band h2 { font-size: 1.5rem !important; }

  .stats-section { padding: 2rem 0; }
  .stat-number { font-size: 2.1rem; }
  .stat-label { font-size: 0.82rem; }

  .marquee-section { padding: 1.5rem 0; }

  .two-col-grid, .two-col-grid.auto-fit {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    text-align: left;
  }
  .two-col-grid.auto-fit .team-photo {
    width: 90px !important;
    height: 90px !important;
  }
  .snapshot-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }
  .snapshot-grid .case-metric-val { font-size: 1.3rem !important; }
  .snapshot-grid .case-metric-lbl { font-size: 0.68rem; }
}

@media (max-width: 420px) {
  .snapshot-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    text-align: center;
  }
}


/* Legal pages (Privacy Policy, Terms, Refund & Cancellation, Disclaimer) */
.legal-container { max-width: 860px; }
.legal-meta { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.75rem; }
.legal-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy-800);
  margin: 2.5rem 0 0.9rem 0;
  scroll-margin-top: 6rem;
}
.legal-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy-800);
  margin: 1.5rem 0 0.5rem 0;
}
.legal-content p,
.legal-content li {
  color: var(--text-dark);
  font-size: 1.02rem;
  line-height: 1.75;
}
.legal-content p { margin-bottom: 1rem; }
.legal-content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1.25rem; }
.legal-content li { margin-bottom: 0.5rem; }
.legal-content a { color: var(--gold-700); text-decoration: underline; text-underline-offset: 2px; }
.legal-content a:hover { color: var(--gold-600); }
.legal-callout {
  background: var(--offwhite);
  border-left: 3px solid var(--gold-500);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.4rem;
  margin: 1.75rem 0;
}
.legal-callout p:last-child { margin-bottom: 0; }

@media (max-width: 768px) {
  .legal-content h2 { font-size: 1.3rem; margin-top: 2rem; }
  .legal-content p, .legal-content li { font-size: 1rem; }
}

/* MOBILE-LOGO: the Define Digital Agency logo is a wide lockup */
@media (max-width: 640px) { .brand-logo img { height: 34px; } }

/* DD-PALETTE: cooler backgrounds + logo blue as the second brand colour */
:root { --offwhite: #F3F8FD; --offwhite-alt: #E6EFF9; --glass-border: rgba(27, 117, 188, 0.14); --brand-blue: #1B75BC; --brand-blue-dark: #155D96; }
.nav-link:hover, .nav-link.active { color: var(--brand-blue); }
.stats-section { background: linear-gradient(180deg, #F3F8FD, #FFFFFF); }
