@import url("global.css");

/* ==========================================
   1. DESIGN SYSTEM & VARIABLES
   ========================================== */
:root {
  --background: #ffffff;
  --surface: #ffffff;
  --text: #0b0b0b;
  --muted: #666666;
  --border: #eaeaea;
  --primary: #0f8b6f;
  --primary-hover: #0c6f59;
  --primary-light: #e6f4f0;
  --alt-bg: #fafafa;
  --font-sans: 'Inter';
  --max-width: 1200px;
  --section-spacing: 88px;
  --element-spacing: 20px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================
   2. BASE RESET & TYPOGRAPHY
   ========================================== */
html {
  scroll-behavior: smooth;
}

body, button, input, textarea, select {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--text);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Prevent horizontal overflow on small devices */
body, html {
  overflow-x: hidden;
}

.brand-logo {
  height: 28px;
  display: inline-block;
  max-width: 160px;
  object-fit: contain;
}

body::before {
  display: none !important; /* Remove legacy dot patterns */
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================
   3. SITE HEADER & NAVIGATION
   ========================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: none !important;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

.brand {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: -0.03em;
}

.brand::before {
  content: "B";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background-color: var(--primary);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  border: none !important;
}

.hero-visual-card {
  background-color: var(--primary);
  padding: 32px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-grow: 1;
  margin-left: 48px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--text);
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ==========================================
   4. BUTTONS & ACTIONS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  box-shadow: none;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.btn:hover {
  border-color: #888888;
}

/* Primary buttons */
.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  border: none;
}

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

/* Secondary buttons */
.btn-secondary {
  background-color: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: #888888;
}

/* Ghost buttons */
.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: none;
}

.btn-ghost:hover {
  color: var(--text);
}

/* ==========================================
   5. LANDING SECTIONS & LAYOUTS
   ========================================== */
.landing-section {
  padding: var(--section-spacing) 0;
  border-bottom: 1px solid var(--border);
  background: var(--background);
}

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

.hero-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: block;
}

.landing-section:last-of-type {
  border-bottom: none;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 48px;
}

.section-heading.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-heading h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--text);
  margin-top: 12px;
}

.section-heading p {
  margin-top: 16px;
  font-size: 1.125rem;
}

.landing-kicker, .retro-sticker, .retro-badge {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 12px;
  border-radius: 99px;
  background-color: var(--primary-light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none !important;
  box-shadow: none !important;
  transform: none !important;
}

/* ==========================================
   6. HOMEPAGE SPECIFIC
   ========================================== */

/* Hero Section */
.hero-section {
  padding: 88px 0;
  text-align: center;
  background-color: var(--background);
}

.hero-section h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.1;
  max-width: 900px;
  margin: 0 auto 20px;
  text-wrap: balance;
}

.hero-section p.subtext {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.hero-trust-line {
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 500;
}

.hero-visual-wrapper {
  margin-top: 64px;
  perspective: 1000px;
}

/* Problem-Solution Section */
.problem-solution-section {
  background-color: var(--background);
}

.comparison-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
  margin-top: 48px;
}

.messy-flow-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}

.messy-flow-card h3 {
  font-size: 1.35rem;
  margin-bottom: 24px;
  color: #be123c;
}

.messy-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.messy-list li {
  font-size: 0.95rem;
  color: var(--muted);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.messy-list li::before {
  content: "×";
  color: #be123c;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
}

/* Feature Cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.feature-card, .step-card, .use-case-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background-color: var(--surface);
  box-shadow: none;
  transition: border-color 0.2s ease;
}

.feature-card:hover, .step-card:hover, .use-case-card:hover {
  border-color: #888888;
}

.feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.95rem;
}

/* Utility: hide elements */
.hidden {
  display: none !important;
}

/* Split layout used on some marketing hero sections */
.split-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.mybiolojee-flow {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* How It Works Section */
.how-it-works-section {
  background-color: var(--background);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.step-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  opacity: 0;
  transform: translateY(20px);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--text);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
}

.step-card h3 {
  font-size: 1.25rem;
  margin: 0;
}

.step-card p {
  font-size: 0.95rem;
  margin: 0;
}

.step-ui-preview {
  margin-top: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--alt-bg);
  padding: 12px;
}

/* Use Cases Section */
.use-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.use-case-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.use-case-card p {
  font-size: 0.95rem;
  margin-bottom: 20px;
}

/* Social Proof */
.social-proof-section {
  text-align: center;
}

.username-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
  max-width: 800px;
  margin-inline: auto;
}

.username-pill {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  border-radius: 99px;
  border: 1px solid var(--border);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  background: var(--surface);
  text-decoration: none;
  transition: var(--transition);
}

.username-pill:hover {
  border-color: #888888;
  color: var(--primary);
}

/* Final CTA */
.final-cta-section {
  padding: 88px 0;
  text-align: center;
}

.final-cta-section h2 {
  font-size: 2.75rem;
  margin-bottom: 16px;
}

.final-cta-section p {
  font-size: 1.125rem;
  margin-bottom: 32px;
}

/* FAQ Grid */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

/* Demo Section */
.demo-section {
  background-color: var(--background);
}

/* ==========================================
   7. LIVE UI MOCKUPS (HTML/CSS)
   ========================================== */
.storefront-mockup {
  border: 1px solid var(--border);
  border-radius: 16px;
  background-color: var(--surface);
  padding: 24px;
  max-width: 420px;
  margin: 0 auto;
  text-align: left;
  position: relative;
  transition: transform 0.1s ease-out;
  transform-style: preserve-3d;
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.mockup-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-profile-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mockup-username {
  font-weight: 600;
  font-size: 0.95rem;
}

.mockup-bio {
  font-size: 0.8rem;
  color: var(--muted);
}

.mockup-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
  padding-bottom: 8px;
}

.mockup-tab {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  background: none;
  border: none;
  padding: 4px 8px;
  cursor: pointer;
}

.mockup-tab.active {
  color: var(--text);
  border-bottom: 2px solid var(--primary);
}

/* Digital product card mockup */
.product-card-mockup {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  background-color: var(--surface);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  transition: border-color 0.2s;
}

.product-card-mockup:hover {
  border-color: #888888;
}

.product-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.product-icon {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background-color: var(--alt-bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.product-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.product-title {
  font-weight: 600;
  font-size: 0.9rem;
}

.product-price {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
}

.mockup-btn {
  height: 32px;
  padding: 0 14px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  border: none;
  background-color: var(--primary);
  color: #ffffff;
  cursor: pointer;
}

/* Booking calendar slots mockup */
.booking-mockup {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.calendar-header {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.time-slot {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px;
  font-size: 0.775rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  background: var(--surface);
  transition: var(--transition);
}

.time-slot:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.time-slot.selected {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* Checkout panel mockup */
.checkout-mockup {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkout-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

.checkout-row.total {
  font-weight: 700;
  border-top: 1px solid var(--border);
  padding-top: 8px;
}

/* ==========================================
   8. PRICING & COMPATIBILITY STYLES
   ========================================== */
.pricing-page {
  background-color: var(--background);
}

.pricing-hero {
  text-align: center;
  padding: 88px 0;
  background-color: var(--background);
}

.pricing-hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing-hero-visual {
  display: none !important; /* Hide old heavy illustration */
}

.pricing-benefits {
  padding: 24px 0;
  background-color: var(--alt-bg);
  border-bottom: 1px solid var(--border);
}

.pricing-main-section {
  background-color: var(--background);
}

.pricing-benefit-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  text-align: center;
}

.pricing-benefit-grid div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pricing-benefit-grid strong {
  font-size: 1.1rem;
  color: var(--text);
}

.pricing-benefit-grid span {
  font-size: 0.8rem;
  color: var(--muted);
}

.pricing-section-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
}

.pricing-section-row .section-heading {
  margin-bottom: 0;
}

.billing-toggle {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 4px;
  background: var(--surface);
}

.billing-toggle button {
  height: 32px;
  padding: 0 16px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  background: none;
  cursor: pointer;
  transition: var(--transition);
}

.billing-toggle button.active {
  background-color: var(--text);
  color: #ffffff;
}

/* Pricing Plan Grid */
.pricing-plan-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 24px;
  align-items: stretch;
}

.pricing-empty {
  text-align: center;
  padding: 48px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background-color: var(--surface);
}

.pricing-empty h3 {
  margin-bottom: 12px;
}

.pricing-empty p {
  margin: 0;
}

.pricing-plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background-color: var(--surface);
}

.pricing-plan-card.featured {
  border-color: var(--primary);
}

.popular-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background-color: var(--primary) !important;
  color: #ffffff !important;
}

.plan-card-head h3 {
  font-size: 1.75rem;
  margin: 8px 0 12px;
}

.plan-card-head p {
  font-size: 0.95rem;
  line-height: 1.45;
  margin-bottom: 24px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 24px 0 32px;
}

.plan-price strong {
  font-size: 2.5rem;
  font-weight: 800;
}

.plan-price span {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}

.plan-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  gap: 12px;
}

.plan-feature-list li {
  font-size: 0.9rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-feature-list li::before {
  content: "✓";
  color: var(--primary);
  font-weight: bold;
}

.plan-cta {
  width: 100%;
  margin-top: auto;
}

.pricing-audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}

.pricing-audience-grid article h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.comparison-table-wrap {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--surface);
  margin-top: 48px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th, .comparison-table td {
  padding: 16px 24px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.comparison-table th {
  background-color: var(--alt-bg);
  font-weight: 600;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table td:not(:first-child) {
  font-weight: 500;
}

.comparison-table .feature-name {
  font-weight: 600;
}

.compare-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 600;
  background-color: var(--alt-bg);
  border: 1px solid var(--border);
}

.compare-pill.yes {
  background-color: var(--primary-light);
  color: var(--primary);
  border-color: transparent;
}

.compare-pill.no {
  background-color: #fff1f2;
  color: #e11d48;
  border-color: transparent;
}

.compare-pill.limited {
  background-color: #fef3c7;
  color: #d97706;
  border-color: transparent;
}

/* ==========================================
   9. FORMS & INPUTS
   ========================================== */
.form-card {
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background-color: var(--surface);
  max-width: 500px;
  margin: 0 auto;
}

.form-card-header h2 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.form-card-header p {
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.demo-form {
  display: grid;
  gap: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
}

.input {
  height: 42px;
  padding: 0 14px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background-color: var(--surface);
  color: var(--text);
  font-size: 0.95rem;
  font-family: var(--font-sans);
  transition: var(--transition);
}

.input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 139, 111, 0.12);
}

.alert {
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 16px;
}

.alert-success {
  background-color: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(15, 139, 111, 0.15);
}

.alert-error {
  background-color: #fff1f2;
  color: #e11d48;
  border: 1px solid rgba(225, 29, 72, 0.15);
}

/* ==========================================
   10. FOOTER STYLING
   ========================================== */
.footer {
  padding: 72px 0 48px;
  background-color: var(--alt-bg);
  border-top: 1px solid var(--border);
  color: var(--text);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(2, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

.brand-footer {
  margin-bottom: 16px;
}

.footer-copy {
  font-size: 0.9rem;
  max-width: 320px;
}

.footer-grid h3 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  color: var(--text);
}

.footer-grid a {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 12px;
  transition: var(--transition);
}

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

.footer-socials {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.footer-socials a {
  color: var(--muted);
  transition: var(--transition);
}

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

.footer-socials svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ==========================================
   11. RESPONSIVENESS & MOBILE
   ========================================== */
@media (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }
}

@media (max-width: 980px) {
  .landing-section {
    padding: 64px 0;
  }
  
  .comparison-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .feature-grid, .steps-grid, .use-case-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pricing-plan-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-spacing: 64px;
  }
  
  .container {
    padding: 0 16px;
  }
  
  .landing-section {
    padding: 64px 0;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .btn {
    width: 100%;
  }
  
  .feature-grid, .steps-grid, .use-case-grid {
    grid-template-columns: 1fr;
  }
  
  .comparison-layout {
    grid-template-columns: 1fr;
  }
  
  .pricing-benefit-grid {
    grid-template-columns: 1fr;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
  }
  
  .nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background-color: var(--text);
    margin: 0 auto;
    transition: var(--transition);
  }

  .nav-panel {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    margin-left: 0;
  }

  .nav-panel.is-open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
}

@media (max-width: 620px) {
  .feature-grid, .steps-grid, .use-case-grid, .pricing-audience-grid, .pricing-benefit-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-benefit-grid {
    gap: 16px;
    text-align: left;
  }
  
  .pricing-benefit-grid div {
    flex-direction: row;
    justify-content: space-between;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .section-heading h2 {
    font-size: 1.75rem;
  }
  
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .final-cta-section h2 {
    font-size: 1.75rem;
  }
}

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