/* ================================================
   CODIGO BRO LLC - Main Stylesheet
   "Miami Art Deco × Brutalist Code" Aesthetic
   Dark Mode | Mobile-First | Distinctive
   ================================================ */

/* ---- CSS Custom Properties ---- */
:root {
  /* Background Colors — deep, warm darkness */
  --bg-primary: #0B0C10;
  --bg-secondary: #12131A;
  --bg-tertiary: #1A1B26;
  --bg-surface: #161722;
  --bg-overlay: rgba(11, 12, 16, 0.9);

  /* Accent Colors — Miami warmth meets electric energy */
  --accent-coral: #FF6B6B;
  --accent-peach: #FFB77D;
  --accent-gold: #FFB74D;
  --accent-sand: #E8A87C;
  --accent-teal: #4ECDC4;
  --accent-ice: #A8E6CF;
  --gradient-warm: linear-gradient(135deg, #FF6B6B 0%, #FFB74D 50%, #FFB77D 100%);
  --gradient-cool: linear-gradient(135deg, #4ECDC4 0%, #A8E6CF 100%);
  --gradient-sunset: linear-gradient(135deg, #FF6B6B 0%, #FF8E8E 30%, #FFB77D 60%, #FFD4A8 100%);
  --glow-coral: rgba(255, 107, 107, 0.25);
  --glow-gold: rgba(255, 183, 77, 0.2);

  /* Text Colors — refined contrast */
  --text-primary: #F0EEF2;
  --text-secondary: #9D9DB0;
  --text-muted: #5C5C72;
  --text-link: var(--accent-peach);

  /* Border & Divider — subtle warmth */
  --border-color: #2A2B3D;
  --border-light: rgba(42, 43, 61, 0.5);
  --border-warm: rgba(255, 183, 77, 0.15);

  /* Status Colors */
  --success: #4ECDC4;
  --warning: #FFB74D;
  --error: #FF6B6B;

  /* Typography — distinctive pairings */
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Civil Servant', -apple-system, BlinkMacSystemFont, sans-serif;
  --text-base: 1rem;
  --text-sm: 0.875rem;
  --text-xs: 0.75rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2.25rem;
  --text-4xl: 3rem;

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

  /* Border Radius — keep it sharp with selective rounding */
  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-xl: 14px;
  --radius-full: 9999px;

  /* Shadows — warm glow instead of cool blue */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.45);
  --shadow-glow-coral: 0 0 40px var(--glow-coral);

  /* Z-Index Scale */
  --z-nav: 100;
  --z-modal: 200;
  --z-toast: 300;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Grain/Noise texture overlay for tactile feel */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

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

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

a:hover {
  color: var(--accent-coral);
}

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ---- Utility Classes ---- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

/* Text gradient — warm sunset instead of purple-cyan */
.text-gradient {
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Stroke text effect for display typography */
.text-stroke {
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1.5px var(--accent-gold);
  transition: all var(--transition-base);
}

.text-stroke:hover {
  -webkit-text-fill-color: var(--accent-gold);
  -webkit-text-stroke: 0px transparent;
}

/* ---- Skip to Content (Accessibility) ---- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: var(--z-toast);
  padding: var(--space-3) var(--space-6);
  background: var(--accent-coral);
  color: var(--bg-primary);
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-4);
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}

/* ---- Navigation Bar ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: all var(--transition-base);
  backdrop-filter: none;
}

.navbar.scrolled {
  background: var(--bg-overlay);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border-light);
}

.navbar__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

/* Logo — angular Art Deco inspired */
.navbar__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.navbar__logo:hover {
  color: var(--text-primary);
}

.navbar__logo-icon {
  width: 34px;
  height: 34px;
  background: var(--gradient-warm);
  border-radius: 0;
  /* Angular shape — Art Deco diamond */
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: var(--text-xs);
  color: var(--bg-primary);
}

/* SVG Logo — inverted for dark background */
.navbar__logo-svg {
  width: 36px;
  height: 36px;
  /* Invert dark fills to white for visibility on dark bg */
  filter: invert(1) brightness(1.1);
  flex-shrink: 0;
}

/* Logo accent text — "Bro" with warm gradient */
.navbar__logo-accent {
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Footer-specific logo sizing */
.footer__logo {
  margin-bottom: var(--space-4);
}

.footer__logo .navbar__logo-svg {
  width: 48px;
  height: 48px;
}

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

.navbar__link {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: color var(--transition-fast);
  position: relative;
  padding-bottom: 2px;
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gradient-warm);
  transition: width var(--transition-base);
}

.navbar__link:hover,
.navbar__link:focus-visible {
  color: var(--text-primary);
}

.navbar__link:hover::after,
.navbar__link:focus-visible::after {
  width: 100%;
}

.navbar__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2) var(--space-5);
  min-height: 38px;
  background: var(--text-primary);
  color: var(--bg-primary);
  font-weight: 700;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 0;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.navbar__cta:hover {
  background: var(--accent-coral);
  color: var(--bg-primary);
  transform: translateY(-1px);
}

/* Hamburger Menu Button */
.navbar__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  z-index: calc(var(--z-nav) + 1);
}

.navbar__hamburger-line {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.navbar__hamburger.active .navbar__hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar__hamburger.active .navbar__hamburger-line:nth-child(2) {
  opacity: 0;
}

.navbar__hamburger.active .navbar__hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.navbar__menu.mobile-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--bg-secondary);
  padding: var(--space-8) var(--space-6);
  border-bottom: 1px solid var(--border-color);
  gap: var(--space-5);
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Show hamburger, hide desktop menu on mobile */
@media (min-width: 768px) {
  .navbar__hamburger {
    display: none;
  }

  .navbar__menu {
    display: flex;
  }

  .navbar__container {
    height: 72px;
  }
}

/* ---- Hero Section ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(72px + var(--space-16)) var(--space-6) var(--space-16);
  overflow: hidden;
}

/* Geometric SVG shapes */
.hero__geometries {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.geo-shape {
  position: absolute;
  opacity: 1;
}

.geo-shape--1 {
  width: min(600px, 80vw);
  height: min(600px, 80vw);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: geoRotate1 60s linear infinite;
}

.geo-shape--2 {
  width: min(400px, 60vw);
  height: min(400px, 60vw);
  top: 30%;
  right: -5%;
  transform: rotate(15deg);
  animation: geoRotate2 45s linear infinite;
}

@keyframes geoRotate1 {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes geoRotate2 {
  from { transform: rotate(15deg); }
  to { transform: rotate(375deg); }
}

/* Scattered decorative elements */
.hero__decorations {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.deco-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--accent-gold);
  border-radius: 50%;
  opacity: 0.4;
}

.deco-dot--1 { top: 20%; left: 8%; }
.deco-dot--2 { top: 70%; right: 12%; width: 8px; height: 8px; opacity: 0.3; }
.deco-dot--3 { bottom: 25%; left: 20%; width: 4px; height: 4px; opacity: 0.5; }

.deco-cross {
  position: absolute;
  width: 16px;
  height: 16px;
  opacity: 0.2;
}

.deco-cross::before,
.deco-cross::after {
  content: '';
  position: absolute;
  background: var(--accent-coral);
}

.deco-cross::before {
  width: 100%;
  height: 1.5px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.deco-cross::after {
  width: 1.5px;
  height: 100%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.deco-cross--1 { top: 35%; right: 8%; }
.deco-cross--2 { bottom: 30%; left: 6%; background: var(--accent-teal); }

.deco-line {
  position: absolute;
  background: linear-gradient(to bottom, transparent, rgba(255, 183, 77, 0.1), transparent);
}

.deco-line--1 {
  width: 1px;
  height: 120px;
  top: 15%;
  left: 15%;
}

.deco-line--2 {
  width: 80px;
  height: 1px;
  bottom: 20%;
  right: 25%;
  background: linear-gradient(to right, transparent, rgba(78, 205, 196, 0.1), transparent);
}

/* Hero content */
.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

/* Initial invisible state for hero entrance animation */
.hero__badge,
.hero__title,
.hero__subtitle,
.hero__actions,
.hero__micro-stats {
  will-change: opacity, transform;
}

/* Badge — angular with accent line */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-1) var(--space-4);
  border: 1px solid var(--border-warm);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: var(--space-10);
  position: relative;
}

.hero__badge-accent {
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 20px;
  background: var(--accent-gold);
}

/* Title — multi-line asymmetric layout */
.hero__title {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: var(--space-8);
  letter-spacing: -0.03em;
}

.hero__title-line {
  display: block;
}

.hero__title-line--accent {
  margin: var(--space-2) 0;
  font-size: clamp(2.5rem, 7.5vw, 5rem);
  font-weight: 800;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-10);
  line-height: 1.8;
  font-weight: 400;
}

/* Actions — distinct button styles */
.hero__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
  margin-bottom: var(--space-12);
}

/* Primary button — angular, sharp edges with glitch effect */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  min-height: 48px;
  font-weight: 700;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 0;
  /* Sharp angular edges */
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.btn:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 3px;
}

/* Glitch button — distinctive hover with pseudo-element sweep */
.btn--primary {
  background: var(--gradient-warm);
  color: var(--bg-primary);
}

.btn--primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.5s ease;
}

.btn--primary:hover::before {
  left: 100%;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-coral);
  color: var(--bg-primary);
}

/* Button decorative corner */
.btn__deco {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 12px;
  height: 12px;
  border-top: 2px solid rgba(255, 255, 255, 0.4);
  border-right: 2px solid rgba(255, 255, 255, 0.4);
}

/* Secondary button — outline with arrow */
.btn--secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-color);
}

.btn--secondary:hover {
  border-color: var(--accent-peach);
  color: var(--accent-peach);
  transform: translateY(-2px);
}

/* ---- Buttons responsive ---- */
@media (min-width: 640px) {
  .hero__actions {
    flex-direction: row;
  }
}

/* Micro-stats bar under hero CTA */
.hero__micro-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  padding-top: var(--space-8);
  border-top: 1px solid var(--border-light);
}

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

.hero__micro-number {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-primary);
}

.hero__micro-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero__micro-divider {
  color: var(--border-color);
  font-size: var(--text-xs);
  opacity: 0.5;
}

/* Scroll indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent-gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

.hero__scroll-text {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* ---- Section Base ---- */
.section {
  padding: var(--space-20) 0;
  position: relative;
}

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

/* Section header — left-aligned, asymmetric */
.section__header {
  max-width: 700px;
  /* Use inline calc as fallback */
  margin-bottom: 5rem;
  position: relative;
}

.section__header.animate-in {
  margin-bottom: var(--space-14, 5rem);
}

.section__header--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Decorative accent bar above section titles */
.section__header::before {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--gradient-warm);
  margin-bottom: var(--space-6);
}

.section__header--center::before {
  margin-left: auto;
  margin-right: auto;
}

.section__label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-gold);
  margin-bottom: var(--space-3);
}

.section__title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.section__description {
  color: var(--text-secondary);
  font-size: var(--text-lg);
  line-height: 1.8;
  max-width: 560px;
}

.section__header--center .section__description {
  margin-left: auto;
  margin-right: auto;
}

/* ---- Service Cards — with image, angular with top accent ---- */
.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
  /* Sharp corners — brutalist feel */
  border-radius: 0;
  display: flex;
  flex-direction: column;
}

/* Card image container */
.service-card__image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.6s ease;
  filter: brightness(0.7) saturate(0.8);
}

.service-card:hover .service-card__image img {
  transform: scale(1.05);
  filter: brightness(0.8) saturate(1);
}

/* Dark gradient overlay on card images */
.service-card__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, var(--bg-surface) 100%);
  pointer-events: none;
}

/* Top accent bar — warm gradient */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-warm);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}

/* Corner accent — Art Deco diagonal detail */
.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  border-left: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.service-card:hover {
  border-color: rgba(255, 183, 77, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

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

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

/* Numbered accent on cards — below image */
.service-card__number {
  position: absolute;
  top: calc(var(--space-6) + 200px);
  right: var(--space-7);
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--bg-primary);
  opacity: 0.06;
  transition: opacity var(--transition-base);
  z-index: 1;
  pointer-events: none;
}

.service-card:hover .service-card__number {
  opacity: 0.12;
  color: var(--accent-gold);
}

/* Card body — padding starts below image area */
.service-card .service-card__title,
.service-card .service-card__description,
.service-card .service-card__features {
  position: relative;
  z-index: 2;
}

.service-card__title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
  padding: 0 var(--space-7) var(--space-4);
  padding-top: calc(var(--space-8) - 2rem);
}

.service-card__description {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-6);
  font-size: var(--text-sm);
  padding-right: var(--space-7);
  padding-left: var(--space-7);
}

.service-card__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-light);
  padding-right: var(--space-7);
  padding-left: var(--space-7);
  padding-bottom: var(--space-8);
}

/* ---- Featured Service Card (AI SaaS Product) ---- */
.service-card--featured {
  border-color: rgba(255, 107, 107, 0.3);
  background: linear-gradient(135deg, var(--bg-surface) 0%, rgba(26, 27, 38, 0.95) 100%);
}

.service-card--featured::before {
  background: var(--gradient-sunset);
  transform: scaleX(1);
  height: 3px;
}

.service-card--featured:hover {
  border-color: rgba(255, 107, 107, 0.6);
  box-shadow: 0 8px 40px rgba(255, 107, 107, 0.15), 0 0 60px var(--glow-coral);
}

.service-card--featured .service-card__image {
  height: 220px;
}

.service-card--featured .service-card__image img {
  filter: brightness(0.6) saturate(0.9);
}

.service-card--featured:hover .service-card__image img {
  filter: brightness(0.75) saturate(1.1);
}

/* "New" badge for featured card */
.service-card__badge-featured {
  position: absolute;
  top: calc(var(--space-6) + 200px);
  right: var(--space-7);
  padding: var(--space-1) var(--space-3);
  background: var(--accent-coral);
  color: var(--bg-primary);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  z-index: 3;
  pointer-events: none;
}

.service-card--featured .service-card__badge-featured {
  top: calc(var(--space-6) + 220px);
}

.service-card__description {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-6);
  font-size: var(--text-sm);
}

.service-card__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-light);
}

.service-card__feature {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--text-secondary);
  font-size: var(--text-sm);
}

.service-card__feature-check {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  stroke: var(--accent-teal);
  fill: none;
  stroke-width: 2.5;
}

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

  .service-card__number {
    top: calc(var(--space-6) + 180px);
  }

  .service-card__badge-featured {
    top: calc(var(--space-6) + 180px);
  }

  .service-card--featured .service-card__badge-featured {
    top: calc(var(--space-6) + 200px);
  }
}

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

  /* Make featured card span full width on desktop */
  .service-card--featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 400px;
  }

  .service-card--featured .service-card__image {
    height: 100%;
    min-height: 400px;
  }

  .service-card--featured .service-card__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-10) var(--space-8);
  }

  .service-card--featured .service-card__title {
    font-size: var(--text-2xl);
    padding-right: var(--space-8);
    padding-top: 0;
  }

  .service-card--featured .service-card__description {
    padding-right: var(--space-8);
  }

  .service-card--featured .service-card__features {
    padding-right: var(--space-8);
    padding-bottom: 0;
  }

  .service-card--featured .service-card__number {
    top: var(--space-8);
    font-size: 5rem;
  }

  .service-card--featured .service-card__badge-featured {
    top: var(--space-8);
  }
}

/* Mobile: stack everything in single column, featured full-width */
@media (max-width: 639px) {
  .service-card__number {
    top: calc(var(--space-4) + 200px);
    font-size: 2.5rem;
  }

  .service-card__badge-featured {
    top: calc(var(--space-4) + 200px);
  }

  .service-card--featured .service-card__badge-featured {
    top: calc(var(--space-4) + 220px);
  }

  .service-card--featured {
    grid-column: 1 / -1;
  }

  .service-card--featured .service-card__image {
    height: 220px;
  }

  .service-card--featured .service-card__title {
    padding-top: calc(var(--space-8) - 2rem);
  }
}

/* ---- Products Section — editorial card layout ---- */
.products__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.product-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: all var(--transition-base);
  position: relative;
  border-radius: 0;
}

.product-card:hover {
  border-color: rgba(255, 107, 107, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Featured product card — SaaS product spotlight */
.product-card--featured {
  border-color: rgba(255, 107, 107, 0.35);
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
}

.product-card--featured:hover {
  border-color: rgba(255, 107, 107, 0.6);
  box-shadow: 0 8px 40px rgba(255, 107, 107, 0.15), 0 0 60px var(--glow-coral);
}

/* Featured card image area */
.product-card--featured .product-card__image {
  height: 280px;
  min-height: 200px;
}

.product-card--featured .product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.65) saturate(0.85);
  transition: filter 0.6s ease, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card--featured:hover .product-card__image img {
  filter: brightness(0.78) saturate(1.05);
}

/* AI badge — coral with glow */
.product-card__badge--ai {
  background: var(--accent-coral);
  box-shadow: 0 0 12px var(--glow-coral);
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 8px var(--glow-coral); }
  50% { box-shadow: 0 0 20px var(--glow-coral), 0 0 40px rgba(255, 107, 107, 0.1); }
}

/* SaaS category label */
.product-card__category--saas {
  color: var(--accent-gold) !important;
}

/* Coming Soon pricing */
.product-card__price--saas {
  background: linear-gradient(90deg, var(--accent-coral) 0%, var(--accent-peach) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: var(--text-xl) !important;
}

/* Waitlist button */
.product-card__link--waitlist {
  background: var(--gradient-warm);
  border-color: transparent;
  color: var(--bg-primary);
  font-weight: 700;
}

.product-card__link--waitlist:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-coral);
  background: var(--gradient-warm) !important;
  border-color: transparent !important;
}

/* Image area — gradient background instead of placeholder */
.product-card__image {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Image within product cards */
.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.7) saturate(0.8);
  transition: filter 0.6s ease, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-card__image img {
  filter: brightness(0.85) saturate(1);
  transform: scale(1.03);
}

/* Unique gradient per product category */
.product-card:nth-child(1) .product-card__image {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.product-card:nth-child(2) .product-card__image {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d1b3d 50%, #1a1a2e 100%);
}

.product-card:nth-child(3) .product-card__image {
  background: linear-gradient(135deg, #1a2e1a 0%, #162e21 50%, #0f4030 100%);
}

/* Pattern overlay on image area */
.product-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 24px 24px;
}

.product-card__image-icon {
  width: 56px;
  height: 56px;
  stroke: var(--accent-peach);
  fill: none;
  stroke-width: 1;
  opacity: 0.7;
  position: relative;
  z-index: 1;
}

/* Badge — angular */
.product-card__badge {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  padding: var(--space-1) var(--space-3);
  background: var(--accent-coral);
  color: var(--bg-primary);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  z-index: 2;
}

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

.product-card__category {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-teal);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.product-card__title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.product-card__description {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-bottom: var(--space-5);
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-light);
}

.product-card__price {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.product-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  min-height: 36px;
  color: var(--text-primary);
  font-weight: 700;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: transparent;
  border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}

.product-card__link:hover {
  background: var(--accent-coral);
  border-color: var(--accent-coral);
  color: var(--bg-primary);
}

.product-card__link svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  transition: transform var(--transition-fast);
}

.product-card__link:hover svg {
  transform: translateX(3px);
}

/* Featured product spans full width on tablet+ */
@media (min-width: 640px) {
  .products__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-card--featured {
    grid-column: 1 / -1;
    grid-template-columns: 300px 1fr;
    min-height: 320px;
  }

  .product-card--featured .product-card__image {
    height: 100%;
    min-height: 320px;
  }

  .product-card--featured .product-card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-8);
  }

  .product-card--featured .product-card__title {
    font-size: var(--text-2xl);
  }
}

@media (min-width: 1024px) {
  .products__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-card--featured {
    grid-column: 1 / -1;
    grid-template-columns: 400px 1fr;
    min-height: 360px;
  }

  .product-card--featured .product-card__image {
    height: 100%;
    min-height: 360px;
  }

  .product-card--featured .product-card__body {
    padding: var(--space-10) var(--space-8);
  }

  .product-card--featured .product-card__title {
    font-size: var(--text-2xl);
  }
}

/* Mobile featured card adjustments */
@media (max-width: 639px) {
  .product-card--featured {
    grid-column: 1 / -1;
  }

  .product-card--featured .product-card__image {
    height: 280px;
  }

  .product-card--featured .product-card__body {
    padding: var(--space-6);
  }
}

/* ---- Trust / Stats Section — editorial number display ---- */
.trust {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

/* Subtle diagonal pattern */
.trust::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(30deg, rgba(255, 183, 77, 0.03) 1px, transparent 1px);
  background-size: 40px 70px;
  pointer-events: none;
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-10) var(--space-8);
  position: relative;
}

.trust__stat {
  text-align: center;
  padding: var(--space-6);
  position: relative;
}

/* Divider between stats on desktop */
@media (min-width: 768px) {
  .trust__stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--border-light);
  }
}

.trust__number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: var(--space-3);
  position: relative;
  display: inline-block;
}

/* First stat — coral gradient */
.trust__stat:nth-child(1) .trust__number {
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Second stat — teal gradient */
.trust__stat:nth-child(2) .trust__number {
  background: var(--gradient-cool);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Third & fourth stat — solid gold */
.trust__stat:nth-child(3) .trust__number,
.trust__stat:nth-child(4) .trust__number {
  color: var(--accent-gold);
}

.trust__label {
  color: var(--text-muted);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

@media (min-width: 768px) {
  .trust__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---- Contact Section — asymmetric split layout ---- */
.contact__wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
}

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

.contact__info p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-8);
  max-width: 500px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.contact__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-4);
  border-left: 2px solid var(--border-color);
  transition: all var(--transition-fast);
}

.contact__item:hover {
  border-left-color: var(--accent-gold);
  background: rgba(255, 183, 77, 0.03);
}

.contact__item-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: rgba(255, 183, 77, 0.08);
  /* Diamond shape */
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact__item-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent-gold);
  fill: none;
  stroke-width: 1.5;
  transform: rotate(45deg);
}

.contact__item-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: var(--space-1);
}

.contact__item-value {
  color: var(--text-primary);
  font-weight: 400;
}

.contact__item-value a {
  color: var(--text-primary);
}

.contact__item-value a:hover {
  color: var(--accent-peach);
}

/* Contact CTA card — bold, statement */
.contact__card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 0;
  padding: var(--space-10) var(--space-8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Diagonal accent */
.contact__card::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 250px;
  height: 250px;
  background: var(--gradient-warm);
  opacity: 0.04;
  transform: rotate(45deg);
}

.contact__card h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
  position: relative;
}

.contact__card p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-6);
  position: relative;
}

.contact__card .btn--primary {
  position: relative;
}

@media (min-width: 768px) {
  .contact__wrapper {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---- Footer — editorial multi-column ---- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: var(--space-16) 0 var(--space-8);
  position: relative;
}

/* Subtle top-line accent */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-warm);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

/* Brand column — larger logo */
.footer__brand-logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  margin-bottom: var(--space-4);
}

.footer__brand-logo:hover {
  color: var(--text-primary);
}

.footer__brand-description {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.8;
  max-width: 300px;
}

.footer__heading {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-gold);
  margin-bottom: var(--space-5);
}

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

.footer__link {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  text-decoration: none;
  transition: all var(--transition-fast);
  padding: 2px 0;
  position: relative;
}

.footer__link::before {
  content: '→';
  position: absolute;
  left: -16px;
  opacity: 0;
  transform: translateX(-5px);
  transition: all var(--transition-fast);
  color: var(--accent-coral);
}

.footer__link:hover {
  color: var(--text-primary);
  padding-left: var(--space-4);
}

.footer__link:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer__bottom {
  border-top: 1px solid var(--border-color);
  padding-top: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  text-align: center;
}

.footer__copyright {
  color: var(--text-muted);
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
}

.footer__legal {
  display: flex;
  justify-content: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.footer__legal-link {
  color: var(--text-secondary);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: color var(--transition-fast);
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}

.footer__legal-link:hover {
  color: var(--accent-gold);
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
}

/* ---- Modal ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(11, 12, 16, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  max-width: 720px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  animation: modalIn 0.3s ease;
  border-radius: 0;
}

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

.modal__header {
  padding: var(--space-8) var(--space-8) 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
}

.modal__title {
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Decorative underline for modal titles */
.modal__title::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gradient-warm);
  margin-top: var(--space-3);
}

.modal__close {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: transparent;
  border: 1px solid var(--border-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  border-radius: 0;
}

.modal__close:hover {
  background: rgba(255, 107, 107, 0.1);
  border-color: var(--error);
}

.modal__close svg {
  width: 16px;
  height: 16px;
  stroke: var(--text-secondary);
  fill: none;
  stroke-width: 2;
}

.modal__content {
  padding: var(--space-6) var(--space-8) var(--space-8);
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.8;
}

.modal__content h3 {
  color: var(--text-primary);
  font-size: var(--text-lg);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--border-light);
}

.modal__content p {
  margin-bottom: var(--space-4);
}

.modal__content ul {
  padding-left: var(--space-6);
  margin-bottom: var(--space-4);
  list-style: disc;
}

.modal__content li {
  margin-bottom: var(--space-2);
  list-style: disc;
}

@media (max-width: 639px) {
  .modal__header,
  .modal__content {
    padding-left: var(--space-6);
    padding-right: var(--space-6);
  }
}

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

.modal::-webkit-scrollbar-track {
  background: transparent;
}

.modal::-webkit-scrollbar-thumb {
  background: var(--border-color);
}

.modal::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* ---- Reduced Motion ---- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ---- Focus Visible Global ---- */
:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}

/* ==================================================
   Demo Booking Modal - Form Styles
   ================================================== */

.demo-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.demo-form__group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.demo-form__label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
}

.demo-form__label-required {
  color: var(--error);
  margin-left: 2px;
}

/* Input styling — sharp edges */
.demo-form__input,
.demo-form__textarea,
.demo-form__select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 0;
  /* Sharp edges */
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: 1.6;
  transition: all var(--transition-fast);
}

.demo-form__input::placeholder,
.demo-form__textarea::placeholder {
  color: var(--text-muted);
}

.demo-form__input:focus,
.demo-form__textarea:focus,
.demo-form__select:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(255, 183, 77, 0.1);
}

.demo-form__textarea {
  min-height: 120px;
  resize: vertical;
}

.demo-form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239D9DB0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: var(--space-10);
}

.demo-form__select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

/* Error state */
.demo-form__input.error,
.demo-form__textarea.error,
.demo-form__select.error {
  border-color: var(--error);
}

.demo-form__error {
  font-size: var(--text-xs);
  color: var(--error);
  display: none;
}

.demo-form__error.visible {
  display: block;
}

/* Success state */
.demo-form__input.success,
.demo-form__textarea.success,
.demo-form__select.success {
  border-color: var(--success);
}

/* Form actions */
.demo-form__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
}

.demo-form__submit {
  width: 100%;
  padding: var(--space-4) var(--space-8);
  min-height: 48px;
  background: var(--gradient-warm);
  color: var(--bg-primary);
  font-weight: 700;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.demo-form__submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-coral);
}

.demo-form__submit:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}

.demo-form__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.demo-form__secondary {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  padding: var(--space-2) var(--space-6);
  min-height: 40px;
  font-weight: 600;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 0;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.demo-form__secondary:hover {
  border-color: var(--text-secondary);
  color: var(--text-primary);
}

/* Success message state */
.demo-form__success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-10) var(--space-6);
  gap: var(--space-4);
}

.demo-form__success.visible {
  display: flex;
}

.demo-form__success-icon {
  width: 56px;
  height: 56px;
  background: rgba(78, 205, 196, 0.1);
  border: 2px solid var(--success);
  /* Diamond shape */
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-form__success-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--success);
  fill: none;
  stroke-width: 2.5;
  transform: rotate(45deg);
}

.demo-form__success h3 {
  font-size: var(--text-2xl);
  color: var(--text-primary);
  margin: 0;
}

.demo-form__success p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.7;
}

/* Privacy note */
.demo-form__privacy {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-align: center;
  line-height: 1.6;
}

.demo-form__privacy a {
  color: var(--accent-peach);
}

/* Form row for two-column layout */
.demo-form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 640px) {
  .demo-form__actions {
    flex-direction: row;
    justify-content: center;
  }

  .demo-form__row {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==================================================
   Scroll Animations
   ================================================== */

.animate-in {
  animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

/* Staggered animation delays */
.animate-in:nth-child(1) { animation-delay: 0ms; }
.animate-in:nth-child(2) { animation-delay: 100ms; }
.animate-in:nth-child(3) { animation-delay: 200ms; }
.animate-in:nth-child(4) { animation-delay: 300ms; }

/* ==================================================
   Custom Cursor (desktop only, non-touch)
   ================================================== */

@media (hover: hover) and (pointer: fine) {
  /* Optional: subtle custom cursor indicator */
  .btn--primary {
    cursor: pointer;
  }
}

/* ==================================================
   Responsive Adjustments
   ================================================== */

/* Tablet breakpoint adjustments */
@media (min-width: 768px) {
  .section {
    padding: var(--space-24) 0;
  }

  /* Add spacing variable for tablet+ */
  :root {
    --space-24: 96px;
  }
}

/* Large desktop tweaks */
@media (min-width: 1024px) {
  .hero__title {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Stagger hero title lines entrance */
  .hero__title-line:nth-child(1) {
    opacity: 0;
    animation: titleReveal 0.6s ease forwards 0.2s;
  }

  .hero__title-line:nth-child(2) {
    opacity: 0;
    animation: titleReveal 0.6s ease forwards 0.4s;
  }

  .hero__title-line:nth-child(3) {
    opacity: 0;
    animation: titleReveal 0.6s ease forwards 0.6s;
  }
}

@keyframes titleReveal {
  from {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* ---- Additional Section Spacing ---- */
.section + .section {
  padding-top: 0;
}

/* Decorative section divider */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-color) 20%, var(--border-color) 80%, transparent);
  margin: 0 auto;
}