/* ==========================================================================
   Lubore Digital — Design Tokens & Styles
   ========================================================================== */

/* --- Design Tokens --- */
:root {
  /* Type Scale (fluid clamp) */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);

  /* 4px Spacing System */
  --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: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Fonts */
  --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
}

/* --- Light Mode (default) --- */
:root,
[data-theme="light"] {
  /* Surfaces */
  --color-bg: #FFFFFF;
  --color-surface: #F8FAFB;
  --color-surface-2: #F1F5F8;
  --color-surface-offset: #EDF1F4;
  --color-surface-offset-2: #E4EBF0;
  --color-divider: #D8E0E6;
  --color-border: #C8D3DB;

  /* Text */
  --color-text: #1A2332;
  --color-text-muted: #5A6A7A;
  --color-text-faint: #9DAAB5;
  --color-text-inverse: #FFFFFF;
  --color-text-inverse-fixed: #FFFFFF;

  /* Primary (Professional Blue) */
  --color-primary: #1B5E8A;
  --color-primary-hover: #154B6E;
  --color-primary-active: #103A56;
  --color-primary-highlight: #E0EDF5;
  --color-primary-subtle: #E8F1F8;

  /* Success */
  --color-success: #1A7A4C;

  /* Error */
  --color-error: #C23A3A;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(26, 35, 50, 0.06);
  --shadow-md: 0 4px 12px rgba(26, 35, 50, 0.08);
  --shadow-lg: 0 12px 32px rgba(26, 35, 50, 0.12);
}

/* --- Dark Mode --- */
[data-theme="dark"] {
  --color-bg: #0F1419;
  --color-surface: #151B22;
  --color-surface-2: #1A222B;
  --color-surface-offset: #1C242E;
  --color-surface-offset-2: #212B36;
  --color-divider: #263040;
  --color-border: #2E3A4A;

  --color-text: #D6DDE4;
  --color-text-muted: #8A96A3;
  --color-text-faint: #4F5D6B;
  --color-text-inverse: #0F1419;
  --color-text-inverse-fixed: #FFFFFF;

  --color-primary: #4A9FD4;
  --color-primary-hover: #6BB3E0;
  --color-primary-active: #8AC5E8;
  --color-primary-highlight: #1A2E3F;
  --color-primary-subtle: #162636;

  --color-success: #4CAF7A;
  --color-error: #E85B5B;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.4);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #0F1419;
    --color-surface: #151B22;
    --color-surface-2: #1A222B;
    --color-surface-offset: #1C242E;
    --color-surface-offset-2: #212B36;
    --color-divider: #263040;
    --color-border: #2E3A4A;
    --color-text: #D6DDE4;
    --color-text-muted: #8A96A3;
    --color-text-faint: #4F5D6B;
    --color-text-inverse: #0F1419;
    --color-text-inverse-fixed: #FFFFFF;
    --color-primary: #4A9FD4;
    --color-primary-hover: #6BB3E0;
    --color-primary-active: #8AC5E8;
    --color-primary-highlight: #1A2E3F;
    --color-primary-subtle: #162636;
    --color-success: #4CAF7A;
    --color-error: #E85B5B;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.4);
  }
}

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

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  hanging-punctuation: first last;
  scroll-padding-top: 5rem;
}

body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
}

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

ul[role="list"], ol[role="list"] {
  list-style: none;
}

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

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
  line-height: 1.15;
  font-family: var(--font-display);
}

p, li, figcaption {
  text-wrap: pretty;
  max-width: 72ch;
}

::selection {
  background: rgba(27, 94, 138, 0.2);
  color: var(--color-text);
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

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

button {
  cursor: pointer;
  background: none;
  border: none;
}

a, button, [role="button"], [role="link"], input, textarea, select {
  transition:
    color var(--transition-interactive),
    background var(--transition-interactive),
    border-color var(--transition-interactive),
    box-shadow var(--transition-interactive);
}

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

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

/* ==========================================================================
   Skip Link
   ========================================================================== */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: 100;
  padding: var(--space-2) var(--space-4);
  background: var(--color-primary);
  color: var(--color-text-inverse-fixed);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
}
.skip-link:focus {
  top: var(--space-2);
}

/* ==========================================================================
   Container
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-5);
}

@media (min-width: 768px) {
  .container {
    padding-inline: var(--space-8);
  }
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] .header {
  background: rgba(15, 20, 25, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.header--scrolled {
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding: var(--space-3) var(--space-5);
}

@media (min-width: 768px) {
  .header__inner {
    padding: var(--space-3) var(--space-8);
  }
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  color: var(--color-text);
}

.header__logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
  letter-spacing: -0.01em;
}

.header__nav {
  display: none;
}

@media (min-width: 768px) {
  .header__nav {
    display: block;
  }
}

.header__nav-list {
  display: flex;
  gap: var(--space-8);
  list-style: none;
}

.header__nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  position: relative;
  padding: var(--space-1) 0;
}

.header__nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header__nav-link:hover {
  color: var(--color-text);
}

.header__nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

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

/* Theme Toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
}

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

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  gap: 5px;
  border-radius: var(--radius-md);
}

@media (min-width: 768px) {
  .hamburger {
    display: none;
  }
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.header__nav.mobile-open {
  display: block;
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-bg);
  padding: var(--space-8) var(--space-5);
  z-index: 40;
  animation: fadeIn 0.2s ease;
}

.header__nav.mobile-open .header__nav-list {
  flex-direction: column;
  gap: var(--space-6);
}

.header__nav.mobile-open .header__nav-link {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
}

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

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  min-height: 44px;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-text-inverse-fixed);
}

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

.btn--primary:active {
  background: var(--color-primary-active);
}

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

.btn--secondary:hover {
  background: var(--color-surface-2);
  border-color: var(--color-text-muted);
}

.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}

.btn--full {
  width: 100%;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(500px, 75vh, 800px);
  padding-block: clamp(var(--space-16), 10vw, var(--space-32));
  overflow: hidden;
}

.hero__bg-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero__bg-pattern svg {
  width: 100%;
  height: 100%;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero__title {
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: var(--space-6);
  color: var(--color-text);
}

.hero__title-accent {
  color: var(--color-primary);
}

.hero__subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-8);
  max-width: 560px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* ==========================================================================
   Social Proof Bar
   ========================================================================== */
.proof-bar {
  padding-block: clamp(var(--space-8), 4vw, var(--space-12));
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}

.proof-bar__tagline {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 500;
  margin-bottom: var(--space-6);
  letter-spacing: 0.01em;
}

.proof-bar__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  text-align: center;
}

.proof-bar__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
}

.proof-bar__number {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-primary);
  font-variant-numeric: tabular-nums;
}

.proof-bar__plus,
.proof-bar__dash {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-primary);
}

.proof-bar__label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 500;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-3);
}

.section-title {
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.section-header {
  margin-bottom: clamp(var(--space-8), 4vw, var(--space-12));
}

/* ==========================================================================
   Services
   ========================================================================== */
.services {
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
}

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

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

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

.service-card {
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  transition: box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-border);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-subtle);
  color: var(--color-primary);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-5);
}

.service-card__title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

.service-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   How It Works (Steps)
   ========================================================================== */
.how-it-works {
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
  background: var(--color-surface);
}

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

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
  }
}

.step {
  display: flex;
  gap: var(--space-5);
  padding: var(--space-6);
  background: var(--color-bg);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
}

.step__number {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-primary);
  opacity: 0.3;
  flex-shrink: 0;
  line-height: 1;
  padding-top: var(--space-1);
}

.step__title {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

.step__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   Industries
   ========================================================================== */
.industries {
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
}

.industries__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

@media (min-width: 640px) {
  .industries__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
  }
}

.industry-card {
  padding: var(--space-5);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.industry-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.industry-card__icon {
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.industry-card__icon svg {
  width: 24px;
  height: 24px;
}

.industry-card__title {
  font-size: var(--text-sm);
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

.industry-card__desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   About
   ========================================================================== */
.about {
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
  background: var(--color-surface);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
}

@media (min-width: 768px) {
  .about__inner {
    grid-template-columns: auto 1fr;
    gap: clamp(var(--space-10), 5vw, var(--space-16));
  }
}

.about__avatar {
  width: 140px;
  height: 140px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .about__avatar {
    width: 180px;
    height: 180px;
    margin-inline: 0;
  }
}

.about__avatar span {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text-inverse-fixed);
  letter-spacing: 0.05em;
}

.about__content .section-title {
  margin-bottom: var(--space-5);
}

.about__bio {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.about__bio:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
  padding-block: clamp(var(--space-12), 8vw, var(--space-20));
}

.cta-section__inner {
  text-align: center;
  padding: clamp(var(--space-10), 6vw, var(--space-16)) var(--space-6);
  background: var(--color-primary);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.cta-section__inner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.cta-section__inner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.cta-section__title {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-text-inverse-fixed);
  margin-bottom: var(--space-3);
  position: relative;
  z-index: 1;
}

.cta-section__desc {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-8);
  max-width: 480px;
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.cta-section .btn--primary {
  background: var(--color-text-inverse-fixed);
  color: var(--color-primary);
  position: relative;
  z-index: 1;
}

[data-theme="dark"] .cta-section .btn--primary {
  background: #FFFFFF;
  color: #1B5E8A;
}

.cta-section .btn--primary:hover {
  background: rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact {
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
  background: var(--color-surface);
}

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

@media (min-width: 768px) {
  .contact__inner {
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(var(--space-10), 5vw, var(--space-16));
    align-items: start;
  }
}

.contact__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-top: var(--space-4);
  margin-bottom: var(--space-6);
}

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

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

.contact__detail svg {
  flex-shrink: 0;
  color: var(--color-primary);
}

.contact__detail a {
  color: var(--color-text);
  text-decoration: none;
}

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

/* Contact Form */
.contact-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

@media (min-width: 480px) {
  .contact-form {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-group--full {
    grid-column: 1 / -1;
  }
  .contact-form .btn {
    grid-column: 1 / -1;
  }
}

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

.required {
  color: var(--color-error);
}

.form-optional {
  font-weight: 400;
  color: var(--color-text-faint);
  font-size: var(--text-xs);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--color-text);
}

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

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(27, 94, 138, 0.12);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group textarea:focus {
  box-shadow: 0 0 0 3px rgba(74, 159, 212, 0.2);
}

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

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  padding-block: var(--space-10);
  border-top: 1px solid var(--color-divider);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  text-align: center;
}

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

.footer__nav a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
}

.footer__nav a:hover {
  color: var(--color-text);
}

.footer__copy {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

/* ==========================================================================
   Reveal Animations
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal--delay-1 {
  transition-delay: 0.1s;
}

.reveal--delay-2 {
  transition-delay: 0.2s;
}

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

/* ==========================================================================
   Responsive Fine-Tuning
   ========================================================================== */

/* Small screens */
@media (max-width: 479px) {
  .proof-bar__stats {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
  
  .hero__title {
    font-size: clamp(1.75rem, 1rem + 3vw, 2.5rem);
  }
  
  .hero__ctas {
    flex-direction: column;
  }

  .hero__ctas .btn {
    width: 100%;
  }

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

@media (min-width: 480px) and (max-width: 639px) {
  .proof-bar__stats {
    grid-template-columns: repeat(3, 1fr);
  }
}
