/* ==========================================================================
   Coricor Website - Master Stylesheet
   Dark-themed marketing website for TaxCert AI product suite
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
  --bg: #0a0a0a;
  --fg: #ededed;
  --orange: #f97316;
  --orange-hover: #fb923c;
  --card-bg: #111111;
  --card-border: rgba(255, 255, 255, 0.05);
  --muted: #888888;
  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.6);
  --shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.7);
  --shadow-2xl: 0 20px 60px rgba(0, 0, 0, 0.8);
  --transition-fast: 150ms ease;
  --transition: 200ms ease;
  --transition-slow: 300ms ease;
}

/* --------------------------------------------------------------------------
   2. Reset & Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
  background-color: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   3. Container
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* --------------------------------------------------------------------------
   4. Section
   -------------------------------------------------------------------------- */
section,
.section {
  padding: 96px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

section:first-of-type {
  border-top: none;
}

/* --------------------------------------------------------------------------
   5. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.25rem;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

h4 {
  font-size: 1.125rem;
  margin-bottom: 4px;
}

p {
  color: #9ca3af;
  line-height: 1.7;
  margin-bottom: 8px;
}

small {
  font-size: 0.875rem;
  color: var(--muted);
}

.gradient-text {
  background: linear-gradient(135deg, var(--orange), var(--orange-hover), #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-gray-400 {
  color: #9ca3af;
}

.text-gray-500 {
  color: #7e8693;
}

.text-gray-600 {
  color: #747b88;
}

.text-white {
  color: #ffffff;
}

.text-orange {
  color: var(--orange);
}

/* --------------------------------------------------------------------------
   6. Grid
   -------------------------------------------------------------------------- */
.grid-2,
.grid-3,
.grid-4,
.grid-5,
.grid-6 {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
  .grid-5 {
    grid-template-columns: repeat(5, 1fr);
  }
  .grid-6 {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-6 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --------------------------------------------------------------------------
   7. Flex Utilities
   -------------------------------------------------------------------------- */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-row {
  flex-direction: row;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.items-end {
  align-items: flex-end;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-around {
  justify-content: space-around;
}

.justify-end {
  justify-content: flex-end;
}

.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-5 { gap: 20px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.gap-10 { gap: 40px; }
.gap-12 { gap: 48px; }

.flex-1 {
  flex: 1;
}

/* --------------------------------------------------------------------------
   8. Spacing Utilities
   -------------------------------------------------------------------------- */
.mb-1 { margin-bottom: 4px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-5 { margin-bottom: 20px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mb-10 { margin-bottom: 40px; }
.mb-12 { margin-bottom: 48px; }
.mb-16 { margin-bottom: 64px; }

.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-5 { margin-top: 20px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mt-10 { margin-top: 40px; }
.mt-12 { margin-top: 48px; }
.mt-16 { margin-top: 64px; }

.py-1 { padding-top: 4px; padding-bottom: 4px; }
.py-2 { padding-top: 8px; padding-bottom: 8px; }
.py-3 { padding-top: 12px; padding-bottom: 12px; }
.py-4 { padding-top: 16px; padding-bottom: 16px; }
.py-6 { padding-top: 24px; padding-bottom: 24px; }
.py-8 { padding-top: 32px; padding-bottom: 32px; }
.py-10 { padding-top: 40px; padding-bottom: 40px; }
.py-12 { padding-top: 48px; padding-bottom: 48px; }
.py-16 { padding-top: 64px; padding-bottom: 64px; }

.px-1 { padding-left: 4px; padding-right: 4px; }
.px-2 { padding-left: 8px; padding-right: 8px; }
.px-3 { padding-left: 12px; padding-right: 12px; }
.px-4 { padding-left: 16px; padding-right: 16px; }
.px-6 { padding-left: 24px; padding-right: 24px; }
.px-8 { padding-left: 32px; padding-right: 32px; }

.p-2 { padding: 8px; }
.p-3 { padding: 12px; }
.p-4 { padding: 16px; }
.p-6 { padding: 24px; }
.p-8 { padding: 32px; }

/* --------------------------------------------------------------------------
   9. Header (.site-header)
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(10, 10, 10, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background var(--transition-slow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo img {
  height: 32px;
  width: auto;
}

.logo span {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--fg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: #9ca3af;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

/* Dropdown */
.nav-item {
  position: relative;
}

.nav-item.has-dropdown {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 300px;
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  box-shadow: var(--shadow-xl);
  z-index: 60;
}

.nav-dropdown.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius);
  transition: background var(--transition);
  text-decoration: none;
  color: var(--fg);
}

.nav-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.nav-dropdown-item .dropdown-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(249, 115, 22, 0.1);
  color: var(--orange);
  font-size: 1rem;
}

.nav-dropdown-item .dropdown-text h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 2px;
}

.nav-dropdown-item .dropdown-text p {
  font-size: 0.75rem;
  color: #7e8693;
  margin-bottom: 0;
  line-height: 1.4;
}

/* Mobile toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.mobile-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu .nav-link {
  padding: 12px 0;
  font-size: 1rem;
}

.mobile-menu .nav-dropdown {
  position: static;
  transform: none;
  opacity: 1;
  pointer-events: auto;
  min-width: 100%;
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 0 0 0 16px;
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (max-width: 767px) {
  .nav-links {
    display: none;
  }
  .header-cta {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
}

@media (min-width: 768px) {
  .mobile-toggle {
    display: none;
  }
  .mobile-menu {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   10. Footer (.site-footer)
   -------------------------------------------------------------------------- */
.site-footer {
  padding: 48px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--bg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
  }
}

.footer-section h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #7e8693;
  font-size: 0.875rem;
  transition: color var(--transition);
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  align-items: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: #747b88;
  margin-bottom: 0;
}

.footer-description {
  color: #7e8693;
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 300px;
}

/* --------------------------------------------------------------------------
   11. Hero (.hero)
   -------------------------------------------------------------------------- */
.hero {
  padding-top: 128px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
  border-top: none;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 60% 50% at 50% 40%,
    rgba(249, 115, 22, 0.12) 0%,
    rgba(249, 115, 22, 0.04) 40%,
    transparent 70%
  );
  pointer-events: none;
}

.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.02) 0px,
      rgba(255, 255, 255, 0.02) 1px,
      transparent 1px,
      transparent 60px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.02) 0px,
      rgba(255, 255, 255, 0.02) 1px,
      transparent 1px,
      transparent 60px
    );
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-content {
  position: relative;
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  z-index: 1;
}

.hero h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.5rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 4rem;
  }
}

.hero p {
  font-size: 1.125rem;
  color: #9ca3af;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   12. Badges (.badge)
   -------------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(249, 115, 22, 0.1);
  color: var(--orange);
  border: 1px solid rgba(249, 115, 22, 0.2);
  white-space: nowrap;
}

.badge svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   13. Buttons
   -------------------------------------------------------------------------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--orange);
  color: #000000;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 12px 32px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--orange-hover);
  box-shadow: 0 0 24px rgba(249, 115, 22, 0.3);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: #d1d5db;
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 12px 32px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.03);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1rem;
}

/* --------------------------------------------------------------------------
   14. Cards (.card)
   -------------------------------------------------------------------------- */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color var(--transition-slow), box-shadow var(--transition-slow), transform var(--transition-slow);
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.glass-card {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color var(--transition-slow), background var(--transition-slow);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.card h3 {
  color: var(--fg);
}

.card p {
  color: #9ca3af;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   15. Icon Box (.icon-box)
   -------------------------------------------------------------------------- */
.icon-box {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(249, 115, 22, 0.1);
  color: var(--orange);
  flex-shrink: 0;
}

.icon-box svg {
  width: 20px;
  height: 20px;
}

.icon-box-blue {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.icon-box-purple {
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
}

.icon-box-green {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
}

.icon-box-red {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.icon-box-cyan {
  background: rgba(6, 182, 212, 0.1);
  color: #06b6d4;
}

.icon-box-lg {
  width: 48px;
  height: 48px;
}

.icon-box-lg svg {
  width: 24px;
  height: 24px;
}

/* --------------------------------------------------------------------------
   16. Section Heading (.section-heading)
   -------------------------------------------------------------------------- */
.section-heading {
  text-align: center;
  margin-bottom: 48px;
}

.section-heading h2 {
  margin-bottom: 12px;
}

.section-heading p {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.0625rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(249, 115, 22, 0.1);
  color: var(--orange);
  border: 1px solid rgba(249, 115, 22, 0.2);
  margin-bottom: 16px;
}

/* --------------------------------------------------------------------------
   17. Mockup Panel (.mockup-panel)
   -------------------------------------------------------------------------- */
.mockup-panel {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0d0d0d;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
}

.mockup-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: #0f0f0f;
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots div {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.mockup-title {
  font-size: 0.75rem;
  color: #7e8693;
  margin-left: 8px;
}

.mockup-body {
  padding: 24px;
}

/* --------------------------------------------------------------------------
   18. Before/After (.before-after-container)
   -------------------------------------------------------------------------- */
.before-after-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .before-after-container {
    grid-template-columns: 1fr 1fr;
  }
}

.before-side,
.after-side {
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  transition: all var(--transition-slow);
}

.before-side {
  background: rgba(239, 68, 68, 0.02);
  border-color: rgba(239, 68, 68, 0.1);
}

.after-side {
  background: rgba(34, 197, 94, 0.02);
  border-color: rgba(34, 197, 94, 0.1);
}

.before-side h3 {
  color: #ef4444;
}

.after-side h3 {
  color: #22c55e;
}

.hover-before .before-side {
  border-color: rgba(239, 68, 68, 0.3);
  transform: scale(1.01);
  box-shadow: 0 0 30px rgba(239, 68, 68, 0.05);
}

.hover-after .after-side {
  border-color: rgba(34, 197, 94, 0.3);
  transform: scale(1.01);
  box-shadow: 0 0 30px rgba(34, 197, 94, 0.05);
}

.before-side .before-item,
.after-side .after-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.before-side .before-item:last-child,
.after-side .after-item:last-child {
  border-bottom: none;
}

/* --------------------------------------------------------------------------
   19. Cost Calculator (.calculator)
   -------------------------------------------------------------------------- */
.calculator {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 32px;
}

.calc-slider {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.calc-slider label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #d1d5db;
}

.calc-slider .calc-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--orange);
}

/* Range input styling */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--orange);
  cursor: pointer;
  border: 2px solid var(--bg);
  box-shadow: 0 0 8px rgba(249, 115, 22, 0.4);
  transition: box-shadow var(--transition);
}

input[type="range"]::-webkit-slider-thumb:hover {
  box-shadow: 0 0 16px rgba(249, 115, 22, 0.6);
}

input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--orange);
  cursor: pointer;
  border: 2px solid var(--bg);
  box-shadow: 0 0 8px rgba(249, 115, 22, 0.4);
}

input[type="range"]::-moz-range-track {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
}

.calc-results {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .calc-results {
    grid-template-columns: repeat(3, 1fr);
  }
}

.calc-result-box {
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
}

.calc-result-box.red {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.15);
}

.calc-result-box.green {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.15);
}

.calc-result-box.orange {
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.15);
}

.calc-result-box .result-label {
  font-size: 0.8125rem;
  color: #9ca3af;
  margin-bottom: 4px;
}

.calc-result-box .result-value {
  font-size: 1.75rem;
  font-weight: 700;
}

.calc-result-box.red .result-value {
  color: #ef4444;
}

.calc-result-box.green .result-value {
  color: #22c55e;
}

.calc-result-box.orange .result-value {
  color: var(--orange);
}

/* --------------------------------------------------------------------------
   20. FAQ (.faq-item)
   -------------------------------------------------------------------------- */
.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  margin-bottom: 8px;
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.1);
}

.faq-item.open {
  border-color: rgba(249, 115, 22, 0.2);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  cursor: pointer;
  font-weight: 500;
  color: var(--fg);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 0.9375rem;
  transition: color var(--transition);
}

.faq-question:hover {
  color: #ffffff;
}

.faq-chevron {
  transition: transform 0.2s ease;
  flex-shrink: 0;
  color: #7e8693;
}

.faq-chevron svg {
  width: 20px;
  height: 20px;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 24px 16px;
  color: #9ca3af;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

/* --------------------------------------------------------------------------
   21. Workflow (.workflow-toggle)
   -------------------------------------------------------------------------- */
.workflow-toggle {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  justify-content: center;
}

.workflow-btn {
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  color: #9ca3af;
  background: transparent;
  transition: all var(--transition);
}

.workflow-btn:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--fg);
}

.workflow-btn.active {
  border-color: var(--orange);
  background: rgba(249, 115, 22, 0.1);
  color: var(--orange);
}

.workflow-before,
.workflow-after {
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.workflow-before.hidden,
.workflow-after.hidden {
  display: none;
}

.workflow-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .workflow-steps {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}

.workflow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  text-align: center;
  background: var(--card-bg);
  transition: border-color var(--transition);
}

.workflow-step:hover {
  border-color: rgba(255, 255, 255, 0.1);
}

.workflow-step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.1);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.workflow-connector {
  display: none;
}

@media (min-width: 768px) {
  .workflow-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #747b88;
  }
}

/* --------------------------------------------------------------------------
   22. Social Proof (.social-proof)
   -------------------------------------------------------------------------- */
.social-proof {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 24px 0;
  background: rgba(255, 255, 255, 0.01);
}

.social-proof-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 24px;
}

.stat {
  text-align: center;
  padding: 8px 16px;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1.2;
}

.stat-label {
  font-size: 14px;
  color: #9ca3af;
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   23. Pricing (.pricing-grid)
   -------------------------------------------------------------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pricing-card {
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-xl);
  padding: 24px;
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  transition: border-color var(--transition-slow), box-shadow var(--transition-slow);
  position: relative;
}

.pricing-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
}

.pricing-card.highlighted {
  border-color: rgba(249, 115, 22, 0.4);
  background: rgba(249, 115, 22, 0.03);
  box-shadow: 0 0 40px rgba(249, 115, 22, 0.08);
}

.pricing-badge-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: #000000;
  border-radius: var(--radius-full);
  padding: 4px 16px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.pricing-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 4px;
}

.pricing-price {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 4px;
  line-height: 1.1;
}

.pricing-price span {
  font-size: 0.875rem;
  font-weight: 400;
  color: #7e8693;
}

.pricing-description {
  font-size: 0.875rem;
  color: #7e8693;
  margin-bottom: 24px;
  line-height: 1.5;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  flex-grow: 1;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.875rem;
  color: #d1d5db;
  line-height: 1.4;
}

.pricing-feature .check-icon {
  color: #22c55e;
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-feature .minus-icon {
  color: #7e8693;
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-feature.disabled {
  color: #747b88;
}

.pricing-card .btn-primary,
.pricing-card .btn-secondary {
  width: 100%;
  margin-top: auto;
}

/* --------------------------------------------------------------------------
   24. Contact Form
   -------------------------------------------------------------------------- */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 500;
  color: #d1d5db;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  color: #ffffff;
  outline: none;
  transition: border-color var(--transition);
  font-size: 0.9375rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #747b88;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

.form-group select option {
  background: var(--card-bg);
  color: var(--fg);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* --------------------------------------------------------------------------
   25. Status Badges
   -------------------------------------------------------------------------- */
.status-badge {
  font-size: 10px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.status-approved {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.status-pending {
  background: rgba(234, 179, 8, 0.1);
  color: #eab308;
  border: 1px solid rgba(234, 179, 8, 0.2);
}

.status-review {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.status-rejected {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.status-expired {
  background: rgba(107, 114, 128, 0.1);
  color: #7e8693;
  border: 1px solid rgba(107, 114, 128, 0.2);
}

/* --------------------------------------------------------------------------
   26. Sticky CTA (.sticky-cta)
   -------------------------------------------------------------------------- */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: #111111;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 24px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.sticky-cta.visible {
  transform: translateY(0);
}

.sticky-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  gap: 16px;
}

.sticky-cta-text {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--fg);
}

.sticky-cta-text span {
  color: #9ca3af;
  font-weight: 400;
}

@media (max-width: 640px) {
  .sticky-cta-inner {
    flex-direction: column;
    text-align: center;
  }
  .sticky-cta-text {
    font-size: 0.8125rem;
  }
}

/* --------------------------------------------------------------------------
   27. Animations
   -------------------------------------------------------------------------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-fade-in {
  animation: fadeIn 0.6s ease forwards;
}

.delay-100 { animation-delay: 100ms; transition-delay: 100ms; }
.delay-200 { animation-delay: 200ms; transition-delay: 200ms; }
.delay-300 { animation-delay: 300ms; transition-delay: 300ms; }
.delay-400 { animation-delay: 400ms; transition-delay: 400ms; }
.delay-500 { animation-delay: 500ms; transition-delay: 500ms; }

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* --------------------------------------------------------------------------
   28. Carousel
   -------------------------------------------------------------------------- */
.carousel-container {
  position: relative;
  overflow: hidden;
}

.carousel-track {
  position: relative;
  min-height: 200px;
}

.carousel-slide {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.carousel-slide.active {
  opacity: 1;
  position: relative;
  pointer-events: auto;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background var(--transition), transform var(--transition);
}

.carousel-dot:hover {
  background: rgba(255, 255, 255, 0.4);
}

.carousel-dot.active {
  background: var(--orange);
  transform: scale(1.2);
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--fg);
  transition: background var(--transition);
  z-index: 5;
}

.carousel-nav:hover {
  background: rgba(255, 255, 255, 0.1);
}

.carousel-nav.prev {
  left: -20px;
}

.carousel-nav.next {
  right: -20px;
}

/* --------------------------------------------------------------------------
   29. Pain Points (.pain-card)
   -------------------------------------------------------------------------- */
.pain-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid rgba(239, 68, 68, 0.1);
  background: rgba(239, 68, 68, 0.03);
  padding: 16px;
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), background var(--transition);
}

.pain-card:hover {
  border-color: rgba(239, 68, 68, 0.2);
  background: rgba(239, 68, 68, 0.05);
}

.pain-card .pain-icon {
  flex-shrink: 0;
  color: #ef4444;
}

.pain-card h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 4px;
}

.pain-card p {
  font-size: 0.8125rem;
  color: #9ca3af;
  margin-bottom: 0;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   30. Audience Cards
   -------------------------------------------------------------------------- */
.audience-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color var(--transition-slow), transform var(--transition-slow);
}

.audience-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.audience-card .icon-box {
  margin-bottom: 16px;
}

.audience-card h3 {
  margin-bottom: 8px;
}

.audience-card p {
  font-size: 0.875rem;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   31. Impact Stats
   -------------------------------------------------------------------------- */
.impact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .impact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.impact-card {
  text-align: center;
  padding: 32px 16px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  transition: border-color var(--transition-slow);
}

.impact-card:hover {
  border-color: rgba(249, 115, 22, 0.2);
}

.impact-value {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--orange), var(--orange-hover), #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.impact-label {
  font-size: 0.9375rem;
  color: #9ca3af;
}

.impact-sublabel {
  font-size: 0.8125rem;
  color: #7e8693;
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   32. Product Page Hero
   -------------------------------------------------------------------------- */
.product-hero {
  padding-top: 128px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
  border-top: none;
}

.product-hero .hero-gradient {
  background: radial-gradient(
    ellipse 60% 50% at 50% 40%,
    rgba(249, 115, 22, 0.10) 0%,
    rgba(249, 115, 22, 0.03) 40%,
    transparent 70%
  );
}

/* Blue accent variant */
.product-hero.accent-blue .hero-gradient {
  background: radial-gradient(
    ellipse 60% 50% at 50% 40%,
    rgba(59, 130, 246, 0.10) 0%,
    rgba(59, 130, 246, 0.03) 40%,
    transparent 70%
  );
}

/* Purple accent variant */
.product-hero.accent-purple .hero-gradient {
  background: radial-gradient(
    ellipse 60% 50% at 50% 40%,
    rgba(139, 92, 246, 0.10) 0%,
    rgba(139, 92, 246, 0.03) 40%,
    transparent 70%
  );
}

/* Green accent variant */
.product-hero.accent-green .hero-gradient {
  background: radial-gradient(
    ellipse 60% 50% at 50% 40%,
    rgba(34, 197, 94, 0.10) 0%,
    rgba(34, 197, 94, 0.03) 40%,
    transparent 70%
  );
}

.product-hero .hero-content {
  max-width: 800px;
}

.product-hero h1 {
  font-size: 2.25rem;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .product-hero h1 {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .product-hero h1 {
    font-size: 3.5rem;
  }
}

/* --------------------------------------------------------------------------
   33. General Utilities
   -------------------------------------------------------------------------- */
.hidden {
  display: none;
}

.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

.inline-flex {
  display: inline-flex;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.max-w-sm { max-width: 384px; }
.max-w-md { max-width: 448px; }
.max-w-lg { max-width: 512px; }
.max-w-xl { max-width: 576px; }
.max-w-2xl { max-width: 672px; }
.max-w-3xl { max-width: 768px; }
.max-w-4xl { max-width: 896px; }
.max-w-5xl { max-width: 1024px; }

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.overflow-hidden {
  overflow: hidden;
}

.border-t {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.border-b {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.rounded { border-radius: var(--radius); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: 20px; }
.rounded-full { border-radius: var(--radius-full); }

.shrink-0 {
  flex-shrink: 0;
}

.grow {
  flex-grow: 1;
}

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.font-normal { font-weight: 400; }

.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }

.leading-relaxed { line-height: 1.7; }
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-normal { line-height: 1.5; }
.leading-loose { line-height: 2; }

.tracking-tight { letter-spacing: -0.025em; }
.tracking-wide { letter-spacing: 0.025em; }

.uppercase { text-transform: uppercase; }
.capitalize { text-transform: capitalize; }

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cursor-pointer { cursor: pointer; }

.opacity-0 { opacity: 0; }
.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }
.opacity-100 { opacity: 1; }

.pointer-events-none { pointer-events: none; }
.pointer-events-auto { pointer-events: auto; }

.select-none { user-select: none; }

.transition-all {
  transition: all var(--transition);
}

.transition-colors {
  transition: color var(--transition), background-color var(--transition), border-color var(--transition);
}

.inset-0 {
  inset: 0;
}

.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

/* --------------------------------------------------------------------------
   34. Responsive Breakpoints
   -------------------------------------------------------------------------- */

/* Small screens (640px+) */
@media (min-width: 640px) {
  .sm\:flex {
    display: flex;
  }
  .sm\:grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .sm\:text-left {
    text-align: left;
  }
}

/* Medium screens (768px+) */
@media (min-width: 768px) {
  .md\:flex {
    display: flex;
  }
  .md\:hidden {
    display: none;
  }
  .md\:grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .md\:grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .md\:text-left {
    text-align: left;
  }
  .md\:flex-row {
    flex-direction: row;
  }
}

/* Large screens (1024px+) */
@media (min-width: 1024px) {
  .lg\:flex {
    display: flex;
  }
  .lg\:hidden {
    display: none;
  }
  .lg\:grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .lg\:grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .lg\:grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
  .lg\:text-left {
    text-align: left;
  }
  .lg\:flex-row {
    flex-direction: row;
  }
}

/* Mobile-first overrides */
@media (max-width: 767px) {
  h1 {
    font-size: 2.25rem;
  }
  h2 {
    font-size: 1.75rem;
  }
  section,
  .section {
    padding: 64px 0;
  }
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .hero {
    padding-top: 100px;
    padding-bottom: 60px;
  }
  .product-hero {
    padding-top: 100px;
    padding-bottom: 60px;
  }
  .section-heading {
    margin-bottom: 32px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .social-proof-inner {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .impact-grid {
    grid-template-columns: 1fr;
  }
  .impact-value {
    font-size: 2.25rem;
  }
  .calc-results {
    grid-template-columns: 1fr;
  }
  .before-after-container {
    grid-template-columns: 1fr;
  }
  .mockup-body {
    padding: 16px;
  }
}

/* Tablet tweaks */
@media (min-width: 768px) and (max-width: 1023px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --------------------------------------------------------------------------
   35. Scrollbar Styling
   -------------------------------------------------------------------------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Firefox scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) var(--bg);
}

/* --------------------------------------------------------------------------
   36. Selection
   -------------------------------------------------------------------------- */
::selection {
  background: rgba(249, 115, 22, 0.3);
  color: #ffffff;
}

::-moz-selection {
  background: rgba(249, 115, 22, 0.3);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   37. Focus Styles (Accessibility)
   -------------------------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Skip to content (accessibility) */
.skip-link {
  position: absolute;
  top: 0;
  left: -9999px;
  z-index: 100;
  background: var(--orange);
  color: #000000;
  padding: 10px 18px;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus {
  left: 0;
}

#content {
  scroll-margin-top: 84px;
}

/* --------------------------------------------------------------------------
   38. Print Styles
   -------------------------------------------------------------------------- */
@media print {
  .site-header,
  .site-footer,
  .sticky-cta,
  .mobile-toggle,
  .mobile-menu {
    display: none !important;
  }
  body {
    background: #ffffff;
    color: #000000;
  }
  .card,
  .glass-card {
    border: 1px solid #cccccc;
    background: #ffffff;
  }
}
