/* ============================================
   Blue Consult LP — Static CSS
   100% faithful to React/Tailwind version
   ============================================ */

/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700;800&display=swap");

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

/* ============================================
   CSS CUSTOM PROPERTIES — LIGHT MODE (default)
   ============================================ */
:root {
  --radius: 0.5rem;
  --background: oklch(0.985 0 0);
  --foreground: oklch(0.12 0.01 260);
  --card: oklch(0.97 0.002 260);
  --card-foreground: oklch(0.12 0.01 260);
  --popover: oklch(0.99 0 0);
  --popover-foreground: oklch(0.12 0.01 260);
  --primary: oklch(0.4 0.25 264);
  --primary-foreground: oklch(1 0 0);
  --secondary: oklch(0.96 0.003 260);
  --secondary-foreground: oklch(0.3 0.01 260);
  --muted: oklch(0.94 0.003 260);
  --muted-foreground: oklch(0.45 0.01 260);
  --accent: oklch(0.95 0.005 260);
  --accent-foreground: oklch(0.15 0.01 260);
  --destructive: oklch(0.577 0.245 27.325);
  --destructive-foreground: oklch(0.985 0 0);
  --border: oklch(0.9 0.005 260);
  --input: oklch(0.9 0.005 260);
  --ring: oklch(0.4 0.25 264);
  --surface: oklch(0.97 0.002 260);
  --subtle: oklch(0.45 0.01 260);
  --overlay: oklch(0.985 0 0 / 90%);
  --divider: oklch(0.88 0.005 260);

  --blue-brand: oklch(0.4 0.25 264);
  --purple-brand: oklch(0.38 0.18 280);
  --ice-brand: oklch(0.65 0.06 185);
}

/* ============================================
   DARK MODE
   ============================================ */
.dark {
  --background: oklch(0.07 0.005 260);
  --foreground: oklch(0.95 0 0);
  --card: oklch(0.12 0.005 260);
  --card-foreground: oklch(0.95 0 0);
  --popover: oklch(0.12 0.005 260);
  --popover-foreground: oklch(0.95 0 0);
  --primary: oklch(0.4 0.25 264);
  --primary-foreground: oklch(1 0 0);
  --secondary: oklch(0.15 0.005 260);
  --secondary-foreground: oklch(0.85 0 0);
  --muted: oklch(0.18 0.005 260);
  --muted-foreground: oklch(0.65 0 0);
  --accent: oklch(0.15 0.01 260);
  --accent-foreground: oklch(0.95 0 0);
  --destructive: oklch(0.577 0.245 27.325);
  --destructive-foreground: oklch(0.985 0 0);
  --border: oklch(0.22 0.005 260);
  --input: oklch(0.22 0.005 260);
  --ring: oklch(0.4 0.25 264);
  --surface: oklch(0.12 0.005 260);
  --subtle: oklch(0.65 0 0);
  --overlay: oklch(0.07 0.005 260 / 90%);
  --divider: oklch(1 0 0 / 4%);
}

/* ============================================
   BASE STYLES
   ============================================ */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: "Inter", "Outfit", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Outfit", "Inter", sans-serif;
  letter-spacing: -0.02em;
  line-height: 1;
}

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

button {
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}

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

ul {
  list-style: none;
}

button:not(:disabled),
[role="button"]:not([aria-disabled="true"]),
a[href],
select:not(:disabled),
input[type="checkbox"]:not(:disabled),
input[type="radio"]:not(:disabled) {
  cursor: pointer;
}

::selection {
  background: oklch(0.4 0.25 264 / 30%);
  color: var(--foreground);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--background);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--purple-brand);
}

/* ============================================
   CONTAINER
   ============================================ */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
    max-width: 1280px;
  }
}

/* ============================================
   DARK/LIGHT VISIBILITY HELPERS
   ============================================ */
.dark-hidden {
  display: block;
}

.dark .dark-hidden {
  display: none;
}

.dark-block {
  display: none;
}

.dark .dark-block {
  display: block;
}

/* ============================================
   ANIMATIONS — Scroll-triggered fade-in
   ============================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.animate-visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-from-right {
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-from-right.animate-visible {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   SVG ICON BASE
   ============================================ */
.icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.5s;
  background: transparent;
}

.header.scrolled,
.header.mobile-open {
  background: color-mix(in oklch, var(--background) 90%, transparent);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--divider);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.5rem;
}

@media (min-width: 640px) {
  .header-inner {
    height: 4rem;
  }
}

@media (min-width: 1024px) {
  .header-inner {
    height: 5rem;
  }
}

.header-logo {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 50;
}

.header-logo img {
  height: 1.75rem;
  width: auto;
}

@media (min-width: 640px) {
  .header-logo img {
    height: 2rem;
  }
}

@media (min-width: 1024px) {
  .header-logo img {
    height: 2.5rem;
  }
}

/* Desktop Nav */
.header-nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 1280px) {
  .header-nav {
    display: flex;
  }
}

@media (min-width: 1536px) {
  .header-nav {
    gap: 2rem;
  }
}

.header-nav a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.3s;
  white-space: nowrap;
}

.header-nav a:hover {
  color: var(--foreground);
}

/* Desktop CTA area */
.header-ctas {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 1280px) {
  .header-ctas {
    display: flex;
  }
}

.btn-theme-toggle {
  padding: 0.625rem;
  color: var(--muted-foreground);
  transition:
    color 0.3s,
    background-color 0.3s;
  border-radius: 2px;
  min-width: 40px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-theme-toggle:hover {
  color: var(--foreground);
  background: var(--accent);
}

.btn-outline-primary {
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--primary);
  color: var(--primary);
  transition: all 0.3s;
  border-radius: 2px;
  white-space: nowrap;
}

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

.btn-primary {
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--primary);
  color: var(--primary-foreground);
  transition: all 0.3s;
  border-radius: 2px;
  white-space: nowrap;
}

.btn-primary:hover {
  background: color-mix(in oklch, var(--primary) 85%, transparent);
}

/* Mobile controls */
.header-mobile-controls {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  position: relative;
  z-index: 50;
}

@media (min-width: 1280px) {
  .header-mobile-controls {
    display: none;
  }
}

.btn-mobile {
  color: var(--foreground);
  padding: 0.75rem;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-hamburger {
  margin-right: -0.75rem;
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  top: 3.5rem;
  background: color-mix(in oklch, var(--background) 98%, transparent);
  backdrop-filter: blur(48px);
  -webkit-backdrop-filter: blur(48px);
  transition: opacity 0.3s;
  opacity: 0;
  pointer-events: none;
}

@media (min-width: 640px) {
  .mobile-nav-overlay {
    top: 4rem;
  }
}

@media (min-width: 1280px) {
  .mobile-nav-overlay {
    display: none !important;
  }
}

.mobile-nav-overlay.active {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding-top: 1.5rem;
  padding-bottom: 2rem;
  overflow-y: auto;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.mobile-nav-links a {
  font-size: 1rem;
  color: var(--muted-foreground);
  padding: 0.75rem 0.5rem;
  border-radius: 2px;
  transition: all 0.3s;
  min-height: 48px;
  display: flex;
  align-items: center;
}

@media (min-width: 640px) {
  .mobile-nav-links a {
    font-size: 1.125rem;
  }
}

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

.mobile-theme-bar {
  padding: 1rem 0;
  border-top: 1px solid var(--divider);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-theme-bar .icon {
  color: var(--muted-foreground);
}

.mobile-theme-bar span {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.mobile-theme-bar button {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 500;
  padding: 0.375rem 0.75rem;
  border-radius: 2px;
  transition: background-color 0.3s;
}

.mobile-theme-bar button:hover {
  background: var(--accent);
}

.mobile-cta-area {
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-top: 1px solid var(--divider);
  margin-top: auto;
}

.mobile-cta-area a,
.mobile-cta-area button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 2px;
  min-height: 52px;
  transition: background-color 0.3s;
}

.mobile-cta-outline {
  border: 1px solid var(--primary);
  color: var(--primary);
}

.mobile-cta-outline:active {
  background: color-mix(in oklch, var(--primary) 10%, transparent);
}

.mobile-cta-filled {
  background: var(--primary);
  color: var(--primary-foreground);
}

.mobile-cta-filled:active {
  background: color-mix(in oklch, var(--primary) 85%, transparent);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 4rem;
  padding-bottom: 1rem;
}

@media (min-width: 640px) {
  .hero {
    padding-top: 5rem;
    padding-bottom: 2rem;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s;
}

.dark .hero-bg img {
  opacity: 0.2;
}

@media (min-width: 640px) {
  .dark .hero-bg img {
    opacity: 0.3;
  }
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    var(--background),
    color-mix(in oklch, var(--background) 70%, transparent),
    var(--background)
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (min-width: 1280px) {
  .hero-grid {
    gap: 4rem;
  }
}

@media (min-width: 640px) {
  .hero-grid {
    margin-bottom: 4rem;
  }
}

.hero h1 {
  font-size: 1.875rem;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .hero h1 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
  }
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 3.75rem;
  }
}

@media (min-width: 1280px) {
  .hero h1 {
    font-size: 4.5rem;
  }
}

.hero h1 .text-primary {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--muted-foreground);
  max-width: 36rem;
  line-height: 1.625;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
  }
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.25rem;
  }
}

.hero-desc {
  font-size: 0.875rem;
  color: var(--subtle);
  max-width: 36rem;
  margin-bottom: 1.5rem;
  line-height: 1.625;
}

@media (min-width: 640px) {
  .hero-desc {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
}

.hero-desc strong {
  color: color-mix(in oklch, var(--foreground) 80%, transparent);
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .hero-ctas {
    flex-direction: row;
    gap: 1rem;
  }
}

@media (min-width: 1024px) {
  .hero-ctas {
    margin-bottom: 0;
  }
}

.hero-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s;
}

@media (min-width: 640px) {
  .hero-cta-primary {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
}

.hero-cta-primary:hover {
  background: color-mix(in oklch, var(--primary) 90%, transparent);
}

.hero-cta-primary:hover .icon {
  transform: translateX(4px);
}

.hero-cta-primary .icon {
  transition: transform 0.3s;
}

.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid var(--border);
  background: color-mix(in oklch, var(--card) 60%, transparent);
  backdrop-filter: blur(4px);
  color: var(--foreground);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s;
}

@media (min-width: 640px) {
  .hero-cta-secondary {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
}

.hero-cta-secondary:hover {
  border-color: color-mix(in oklch, var(--primary) 40%, transparent);
  background: var(--card);
}

.hero-cta-secondary:hover .icon {
  transform: translateX(4px);
}

.hero-cta-secondary .icon {
  transition: transform 0.3s;
}

/* Hero product cards */
.hero-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .hero-cards {
    gap: 1.25rem;
  }
}

.hero-card {
  position: relative;
  background: color-mix(in oklch, var(--card) 80%, transparent);
  backdrop-filter: blur(4px);
  border: 1px solid var(--border);
  padding: 1.25rem;
  transition: all 0.5s;
}

@media (min-width: 640px) {
  .hero-card {
    padding: 1.5rem;
  }
}

.hero-card:hover {
  border-color: color-mix(in oklch, var(--primary) 30%, transparent);
}

.hero-card.purple:hover {
  border-color: color-mix(in oklch, var(--purple-brand) 30%, transparent);
}

.hero-card-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--primary), transparent);
}

.hero-card.purple .hero-card-line {
  background: linear-gradient(to right, var(--purple-brand), transparent);
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.hero-card-icon {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in oklch, var(--primary) 10%, transparent);
  border: 1px solid color-mix(in oklch, var(--primary) 20%, transparent);
  border-radius: 2px;
  flex-shrink: 0;
  color: var(--primary);
}

@media (min-width: 640px) {
  .hero-card-icon {
    width: 2.5rem;
    height: 2.5rem;
  }
}

.hero-card.purple .hero-card-icon {
  background: color-mix(in oklch, var(--purple-brand) 10%, transparent);
  border-color: color-mix(in oklch, var(--purple-brand) 20%, transparent);
  color: var(--purple-brand);
}

.hero-card-label {
  font-size: 10px;
  color: var(--primary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@media (min-width: 640px) {
  .hero-card-label {
    font-size: 0.75rem;
  }
}

.hero-card.purple .hero-card-label {
  color: var(--purple-brand);
}

.hero-card-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .hero-card-title {
    font-size: 1.125rem;
  }
}

.hero-card-desc {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  line-height: 1.625;
}

@media (min-width: 640px) {
  .hero-card-desc {
    font-size: 0.875rem;
  }
}

/* Feature pills */
.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 11px;
  color: color-mix(in oklch, var(--foreground) 60%, transparent);
  background: color-mix(in oklch, var(--primary) 5%, transparent);
  border: 1px solid color-mix(in oklch, var(--primary) 10%, transparent);
  padding: 0.25rem 0.625rem;
  border-radius: 2px;
}

@media (min-width: 640px) {
  .feature-pill {
    font-size: 0.75rem;
  }
}

.feature-pill .icon {
  color: var(--primary);
}

.hero-card.purple .feature-pill {
  background: color-mix(in oklch, var(--purple-brand) 5%, transparent);
  border-color: color-mix(in oklch, var(--purple-brand) 10%, transparent);
}

.hero-card.purple .feature-pill .icon {
  color: var(--purple-brand);
}

.hero-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  transition: color 0.3s;
}

.hero-card-cta:hover {
  color: var(--foreground);
}

.hero-card-cta:hover .icon {
  transform: translateX(4px);
}

.hero-card-cta .icon {
  transition: transform 0.3s;
}

.hero-card.purple .hero-card-cta {
  color: var(--purple-brand);
}

/* Metrics bar */
.metrics-bar {
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--divider);
}

.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

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

.metric-item {
  padding: 1rem 0.75rem;
}

@media (min-width: 640px) {
  .metric-item {
    padding: 1.5rem 1rem;
  }
}

@media (min-width: 1024px) {
  .metric-item {
    padding: 2rem 1.5rem;
  }
}

.metric-item:not(:first-child) {
  border-left: 1px solid var(--divider);
}

.metric-item:nth-child(n + 3) {
  border-top: 1px solid var(--divider);
}

@media (min-width: 640px) {
  .metric-item:nth-child(n + 3) {
    border-top: none;
  }
}

.metric-value {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .metric-value {
    font-size: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .metric-value {
    font-size: 1.875rem;
  }
}

.metric-label {
  font-size: 10px;
  color: var(--muted-foreground);
  margin-top: 0.125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@media (min-width: 640px) {
  .metric-label {
    font-size: 0.75rem;
    margin-top: 0.25rem;
  }
}

/* ============================================
   SECTIONS — Common patterns
   ============================================ */
.section {
  padding: 4rem 0;
}

@media (min-width: 640px) {
  .section {
    padding: 6rem 0;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: 8rem 0;
  }
}

.section-bordered {
  border-top: 1px solid var(--divider);
}

.section-label {
  font-size: 10px;
  color: var(--primary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
  display: block;
}

@media (min-width: 640px) {
  .section-label {
    font-size: 0.75rem;
    margin-bottom: 1rem;
  }
}

.section-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--foreground);
  line-height: 1.1;
}

@media (min-width: 640px) {
  .section-title {
    font-size: 1.875rem;
  }
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-subtitle {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  max-width: 36rem;
}

@media (min-width: 640px) {
  .section-subtitle {
    font-size: 0.875rem;
  }
}

@media (min-width: 768px) {
  .section-subtitle {
    font-size: 1rem;
  }
}

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

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   PAIN SECTION
   ============================================ */
.pain-section {
  position: relative;
}

.pain-bg {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.dark .pain-bg {
  opacity: 0.04;
}

.pain-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pain-header {
  max-width: 48rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .pain-header {
    margin-bottom: 4rem;
  }
}

.pain-header h2 {
  margin-bottom: 1rem;
  line-height: 1.1;
}

@media (min-width: 640px) {
  .pain-header h2 {
    margin-bottom: 1.5rem;
  }
}

.pain-header .text-primary {
  color: var(--primary);
}

.pain-header .italic {
  font-style: italic;
}

.pain-quote {
  border-left: 2px solid var(--primary);
  padding-left: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

@media (min-width: 640px) {
  .pain-quote {
    border-left-width: 4px;
    padding-left: 1.5rem;
  }
}

.pain-quote p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.625;
}

@media (min-width: 640px) {
  .pain-quote p {
    font-size: 1rem;
  }
}

@media (min-width: 1024px) {
  .pain-quote p {
    font-size: 1.125rem;
  }
}

.pain-quote strong {
  color: color-mix(in oklch, var(--foreground) 90%, transparent);
}

.pain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .pain-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .pain-grid {
    gap: 2rem;
  }
}

.pain-card {
  background: color-mix(in oklch, var(--card) 60%, transparent);
  border: 1px solid var(--border);
  padding: 1.25rem;
  height: 100%;
}

@media (min-width: 640px) {
  .pain-card {
    padding: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .pain-card {
    padding: 2rem;
  }
}

.pain-card.positive {
  border-color: color-mix(in oklch, var(--primary) 10%, transparent);
}

.pain-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .pain-card-header {
    margin-bottom: 1.5rem;
  }
}

.pain-card-icon {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  flex-shrink: 0;
}

.pain-card-icon.red {
  background: color-mix(in oklch, oklch(0.637 0.237 25.331) 10%, transparent);
  color: oklch(0.637 0.237 25.331);
}

.dark .pain-card-icon.red {
  color: oklch(0.704 0.191 22.216);
}

.pain-card-icon.blue {
  background: color-mix(in oklch, var(--primary) 10%, transparent);
  color: var(--primary);
}

.pain-card-title {
  font-size: 1rem;
  font-weight: 700;
}

@media (min-width: 640px) {
  .pain-card-title {
    font-size: 1.125rem;
  }
}

.pain-card-title.red {
  color: oklch(0.637 0.237 25.331);
}

.dark .pain-card-title.red {
  color: oklch(0.704 0.191 22.216);
}

.pain-card-title.blue {
  color: var(--primary);
}

.pain-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .pain-list {
    gap: 1rem;
  }
}

.pain-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
}

@media (min-width: 640px) {
  .pain-list-item {
    gap: 0.75rem;
  }
}

.pain-list-item .icon {
  margin-top: 2px;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

@media (min-width: 640px) {
  .pain-list-item .icon {
    width: 16px;
    height: 16px;
  }
}

.pain-list-item .icon.red {
  color: color-mix(in oklch, oklch(0.637 0.237 25.331) 60%, transparent);
}

.dark .pain-list-item .icon.red {
  color: color-mix(in oklch, oklch(0.704 0.191 22.216) 60%, transparent);
}

.pain-list-item .icon.blue {
  color: var(--primary);
}

.pain-list-item span {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  line-height: 1.625;
}

@media (min-width: 640px) {
  .pain-list-item span {
    font-size: 0.875rem;
  }
}

.pain-card.positive .pain-list-item span {
  color: color-mix(in oklch, var(--foreground) 70%, transparent);
}

/* ============================================
   CHOOSE PATH
   ============================================ */
.choose-path-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 64rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .choose-path-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .choose-path-grid {
    gap: 2rem;
  }
}

.path-card {
  position: relative;
  background: color-mix(in oklch, var(--card) 60%, transparent);
  border: 1px solid var(--border);
  padding: 1.5rem;
  height: 100%;
  transition: all 0.5s;
}

@media (min-width: 640px) {
  .path-card {
    padding: 2rem;
  }
}

@media (min-width: 1024px) {
  .path-card {
    padding: 2.5rem;
  }
}

.path-card:hover {
  border-color: color-mix(in oklch, var(--primary) 20%, transparent);
}

.path-card.purple:hover {
  border-color: color-mix(in oklch, var(--purple-brand) 20%, transparent);
}

.path-card-hover-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    to right,
    var(--primary),
    color-mix(in oklch, var(--primary) 50%, transparent),
    transparent
  );
  opacity: 0;
  transition: opacity 0.5s;
}

.path-card:hover .path-card-hover-line {
  opacity: 1;
}

.path-card.purple .path-card-hover-line {
  background: linear-gradient(
    to right,
    var(--purple-brand),
    color-mix(in oklch, var(--purple-brand) 50%, transparent),
    transparent
  );
}

.path-icon-box {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in oklch, var(--primary) 10%, transparent);
  border: 1px solid color-mix(in oklch, var(--primary) 20%, transparent);
  border-radius: 2px;
  margin-bottom: 1rem;
  color: var(--primary);
}

@media (min-width: 640px) {
  .path-icon-box {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1.5rem;
  }
}

.path-card.purple .path-icon-box {
  background: color-mix(in oklch, var(--purple-brand) 10%, transparent);
  border-color: color-mix(in oklch, var(--purple-brand) 20%, transparent);
  color: var(--purple-brand);
}

.path-card-type {
  font-size: 10px;
  color: var(--primary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

@media (min-width: 640px) {
  .path-card-type {
    font-size: 0.75rem;
  }
}

.path-card.purple .path-card-type {
  color: var(--purple-brand);
}

.path-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 0.375rem;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .path-card h3 {
    font-size: 1.5rem;
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
  }
}

.path-card-desc {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.625;
}

@media (min-width: 640px) {
  .path-card-desc {
    font-size: 0.875rem;
    margin-bottom: 2rem;
  }
}

.path-steps {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .path-steps {
    gap: 0.75rem;
    margin-bottom: 2rem;
  }
}

.path-step {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.75rem;
  color: color-mix(in oklch, var(--foreground) 60%, transparent);
}

@media (min-width: 640px) {
  .path-step {
    gap: 0.75rem;
    font-size: 0.875rem;
  }
}

.path-step-num {
  width: 1.25rem;
  height: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in oklch, var(--primary) 10%, transparent);
  color: var(--primary);
  font-size: 10px;
  font-weight: 700;
  border-radius: 2px;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .path-step-num {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.75rem;
  }
}

.path-card.purple .path-step-num {
  background: color-mix(in oklch, var(--purple-brand) 10%, transparent);
  color: var(--purple-brand);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  transition: color 0.3s;
}

.link-arrow:hover {
  color: var(--foreground);
}

.link-arrow:hover .icon {
  transform: translateX(4px);
}

.link-arrow .icon {
  transition: transform 0.3s;
}

.link-arrow.purple {
  color: var(--purple-brand);
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.track-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.track-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--primary);
}

.track-dot.purple {
  background: var(--purple-brand);
}

.track-label-text {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@media (min-width: 640px) {
  .track-label-text {
    font-size: 0.875rem;
  }
}

.track-label-text.purple {
  color: var(--purple-brand);
}

.how-software-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .how-software-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.how-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .how-steps {
    gap: 1.5rem;
  }
}

.how-step {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .how-step {
    gap: 1rem;
  }
}

.how-step-icon-wrapper {
  position: relative;
}

.how-step-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in oklch, var(--primary) 10%, transparent);
  border: 1px solid color-mix(in oklch, var(--primary) 20%, transparent);
  border-radius: 2px;
  flex-shrink: 0;
  color: var(--primary);
  transition: background-color 0.3s;
}

@media (min-width: 640px) {
  .how-step-icon {
    width: 3rem;
    height: 3rem;
  }
}

.how-step:hover .how-step-icon {
  background: color-mix(in oklch, var(--primary) 20%, transparent);
}

.how-step-connector {
  position: absolute;
  top: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 1rem;
  background: color-mix(in oklch, var(--primary) 20%, transparent);
}

@media (min-width: 640px) {
  .how-step-connector {
    top: 3rem;
    height: 1.5rem;
  }
}

.how-step-content {
  padding-top: 2px;
  min-width: 0;
}

@media (min-width: 640px) {
  .how-step-content {
    padding-top: 4px;
  }
}

.how-step-label {
  font-size: 10px;
  color: var(--muted-foreground);
  margin-bottom: 2px;
}

@media (min-width: 640px) {
  .how-step-label {
    font-size: 0.75rem;
    margin-bottom: 4px;
  }
}

.how-step-title {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .how-step-title {
    font-size: 1rem;
    margin-bottom: 4px;
  }
}

.how-step-desc {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .how-step-desc {
    font-size: 0.875rem;
  }
}

.how-software-img {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  display: none;
}

@media (min-width: 640px) {
  .how-software-img {
    display: block;
  }
}

.how-software-img img {
  width: 100%;
  height: auto;
  opacity: 0.8;
}

.how-software-img-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    var(--background),
    transparent,
    transparent
  );
}

.btn-full-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s;
  border-radius: 2px;
  margin-top: 0.5rem;
  min-height: 48px;
}

@media (min-width: 640px) {
  .btn-full-primary {
    width: auto;
    margin-top: 1rem;
    min-height: auto;
  }
}

.btn-full-primary:hover {
  background: color-mix(in oklch, var(--primary) 85%, transparent);
}

.btn-full-primary:hover .icon {
  transform: translateX(4px);
}

.btn-full-primary .icon {
  transition: transform 0.3s;
}

.btn-full-purple {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1.5rem;
  background: var(--purple-brand);
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s;
  border-radius: 2px;
  min-height: 48px;
}

@media (min-width: 640px) {
  .btn-full-purple {
    width: auto;
    min-height: auto;
  }
}

.btn-full-purple:hover {
  background: color-mix(in oklch, var(--purple-brand) 85%, transparent);
}

.btn-full-purple:hover .icon {
  transform: translateX(4px);
}

.btn-full-purple .icon {
  transition: transform 0.3s;
}

/* Service cards grid */
.service-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .service-cards-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

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

.service-card {
  background: color-mix(in oklch, var(--card) 60%, transparent);
  border: 1px solid var(--border);
  padding: 1.25rem;
  height: 100%;
  transition: all 0.5s;
}

@media (min-width: 640px) {
  .service-card {
    padding: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .service-card {
    padding: 2rem;
  }
}

.service-card:hover {
  border-color: color-mix(in oklch, var(--purple-brand) 20%, transparent);
}

.service-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
  .service-card-header {
    margin-bottom: 1rem;
  }
}

.service-card-icon {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in oklch, var(--purple-brand) 10%, transparent);
  border: 1px solid color-mix(in oklch, var(--purple-brand) 20%, transparent);
  border-radius: 2px;
  flex-shrink: 0;
  color: var(--purple-brand);
}

@media (min-width: 640px) {
  .service-card-icon {
    width: 2.5rem;
    height: 2.5rem;
  }
}

.service-card-step {
  font-size: 10px;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .service-card-step {
    font-size: 0.75rem;
  }
}

.service-card h4 {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .service-card h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
}

.service-card p {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  line-height: 1.625;
}

@media (min-width: 640px) {
  .service-card p {
    font-size: 0.875rem;
  }
}

/* ============================================
   AUTHORITY
   ============================================ */
.authority {
  position: relative;
  overflow: hidden;
}

.authority-bg {
  position: absolute;
  inset: 0;
}

.authority-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s;
}

.dark .authority-bg img {
  opacity: 0.1;
}

@media (min-width: 640px) {
  .dark .authority-bg img {
    opacity: 0.15;
  }
}

.authority-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--background),
    color-mix(in oklch, var(--background) 90%, transparent),
    color-mix(in oklch, var(--background) 70%, transparent)
  );
}

.authority-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 640px) {
  .authority-grid {
    gap: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .authority-grid {
    grid-template-columns: 3fr 2fr;
    gap: 4rem;
  }
}

.authority-photo-wrapper {
  position: relative;
  max-width: 280px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .authority-photo-wrapper {
    max-width: 320px;
  }
}

@media (min-width: 1024px) {
  .authority-photo-wrapper {
    max-width: none;
    order: 2;
  }
}

.authority-photo {
  aspect-ratio: 3/4;
  background: linear-gradient(to bottom, var(--card), var(--background));
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

.authority-photo-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    to right,
    var(--primary),
    var(--purple-brand),
    transparent
  );
}

.authority-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.authority-photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8),
    rgba(0, 0, 0, 0.4),
    transparent
  );
  padding: 1rem;
}

@media (min-width: 640px) {
  .authority-photo-overlay {
    padding: 1.5rem;
  }
}

.authority-photo-overlay h4 {
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 2px;
}

@media (min-width: 640px) {
  .authority-photo-overlay h4 {
    font-size: 1.125rem;
  }
}

.authority-photo-overlay p {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 640px) {
  .authority-photo-overlay p {
    font-size: 0.75rem;
  }
}

.authority-deco-1 {
  position: absolute;
  bottom: -0.5rem;
  right: -0.5rem;
  width: 3.5rem;
  height: 3.5rem;
  border: 1px solid color-mix(in oklch, var(--primary) 15%, transparent);
  display: none;
}

@media (min-width: 640px) {
  .authority-deco-1 {
    display: block;
    bottom: -0.75rem;
    right: -0.75rem;
    width: 5rem;
    height: 5rem;
  }
}

.authority-deco-2 {
  position: absolute;
  top: -0.5rem;
  left: -0.5rem;
  width: 2rem;
  height: 2rem;
  border: 1px solid color-mix(in oklch, var(--purple-brand) 15%, transparent);
  display: none;
}

@media (min-width: 640px) {
  .authority-deco-2 {
    display: block;
    top: -0.75rem;
    left: -0.75rem;
    width: 3rem;
    height: 3rem;
  }
}

.authority-text {
}

@media (min-width: 1024px) {
  .authority-text {
    order: 1;
  }
}

.authority-text .section-title {
  margin-bottom: 1rem;
  line-height: 1.1;
}

@media (min-width: 640px) {
  .authority-text .section-title {
    margin-bottom: 1.5rem;
  }
}

.authority-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  line-height: 1.625;
  max-width: 36rem;
}

@media (min-width: 640px) {
  .authority-desc {
    font-size: 1rem;
    margin-bottom: 2.5rem;
  }
}

.authority-desc strong {
  color: color-mix(in oklch, var(--foreground) 90%, transparent);
}

.authority-proofs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .authority-proofs {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
  }
}

.proof-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.proof-icon {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in oklch, var(--primary) 10%, transparent);
  border: 1px solid color-mix(in oklch, var(--primary) 20%, transparent);
  border-radius: 2px;
  flex-shrink: 0;
  color: var(--primary);
}

@media (min-width: 640px) {
  .proof-icon {
    width: 2.25rem;
    height: 2.25rem;
  }
}

.proof-value {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .proof-value {
    font-size: 1.25rem;
  }
}

.proof-label {
  font-size: 10px;
  color: var(--muted-foreground);
  margin-top: 2px;
  line-height: 1.625;
}

@media (min-width: 640px) {
  .proof-label {
    font-size: 0.75rem;
  }
}

/* ============================================
   MEDIA SECTION
   ============================================ */
.media-logos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .media-logos-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 4rem;
  }
}

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

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

.media-logo-item {
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in oklch, var(--card) 60%, transparent);
  border: 1px solid var(--border);
  padding: 0 0.75rem;
  transition: all 0.3s;
  border-radius: 2px;
}

@media (min-width: 640px) {
  .media-logo-item {
    height: 5rem;
    padding: 0 1rem;
  }
}

.media-logo-item:hover {
  border-color: color-mix(in oklch, var(--primary) 20%, transparent);
}

.media-logo-item img {
  max-height: 2rem;
  max-width: 100%;
  object-fit: contain;
  opacity: 0.7;
  transition: all 0.3s;
}

@media (min-width: 640px) {
  .media-logo-item img {
    max-height: 2.5rem;
  }
}

.media-logo-item:hover img {
  opacity: 1;
}

.dark .media-logo-item img {
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

.dark .media-logo-item:hover img {
  opacity: 1;
}

.articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .articles-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

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

.article-card {
  display: block;
  background: color-mix(in oklch, var(--card) 60%, transparent);
  border: 1px solid var(--border);
  padding: 1.25rem;
  height: 100%;
  transition: all 0.5s;
  position: relative;
  overflow: hidden;
}

@media (min-width: 640px) {
  .article-card {
    padding: 1.5rem;
  }
}

.article-card:hover {
  border-color: color-mix(in oklch, var(--primary) 20%, transparent);
}

.article-card:active {
  background: color-mix(in oklch, var(--accent) 50%, transparent);
}

.article-card-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.5s;
}

.article-card:hover .article-card-line {
  opacity: 1;
}

.article-source {
  font-size: 10px;
  color: var(--primary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@media (min-width: 640px) {
  .article-source {
    font-size: 0.75rem;
  }
}

.article-title {
  font-size: 0.875rem;
  font-weight: 700;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--foreground);
  transition: color 0.3s;
  line-height: 1.4;
}

@media (min-width: 640px) {
  .article-title {
    font-size: 1rem;
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
  }
}

.article-card:hover .article-title {
  color: var(--primary);
}

.article-excerpt {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  line-height: 1.625;
  margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
  .article-excerpt {
    font-size: 0.875rem;
    margin-bottom: 1rem;
  }
}

.article-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 10px;
  color: color-mix(in oklch, var(--muted-foreground) 60%, transparent);
  transition: color 0.3s;
}

@media (min-width: 640px) {
  .article-link {
    font-size: 0.75rem;
  }
}

.article-card:hover .article-link {
  color: var(--primary);
}

/* ============================================
   SEGMENTS
   ============================================ */
.segments {
  position: relative;
}

.segments-bg {
  position: absolute;
  inset: 0;
  opacity: 0.03;
}

.segments-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    var(--primary),
    transparent,
    transparent
  );
}

.segments-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 64rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .segments-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

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

.segment-card {
  background: color-mix(in oklch, var(--card) 60%, transparent);
  border: 1px solid var(--border);
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all 0.5s;
}

@media (min-width: 640px) {
  .segment-card {
    padding: 2rem;
  }
}

.segment-icon-box {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  margin-bottom: 1rem;
  border: 1px solid;
}

@media (min-width: 640px) {
  .segment-icon-box {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1.5rem;
  }
}

.segment-icon-box.blue {
  background: color-mix(in oklch, var(--primary) 10%, transparent);
  border-color: color-mix(in oklch, var(--primary) 20%, transparent);
  color: var(--primary);
}

.segment-card.blue:hover {
  border-color: color-mix(in oklch, var(--primary) 30%, transparent);
}

.segment-icon-box.purple {
  background: color-mix(in oklch, var(--purple-brand) 10%, transparent);
  border-color: color-mix(in oklch, var(--purple-brand) 20%, transparent);
  color: var(--purple-brand);
}

.segment-card.purple:hover {
  border-color: color-mix(in oklch, var(--purple-brand) 30%, transparent);
}

.segment-icon-box.ice {
  background: color-mix(in oklch, var(--ice-brand) 10%, transparent);
  border-color: color-mix(in oklch, var(--ice-brand) 20%, transparent);
  color: var(--ice-brand);
}

.segment-card.ice:hover {
  border-color: color-mix(in oklch, var(--ice-brand) 30%, transparent);
}

.segment-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .segment-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
  }
}

.segment-card-desc {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  line-height: 1.625;
  margin-bottom: 1.25rem;
  flex: 1;
}

@media (min-width: 640px) {
  .segment-card-desc {
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
  }
}

.link-arrow.ice {
  color: var(--ice-brand);
}

/* ============================================
   COMPARISON
   ============================================ */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 56rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .comparison-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

.comparison-card {
  background: color-mix(in oklch, var(--card) 60%, transparent);
  border: 1px solid;
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.5s;
}

@media (min-width: 640px) {
  .comparison-card {
    padding: 2rem;
  }
}

.comparison-card.blue {
  border-color: color-mix(in oklch, var(--primary) 10%, transparent);
}

.comparison-card.blue:hover {
  border-color: color-mix(in oklch, var(--primary) 30%, transparent);
}

.comparison-card.purple {
  border-color: color-mix(in oklch, var(--purple-brand) 10%, transparent);
}

.comparison-card.purple:hover {
  border-color: color-mix(in oklch, var(--purple-brand) 30%, transparent);
}

.comparison-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .comparison-card-header {
    margin-bottom: 1.5rem;
  }
}

.comparison-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.comparison-dot.blue {
  background: var(--primary);
}

.comparison-dot.purple {
  background: var(--purple-brand);
}

.comparison-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .comparison-card h3 {
    font-size: 1.25rem;
  }
}

.comparison-card-type {
  font-size: 10px;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .comparison-card-type {
    font-size: 0.75rem;
  }
}

.comparison-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex: 1;
}

@media (min-width: 640px) {
  .comparison-list {
    gap: 1rem;
    margin-bottom: 2rem;
  }
}

.comparison-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
}

@media (min-width: 640px) {
  .comparison-list-item {
    gap: 0.75rem;
  }
}

.comparison-list-item .icon {
  margin-top: 2px;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

@media (min-width: 640px) {
  .comparison-list-item .icon {
    width: 16px;
    height: 16px;
  }
}

.comparison-list-item .icon.blue {
  color: var(--primary);
}

.comparison-list-item .icon.purple {
  color: var(--purple-brand);
}

.comparison-list-item span {
  font-size: 0.75rem;
  color: color-mix(in oklch, var(--foreground) 70%, transparent);
}

@media (min-width: 640px) {
  .comparison-list-item span {
    font-size: 0.875rem;
  }
}

.btn-block {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s;
  border-radius: 2px;
  min-height: 48px;
}

@media (min-width: 640px) {
  .btn-block {
    padding: 0.875rem 1.5rem;
    min-height: auto;
  }
}

.btn-block:hover .icon {
  transform: translateX(4px);
}

.btn-block .icon {
  transition: transform 0.3s;
}

.btn-block.blue {
  background: var(--primary);
  color: var(--primary-foreground);
}

.btn-block.blue:hover {
  background: color-mix(in oklch, var(--primary) 85%, transparent);
}

.btn-block.purple {
  background: var(--purple-brand);
  color: white;
}

.btn-block.purple:hover {
  background: color-mix(in oklch, var(--purple-brand) 85%, transparent);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  max-width: 64rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

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

.testimonial-card {
  background: color-mix(in oklch, var(--card) 60%, transparent);
  border: 1px solid var(--border);
  padding: 1.25rem;
  height: 100%;
  transition: all 0.5s;
}

@media (min-width: 640px) {
  .testimonial-card {
    padding: 1.5rem;
  }
}

.testimonial-card:hover {
  border-color: color-mix(in oklch, var(--primary) 10%, transparent);
}

.testimonial-quote-icon svg {
  color: color-mix(in oklch, var(--primary) 30%, transparent);
  margin-bottom: 0.75rem;
  width: 16px !important;
  height: 16px !important;
}

@media (min-width: 640px) {
  .testimonial-quote-icon {
    margin-bottom: 1rem;
    width: 20px;
    height: 20px;
  }
}

.testimonial-text {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  line-height: 1.625;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .testimonial-text {
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
  }
}

.testimonial-footer {
  border-top: 1px solid var(--divider);
  padding-top: 0.75rem;
}

@media (min-width: 640px) {
  .testimonial-footer {
    padding-top: 1rem;
  }
}

.testimonial-name {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .testimonial-name {
    font-size: 0.875rem;
  }
}

.testimonial-context {
  font-size: 10px;
  color: color-mix(in oklch, var(--primary) 60%, transparent);
}

@media (min-width: 640px) {
  .testimonial-context {
    font-size: 0.75rem;
  }
}

.btn-expand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.3s;
  padding: 0.5rem 1rem;
  min-height: 44px;
}

.btn-expand:hover {
  color: var(--foreground);
}

/* ============================================
   FAQ
   ============================================ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .faq-grid {
    gap: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .faq-grid {
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
  }
}

.faq-header-desc {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  line-height: 1.625;
}

@media (min-width: 640px) {
  .faq-header-desc {
    font-size: 0.875rem;
  }
}

.faq-item {
  border-bottom: 1px solid var(--divider);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 0;
  text-align: left;
  min-height: 52px;
}

@media (min-width: 640px) {
  .faq-question {
    gap: 1rem;
    padding: 1.5rem 0;
  }
}

.faq-question-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: color-mix(in oklch, var(--foreground) 90%, transparent);
  transition: color 0.3s;
  line-height: 1.4;
}

@media (min-width: 640px) {
  .faq-question-text {
    font-size: 1rem;
  }
}

.faq-question:hover .faq-question-text {
  color: var(--foreground);
}

.faq-chevron {
  color: var(--muted-foreground);
  flex-shrink: 0;
  margin-top: 2px;
  transition:
    transform 0.3s,
    color 0.3s;
  width: 18px;
  height: 18px;
}

@media (min-width: 640px) {
  .faq-chevron {
    width: 20px;
    height: 20px;
  }
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity 0.3s;
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  opacity: 1;
}

.faq-answer p {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  line-height: 1.625;
  padding-right: 1.5rem;
  padding-bottom: 1rem;
}

@media (min-width: 640px) {
  .faq-answer p {
    font-size: 0.875rem;
    padding-right: 2rem;
    padding-bottom: 1.5rem;
  }
}

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta {
  position: relative;
  overflow: hidden;
}

.final-cta-bg {
  position: absolute;
  inset: 0;
  opacity: 0.04;
}

.dark .final-cta-bg {
  opacity: 0.06;
}

.final-cta-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom right,
    var(--primary),
    var(--purple-brand),
    transparent
  );
}

.final-cta h2 {
  margin-bottom: 1rem;
  line-height: 1.1;
}

@media (min-width: 640px) {
  .final-cta h2 {
    margin-bottom: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .final-cta .section-title {
    font-size: 3.75rem;
  }
}

.final-cta-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  max-width: 36rem;
  margin: 0 auto 2rem;
  line-height: 1.625;
  padding: 0 0.5rem;
}

@media (min-width: 640px) {
  .final-cta-desc {
    font-size: 1rem;
    margin-bottom: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .final-cta-desc {
    font-size: 1.125rem;
  }
}

.final-cta-desc strong {
  color: color-mix(in oklch, var(--foreground) 80%, transparent);
}

.final-cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 0.75rem;
  max-width: 28rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .final-cta-buttons {
    flex-direction: row;
    align-items: center;
    max-width: none;
    gap: 1rem;
  }
}

.final-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s;
  border-radius: 2px;
  min-height: 52px;
}

@media (min-width: 640px) {
  .final-cta-btn {
    padding: 1rem 2rem;
    min-height: auto;
  }
}

.final-cta-btn:hover .icon {
  transform: translateX(4px);
}

.final-cta-btn .icon {
  transition: transform 0.3s;
}

.final-cta-btn.primary {
  background: var(--primary);
  color: var(--primary-foreground);
}

.final-cta-btn.primary:hover {
  background: color-mix(in oklch, var(--primary) 85%, transparent);
}

.final-cta-btn.outline {
  border: 1px solid var(--border);
  color: var(--foreground);
}

.final-cta-btn.outline:hover {
  background: var(--accent);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  border-top: 1px solid var(--divider);
  padding: 2.5rem 0;
  background: color-mix(in oklch, var(--card) 50%, transparent);
}

@media (min-width: 640px) {
  .footer {
    padding: 4rem 0;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 4rem;
  }
}

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

.footer-brand-desc {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  line-height: 1.625;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .footer-brand-desc {
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
  }
}

.footer-brand-bars {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.footer-brand-bars div:nth-child(1) {
  width: 1.5rem;
  height: 2px;
  background: var(--primary);
}

.footer-brand-bars div:nth-child(2) {
  width: 1rem;
  height: 2px;
  background: var(--purple-brand);
}

.footer-brand-bars div:nth-child(3) {
  width: 0.5rem;
  height: 2px;
  background: var(--ice-brand);
}

.footer-col-title {
  font-size: 10px;
  color: var(--muted-foreground);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .footer-col-title {
    font-size: 0.75rem;
    margin-bottom: 1.25rem;
  }
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

@media (min-width: 640px) {
  .footer-links {
    gap: 0.75rem;
  }
}

.footer-links a,
.footer-links button {
  font-size: 0.75rem;
  color: color-mix(in oklch, var(--muted-foreground) 60%, transparent);
  transition: color 0.3s;
  padding: 0.25rem 0;
  display: inline-block;
  text-align: left;
}

@media (min-width: 640px) {
  .footer-links a,
  .footer-links button {
    font-size: 0.875rem;
  }
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--foreground);
}

.footer-bottom {
  border-top: 1px solid var(--divider);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  text-align: center;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    padding-top: 2rem;
    gap: 1rem;
    text-align: left;
  }
}

.footer-copy {
  font-size: 10px;
  color: color-mix(in oklch, var(--muted-foreground) 40%, transparent);
}

@media (min-width: 640px) {
  .footer-copy {
    font-size: 0.75rem;
  }
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .footer-legal {
    gap: 1.5rem;
  }
}

.footer-legal a {
  font-size: 10px;
  color: color-mix(in oklch, var(--muted-foreground) 40%, transparent);
  transition: color 0.3s;
  padding: 0.25rem 0;
}

@media (min-width: 640px) {
  .footer-legal a {
    font-size: 0.75rem;
  }
}

.footer-legal a:hover {
  color: var(--muted-foreground);
}

/* ============================================
   CONTACT FORM MODAL
   ============================================ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-wrapper {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  pointer-events: none;
}

.modal-content {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  width: 100%;
  max-width: 32rem;
  max-height: 90vh;
  overflow-y: auto;
  opacity: 0;
  transform: scale(0.95) translateY(20px);
  transition:
    opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.modal-wrapper.active .modal-content {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1) translateY(0);
}

.modal-header {
  position: sticky;
  top: 0;
  background: color-mix(in oklch, var(--background) 95%, transparent);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
}

@media (min-width: 640px) {
  .modal-header {
    padding: 1rem 1.5rem;
  }
}

.modal-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .modal-title {
    font-size: 1.25rem;
  }
}

.modal-subtitle {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 2px;
}

.modal-close {
  padding: 0.5rem;
  border-radius: 0.375rem;
  color: var(--muted-foreground);
  transition:
    background-color 0.3s,
    color 0.3s;
}

.modal-close:hover {
  background: var(--accent);
  color: var(--foreground);
}

.modal-form {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .modal-form {
    padding: 1.5rem;
  }
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 0.375rem;
}

.form-required {
  color: oklch(0.637 0.237 25.331);
}

.form-optional {
  color: var(--muted-foreground);
  font-weight: 400;
}

.form-error {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: oklch(0.637 0.237 25.331);
  display: none;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.625rem 1rem;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  font-size: 0.875rem;
  color: var(--foreground);
  font-family: inherit;
  transition: all 0.2s;
  outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: color-mix(in oklch, var(--muted-foreground) 50%, transparent);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px color-mix(in oklch, var(--primary) 30%, transparent);
}

.form-input.is-invalid,
.form-select.is-invalid,
.form-textarea.is-invalid,
.radio-grid.is-invalid,
.checkbox-grid.is-invalid {
  border-color: oklch(0.637 0.237 25.331);
  box-shadow: 0 0 0 2px
    color-mix(in oklch, oklch(0.637 0.237 25.331) 24%, transparent);
}

.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='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.form-textarea {
  resize: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

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

.radio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: all 0.2s;
  cursor: pointer;
}

.radio-option.active {
  border-color: var(--primary);
  background: color-mix(in oklch, var(--primary) 5%, transparent);
  color: var(--foreground);
}

.radio-option:hover:not(.active) {
  border-color: color-mix(in oklch, var(--primary) 30%, transparent);
}

.radio-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.radio-dot {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.2s;
}

.radio-option.active .radio-dot {
  border-color: var(--primary);
}

.radio-dot-inner {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--primary);
  display: none;
}

.radio-option.active .radio-dot-inner {
  display: block;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.checkbox-option {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: all 0.2s;
  cursor: pointer;
}

.checkbox-option.active {
  border-color: var(--primary);
  background: color-mix(in oklch, var(--primary) 5%, transparent);
  color: var(--foreground);
}

.checkbox-option:hover:not(.active) {
  border-color: color-mix(in oklch, var(--primary) 30%, transparent);
}

.checkbox-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.checkbox-box {
  width: 1rem;
  height: 1rem;
  border-radius: 2px;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}

.checkbox-option.active .checkbox-box {
  border-color: var(--primary);
  background: var(--primary);
}

.priority-banner {
  background: color-mix(in oklch, var(--primary) 5%, transparent);
  border: 1px solid color-mix(in oklch, var(--primary) 15%, transparent);
  border-radius: 0.375rem;
  padding: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.priority-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: color-mix(in oklch, var(--primary) 10%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--primary);
}

.priority-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
}

.priority-desc {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 2px;
}

.btn-submit {
  width: 100%;
  padding: 0.75rem;
  background: var(--primary);
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0.375rem;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-submit:hover:not(:disabled) {
  background: color-mix(in oklch, var(--primary) 90%, transparent);
}

.btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-submit .spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Success state */
.modal-success {
  padding: 3rem 1.25rem;
  text-align: center;
}

@media (min-width: 640px) {
  .modal-success {
    padding: 3rem 1.5rem;
  }
}

.modal-success-icon {
  width: 4rem;
  height: 4rem;
  color: oklch(0.723 0.219 149.579);
  margin: 0 auto 1rem;
}

.modal-success h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.modal-success p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.modal-success button {
  padding: 0.625rem 1.5rem;
  background: var(--primary);
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.375rem;
  transition: background-color 0.3s;
}

.modal-success button:hover {
  background: color-mix(in oklch, var(--primary) 90%, transparent);
}

/* Hidden elements */
.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;
}
