/* ============================================================
   IRONHAVEN — Design System & Landing Page Styles
   Autonomous Container-Based Private Gym
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

/* ── CSS Reset / Normalize ────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  tab-size: 4;
  font-feature-settings: normal;
  font-variation-settings: normal;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont,
    'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text-main);
  background-color: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

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

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

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
  font-weight: 700;
}

p {
  overflow-wrap: break-word;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

hr {
  border: none;
  border-top: 1px solid var(--border);
}

details summary {
  cursor: pointer;
}

/* Remove default marker for details/summary */
summary::-webkit-details-marker {
  display: none;
}

summary::marker {
  display: none;
  content: '';
}

/* ── Custom Properties (Design Tokens) ────────────────────── */
:root {
  /* Colors */
  --bg-base: #F8FAFC;
  --surface: #FFFFFF;
  --primary: #4F46E5;
  --secondary: #7C3AED;
  --text-main: #0F172A;
  --text-muted: #64748B;
  --success: #10B981;
  --border: #E2E8F0;
  --danger: #EF4444;

  /* Shadows */
  --shadow-card: 0 4px 20px -2px rgba(79, 70, 229, 0.1);
  --shadow-hover: 0 10px 25px -5px rgba(79, 70, 229, 0.15),
                  0 8px 10px -6px rgba(79, 70, 229, 0.1);
  --shadow-cta: 0 4px 14px 0 rgba(79, 70, 229, 0.3);
  --shadow-glow: 0 0 20px rgba(79, 70, 229, 0.5);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Radii */
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 200ms var(--ease-out);
  --transition-base: 300ms var(--ease-out);
  --transition-slow: 500ms var(--ease-out);
}

/* ── Selection ────────────────────────────────────────────── */
::selection {
  background-color: rgba(79, 70, 229, 0.2);
  color: var(--text-main);
}

::-moz-selection {
  background-color: rgba(79, 70, 229, 0.2);
  color: var(--text-main);
}

/* ── Focus Visible ────────────────────────────────────────── */
*:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.4);
  border-radius: 4px;
}

/* ── Scrollbar Styling (Webkit) ───────────────────────────── */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #4338CA, #6D28D9);
}

/* Firefox scrollbar */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--bg-base);
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

.display-h1 {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--text-main);
}

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

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

.section-h2 {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--text-main);
}

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

.card-h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.3;
}

@media (min-width: 1024px) {
  .card-h3 {
    font-size: 1.5rem;
  }
}

.body-text {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.75;
}

.label-text {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary);
}

/* ============================================================
   LAYOUT SYSTEM
   ============================================================ */

.container {
  width: 100%;
  max-width: 80rem;
  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;
  }
}

.section-padding {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (min-width: 1024px) {
  .section-padding {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

/* ── Grid System ──────────────────────────────────────────── */

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

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

.col-span-5 {
  grid-column: span 1;
}

@media (min-width: 1024px) {
  .col-span-5 {
    grid-column: span 5;
  }
}

.col-span-7 {
  grid-column: span 1;
}

@media (min-width: 1024px) {
  .col-span-7 {
    grid-column: span 7;
  }
}

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

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

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

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

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

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

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

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

/* ── Gap Utilities ────────────────────────────────────────── */

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-12 {
  gap: 3rem;
}

.gap-16 {
  gap: 4rem;
}

/* ── Flex Utilities ───────────────────────────────────────── */

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

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

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

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

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

/* ============================================================
   COMPONENTS — BUTTONS
   ============================================================ */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: #FFFFFF;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-cta);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px 0 rgba(79, 70, 229, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-cta);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  background: transparent;
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

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

.btn-secondary:active {
  background-color: rgba(79, 70, 229, 0.05);
}

/* ============================================================
   COMPONENTS — CARDS
   ============================================================ */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-fast);
}

.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

/* ============================================================
   COMPONENTS — TRUST BADGES
   ============================================================ */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-full);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}

.badge svg,
.badge img {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

/* ============================================================
   COMPONENTS — PAIN / SOLUTION CARDS (Block 2)
   ============================================================ */

.pain-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--danger);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-fast);
}

.pain-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.solution-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--success);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-fast);
}

.solution-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.icon-pain {
  color: var(--danger);
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

.icon-solution {
  color: var(--success);
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

/* ============================================================
   COMPONENTS — STEP BADGES (Block 3)
   ============================================================ */

.step-badge {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  flex-shrink: 0;
}

/* ============================================================
   COMPONENTS — PRICING CARDS (Block 5)
   ============================================================ */

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-fast);
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.pricing-card--featured {
  border: 2px solid var(--primary);
  position: relative;
}

@media (min-width: 1024px) {
  .pricing-card--featured {
    transform: scale(1.05);
  }

  .pricing-card--featured:hover {
    transform: scale(1.05) translateY(-4px);
  }
}

.pricing-badge {
  position: absolute;
  top: -0.875rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #FFFFFF;
  border-radius: var(--radius-full);
  padding: 0.25rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pricing-list li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.pricing-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--success);
  font-weight: 700;
  font-size: 1rem;
}

/* ============================================================
   COMPONENTS — JOURNEY CARDS (Block 6)
   ============================================================ */

.journey-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.journey-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.journey-number {
  position: absolute;
  font-size: 5rem;
  font-weight: 800;
  opacity: 0.07;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  top: 0.5rem;
  right: 1rem;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.journey-connector {
  display: none;
}

@media (min-width: 1024px) {
  .journey-connector {
    display: block;
    position: absolute;
    top: 50%;
    right: -1.5rem;
    width: 3rem;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
  }
}

/* ============================================================
   COMPONENTS — FAQ ACCORDION (Block 7)
   ============================================================ */

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

.faq-item:last-child {
  border-bottom: none;
}

.faq-summary {
  padding: 1.5rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--text-main);
  transition: color var(--transition-fast);
  gap: 1rem;
  user-select: none;
}

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

.faq-chevron {
  transition: transform var(--transition-fast);
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--text-muted);
}

details[open] .faq-chevron {
  transform: rotate(180deg);
}

details[open] .faq-summary {
  color: var(--primary);
  border-left: 3px solid var(--primary);
  padding-left: 1rem;
}

.faq-answer {
  padding: 0 0 1.5rem;
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 1rem;
}

/* ============================================================
   COMPONENTS — FOOTER (Block 8)
   ============================================================ */

.footer {
  background: linear-gradient(135deg, #312E81, #1E1B4B);
  color: #FFFFFF;
  padding-top: 5rem;
  padding-bottom: 2rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.footer a:hover {
  color: #FFFFFF;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #FFFFFF;
}

.footer-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  line-height: 1.7;
}

.footer-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
}

.footer-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.footer-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--primary);
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.15);
}

.footer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 2rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #FFFFFF;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-cta);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.footer-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px 0 rgba(79, 70, 229, 0.4);
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 3rem 0 1.5rem;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ============================================================
   SPECIAL EFFECTS — TEXT GRADIENT
   ============================================================ */

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--secondary), #312E81);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* ============================================================
   SPECIAL EFFECTS — BACKGROUND ORBS
   ============================================================ */

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  opacity: 0.2;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  z-index: -1;
  pointer-events: none;
}

.bg-orb--hero {
  width: 40rem;
  height: 40rem;
  top: -10rem;
  right: -10rem;
}

.bg-orb--left {
  width: 30rem;
  height: 30rem;
  bottom: -8rem;
  left: -8rem;
}

.bg-orb--small {
  width: 20rem;
  height: 20rem;
}

/* ============================================================
   SPECIAL EFFECTS — ISOMETRIC / 3D PERSPECTIVE
   ============================================================ */

.perspective-container {
  perspective: 2000px;
}

.iso-left {
  transform: rotateX(5deg) rotateY(-12deg);
  transition: transform var(--transition-slow);
}

.iso-left:hover {
  transform: rotateX(2deg) rotateY(-8deg) translateY(-4px);
}

.iso-right {
  transform: rotateX(5deg) rotateY(12deg);
  transition: transform var(--transition-slow);
}

.iso-right:hover {
  transform: rotateX(2deg) rotateY(8deg) translateY(-4px);
}

/* ============================================================
   SPECIAL EFFECTS — SCROLL ANIMATIONS
   ============================================================ */

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 {
  transition-delay: 100ms;
}

.fade-up-delay-2 {
  transition-delay: 200ms;
}

.fade-up-delay-3 {
  transition-delay: 300ms;
}

.fade-up-delay-4 {
  transition-delay: 400ms;
}

/* ============================================================
   SPECIAL EFFECTS — IMAGE HOVER ZOOM
   ============================================================ */

.img-zoom-container {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.img-zoom-container img {
  transition: transform var(--transition-slow);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-zoom-container:hover img {
  transform: scale(1.05);
}

/* ============================================================
   SPECIAL EFFECTS — AI FRAME (Block 3)
   ============================================================ */

.ai-frame {
  background: #0F0D1A;
  border-radius: var(--radius-2xl);
  padding: 2rem;
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--primary), var(--secondary), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition-fast), box-shadow var(--transition-fast);
}

.nav-scrolled {
  background: var(--surface);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.nav-container {
  width: 100%;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4.5rem;
}

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

.nav-logo {
  font-weight: 800;
  font-size: 1.25rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary), #312E81);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
}

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

.nav-links a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width var(--transition-fast);
  border-radius: var(--radius-full);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #FFFFFF;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-cta);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .nav-cta {
    display: inline-flex;
  }
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px 0 rgba(79, 70, 229, 0.35);
}

/* ── Burger Button ────────────────────────────────────────── */

.burger-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 60;
}

@media (min-width: 1024px) {
  .burger-btn {
    display: none;
  }
}

.burger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  transform-origin: center;
}

.burger-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger-btn.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.burger-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile Menu ──────────────────────────────────────────── */

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--surface);
  z-index: 40;
  transform: translateX(100%);
  transition: transform var(--transition-base);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

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

.mobile-menu a {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-main);
  transition: color var(--transition-fast);
}

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

/* ============================================================
   UTILITY CLASSES
   ============================================================ */

.relative {
  position: relative;
}

.overflow-hidden {
  overflow: hidden;
}

.w-full {
  width: 100%;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-xl {
  max-width: 36rem;
}

.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }

.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }

.pt-4 { padding-top: 1rem; }
.pb-4 { padding-bottom: 1rem; }

.inline-flex {
  display: inline-flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }

.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;
}

/* ============================================================
   HERO SECTION SPECIFICS
   ============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  overflow: hidden;
}

.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

.hero-visual {
  position: relative;
}

/* ============================================================
   SECTION ALTERNATING BACKGROUNDS
   ============================================================ */

.section-alt {
  background-color: #FFFFFF;
}

.section-light {
  background-color: var(--bg-base);
}

/* ============================================================
   ACCESSIBILITY — REDUCED MOTION
   ============================================================ */

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

  .fade-up {
    opacity: 1;
    transform: none;
  }

  .iso-left,
  .iso-right {
    transform: none;
  }

  .img-zoom-container img {
    transition: none;
  }
}

/* ============================================================
   RESPONSIVE FINE-TUNING
   ============================================================ */

/* Disable 3D / Isometric transformations on tablets and mobile to prevent layout overflow */
@media (max-width: 1023px) {
  .iso-left,
  .iso-right,
  .iso-left:hover,
  .iso-right:hover {
    transform: none !important;
  }
}

/* Small screens — tighten up spacing */
@media (max-width: 639px) {
  .display-h1 {
    font-size: 2rem;
  }

  .section-h2 {
    font-size: 1.75rem;
  }

  .section-padding {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .hero {
    min-height: auto;
    padding-top: 7rem;
    padding-bottom: 3rem;
  }

  .card,
  .pain-card,
  .solution-card,
  .journey-card,
  .pricing-card {
    padding: 1.5rem;
  }

  .hero-cta-row {
    flex-direction: column;
  }

  .hero-cta-row .btn-primary,
  .hero-cta-row .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .ai-frame {
    padding: 1rem;
  }
}

/* Mobile phones — fine-tuned spacing and fonts */
@media (max-width: 480px) {
  .display-h1 {
    font-size: 1.85rem;
  }

  .section-h2 {
    font-size: 1.5rem;
  }

  .body-text {
    font-size: 0.9375rem;
    line-height: 1.6;
  }

  .section-padding {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .card,
  .pain-card,
  .solution-card,
  .journey-card,
  .pricing-card {
    padding: 1.25rem;
  }

  .hero {
    padding-top: 5.5rem;
    padding-bottom: 2rem;
  }

  .trust-badges {
    gap: 0.5rem;
  }

  .badge {
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
  }
}

/* Tablet refinements */
@media (min-width: 768px) and (max-width: 1023px) {
  .display-h1 {
    font-size: 2.75rem;
  }

  .hero {
    padding-top: 7rem;
  }
}

/* Large screens — max comfort */
@media (min-width: 1280px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .nav-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */

.section-header {
  text-align: center;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3.5rem;
}

.section-subtitle {
  margin-top: 1rem;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   HERO SECTION — DETAILED COMPONENTS
   ============================================================ */

.hero-sub {
  max-width: 36rem;
  margin-top: 1.5rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

.hero-price-hint {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--success);
  background: rgba(16, 185, 129, 0.1);
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.hero-cta-secondary {
  margin-top: 1rem;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.hero-image-wrapper {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}

.hero-image-wrapper img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-app-overlay {
  position: absolute;
  bottom: -2rem;
  left: -3rem;
  z-index: 2;
}

.hero-app-frame {
  width: 180px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.hero-app-frame img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 1023px) {
  .hero-app-overlay {
    bottom: -1rem;
    left: 1rem;
  }

  .hero-app-frame {
    width: 120px;
  }
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.0625rem;
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

.btn-block {
  display: flex;
  width: 100%;
  justify-content: center;
}

.btn-icon {
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

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

/* ============================================================
   BLOCK 2 — PAIN/SOLUTION CARD DETAILS
   ============================================================ */

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

.pain-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--danger);
}

.solution-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--success);
}

.pain-card .card-h3,
.solution-card .card-h3 {
  margin-bottom: 0.75rem;
}

/* ============================================================
   BLOCK 3 — AI SECTION DETAILS
   ============================================================ */

.ai-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.ai-step:last-child {
  margin-bottom: 0;
}

.ai-step-content {
  flex: 1;
}

.ai-step-content .card-h3 {
  margin-bottom: 0.5rem;
}

.ai-voice-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.voice-bubble {
  display: inline-block;
  background: rgba(79, 70, 229, 0.08);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(79, 70, 229, 0.15);
  font-style: italic;
}

.ai-frame img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.ai-frame-overlay {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  display: flex;
  justify-content: space-around;
  gap: 1rem;
}

.ai-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(15, 13, 26, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(79, 70, 229, 0.3);
  border-radius: var(--radius-lg);
  padding: 0.75rem 1rem;
  min-width: 5rem;
}

.ai-metric-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
}

.ai-metric-label {
  font-size: 0.6875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0.125rem;
}

/* ============================================================
   BLOCK 4 — INTERIOR SECTION DETAILS
   ============================================================ */

.interior-hero-img {
  margin-bottom: 3rem;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  aspect-ratio: 16 / 10;
  width: 100%;
  box-shadow: var(--shadow-hover);
}

.interior-hero-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.interior-card-icon {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(124, 58, 237, 0.1));
  border-radius: var(--radius-lg);
  margin-bottom: 1.25rem;
  color: var(--primary);
}

.interior-card-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.interior-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-top: 1rem;
}

.interior-list li {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  padding-left: 0;
}

.interior-list li strong {
  color: var(--text-main);
  font-weight: 600;
}

.interior-cards .card {
  display: flex;
  flex-direction: column;
}

/* ============================================================
   BLOCK 5 — PRICING DETAILS
   ============================================================ */

.pricing-card-header {
  margin-bottom: 1.5rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.pricing-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.pricing-period {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-cta {
  margin-top: auto;
  padding-top: 2rem;
}

/* Cursor-follow radial light on pricing cards */
.pricing-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    300px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(79, 70, 229, 0.06),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 300ms;
  pointer-events: none;
  z-index: 0;
}

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

.pricing-note {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--success);
  font-weight: 600;
  margin-top: 0.75rem;
}

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

.pricing-grid {
  align-items: stretch;
}

/* ============================================================
   BLOCK 6 — JOURNEY DETAILS
   ============================================================ */

.journey-icon {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(124, 58, 237, 0.1));
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  color: var(--primary);
}

.journey-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.journey-card .card-h3 {
  margin-bottom: 0.5rem;
}

.journey-grid {
  position: relative;
}

/* Connector arrows between journey cards (desktop only) */
@media (min-width: 1024px) {
  .journey-card {
    position: relative;
  }

  .journey-card:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -0.75rem;
    width: 1.5rem;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: translateY(-50%);
    z-index: 2;
  }
}

/* ============================================================
   BLOCK 7 — FAQ CONTAINER
   ============================================================ */

.faq-container {
  max-width: 52rem;
}

.faq-list {
  margin-top: 0;
}

.faq-answer ul {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-answer li {
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.75;
}

.faq-answer li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.faq-answer li strong {
  color: var(--text-main);
}

/* ============================================================
   BLOCK 8 — FOOTER DETAILED STYLES
   ============================================================ */

.footer-content {
  position: relative;
  z-index: 1;
}

.footer-bg-orb {
  position: absolute;
  width: 30rem;
  height: 30rem;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.08;
  background: linear-gradient(135deg, #818CF8, #7C3AED);
  top: -5rem;
  right: -5rem;
  pointer-events: none;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2rem;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-bottom: 2rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
}

.footer-contact-item svg {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.5);
  width: 1.125rem;
  height: 1.125rem;
}

.footer-contact-item a,
.footer-contact-item span {
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact-item a:hover {
  color: #FFFFFF;
}

.footer-app-links {
  margin-bottom: 2rem;
}

.footer-app-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.footer-store-buttons {
  display: flex;
  gap: 0.75rem;
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.store-button:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF !important;
  transform: translateY(-1px);
}

.store-button svg {
  width: 1.25rem;
  height: 1.25rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-legal a {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4) !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.7) !important;
}

.footer-copyright {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ── B2B Form ────────────────────────────────────────────── */

.footer-b2b {
  display: flex;
  align-items: flex-start;
}

.b2b-form-wrapper {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-2xl);
  padding: 2.5rem;
  width: 100%;
}

.b2b-title {
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.b2b-title svg {
  color: rgba(255, 255, 255, 0.6);
}

.b2b-description {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  flex: 1;
}

.form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.form-optional {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.35);
}

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

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

.field-error {
  font-size: 0.75rem;
  color: #F87171;
  min-height: 1rem;
  display: block;
}

.footer-input.error {
  border-color: #F87171;
  box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.3);
}

.b2b-privacy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.5;
  margin-top: 0.25rem;
}

.b2b-privacy a {
  color: rgba(255, 255, 255, 0.5) !important;
  text-decoration: underline;
}

.b2b-privacy a:hover {
  color: rgba(255, 255, 255, 0.8) !important;
}

.form-success {
  text-align: center;
  padding: 2rem 1rem;
}

.success-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--success);
}

.form-success .card-h3 {
  color: #FFFFFF;
  margin-bottom: 0.75rem;
}

.form-success .body-text {
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================================
   PRINT STYLES (Basic)
   ============================================================ */

@media print {
  .nav,
  .mobile-menu,
  .burger-btn,
  .bg-orb,
  .footer {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 12pt;
  }

  .card,
  .pain-card,
  .solution-card,
  .journey-card,
  .pricing-card {
    box-shadow: none;
    border: 1px solid #ccc;
    break-inside: avoid;
  }
}
