/* ========================================
   ZRP Software - Main Stylesheet
   Mobile-first responsive design
   ======================================== */

/* ----------------------------------------
   CSS Custom Properties (Design Tokens)
   ---------------------------------------- */
:root {
  /* Colors */
  --color-primary: #2563eb;
  --color-primary-dark: #1d4ed8;
  --color-primary-light: #3b82f6;
  --color-accent: #7c3aed;
  --color-text: #1f2937;
  --color-text-muted: #6b7280;
  --color-text-light: #9ca3af;
  --color-background: #ffffff;
  --color-surface: #f9fafb;
  --color-surface-dark: #f3f4f6;
  --color-border: #e5e7eb;
  --color-white: #ffffff;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  --gradient-primary-hover: linear-gradient(135deg, #1d4ed8 0%, #6d28d9 100%);
  --gradient-hero-overlay: linear-gradient(180deg, rgb(255 255 255 / 0.03) 0%, rgb(0 0 0 / 0.04) 100%);
  --gradient-section-title: linear-gradient(135deg, #1f2937 0%, #4b5563 100%);

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-family: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-base: 1rem;
  --font-size-sm: 0.875rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.5rem;
  --font-size-5xl: 3rem;
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Layout */
  --container-max: 1200px;
  --container-padding: 1rem;
  --header-height: 4rem;

  /* Effects */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-full: 9999px;
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-smooth: 350ms cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ----------------------------------------
   Dark theme
   ---------------------------------------- */
[data-theme="dark"] {
  --color-text: #f1f5f9;
  --color-text-muted: #94a3b8;
  --color-text-light: #64748b;
  --color-background: #0f172a;
  --color-surface: #1e293b;
  --color-surface-dark: #334155;
  --color-border: #334155;
  --color-white: #ffffff;

  --gradient-hero-overlay: linear-gradient(180deg, rgb(0 0 0 / 0.35) 0%, rgb(0 0 0 / 0.55) 100%);
  --gradient-section-title: linear-gradient(135deg, #f1f5f9 0%, #cbd5e1 100%);

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.3), 0 2px 4px -2px rgb(0 0 0 / 0.2);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.35), 0 4px 6px -4px rgb(0 0 0 / 0.25);
}

[data-theme="dark"] .header {
  background-color: rgb(15 23 42 / 0.9);
  border-bottom-color: rgb(255 255 255 / 0.08);
}

[data-theme="dark"] .hero {
  background-color: #0f172a;
}

/* Dark mode wave colors (same blue family, much darker) */
[data-theme="dark"] .hero-waves__layer--1 { fill: #355a8a; }
[data-theme="dark"] .hero-waves__layer--2 { fill: #2d4d78; }
[data-theme="dark"] .hero-waves__layer--3 { fill: #254066; }
[data-theme="dark"] .hero-waves__layer--4 { fill: #1d3354; }
[data-theme="dark"] .hero-waves__layer--5 { fill: #162642; }

[data-theme="dark"] .hero__title {
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

[data-theme="dark"] .hero__subtitle {
  color: #f1f5f9;
}

[data-theme="dark"] .section-subtitle {
  color: #e2e8f0;
}

[data-theme="dark"] .feature-card {
  background-color: #1e293b;
  border-color: #334155;
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.2);
}

[data-theme="dark"] .feature-card:hover {
  border-color: rgb(99 102 241 / 0.35);
}

[data-theme="dark"] .industries {
  background-color: #1e293b;
}

[data-theme="dark"] .industry-tag {
  background-color: #334155;
  border-color: #475569;
  color: #e2e8f0;
}

[data-theme="dark"] .industry-tag:hover {
  border-color: var(--color-primary-light);
  color: var(--color-primary-light);
}

[data-theme="dark"] .industries__social-proof {
  background: linear-gradient(135deg, rgb(51 65 85 / 0.6) 0%, rgb(30 41 59 / 0.8) 100%);
  border-left-color: var(--color-primary);
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.2);
}

[data-theme="dark"] .contact {
  background-color: #1e293b;
}

[data-theme="dark"] .contact-form {
  background-color: #1e293b;
  box-shadow: 0 4px 24px -4px rgb(0 0 0 / 0.4), 0 0 0 1px rgb(255 255 255 / 0.06);
}

[data-theme="dark"] .contact-form:focus-within {
  box-shadow: 0 12px 40px -8px rgb(0 0 0 / 0.5), 0 0 0 1px rgb(99 102 241 / 0.3);
}

[data-theme="dark"] .form-input {
  background-color: #0f172a;
  border-color: #334155;
  color: #f1f5f9;
}

[data-theme="dark"] .form-input::placeholder {
  color: #64748b;
}

[data-theme="dark"] .form-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgb(37 99 235 / 0.25);
}

[data-theme="dark"] .footer {
  background-color: #020617;
}

[data-theme="dark"] .footer::before {
  background: var(--gradient-primary);
}

[data-theme="dark"] .footer__bottom {
  border-top-color: rgb(255 255 255 / 0.08);
}

[data-theme="dark"] .mobile-nav {
  background-color: #0f172a;
}

[data-theme="dark"] .hero__image {
  box-shadow: 0 20px 40px -12px rgb(0 0 0 / 0.5), 0 0 0 1px rgb(255 255 255 / 0.06);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, .section-title, .hero__title, .process-step__title, .feature-card__title {
  font-family: var(--font-heading);
}

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

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

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

ul {
  list-style: none;
}

/* ----------------------------------------
   Utility Classes
   ---------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
  background: var(--gradient-section-title);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header::after {
  content: '';
  display: block;
  width: 3rem;
  height: 4px;
  margin: var(--space-md) auto 0;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ----------------------------------------
   Buttons
   ---------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: var(--font-size-base);
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), background var(--transition-smooth), color var(--transition-smooth);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--gradient-primary);
  color: var(--color-white);
  box-shadow: 0 4px 14px -2px rgb(37 99 235 / 0.4);
}

.btn--primary:hover {
  background: var(--gradient-primary-hover);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -4px rgb(37 99 235 / 0.45);
}

.btn--secondary {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn--secondary:hover {
  background: var(--gradient-primary);
  color: var(--color-white);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px -4px rgb(37 99 235 / 0.35);
}

.btn--large {
  padding: 1rem 2rem;
  font-size: var(--font-size-lg);
  border-radius: var(--radius-lg);
}

/* ----------------------------------------
   Header
   ---------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: rgb(255 255 255 / 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgb(0 0 0 / 0.06);
  z-index: 1000;
  transition: background-color var(--transition-normal), box-shadow var(--transition-normal);
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  background: none;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  color: var(--color-text-muted);
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.theme-toggle:hover {
  color: var(--color-text);
  background-color: var(--color-surface);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.theme-toggle__icon {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition-normal), transform var(--transition-normal);
}

.theme-toggle__icon--sun {
  opacity: 0;
}

.theme-toggle__icon--moon {
  opacity: 1;
}

[data-theme="dark"] .theme-toggle__icon--sun {
  opacity: 1;
}

[data-theme="dark"] .theme-toggle__icon--moon {
  opacity: 0;
}

.theme-toggle {
  position: relative;
}

.theme-toggle .theme-toggle__icon {
  position: absolute;
}

.header__logo {
  display: flex;
  align-items: center;
  transition: opacity var(--transition-fast), transform var(--transition-smooth);
}

.header__logo:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

.header__logo-img {
  height: 100%;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

.header__logo-img--light {
  display: block;
}

.header__logo-img--dark {
  display: none;
}

[data-theme="dark"] .header__logo-img--light {
  display: none;
}

[data-theme="dark"] .header__logo-img--dark {
  display: block;
}

.header__menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger {
  position: relative;
  width: 1.5rem;
  height: 2px;
  background-color: var(--color-text);
  transition: background-color var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-text);
  transition: transform var(--transition-normal);
}

.hamburger::before {
  top: -6px;
}

.hamburger::after {
  top: 6px;
}

.header__menu-toggle[aria-expanded="true"] .hamburger {
  background-color: transparent;
}

.header__menu-toggle[aria-expanded="true"] .hamburger::before {
  transform: translateY(6px) rotate(45deg);
}

.header__menu-toggle[aria-expanded="true"] .hamburger::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* Desktop nav: hidden on narrow viewports */
.header__nav {
  display: none;
}

/* Mobile sliding overlay (visible only below 1024px) */
.mobile-nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  height: 100vh;
  background-color: var(--color-background);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  transform: translateX(100%);
  transition: transform var(--transition-normal);
  z-index: 1000;
}

.mobile-nav.is-open {
  transform: translateX(0);
}

.nav__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.nav__link {
  font-size: var(--font-size-lg);
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  transition: color var(--transition-fast);
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  transition: width var(--transition-smooth) var(--ease-out-expo);
}

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

.nav__link:hover::after {
  width: 100%;
}

.header__cta {
  width: 100%;
}

/* ----------------------------------------
   Hero Section
   ---------------------------------------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-height) + var(--space-3xl));
  padding-bottom: var(--space-3xl);
  background-color: var(--color-surface);
  transition: background-color var(--transition-normal);
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.1), 0 24px 48px -12px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

/* Embedded hero waves (colors controlled by theme) */
.hero__waves {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__waves-svg {
  width: 100%;
  height: 100%;
  display: block;
  /* Aspect ratio and alignment via preserveAspectRatio on the SVG (xMidYMax slice) */
}

/* Wave layers: transition fill on theme switch */
.hero-waves__layer {
  transition: fill var(--transition-normal);
}

/* Light mode wave colors (original palette) */
.hero-waves__layer--1 { fill: #e4f1ff; }
.hero-waves__layer--2 { fill: #cbe3ff; }
.hero-waves__layer--3 { fill: #b1d6ff; }
.hero-waves__layer--4 { fill: #98c8ff; }
.hero-waves__layer--5 { fill: #7ebaff; }

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero-overlay);
  pointer-events: none;
}

.hero__container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.hero__content {
  text-align: center;
}

.hero__title {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
  background: var(--gradient-section-title);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: var(--font-size-lg);
  color: #4b5563;
  margin-bottom: var(--space-xl);
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
}

.hero__visual {
  display: flex;
  justify-content: center;
}

.hero__image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.2), 0 0 0 1px rgb(0 0 0 / 0.04);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.hero__image--light {
  display: block;
}

.hero__image--dark {
  display: none;
}

[data-theme="dark"] .hero__image--light {
  display: none;
}

[data-theme="dark"] .hero__image--dark {
  display: block;
}

.hero__visual:hover .hero__image {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 28px 56px -16px rgba(0, 0, 0, 0.25), 0 0 0 1px rgb(0 0 0 / 0.06);
}

/* ----------------------------------------
   Features Section
   ---------------------------------------- */
.features {
  padding: var(--space-3xl) 0;
}

.features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.feature-card {
  position: relative;
  background-color: var(--color-white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.04);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-fast);
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.12);
  border-color: rgb(37 99 235 / 0.15);
}

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

.feature-card__icon {
  width: 3rem;
  height: 3rem;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  transition: transform var(--transition-smooth);
  box-shadow: 0 4px 12px -2px rgb(37 99 235 / 0.35);
}

.feature-card:hover .feature-card__icon {
  transform: scale(1.08);
}

.feature-card__icon svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke: var(--color-white);
}

.feature-card__title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.feature-card__description {
  color: var(--color-text-muted);
  font-size: var(--font-size-base);
}

/* ----------------------------------------
   Industries Section
   ---------------------------------------- */
.industries {
  padding: var(--space-3xl) 0;
  background-color: var(--color-surface);
}

.industries__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
}

.industry-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-text);
  transition: border-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-smooth);
}

.industry-tag:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: 0 4px 12px -4px rgb(37 99 235 / 0.25);
}

.industries__social-proof {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.social-proof__text {
  font-size: var(--font-size-lg);
  font-style: italic;
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
}

.industries__social-proof {
  padding: var(--space-xl);
  background: linear-gradient(135deg, rgb(255 255 255 / 0.9) 0%, var(--color-surface) 100%);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--color-primary);
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.04);
}

/* ----------------------------------------
   Process Section
   ---------------------------------------- */
.process {
  padding: var(--space-3xl) 0;
}

.process__timeline {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  max-width: 700px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
}

.process-step__number {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  background: var(--gradient-primary);
  color: var(--color-white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-lg);
  font-weight: 700;
  font-family: var(--font-heading);
  box-shadow: 0 4px 14px -2px rgb(37 99 235 / 0.4);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.process-step:hover .process-step__number {
  transform: scale(1.08);
  box-shadow: 0 6px 20px -4px rgb(37 99 235 / 0.45);
}

.process-step__content {
  padding-top: var(--space-xs);
}

.process-step__title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.process-step__description {
  color: var(--color-text-muted);
}

/* ----------------------------------------
   Contact Section
   ---------------------------------------- */
.contact {
  padding: var(--space-3xl) 0;
  background-color: var(--color-surface);
}

.contact__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2xl);
  max-width: 520px;
  margin: 0 auto;
}

.contact-form {
  position: relative;
  width: 100%;
  background-color: var(--color-white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 24px -4px rgba(0, 0, 0, 0.08), 0 0 0 1px rgb(0 0 0 / 0.04);
  transition: box-shadow var(--transition-smooth);
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.contact-form:focus-within {
  box-shadow: 0 12px 40px -8px rgba(37 99 235 / 0.15), 0 0 0 1px rgb(37 99 235 / 0.2);
}

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

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

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: var(--font-size-base);
  font-family: inherit;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgb(37 99 235 / 0.12);
}

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

.form-submit {
  width: 100%;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.contact-info__item {
  text-align: center;
}

.contact-info__label {
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.contact-info__value {
  font-size: var(--font-size-lg);
  color: var(--color-text);
}

a.contact-info__value:hover {
  color: var(--color-primary);
}

/* ----------------------------------------
   Footer
   ---------------------------------------- */
.footer {
  position: relative;
  background-color: var(--color-text);
  color: var(--color-white);
  padding-top: var(--space-2xl);
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.footer__container {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  text-align: center;
}

.footer__logo-img {
  display: block;
  height: 100%;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.footer__tagline {
  margin-top: var(--space-sm);
  color: var(--color-text-light);
}

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

.footer__links a {
  color: var(--color-text-light);
}

.footer__links a:hover {
  color: var(--color-white);
}

.footer__social-label {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
}

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

.footer__social-link {
  color: var(--color-text-light);
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer__social-link:hover {
  color: var(--color-white);
}

.footer__social-link svg {
  display: block;
}

.footer__bottom {
  margin-top: var(--space-xl);
  padding: var(--space-lg) 0;
  border-top: 1px solid rgb(255 255 255 / 0.1);
}

.footer__copyright {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  text-align: center;
}

/* ----------------------------------------
   Reduced motion
   ---------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .btn:hover,
  .feature-card:hover,
  .process-step:hover .process-step__number,
  .hero__visual:hover .hero__image,
  .header__logo:hover {
    transform: none;
  }

  .nav__link::after {
    transition-duration: 0s;
  }
}

/* ----------------------------------------
   Tablet Breakpoint (640px+)
   ---------------------------------------- */
@media (min-width: 640px) {
  :root {
    --container-padding: 1.5rem;
  }

  .section-title {
    font-size: var(--font-size-3xl);
  }

  .hero__title {
    font-size: var(--font-size-4xl);
  }

  .hero__actions {
    flex-direction: row;
    justify-content: center;
  }

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

  .contact-info__item {
    text-align: center;
  }

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

  .footer__links {
    flex-direction: row;
    gap: var(--space-xl);
  }
}

/* ----------------------------------------
   Desktop Breakpoint (1024px+)
   ---------------------------------------- */
@media (min-width: 1024px) {
  :root {
    --container-padding: 2rem;
  }

  .header__menu-toggle {
    display: none;
  }

  .header__nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    padding: 0;
    transform: none;
    background: none;
  }

  .mobile-nav {
    display: none;
  }

  .nav__list {
    flex-direction: row;
    gap: var(--space-xl);
  }

  .nav__link {
    font-size: var(--font-size-base);
  }

  .header__cta {
    width: auto;
    margin-left: var(--space-lg);
  }

  .hero {
    padding-top: calc(var(--header-height) + var(--space-4xl));
    padding-bottom: var(--space-4xl);
  }

  .hero__container {
    flex-direction: row;
    align-items: center;
    gap: var(--space-3xl);
  }

  .hero__content {
    flex: 1;
    text-align: left;
  }

  .hero__subtitle {
    margin-left: 0;
    margin-right: 0;
  }

  .hero__actions {
    justify-content: flex-start;
  }

  .hero__visual {
    flex: 1;
  }

  .hero__title {
    font-size: var(--font-size-5xl);
  }

  .section-title {
    font-size: var(--font-size-4xl);
  }

  .features__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .features,
  .industries,
  .process,
  .contact {
    padding: var(--space-4xl) 0;
  }

  .process__timeline {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-lg);
    max-width: none;
  }

  .process-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: calc(20% - var(--space-lg));
    min-width: 180px;
  }

  .process-step__content {
    padding-top: 0;
  }

  .contact-form {
    padding: var(--space-2xl);
  }
}
