/* ============================================================
   GraphicWind — Custom Stylesheet
   File: css/style.css
   
   TABLE OF CONTENTS:
   1. CSS Variables & Reset
   2. Typography
   3. Utility Classes
   4. Navbar
   5. Hero Section
   6. How It Works Section
   7. Services / Features Section
   8. Pricing Section
   9. Footer
   10. Animations & Keyframes
   11. Responsive Overrides
   ============================================================ */

/* ============================================================
   1. CSS VARIABLES & RESET
   ============================================================ */
:root {
  /* ── Brand Colors ── */
  --accent:        #e2009d;          /* Primary Pink/Magenta */
  --accent-dark:   #b3007c;          /* Darker shade for hover states */
  --accent-glow:   rgba(226,0,157,0.25); /* Glow for shadows/effects */
  --black:         #000000;          /* Dark theme / text */
  --off-white:     #fdfdfd;          /* Background / light text */
  --gray-100:      #f4f4f6;          /* Subtle backgrounds */
  --gray-200:      #e8e8ee;          /* Borders, dividers */
  --gray-500:      #8a8a99;          /* Muted text */
  --gray-700:      #3a3a4a;          /* Body text */

  /* ── Spacing Scale ── */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  6rem;
  --space-2xl: 8rem;

  /* ── Typography ── */
  --font-sans: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Inter', 'Segoe UI', system-ui, sans-serif;

  /* ── Border Radius ── */
  --radius-sm:  6px;
  --radius-md:  14px;
  --radius-lg:  24px;
  --radius-xl:  40px;
  --radius-full: 9999px;

  /* ── Transitions ── */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 0.3s var(--ease-out);

  /* ── Shadows ── */
  --shadow-card: 0 4px 24px rgba(0,0,0,0.07);
  --shadow-accent: 0 8px 32px var(--accent-glow);
}

/* Box-sizing reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--gray-700);
  background-color: var(--off-white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}


/* ============================================================
   2. TYPOGRAPHY — Google Fonts loaded in index.html
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--black);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-stretch: normal;
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem,  4vw, 3.2rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

p {
  font-size: 1.05rem;
  color: var(--gray-500);
  line-height: 1.75;
}

/* Accent text highlight */
.text-accent { color: var(--accent); }

/* Section label / eyebrow */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(226,0,157,0.08);
  border: 1px solid rgba(226,0,157,0.2);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 1.2rem;
}


/* ============================================================
   3. UTILITY CLASSES
   ============================================================ */

/* Responsive centered container — max 1200px, auto side padding */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

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

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

.section-header p {
  max-width: 560px;
  margin: 0.75rem 0 0;
}

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

.section-header.centered p {
  margin-left: auto;
  margin-right: auto;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  font-family: var(--font-sans);
  letter-spacing: 0.01em;
}

/* Primary button — filled accent */
.btn-primary {
  background: var(--accent);
  color: var(--off-white);
  border-color: var(--accent);
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px var(--accent-glow);
}

/* Secondary button — outlined */
.btn-secondary {
  background: transparent;
  color: var(--black);
  border-color: var(--gray-200);
}

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

/* Ghost button for dark backgrounds */
.btn-ghost {
  background: transparent;
  color: var(--off-white);
  border-color: rgba(255,255,255,0.4);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--off-white);
}

.btn-lg {
  padding: 18px 38px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.85rem;
}


/* ============================================================
   4. NAVBAR
   ============================================================ */
/* ── NOTE: Replace the logo image path in index.html ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(253,253,253,0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
  padding: 0;
}

/* Class toggled by JS on scroll */
.navbar.scrolled {
  border-color: var(--gray-200);
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

/* Logo area — shows image; if image fails, shows text fallback */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* The <img> logo */
.nav-logo img {
  height: 56px;
  width: auto;
}

/* CSS fallback text shown when image is missing (JS handles onerror) */
.nav-logo .logo-text-fallback {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.03em;
  display: none; /* hidden by default; shown if image errors */
}

.nav-logo .logo-text-fallback span {
  color: var(--accent);
}

/* Desktop nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gray-700);
  position: relative;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: var(--radius-full);
  transition: width var(--transition);
}

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

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

/* Nav right — CTA group */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile hamburger — hidden on desktop */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  z-index: 1001;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Animated hamburger → X when open */
.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile slide-out menu */
.nav-mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--off-white);
  border-top: 1px solid var(--gray-200);
  padding: 1.5rem 0 2rem;
}

.nav-mobile-menu a {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gray-700);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-200);
  transition: color var(--transition);
}

.nav-mobile-menu a:hover {
  color: var(--accent);
}

.nav-mobile-menu .btn {
  margin-top: 1rem;
  width: 100%;
  justify-content: center;
}

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


/* ============================================================
   5. HERO SECTION
   ============================================================ */
/* ── NOTE: Replace hero-image.png in assets/images/ ── */
.hero-section {
  padding-top: calc(var(--space-xl) + 80px); /* offset for fixed nav */
  padding-bottom: var(--space-xl);
  position: relative;
  overflow: hidden;
}

/* Decorative background blobs */
.hero-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(226,0,157,0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(226,0,157,0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-lg);
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 580px;
}

/* Social proof badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  padding: 8px 18px 8px 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 1.5rem;
  animation: fadeSlideUp 0.6s var(--ease-out) both;
}

.hero-badge .badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2s infinite;
}

.hero-content h1 {
  margin-bottom: 1.25rem;
  animation: fadeSlideUp 0.6s 0.1s var(--ease-out) both;
}

.hero-content > p {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  max-width: 480px;
  animation: fadeSlideUp 0.6s 0.2s var(--ease-out) both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.6s 0.3s var(--ease-out) both;
}

/* Trust stats row */
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-200);
  animation: fadeSlideUp 0.6s 0.4s var(--ease-out) both;
}

.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.03em;
}

.hero-stat span {
  font-size: 0.82rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* Hero illustration placeholder */
.hero-visual {
  position: relative;
  animation: fadeSlideRight 0.8s 0.2s var(--ease-out) both;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── SWAP: Replace with your real hero image ── */
.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* Placeholder shown when no image */
.hero-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--gray-500);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  padding: 2rem;
}

.hero-placeholder svg {
  opacity: 0.3;
}

/* Floating badge on hero image */
.hero-float-badge {
  position: absolute;
  bottom: -16px;
  left: -24px;
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 4s ease-in-out infinite;
}

.hero-float-badge .float-icon {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.hero-float-badge .float-text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--black);
}

.hero-float-badge .float-text span {
  font-size: 0.75rem;
  color: var(--gray-500);
}

/* Second floating card */
.hero-float-card-2 {
  position: absolute;
  top: -16px;
  right: -20px;
  background: var(--black);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float 4s 2s ease-in-out infinite;
}

.hero-float-card-2 strong {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--off-white);
  white-space: nowrap;
}

.hero-float-card-2 .stars {
  color: #FFD700;
  font-size: 0.85rem;
  letter-spacing: 1px;
}


/* ============================================================
   6. HOW IT WORKS SECTION
   ============================================================ */
/* ── NOTE: Swap icon SVGs or emoji to match your brand ── */
.how-it-works {
  background: var(--black);
  position: relative;
  overflow: hidden;
}

.how-it-works .section-header h2 {
  color: var(--off-white);
}

.how-it-works .section-header p {
  color: rgba(253,253,253,0.65);
}

.how-it-works::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(226,0,157,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
}

/* Connector line between cards */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 52px;
  left: calc(16.66% + 1rem);
  width: calc(66.66% - 2rem);
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-dark) 100%);
  opacity: 0.2;
  z-index: 0;
}

.step-card {
  background: #e3009e;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255,255,255,0.15);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card), 0 0 0 1px var(--accent-glow);
  border-color: rgba(226,0,157,0.2);
}

.step-number {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--black);
  color: var(--off-white);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
}

/* Accent ring on step number */
.step-number::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: calc(var(--radius-md) + 4px);
  border: 2px solid var(--accent);
  opacity: 0;
  transition: opacity var(--transition);
}

.step-card:hover .step-number::after {
  opacity: 1;
}

.step-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  /* ── SWAP: Replace emoji with your own SVG icons ── */
}

.step-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.step-card p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
}

.step-card p a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}


/* ============================================================
   7. SERVICES / FEATURES SECTION
   ============================================================ */
.services-section {
  background: var(--off-white);
}

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

.service-card {
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: all var(--transition);
  cursor: default;
  position: relative;
  overflow: hidden;
}

/* Accent top bar on hover */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  border-color: rgba(226,0,157,0.15);
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  transition: background var(--transition), transform var(--transition);
  /* ── SWAP: Replace emoji with SVG icons ── */
}

.service-card:hover .service-icon {
  background: rgba(226,0,157,0.1);
  transform: scale(1.08) rotate(-4deg);
}

.service-card h4 {
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
  color: var(--black);
}

.service-card p {
  font-size: 0.88rem;
  line-height: 1.65;
}


/* ============================================================
   7b. PORTFOLIO / OUR WORK SECTION
   ============================================================ */
.portfolio-section {
  background: var(--black);
}

.portfolio-section .section-header h2 {
  color: var(--off-white);
}

.portfolio-section .section-header p {
  color: rgba(253,253,253,0.65);
}

.portfolio-section .eyebrow {
  background: rgba(226,0,157,0.15);
  border-color: rgba(226,0,157,0.3);
}

.portfolio-section .portfolio-cta p {
  color: rgba(253,253,253,0.65);
}


/* ============================================================
   8. PRICING SECTION
   ============================================================ */
/* ── NOTE: Update plan names, prices, and feature lists below ── */
.pricing-section {
  background: var(--black);
  position: relative;
  overflow: hidden;
}

/* Decorative background */
.pricing-section::before {
  content: '';
  position: absolute;
  top: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(226,0,157,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.pricing-section::after {
  content: '';
  position: absolute;
  bottom: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(226,0,157,0.1) 0%, transparent 70%);
  pointer-events: none;
}

/* Override section text for dark background */
.pricing-section .eyebrow {
  background: rgba(226,0,157,0.15);
  border-color: rgba(226,0,157,0.3);
}

.pricing-section h2 {
  color: var(--off-white);
}

.pricing-section .section-header p {
  color: rgba(253,253,253,0.5);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  position: relative;
  z-index: 1;
}

.pricing-card {
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}

.pricing-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-4px);
}

/* Featured/popular card */
.pricing-card.featured {
  background: var(--accent);
  border-color: var(--accent);
  position: relative;
  transform: scale(1.03);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-4px);
  box-shadow: var(--shadow-accent);
}

.pricing-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--black);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  width: fit-content;
}

.plan-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: rgba(253,253,253,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.pricing-card.featured .plan-name {
  color: rgba(253,253,253,0.8);
}

.plan-price {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-bottom: 0.5rem;
}

.plan-price .currency {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--off-white);
  margin-bottom: 8px;
}

.plan-price .amount {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--off-white);
  line-height: 1;
  letter-spacing: -0.04em;
}

.plan-price .period {
  font-size: 0.85rem;
  color: rgba(253,253,253,0.5);
  margin-bottom: 10px;
}

.pricing-card.featured .currency,
.pricing-card.featured .amount,
.pricing-card.featured .period {
  color: var(--off-white);
}

.plan-description {
  font-size: 0.88rem;
  color: rgba(253,253,253,0.5);
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.pricing-card.featured .plan-description {
  color: rgba(253,253,253,0.75);
}

.plan-divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin-bottom: 1.75rem;
}

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

/* Feature list inside pricing card */
.plan-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.plan-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(253,253,253,0.7);
}

.pricing-card.featured .plan-feature {
  color: rgba(253,253,253,0.9);
}

.feature-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.65rem;
  color: var(--off-white);
}

.pricing-card.featured .feature-check {
  background: rgba(255,255,255,0.25);
}

/* CTA inside pricing card */
.pricing-card .btn {
  width: 100%;
  justify-content: center;
}

.pricing-card:not(.featured) .btn {
  background: transparent;
  border-color: rgba(255,255,255,0.2);
  color: var(--off-white);
}

.pricing-card:not(.featured) .btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.4);
}

/* Featured card uses inverted button */
.pricing-card.featured .btn {
  background: var(--off-white);
  color: var(--accent);
  border-color: var(--off-white);
  font-weight: 800;
}

.pricing-card.featured .btn:hover {
  background: var(--gray-100);
}


/* ============================================================
   9. FOOTER
   ============================================================ */
/* ── NOTE: Replace social URLs and footer links ── */
.site-footer {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: var(--space-lg) 0 var(--space-md);
  color: rgba(253,253,253,0.5);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: var(--space-md);
}

.footer-brand .nav-logo img {
  height: 48px;
  filter: brightness(0) invert(1); /* makes dark logo white */
}

.footer-brand .logo-text-fallback {
  display: none; /* same as navbar fallback */
  color: var(--off-white);
}

.footer-brand p {
  color: rgba(253,253,253,0.45);
  font-size: 0.88rem;
  margin-top: 1rem;
  max-width: 260px;
}

/* Social icons row */
.footer-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(253,253,253,0.5);
  font-size: 0.9rem;
  transition: all var(--transition);
}

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

/* Footer link columns */
.footer-col h5 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(253,253,253,0.3);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col ul a {
  font-size: 0.9rem;
  color: rgba(253,253,253,0.5);
  transition: color var(--transition);
}

.footer-col ul a:hover {
  color: var(--off-white);
}

/* Footer bottom bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(253,253,253,0.3);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: 0.82rem;
  color: rgba(253,253,253,0.3);
  transition: color var(--transition);
}

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


/* ============================================================
   10. ANIMATIONS & KEYFRAMES
   ============================================================ */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

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

/* Scroll-triggered fade-in — applied by IntersectionObserver in JS */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

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

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


/* ============================================================
   11. RESPONSIVE OVERRIDES
   ============================================================ */

/* ── Tablet (≤ 992px) ── */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-content > p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    max-width: 520px;
    margin: 0 auto;
  }

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

  .pricing-card.featured {
    transform: none;
  }

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

/* ── Mobile (≤ 768px) ── */
@media (max-width: 768px) {
  /* Show hamburger, hide desktop links */
  .nav-hamburger { display: flex; }
  .nav-links,
  .nav-cta { display: none; }

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

  /* Hide connector line on mobile */
  .steps-grid::before { display: none; }

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

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

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

  .hero-float-badge,
  .hero-float-card-2 {
    display: none; /* hide decorative floats on very small screens */
  }

  .hero-stats {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

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

/* ── Small Mobile (≤ 480px) ── */
@media (max-width: 480px) {
  :root {
    --space-xl: 4rem;
  }

  .btn-lg {
    padding: 15px 28px;
    font-size: 0.95rem;
  }
}


/* ============================================================
   12. PORTFOLIO SECTION — INFINITE MOTION MARQUEE
   ============================================================ */

/* Section container */
.portfolio-section {
  background: var(--black);
  overflow: hidden; /* clip the marquee edges */
}

/* Push the marquee rows away from the heading */
.portfolio-section .section-header {
  margin-bottom: 3rem;
}

/* ── Marquee wrapper ──
   Full-width, clips overflow, adds gradient fade on edges */
.marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 1.25rem;
  /* Left + right fade using CSS mask */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
}

/* ── Marquee track ──
   Flex row that is wider than the viewport.
   Contains 2× the cards so the loop is seamless. */
.marquee-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;       /* shrink-wrap to content */
  will-change: transform;   /* GPU compositing */
}

/* ── Direction animations ── */
.marquee-left {
  animation: marqueeScrollLeft 32s linear infinite;
}

.marquee-right {
  animation: marqueeScrollRight 32s linear infinite;
}

/* Pause on hover (respects user's reduced-motion preference too) */
.marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

/* ── Individual portfolio card ── */
.portfolio-card {
  flex-shrink: 0;
  width: 320px;             /* SWAP: change card width as needed */
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}

/* Inner wrapper handles the image + overlay stack */
.portfolio-card-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gray-100);
}

/* Project image */
.portfolio-card-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
  transition: transform 0.55s var(--ease-out);
}

/* Hover zoom on the image */
.portfolio-card:hover .portfolio-card-inner img {
  transform: scale(1.06);
}

/* Dark overlay that slides up on hover */
.portfolio-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1.25rem 1.1rem;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.82) 0%,
    rgba(0,0,0,0.4) 60%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(6px);
  opacity: 0;
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.portfolio-card:hover .portfolio-card-overlay {
  opacity: 1;
  transform: translateY(0);
}

/* Category tag chip */
.portfolio-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(226,0,157,0.18);
  border: 1px solid rgba(226,0,157,0.35);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  width: fit-content;
}

/* Project title on the card */
.portfolio-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--off-white);
  line-height: 1.3;
}

/* ── CTA row below the marquee ── */
.portfolio-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.portfolio-cta > p {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-700);
  margin: 0;
}

/* ── Keyframes ── */
@keyframes marqueeScrollLeft {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* move exactly half = 1 set of cards */
}

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

/* Respect user preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
  .marquee-left,
  .marquee-right {
    animation: none;
  }
}

/* ── Responsive adjustments for portfolio ── */
@media (max-width: 768px) {
  .portfolio-card {
    width: 260px;
  }

  .marquee-left {
    animation-duration: 22s;
  }

  .marquee-right {
    animation-duration: 22s;
  }
}


/* ============================================================
   13. CONTACT US SECTION
   ============================================================ */

/* Section background — subtle off-white with a faint radial accent */
.contact-section {
  background: var(--gray-100);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  bottom: -150px;
  right: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(226,0,157,0.07) 0%, transparent 70%);
  pointer-events: none;
}

/* Two-column layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-lg);
  align-items: start;
}

/* ── Left info column ── */
.contact-info h2 {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.contact-lead {
  font-size: 1.05rem;
  color: var(--gray-500);
  line-height: 1.75;
  margin-bottom: 2rem;
}

/* Detail cards row */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-detail-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  color: inherit;
  text-decoration: none;
  transition: all var(--transition);
}

a.contact-detail-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px var(--accent-glow);
  transform: translateX(4px);
}

.contact-detail-card.no-link {
  cursor: default;
}

/* Icon circle */
.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: rgba(226,0,157,0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  transition: background var(--transition);
}

a.contact-detail-card:hover .contact-detail-icon {
  background: var(--accent);
  color: var(--off-white);
}

.contact-detail-text span {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 2px;
}

.contact-detail-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--black);
}

/* Response time badge */
.contact-response-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  padding: 8px 18px 8px 12px;
  font-size: 0.85rem;
  color: var(--gray-700);
}

.contact-response-badge .badge-dot {
  width: 8px;
  height: 8px;
  background: #22c55e; /* green — online/available */
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2s infinite;
}

.contact-response-badge strong {
  color: var(--black);
}

/* ── Right: Form card ── */
.contact-form-wrapper {
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.25rem;
  box-shadow: var(--shadow-card);
}

/* Form layout */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Side-by-side name + email row */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Label */
.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  letter-spacing: 0.01em;
}

/* Input, select, textarea base */
.form-input {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--black);
  background: var(--gray-100);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.form-input::placeholder {
  color: var(--gray-500);
  opacity: 0.7;
}

.form-input:hover {
  border-color: #c8c8d8;
  background: var(--off-white);
}

.form-input:focus {
  border-color: var(--accent);
  background: var(--off-white);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

/* Textarea sizing */
.form-textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.65;
}

/* Select wrapper — positions the custom arrow */
.form-select-wrapper {
  position: relative;
}

.form-select {
  cursor: pointer;
  padding-right: 40px; /* room for arrow */
}

.select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-500);
  pointer-events: none;
  transition: color var(--transition);
}

.form-select-wrapper:focus-within .select-arrow {
  color: var(--accent);
}

/* Submit button — full-width */
.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 0.25rem;
}

/* Feedback messages */
.form-success {
  text-align: center;
  font-size: 0.92rem;
  font-weight: 600;
  color: #16a34a;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin: 0;
}

.form-error {
  text-align: center;
  font-size: 0.92rem;
  font-weight: 600;
  color: #dc2626;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin: 0;
}

/* ── Responsive ── */
@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper {
    padding: 1.75rem 1.25rem;
  }
}

/* ============================================================
   12. CLIENT LOGOS SCROLLER
   ============================================================ */
.client-logos-section {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: var(--black);
  overflow: hidden;
}

.logos-title {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 2.5rem;
}

.logos-marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.logos-marquee-track {
  display: flex;
  width: max-content;
  animation: logosScroll 35s linear infinite;
  gap: 5rem;
  align-items: center;
  padding-left: 2.5rem; /* half of gap */
}

.logos-marquee-track:hover {
  animation-play-state: paused;
}

.logo-item {
  flex-shrink: 0;
}

.logo-item img {
  height: 120px;
  width: auto;
  filter: none;
  opacity: 1;
  transition: transform var(--transition);
}

.logo-item:hover img {
  transform: scale(1.05);
}

@keyframes logosScroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 2.5rem)); }
}
