/* ============================================================================
   SimpliNail Landing Page - Global Styles
   Style 3 Brand System
   ============================================================================ */

/* ============================================================================
   CSS Variables - Style 3 Brand Colors & Typography
   ============================================================================ */
:root {
  /* Warm Nude Luxury Palette */
  --color-primary: #B8A99A;           /* Warm Taupe — primary CTA */
  --color-primary-hover: #A89888;     /* Darker Taupe — hover states */
  --color-sand: #D4BFA8;             /* Sand — borders, accents */
  --color-nude-beige: #E6D8C9;       /* Nude Beige — soft backgrounds */
  --color-soft-cream: #F2EDE6;       /* Soft Cream — section backgrounds */
  --color-led-glow: #F5D7A1;         /* LED Glow — highlights */
  --color-blush: #CFA8A0;            /* Blush — soft accent */

  /* Legacy aliases (kept for backward compat in templates) */
  --color-fresh-red: #B8A99A;
  --color-matcha-green: #7ED7A6;
  --color-playful-pink: #CFA8A0;
  --color-electric-lavender: #B8A99A;

  /* Functional Colors */
  --color-success: #7ED7A6;          /* Matcha Green */
  --color-error: #FF4D5A;            /* Fresh Red — errors only */

  /* Neutrals */
  --color-white: #FFFFFF;
  --color-off-white: #FDFBF9;
  --color-light-gray: #F2EDE6;
  --color-medium-gray: #E8E3DC;
  --color-dark-gray: #2B2B2B;
  --color-text-primary: #2B2B2B;
  --color-text-secondary: #6B6B6B;
  --color-near-black: #2B2B2B;

  /* Typography */
  --font-heading: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Inter', sans-serif;
  --font-ui: 'Poppins', sans-serif;
  --font-weight-semibold: 600;
  --font-weight-regular: 400;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 6rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
  
  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 250ms ease-in-out;

  /* Gradient Cards */
  --gradient-salon-owners: linear-gradient(135deg, #F5EFE8 0%, #EDE5D8 100%);
  --gradient-nail-techs: linear-gradient(135deg, #F0E8E6 0%, #E8DCD8 100%);
  --gradient-operations: linear-gradient(135deg, #E8F0EE 0%, #D8E8E4 100%);
  --gradient-analytics: linear-gradient(135deg, #F0ECE0 0%, #E8E0D0 100%);
}

/* ============================================================================
   Reset & Base Styles
   ============================================================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-primary);
  background-color: var(--color-white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-semibold);
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

h4 {
  font-size: 1.25rem;
}

p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-md);
}

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

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

/* ============================================================================
   Buttons
   ============================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-sm) var(--spacing-lg);
  font-family: var(--font-heading);
  font-weight: var(--font-weight-semibold);
  font-size: 1rem;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn:active {
  transform: translateY(0);
}

/* Primary Button - LED Glow Gold */
.btn-primary {
  background-color: var(--color-led-glow);
  color: var(--color-text-primary);
  border: 1px solid var(--color-led-glow);
  border-radius: 100px;
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 16px rgba(245, 215, 161, 0.35);
}

.btn-primary:hover {
  background-color: #E8C88A;
  border-color: #E8C88A;
  box-shadow: 0 8px 28px rgba(245, 215, 161, 0.5);
}

/* Secondary Button - Outline */
.btn-secondary {
  background-color: transparent;
  color: var(--color-text-secondary);
  border: 2px solid var(--color-sand);
  border-radius: 100px;
}

.btn-secondary:hover {
  background-color: rgba(212, 191, 168, 0.12);
  border-color: var(--color-primary);
  color: var(--color-text-primary);
}

/* Ghost Button - No fill */
.btn-ghost {
  background-color: transparent;
  color: var(--color-text-primary);
  border: 1px solid var(--color-medium-gray);
}

.btn-ghost:hover {
  background-color: var(--color-light-gray);
  border-color: var(--color-dark-gray);
}

/* Call CTA Button - Warm Taupe (distinct from the gold "Book a Demo") */
.btn-call {
  background-color: var(--color-primary);
  color: #FFFFFF;
  border: 1px solid var(--color-primary);
  border-radius: 100px;
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 16px rgba(184, 169, 154, 0.35);
}

.btn-call:hover {
  background-color: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  color: #FFFFFF;
  box-shadow: 0 8px 28px rgba(184, 169, 154, 0.5);
}

.btn-call svg {
  flex-shrink: 0;
}

/* Stacked label: small "Call Us for Demo!" eyebrow over the bold number */
.btn-call-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
  text-align: left;
}

.btn-call-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.9;
}

.btn-call-number {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Small button variant */
.btn-sm {
  padding: var(--spacing-xs) var(--spacing-md);
  font-size: 0.875rem;
}

/* Large button variant */
.btn-lg {
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: 1.125rem;
}

/* ============================================================================
   Container & Layout
   ============================================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section {
  padding: var(--spacing-3xl) 0;
}

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

.section-accent {
  background-color: rgba(212, 191, 168, 0.08);
}

/* ============================================================================
   Header & Navigation
   ============================================================================ */
header {
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-medium-gray);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

/* Home page: fixed transparent header over hero */
.page-home header {
  background-color: transparent;
  border-bottom: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: none;
  transition: background-color 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

/* Header becomes solid after scrolling past hero — frosted glass */
.page-home header.header-solid {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-medium-gray);
  box-shadow: var(--shadow-sm);
}

/* Nav links dark when over hero (light background) */
.page-home header:not(.header-solid) nav a {
  color: rgba(43, 43, 43, 0.7);
}

.page-home header:not(.header-solid) nav a:hover {
  color: #2B2B2B;
}

.page-home header:not(.header-solid) .logo {
  color: #2B2B2B;
}

.page-home header:not(.header-solid) .btn-primary.btn-sm {
  background-color: #F5D7A1;
  border: 1px solid #F5D7A1;
  color: #2B2B2B;
  box-shadow: 0 4px 16px rgba(245, 215, 161, 0.35);
}

.page-home header:not(.header-solid) .btn-primary.btn-sm:hover {
  background-color: #E8C88A;
  border-color: #E8C88A;
  box-shadow: 0 8px 28px rgba(245, 215, 161, 0.5);
}

/* Keep the Call CTA readable (white text) over the transparent hero header */
.page-home header:not(.header-solid) .btn-call {
  color: #FFFFFF;
}

/* Home: reveal each section as it scrolls in + cascade card grids (useScrollReveal) */
@media (prefers-reduced-motion: no-preference) {
  .page-home .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
      transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: opacity, transform;
  }
  .page-home .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
  /* staggered children of card grids — a one-by-one pop */
  .page-home .reveal-item {
    opacity: 0;
    transform: translateY(22px) scale(0.985);
    transition: opacity 0.55s cubic-bezier(0.22, 0.61, 0.36, 1),
      transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: opacity, transform;
  }
  .page-home .reveal-item.is-visible {
    opacity: 1;
    transform: none;
  }
}

/* Home turn-board rotation (useTurnBoard): rows FLIP-slide, the NEXT pill pulses on assign */
.page-home .hx-trow { will-change: transform; }
.page-home .hx-next.hx-assigning { animation: hxAssign 0.45s ease; }
@keyframes hxAssign {
  0% { transform: scale(1); }
  40% { transform: scale(0.9); box-shadow: 0 0 0 6px rgba(245, 215, 161, 0.5); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(245, 215, 161, 0); }
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
}

/* Features nav dropdown (SiteHeader.jsx + blogPages.js headerHtml) */
.nav-dropdown { position: relative; display: inline-flex; align-items: center; }
.nav-dropdown > a { display: inline-flex; align-items: center; }
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0.2rem 0.3rem;
  margin: 0;
  color: inherit;
  cursor: pointer;
  line-height: 1;
}
.nav-caret { font-size: 0.62em; opacity: 0.7; transition: transform 0.2s ease; }
.nav-dropdown:hover .nav-caret,
.nav-dropdown:focus-within .nav-caret,
.features-open .nav-caret { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  /* Left-aligned under the Features item (the leftmost nav link), NOT centered.
     Centering with translateX(-50%) pushed the 440px box off the left edge at
     narrower desktop widths. Clamp the width so it can never overflow either
     edge of the viewport. */
  left: 0;
  transform: translateY(4px);
  margin: 0;
  padding: 0.5rem;
  min-width: 440px;
  max-width: calc(100vw - 2rem);
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.1rem;
  background: #FFFFFF;
  border: 1px solid #E8E3DC;
  border-radius: 16px;
  box-shadow: 0 16px 44px rgba(43, 43, 43, 0.15);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 300;
}
.nav-dropdown-menu::before { content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.features-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(10px);
}
.nav-dropdown-menu > li { margin: 0; width: auto; }
.nav-dropdown-menu a {
  display: block;
  padding: 0.6rem 0.85rem;
  border-radius: 10px;
  color: #2B2B2B;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  border-bottom: none;
}
.nav-dropdown-menu a:hover { background: #F2EDE6; color: #2B2B2B; }
.nav-dropdown-all { grid-column: 1 / -1; border-top: 1px solid #F0EAE1; margin-top: 0.15rem; padding-top: 0.15rem; }
.nav-dropdown-all a { color: #B8A99A; font-weight: 600; }

.logo {
  font-size: 1.5rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
  font-family: var(--font-heading);
  display: flex;
  align-items: center;
}

nav ul {
  display: flex;
  list-style: none;
  gap: var(--spacing-lg);
  align-items: center;
}

nav a {
  color: var(--color-text-primary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

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

/* Desktop only: text nav links reserve the active-underline space (transparent
   until the current page's link colors it in via .blog-nav-active). Without
   this the active item is 2px taller than its neighbors and the horizontal nav
   row shifts when you move between Features / Pricing / Blog. Scoped to desktop
   so it can't override the mobile dropdown's 1px row separators (nav ul li a),
   and buttons (.btn) are excluded — they're never "active". */
@media (min-width: 769px) {
  nav a:not(.btn) {
    border-bottom: 2px solid transparent;
  }
}

/* Mobile Hamburger Menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 110;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hamburger → X animation */
.nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Between tablet-landscape and small laptops the row is tight (7 items + the
   Affiliates link when the program is on): close the gaps and show the call
   number without its label. */
@media (min-width: 769px) and (max-width: 1100px) {
  nav ul { gap: 1.1rem; }
  .btn-call-label { display: none; }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: var(--color-white);
    padding: var(--spacing-lg);
    gap: 0;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--color-medium-gray);
    animation: navSlideDown 0.3s ease;
  }

  .nav-open nav ul {
    display: flex;
  }

  nav ul li {
    width: 100%;
  }

  nav ul li a {
    display: block;
    padding: var(--spacing-sm) 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--color-light-gray);
  }

  nav ul li:last-child a {
    border-bottom: none;
    margin-top: var(--spacing-sm);
  }

  /* Mobile: Features is a tappable accordion, not a hover popover. The label
     link still opens the hub; the caret button expands the inline sub-list. */
  .nav-dropdown {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
  }
  .nav-dropdown > a { flex: 1; }
  .nav-dropdown-toggle {
    margin-left: auto;
    padding: 0.55rem 0.4rem;
  }
  .nav-caret { font-size: 0.85em; opacity: 0.9; }
  /* The sub-list is itself a `nav ul`, so `.nav-open nav ul { display:flex }`
     (0,1,2) would force it visible. Scope our overrides higher (0,2,0 / 0,3,0)
     so the accordion — hidden until the caret sets `.features-open` — wins. */
  .nav-open .nav-dropdown-menu {
    flex-basis: 100%;
    position: static;
    transform: none;
    display: none;
    grid-template-columns: 1fr;
    min-width: 0;
    margin: 0;
    padding: 0 0 0.3rem 0.9rem;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    animation: none;
  }
  .nav-dropdown-menu::before { display: none; }
  .nav-open.features-open .nav-dropdown-menu { display: block; }
  .nav-dropdown-menu a {
    padding: var(--spacing-sm) 0;
    font-size: 0.95rem;
    border-radius: 0;
    border-bottom: 1px solid var(--color-light-gray);
  }
  .nav-dropdown-menu a:hover { background: transparent; }
  .nav-dropdown-all { border-top: none; margin-top: 0; padding-top: 0; }

  nav ul li a.btn {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-lg);
    text-align: center;
  }
}

@keyframes navSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================================
   Hero Section
   ============================================================================ */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
  padding: var(--spacing-3xl) 0;
  min-height: calc(100vh - 80px);
}

.hero-content h1 {
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-md);
}

.hero-subheadline {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-xl);
  max-width: 600px;
}

.hero-cta-group {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
  flex-wrap: wrap;
}

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

.hero-image {
  position: relative;
  height: 500px;
  background: linear-gradient(135deg, rgba(126, 215, 166, 0.1) 0%, rgba(155, 140, 255, 0.1) 100%);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: rgba(0, 0, 0, 0.1);
}

/* ============================================================================
   Features Section
   ============================================================================ */
.features-header {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.features-header h2 {
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-md);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-2xl);
}

.feature-card {
  padding: var(--spacing-xl);
  background-color: var(--color-white);
  border: 1px solid var(--color-medium-gray);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.feature-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(184, 169, 154, 0.15);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--spacing-md);
}

.feature-card h4 {
  margin-bottom: var(--spacing-sm);
  color: var(--color-text-primary);
}

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

/* ============================================================================
   Feature Tabs Section (Square-inspired)
   ============================================================================ */
.tab-section {
  padding: 5rem 0;
  background-color: var(--color-white);
}

.tab-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--spacing-xl);
}

.tab-header h2 {
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-sm);
}

.tab-header p {
  color: var(--color-text-secondary);
  font-size: 1.05rem;
  margin-bottom: 0;
}

.tab-bar {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  background: transparent;
  border: 1px solid var(--color-medium-gray);
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
}

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

.tab-btn.is-active {
  background: var(--color-led-glow);
  border-color: var(--color-led-glow);
  color: var(--color-text-primary);
  font-weight: 600;
}

.tab-split {
  position: relative;
  max-width: 1100px;
  margin: 3rem auto 0;
}

.tab-panel {
  display: none;
  gap: 3rem;
  align-items: center;
}

.tab-panel.is-active {
  display: flex;
  animation: tabFadeIn 0.4s ease;
}

@keyframes tabFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tab-visual {
  width: 55%;
  flex-shrink: 0;
}

.tab-placeholder {
  background: linear-gradient(145deg, #FFFFFF 0%, #FAF8F5 100%);
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  padding: 2rem;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed rgba(212, 191, 168, 0.4);
}

.tab-placeholder-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-text-primary);
  margin-bottom: 0.5rem;
}

.tab-placeholder-hint {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--color-primary);
  letter-spacing: 0.04em;
}

.tab-content {
  width: 45%;
}

.tab-content h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-sm);
}

.tab-content p {
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--spacing-md);
}

.tab-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--spacing-lg) 0;
}

.tab-bullets li {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.tab-bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-led-glow);
  font-weight: bold;
}

.tab-link {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.tab-visual-img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  object-fit: cover;
}

/* Hidden on desktop */
.tab-snap-mobile,
.tab-snap-dots {
  display: none;
}

/* ============================================================================
   Gradient Cards Section
   ============================================================================ */
.gradient-cards-section {
  padding: 5rem 0;
  background-color: var(--color-soft-cream);
}

/* ============================================================================
   Pricing Price Display
   ============================================================================ */
.pricing-price {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-md);
}

.pricing-price span {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text-secondary);
}

/* ============================================================================
   Dark Closing CTA
   ============================================================================ */
.cta-dark {
  background: linear-gradient(135deg, #F5D7A1 0%, #E8C88A 100%);
  padding: 6rem 0;
}

.cta-dark-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-dark-inner h2 {
  font-family: var(--font-heading);
  color: #2B2B2B;
  margin-bottom: var(--spacing-md);
}

.cta-dark-inner p {
  color: rgba(43, 43, 43, 0.65);
  font-size: 1.1rem;
  margin-bottom: var(--spacing-xl);
}

.cta-dark-inner .btn {
  background: #2B2B2B;
  color: #FFFFFF;
  border: none;
  border-radius: 100px;
  padding: 1.1rem 3rem;
  font-weight: 600;
  box-shadow: none;
}

.cta-dark-inner .btn:hover {
  background: #1A1A1A;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  color: #FFFFFF;
}

/* Section divider between CTA and Footer */
.section-divider {
  height: 4px;
  background: linear-gradient(90deg, #B8A99A 0%, #F5D7A1 50%, #B8A99A 100%);
}

/* ============================================================================
   Pricing Section
   ============================================================================ */
.pricing-header {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
}

.pricing-header h2 {
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-md);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.pricing-card {
  padding: var(--spacing-2xl);
  border: 2px solid var(--color-medium-gray);
  border-radius: var(--radius-xl);
  text-align: center;
  transition: all var(--transition-base);
  background-color: var(--color-white);
  position: relative;
}

.pricing-card.featured {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
  transform: scale(1.05);
}

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

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: var(--spacing-xs) var(--spacing-md);
  border-radius: var(--radius-lg);
  font-size: 0.75rem;
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: none;
}

.pricing-card.featured .pricing-badge {
  display: block;
}

.pricing-card h3 {
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-sm);
  font-size: 1.5rem;
}

.pricing-description {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  margin-bottom: var(--spacing-lg);
  min-height: 40px;
}

.pricing-card .btn {
  width: 100%;
  margin-bottom: var(--spacing-lg);
}

.pricing-features {
  list-style: none;
  text-align: left;
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--color-medium-gray);
}

.pricing-features li {
  padding: var(--spacing-sm) 0;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
}

.pricing-features li::before {
  content: "✓";
  color: var(--color-matcha-green);
  font-weight: bold;
  flex-shrink: 0;
}

.pricing-pillar-label {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-warm-taupe);
  margin-top: var(--spacing-lg);
  margin-bottom: 0;
  padding-bottom: var(--spacing-xs);
  border-bottom: 1px solid var(--color-light-gray);
  text-align: left;
}

.pricing-pillar-label + .pricing-features {
  padding-top: var(--spacing-sm);
  border-top: none;
}

.pricing-note {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  text-align: left;
  margin-top: var(--spacing-sm);
  margin-bottom: 0;
  padding-left: var(--spacing-xs);
}

.pricing-note:first-of-type {
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-sm);
  border-top: 1px solid var(--color-light-gray);
}

.pricing-objection-removal {
  text-align: center;
  margin-top: var(--spacing-xl);
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  font-weight: 500;
}

/* ============================================================================
   Closing CTA Section
   ============================================================================ */
.closing-cta {
  text-align: center;
  padding: var(--spacing-3xl) 0;
}

.closing-cta h2 {
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-md);
}

.closing-cta-description {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto var(--spacing-xl);
  line-height: 1.8;
}

/* ============================================================================
   Footer
   ============================================================================ */
footer {
  background-color: var(--color-dark-gray);
  color: var(--color-white);
  padding: var(--spacing-2xl) 0;
}

footer a {
  color: var(--color-sand);
}

footer a:hover {
  color: var(--color-led-glow);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer-section h4 {
  color: var(--color-white);
  margin-bottom: var(--spacing-md);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: var(--spacing-sm);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-lg);
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================================================
   Responsive Design - Mobile First
   ============================================================================ */

@media (max-width: 768px) {
  :root {
    --spacing-3xl: 3rem;
    --spacing-2xl: 2rem;
  }
  
  .hero {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    padding: var(--spacing-xl) 0;
  }
  
  .hero-image {
    height: 300px;
    order: -1;
  }
  
  .hero-cta-group {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
  
  nav ul {
    gap: var(--spacing-md);
    font-size: 0.85rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .tab-bar {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }

  .tab-btn {
    flex-shrink: 0;
  }

  .tab-panel.is-active {
    flex-direction: column;
  }

  .tab-visual,
  .tab-content {
    width: 100%;
  }

  .tab-placeholder {
    min-height: 280px;
  }

  /* Hide desktop tab UI on mobile */
  .tab-bar,
  .tab-split {
    display: none !important;
  }

  /* Show mobile snap scroller */
  .tab-snap-mobile {
    display: block;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    height: 100vh;
    -webkit-overflow-scrolling: touch;
  }

  .tab-section {
    padding: 0;
  }

  .tab-section .tab-header {
    padding-top: 2rem;
  }

  /* Each card = one full screen */
  .tab-snap-card {
    scroll-snap-align: start;
    scroll-snap-stop: always;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 1.25rem;
    position: relative;
  }

  .tab-snap-card:nth-child(odd) {
    background: #FFFFFF;
  }

  .tab-snap-card:nth-child(even) {
    background: #F2EDE6;
  }

  .tab-snap-visual {
    width: 100%;
    margin-bottom: 1.5rem;
  }

  .tab-snap-placeholder {
    width: 100%;
    height: 200px;
    border: 2px dashed rgba(212, 191, 168, 0.4);
    border-radius: 16px;
    background: rgba(242, 237, 230, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
  }

  .tab-snap-placeholder-label {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: #2B2B2B;
  }

  .tab-snap-placeholder-hint {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.75rem;
    color: #B8A99A;
    letter-spacing: 0.04em;
  }

  .tab-snap-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 16px;
  }

  .tab-snap-number {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-weight: 600;
    font-size: 1rem;
    color: #B8A99A;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
    display: block;
  }

  .tab-snap-text h3 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-weight: 600;
    font-size: 1.5rem;
    color: #2B2B2B;
    margin-bottom: 0.5rem;
  }

  .tab-snap-text p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #6B6B6B;
    line-height: 1.6;
    margin-bottom: 1rem;
  }

  .tab-snap-text ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
  }

  .tab-snap-text ul li {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #6B6B6B;
    line-height: 1.4;
    padding-left: 1.25rem;
    position: relative;
  }

  .tab-snap-text ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.35rem;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #F5D7A1;
  }

  /* Progress dots */
  .tab-snap-dots {
    position: fixed;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 50;
  }

  .tab-snap-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(184, 169, 154, 0.3);
    transition: all 0.3s ease;
  }

  .tab-snap-dot.is-active {
    background: #F5D7A1;
    transform: scale(1.4);
    box-shadow: 0 0 8px rgba(245, 215, 161, 0.5);
  }
  
  .pricing-card.featured {
    transform: scale(1);
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .section {
    padding: var(--spacing-xl) 0;
  }
}

@media (max-width: 480px) {
  :root {
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
  }
  
  .container {
    padding: 0 var(--spacing-sm);
  }
  
  nav ul {
    gap: var(--spacing-sm);
  }
  
  .hero-cta-group {
    gap: var(--spacing-sm);
  }
  
  .hero-subheadline {
    font-size: 1rem;
  }
  
  .btn {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 0.9rem;
  }
  
  h1 {
    font-size: 1.5rem;
  }
  
  h2 {
    font-size: 1.25rem;
  }
}

/* ============================================================================
   Utility Classes
   ============================================================================ */
.text-center {
  text-align: center;
}

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

.text-success {
  color: var(--color-matcha-green);
}

.text-secondary {
  color: var(--color-text-secondary);
}

.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }

.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }

.gap-sm { gap: var(--spacing-sm); }
.gap-md { gap: var(--spacing-md); }
.gap-lg { gap: var(--spacing-lg); }

.hidden {
  display: none;
}

/* ============================================================================
   Animations
   ============================================================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-in-out;
}

.slide-up {
  animation: slideUp 0.6s ease-in-out;
}

/* ============================================================================
   Services Section
   ============================================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-2xl);
}

.service-card {
  padding: var(--spacing-xl);
  background-color: var(--color-white);
  border: 1px solid var(--color-medium-gray);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(135deg, rgba(184, 169, 154, 0.1) 0%, rgba(212, 191, 168, 0.08) 100%);
  z-index: 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.service-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #B8A99A 0%, #D4BFA8 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto var(--spacing-md) auto;
  position: relative;
  z-index: 1;
  box-shadow: 0 12px 24px rgba(184, 169, 154, 0.3);
  transition: transform var(--transition-base);
  padding: 12px;
  overflow: hidden;
}

.service-icon svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-card:hover .service-icon {
  transform: scale(1.08) rotateZ(-2deg);
}

.service-icon-frontdesk {
  background: linear-gradient(135deg, #B8A99A 0%, #A89888 100%);
  box-shadow: 0 8px 16px rgba(184, 169, 154, 0.25);
}

.service-icon-staff {
  background: linear-gradient(135deg, #D4BFA8 0%, #C4AF98 100%);
  box-shadow: 0 8px 16px rgba(212, 191, 168, 0.25);
}

.service-icon-crm {
  background: linear-gradient(135deg, #CFA8A0 0%, #BF9890 100%);
  box-shadow: 0 8px 16px rgba(207, 168, 160, 0.25);
}

.service-icon-pos {
  background: linear-gradient(135deg, #98D9D2 0%, #7EC9C2 100%);
  box-shadow: 0 8px 16px rgba(152, 217, 210, 0.25);
}

.service-icon-reporting {
  background: linear-gradient(135deg, #A89888 0%, #988878 100%);
  box-shadow: 0 8px 16px rgba(168, 152, 136, 0.25);
}

.service-icon-ai {
  background: linear-gradient(135deg, #F5D7A1 0%, #E5C791 100%);
  box-shadow: 0 8px 16px rgba(245, 215, 161, 0.25);
}

.service-card h3 {
  margin-bottom: var(--spacing-sm);
  color: var(--color-text-primary);
  font-size: 1.25rem;
  position: relative;
  z-index: 1;
  text-align: center;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-md);
  flex-grow: 1;
  position: relative;
  z-index: 1;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  position: relative;
  z-index: 1;
}

.service-features li {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  padding-left: 1.5rem;
  position: relative;
}

.service-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
}


/* ============================================================================
   Gradient Cards — Brand v2 (Section 8 Component)
   Inspired by Zenoti's soft pastel category cards
   ============================================================================ */
.gradient-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
}

.gradient-card {
  padding: 32px;
  border-radius: 20px;
  border: 1.5px solid rgba(184, 169, 154, 0.3);
  transition: all var(--transition-base);
  min-height: 240px;
  display: flex;
  flex-direction: column;
}

.gradient-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: rgba(184, 169, 154, 0.5);
}

.gradient-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 0.75rem;
}

.gradient-card p {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-text-primary);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 0;
}

.gradient-card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  margin-top: 20px;
  transition: gap var(--transition-fast);
}

.gradient-card-link:hover {
  gap: 8px;
  color: var(--color-primary-hover);
}

/* Card Variants */
.gradient-card--salon-owners {
  background: var(--gradient-salon-owners);
  border-color: rgba(184, 169, 154, 0.35);
}

.gradient-card--nail-techs {
  background: var(--gradient-nail-techs);
  border-color: rgba(207, 168, 160, 0.35);
}

.gradient-card--operations {
  background: var(--gradient-operations);
  border-color: rgba(73, 184, 175, 0.3);
}

.gradient-card--analytics {
  background: var(--gradient-analytics);
  border-color: rgba(232, 200, 138, 0.4);
}

@media (max-width: 1024px) {
  .gradient-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .gradient-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================================
   Section 2 — Features Split Layout (Warm Nude Palette)
   ============================================================================ */
.features-section {
  background: linear-gradient(to bottom, #F2EDE6 0%, #F2EDE6 70%, #E8E3DC 100%);
  padding: 5rem 0;
}

/* Section 3 — Teal background with gradient fade from nude */
.features-section-teal {
  background: linear-gradient(to bottom, #E8E3DC 0%, #CFEDEA 20%, #98D9D2 55%, #49B8AF 100%);
  padding-top: 6rem;
}

.features-section-teal .ft-card {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.5);
}

.features-section-teal .ft-card.is-active {
  background: #ffffff;
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.features-section-teal .ft-showcase-frame {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.features-header-v2 {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.features-title {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #2B2B2B;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.features-subtitle {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  color: #6B6B6B;
  letter-spacing: 0.04em;
}

/* ---------- 2-Column Split ---------- */
.ft-split {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}

/* Mirrored layout: visual LEFT, cards RIGHT */
.ft-split-mirrored {
  flex-direction: row-reverse;
}

/* Left Column — 40% feature cards
   padding-bottom creates scroll runway so sticky panel stays visible
   while user scrolls through all 6 cards */
.ft-cards-col {
  width: 40%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-bottom: 10vh;
}

/* Right Column — 60% sticky visual */
.ft-visual-col {
  width: 60%;
  flex-shrink: 0;
}

.ft-showcase {
  position: sticky;
  top: 110px;
}

/* ---------- Feature Card ---------- */
.ft-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid rgba(212, 191, 168, 0.25);
  border-radius: 12px;
  cursor: pointer;
  overflow: visible;
  transition: all 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.ft-card:hover {
  border-color: rgba(184, 169, 154, 0.5);
}

.ft-card.is-active {
  border-color: #B8A99A;
  background: #FDFBF9;
  box-shadow: 0 4px 20px rgba(184, 169, 154, 0.18);
}

.ft-card-inner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  position: relative;
  z-index: 1;
}

.ft-card-number {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 600;
  font-size: 1.35rem;
  color: #B8A99A;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0.1rem;
  transition: color 300ms ease;
}

.ft-card.is-active .ft-card-number {
  color: #2B2B2B;
}

.ft-card-text {
  flex: 1;
  min-width: 0;
}

.ft-card-title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #2B2B2B;
  margin-bottom: 0.3rem;
  line-height: 1.3;
}

.ft-card-desc {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 0.85rem;
  color: #6B6B6B;
  line-height: 1.45;
}

/* Expand area — only shows when active */
.ft-card-expand {
  max-height: 0;
  overflow: hidden;
  transition: max-height 400ms cubic-bezier(0.22, 1, 0.36, 1),
              margin-top 400ms cubic-bezier(0.22, 1, 0.36, 1);
  margin-top: 0;
}

.ft-card.is-active .ft-card-expand {
  max-height: 200px;
  margin-top: 0.75rem;
}

.ft-card-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(212, 191, 168, 0.25);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ft-card-benefits li {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 0.8rem;
  color: #6B6B6B;
  line-height: 1.4;
  padding-left: 1.25rem;
  position: relative;
}

.ft-card-benefits li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #D4BFA8;
}


/* ---------- Showcase Frame (Right Panel) ---------- */
.ft-showcase-frame {
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  padding: 2rem;
  min-height: 420px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #FFFFFF 0%, #FAF8F5 100%);
}

.ft-asset-wrapper {
  position: relative;
  width: 100%;
  min-height: 380px;
}

.ft-asset {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 400ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 400ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ft-asset.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Placeholder — shown until real assets are added */
.ft-asset-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 2px dashed rgba(212, 191, 168, 0.4);
  border-radius: 12px;
  background: rgba(242, 237, 230, 0.3);
}

.ft-asset-placeholder-label {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: #2B2B2B;
  margin-bottom: 0.5rem;
}

.ft-asset-placeholder-hint {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 0.8rem;
  color: #B8A99A;
  letter-spacing: 0.04em;
}

/* Asset types — for when real content is added */
.ft-asset img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.ft-asset iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: 12px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .ft-split {
    gap: 2rem;
  }

  .ft-cards-col {
    width: 45%;
  }

  .ft-visual-col {
    width: 55%;
  }
}

@media (max-width: 768px) {
  .features-section {
    padding: 3.5rem 0;
  }

  .ft-split {
    flex-direction: column-reverse;
    gap: 2rem;
  }

  .ft-cards-col,
  .ft-visual-col {
    width: 100%;
  }

  .ft-cards-col {
    padding-bottom: 0;
  }

  .ft-showcase {
    position: relative;
    top: 0;
  }

  .ft-showcase-frame {
    min-height: 280px;
    padding: 1.25rem;
  }

  .ft-asset-wrapper {
    min-height: 260px;
  }

  .ft-asset-placeholder {
    min-height: 260px;
  }

  .ft-card-inner {
    padding: 1rem 1.25rem;
  }

  .ft-card-title {
    font-size: 0.95rem;
  }

  .ft-card-desc {
    font-size: 0.8rem;
  }
}

/* ============================================================================
   Home redesign (Direction A, modernized) — all classes namespaced `hx-`
   Ports scratchpad/home-redesign.html onto the brand tokens in :root. Buttons
   reuse the existing .btn / .btn-primary / .btn-secondary. The old home CSS
   (.hero-luxury, .tab-*, .gradient-card, .pricing-*) is left in place, unused.
   ============================================================================ */
.hx-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hx-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 600;
}

/* ---- Hero ---- */
.hx-hero-section { background: var(--color-soft-cream); }
.hx-hero {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 3rem;
  align-items: center;
  /* Top padding clears the fixed .page-home header (~130px: no #hero → header
     renders solid from load). Min value stays above that height. */
  padding-top: clamp(9rem, 11vw, 11rem);
  padding-bottom: 3.5rem;
}
.hx-hero-h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--color-text-primary);
  margin: 1rem 0;
  text-wrap: balance;
}
.hx-hero-sub {
  font-size: 1.12rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
  max-width: 34ch;
  margin: 0 0 1.6rem;
}
.hx-cta { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.hx-trust {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
  font-size: 0.82rem;
  color: var(--color-text-secondary);
}
.hx-trust-item { display: inline-flex; align-items: center; gap: 0.4rem; }
.hx-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--color-led-glow); flex: none; }

/* ---- device / turn-board mock (shared by hero + spotlight) ---- */
.hx-device {
  background: var(--color-white);
  border: 1px solid var(--color-medium-gray);
  border-radius: 18px;
  box-shadow: 0 30px 60px -34px rgba(90, 66, 20, 0.4);
  overflow: hidden;
}
.hx-device-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  background: var(--color-off-white);
  border-bottom: 1px solid var(--color-medium-gray);
}
.hx-device-top .hx-d { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.hx-device-top .hx-t {
  margin-left: auto;
  font-family: var(--font-ui);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}
.hx-board { padding: 16px 18px 20px; }
.hx-board-h { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.hx-board-h .hx-cap {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}
.hx-board-h .hx-day { font-size: 0.72rem; color: var(--color-text-secondary); }
.hx-trow {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 12px;
  margin-bottom: 8px;
  background: var(--color-off-white);
}
.hx-trow.hx-up { background: var(--color-dark-gray); }
.hx-trow .hx-av { width: 30px; height: 30px; border-radius: 50%; flex: none; }
.hx-trow .hx-col { display: flex; flex-direction: column; line-height: 1.25; }
.hx-trow .hx-nm { font-weight: 600; font-size: 0.9rem; color: var(--color-text-primary); }
.hx-trow .hx-svc { font-size: 0.72rem; color: var(--color-text-secondary); }
.hx-trow.hx-up .hx-nm,
.hx-trow.hx-up .hx-svc { color: var(--color-soft-cream); }
.hx-trow .hx-next {
  margin-left: auto;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 9px;
  border-radius: 100px;
  background: var(--color-led-glow);
  color: var(--color-text-primary);
}
.hx-trow .hx-amt { margin-left: auto; font-family: var(--font-ui); font-size: 0.78rem; color: var(--color-text-secondary); }
.hx-trow .hx-amt.hx-muted { color: var(--color-sand); }

/* ---- one-system band (dark) ---- */
.hx-band { background: var(--color-dark-gray); color: var(--color-soft-cream); }
.hx-band-in {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem 2rem;
  flex-wrap: wrap;
  padding: 1.15rem 1.5rem;
  text-align: center;
}
.hx-band-lead { font-family: var(--font-heading); font-size: 1.15rem; }
.hx-repl { display: flex; gap: 1.1rem; flex-wrap: wrap; justify-content: center; font-size: 0.82rem; color: rgba(242, 237, 230, 0.72); }
.hx-repl s { text-decoration: line-through; text-decoration-color: rgba(245, 215, 161, 0.7); opacity: 0.85; }

/* ---- shared section head ---- */
.hx-sec-head { max-width: 640px; margin: 0 auto 2.2rem; text-align: center; }
.hx-sec-head h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  color: var(--color-text-primary);
  margin-bottom: 0.5rem;
}
.hx-sec-head p { color: var(--color-text-secondary); margin: 0; font-size: 1.02rem; }

/* ---- feature grid ---- */
.hx-features { background: var(--color-soft-cream); padding: 4rem 0; scroll-margin-top: 150px; }
.hx-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.hx-fcard {
  display: block;
  background: var(--color-white);
  border: 1px solid var(--color-medium-gray);
  border-radius: 16px;
  padding: 1.3rem 1.25rem 1.4rem;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.hx-fcard:hover { transform: translateY(-4px); box-shadow: 0 16px 30px -18px rgba(90, 66, 20, 0.3); }
.hx-fcard .hx-ic {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--color-nude-beige), var(--color-sand));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
}
.hx-fcard .hx-ic svg { width: 20px; height: 20px; stroke: var(--color-primary); }
.hx-fcard h3 { font-family: var(--font-heading); font-size: 1.12rem; color: var(--color-text-primary); margin-bottom: 0.3rem; }
.hx-fcard p { margin: 0; font-size: 0.86rem; color: var(--color-text-secondary); line-height: 1.5; }
.hx-fcard .hx-go { margin-top: 0.7rem; font-size: 0.78rem; font-weight: 600; color: var(--color-primary); }

/* ---- turn spotlight ---- */
.hx-spot { background: var(--color-off-white); padding: 4rem 0; }
.hx-spot-in { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.hx-spot-copy h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  color: var(--color-text-primary);
  margin-bottom: 0.5rem;
}
.hx-spot-copy .hx-vi { color: var(--color-primary); font-style: italic; }
.hx-spot-copy > p { color: var(--color-text-secondary); margin: 0 0 1.2rem; }
.hx-checks { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: 0.55rem; }
.hx-checks li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.95rem; color: var(--color-text-primary); }
.hx-checks .hx-ck {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(126, 215, 166, 0.18);
  color: var(--color-success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 1px;
}

/* ---- pricing ---- */
.hx-pricing { background: var(--color-soft-cream); padding: 4rem 0; scroll-margin-top: 150px; }
.hx-price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; align-items: stretch; }
.hx-plan {
  background: var(--color-white);
  border: 1px solid var(--color-medium-gray);
  border-radius: 18px;
  padding: 1.9rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
}
.hx-plan.hx-feat { border-color: var(--color-led-glow); box-shadow: 0 18px 40px -22px rgba(203, 162, 74, 0.45); position: relative; }
.hx-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-led-glow);
  color: var(--color-text-primary);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  white-space: nowrap;
}
.hx-pname { font-family: var(--font-ui); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-text-secondary); }
.hx-plan .hx-amt { font-family: var(--font-heading); font-size: 2.6rem; line-height: 1; color: var(--color-text-primary); margin: 0.4rem 0 0.1rem; }
.hx-plan .hx-amt .hx-per { font-size: 1rem; color: var(--color-text-secondary); font-family: var(--font-body); }
.hx-pdesc { font-size: 0.85rem; color: var(--color-text-secondary); margin: 0.5rem 0 1.1rem; min-height: 2.4em; }
/* POS-sourced pricing: free-trial highlight + the "Everything in X, plus:" lead-in. */
.hx-ptrial { font-size: 0.82rem; font-weight: 600; color: var(--color-success); margin: 0.15rem 0 0.5rem; }
.hx-pinherit { font-size: 0.85rem; font-weight: 600; color: var(--color-text-primary); margin: 0.6rem 0 0.9rem; }
.hx-pillar { margin-bottom: 0.85rem; }
.hx-pillar-label {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 0 0 0.4rem;
}
.hx-plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.4rem; font-size: 0.85rem; }
.hx-plan ul li { display: flex; gap: 0.5rem; align-items: flex-start; color: var(--color-text-primary); }
.hx-pck { flex: none; color: var(--color-success); font-weight: 700; }
.hx-pnote { font-size: 0.78rem; color: var(--color-text-secondary); margin: 0.6rem 0 0; }
.hx-plan-cta { margin-top: auto; justify-content: center; width: 100%; }
.hx-price-foot { text-align: center; margin-top: 1.8rem; }
.hx-price-foot p { color: var(--color-text-secondary); font-size: 0.9rem; margin: 0; }
/* Shown in place of the plan cards when the owner hides pricing (admin toggle). */
.hx-price-contact { display: flex; justify-content: center; margin-top: 0.5rem; }
.hx-price-contact .hx-plan-cta { width: auto; min-width: 220px; padding-left: 2.2rem; padding-right: 2.2rem; }

/* ---- community band ---- */
.hx-community { background: linear-gradient(135deg, var(--color-nude-beige), var(--color-sand)); }
.hx-community .hx-wrap { text-align: center; padding: 3rem 1.5rem; }
.hx-community h2 { font-family: var(--font-heading); font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--color-text-primary); margin-bottom: 0.6rem; }
.hx-community p { color: var(--color-text-secondary); max-width: 52ch; margin: 0 auto; }

/* ---- closing CTA (gold) ---- */
.hx-cta-final { background: linear-gradient(135deg, var(--color-led-glow) 0%, #E8C88A 100%); }
.hx-cta-final .hx-wrap { text-align: center; padding: 4rem 1.5rem; }
.hx-cta-final h2 { font-family: var(--font-heading); font-size: clamp(1.9rem, 4vw, 2.7rem); color: var(--color-text-primary); margin-bottom: 0.6rem; }
.hx-cta-final p { color: rgba(43, 43, 43, 0.72); margin: 0 auto 1.6rem; max-width: 46ch; }
.hx-btn-dark {
  background: var(--color-dark-gray);
  color: var(--color-soft-cream);
  border: 1.5px solid var(--color-dark-gray);
  box-shadow: 0 10px 26px -10px rgba(43, 38, 34, 0.6);
}
.hx-btn-dark:hover { background: #201c19; color: var(--color-white); }

/* ---- responsive ---- */
@media (max-width: 900px) {
  .hx-hero { grid-template-columns: 1fr; gap: 2rem; }
  .hx-spot-in { grid-template-columns: 1fr; gap: 2rem; }
  .hx-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .hx-price-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}
@media (max-width: 520px) {
  .hx-grid { grid-template-columns: 1fr; }
}

