/* 
=========================================================
  GROWBACK LANDING PAGE - MASTER CSS
=========================================================
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;300;400&family=Outfit:wght@300;400;600;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/* --- 1. CSS VARIABLES (Design System) --- */
:root {
  --clr-primary: #ffaa00;
  --clr-primary-glow: rgba(255, 170, 0, 0.5);
  --clr-bg: #000000; /* Pure Black */
  --clr-surface: rgba(255, 255, 255, 0.03);
  /* Glassmorphism base */
  --clr-surface-hover: rgba(255, 255, 255, 0.06);

  --clr-text: #ffffff;
  --clr-text-muted: #94a3b8;

  --font-main: 'Outfit', sans-serif;
  --font-serif: 'Playfair Display', serif;

  --spacing-sm: 0.5rem;
  /* 8px */
  --spacing-md: 1rem;
  /* 16px */
  --spacing-lg: 2rem;
  /* 32px */
  --spacing-xl: 4rem;
  /* 64px */
  --spacing-xxl: 8rem;
  /* 128px */

  --border-radius: 12px;
  --border-radius-sm: 8px;

  /* Clamped Typography for perfect responsiveness */
  --fs-h1: clamp(2.5rem, 5vw + 1rem, 4.5rem);
  --fs-h2: clamp(2rem, 4vw + 1rem, 3.5rem);
  --fs-h3: clamp(1.25rem, 2vw + 1rem, 1.75rem);
  --fs-body: clamp(1rem, 1vw + 0.5rem, 1.125rem);
  --fs-small: clamp(0.875rem, 0.5vw + 0.5rem, 1rem);

  --transition-fast: 0.2s ease;
  --transition-normal: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* --- 2. RESETS & BASE --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.6;
  overflow-x: hidden;
  font-size: var(--fs-body);
  -webkit-font-smoothing: antialiased;
}

/* Custom scrollbar — premium feel */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #3a3a3a; }

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

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

ul {
  list-style: none;
}

.highlight {
  color: var(--clr-primary);
  text-shadow: 0 0 10px var(--clr-primary-glow);
}

/* Utility Layout */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.grid {
  display: grid;
  gap: var(--spacing-lg);
}

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

  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- 3. UI COMPONENTS (Uiverse Style) --- */

/* Primary Button with Glowing Border */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: var(--fs-body);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--clr-primary);
  color: var(--clr-bg);
  border: 1px solid var(--clr-primary);
  box-shadow: 0 4px 15px var(--clr-primary-glow);
  font-weight: 700;
}

.btn-primary:hover {
  background: #e09900;
  color: var(--clr-bg);
  box-shadow: 0 6px 20px var(--clr-primary-glow);
  transform: translateY(-2px);
}

/* Inputs with Futuristic Focus States */
.input-group {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

.glow-input {
  background: var(--clr-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--clr-text);
  padding: 14px 20px;
  border-radius: var(--border-radius);
  font-family: var(--font-main);
  font-size: var(--fs-body);
  outline: none;
  transition: var(--transition-fast);
  width: 100%;
  max-width: 400px;
}

.glow-input:focus {
  border-color: var(--clr-primary);
  box-shadow: 0 0 15px var(--clr-primary-glow);
  background: rgba(255, 170, 0, 0.05);
}

.glow-input::placeholder {
  color: var(--clr-text-muted);
}

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


/* Glassmorphism Cards */
.glass-card {
  background: var(--clr-surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  padding: var(--spacing-lg);
}

/* 3D Tilt Cards with Hover Glow */
.tilt-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: var(--spacing-lg);
  overflow: hidden;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal), transform 0.1s;
  transform-style: preserve-3d;
  height: 100%;
}

.tilt-card:hover {
  border-color: var(--clr-primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px var(--clr-primary-glow);
}

.card-inner {
  position: relative;
  z-index: 2;
  transform: translateZ(30px);
  /* Part of 3D effect */
}

/* Inner light follow-mouse effect (set via JS later) */
.glow-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 170, 0, 0.15), transparent 40%);
  opacity: 0;
  transition: opacity var(--transition-fast);
  z-index: 1;
  pointer-events: none;
}

.tilt-card:hover .glow-effect {
  opacity: 1;
}

/* Haus Method Workflow Cards */
.haus-card {
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  border-radius: var(--border-radius-sm);
  padding: 3rem 2rem;
  transition: transform var(--transition-normal), border-color var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.haus-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 170, 0, 0.3);
}

.haus-number {
  font-size: 3rem;
  font-weight: 300;
  color: var(--clr-primary);
  margin-bottom: 1.5rem;
  font-family: monospace;
  opacity: 0.8;
}

.haus-card h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
  margin-bottom: 1rem;
  color: #fff;
}

.haus-card p {
  color: var(--clr-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.icon-wrap {
  font-size: 2rem;
  font-weight: 800;
  color: var(--clr-text-muted);
  margin-bottom: var(--spacing-md);
  transition: color var(--transition-normal);
}

.tilt-card:hover .icon-wrap {
  color: var(--clr-primary);
}


/* --- 4. LAYOUT SECTIONS --- */

/* ── HEADER ─────────────────────────────────────────────── */
.glass-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  /* transparent by default — frosted glass kicks in on scroll */
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    backdrop-filter 0.3s ease;
}

/* Scrolled state — frosted glass */
.glass-header.nav-scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

/* Nav wrapper — single row, 56px tall */
.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Logo */
.logo {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--clr-primary);
  text-shadow: 0 0 12px var(--clr-primary-glow);
  flex-shrink: 0;
}

/* Desktop nav links */
.main-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--clr-text-muted);
  border-radius: 6px;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.nav-links a:hover {
  color: var(--clr-text);
  background: rgba(255, 255, 255, 0.06);
}

/* Desktop CTA */
.nav-cta {
  padding: 8px 20px;
  font-size: 0.875rem;
  flex-shrink: 0;
}

/* ── HAMBURGER BUTTON ───────────────────────────────────── */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  cursor: pointer;
  padding: 7px;
  color: var(--clr-text);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.mobile-menu-toggle:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

/* The animated SVG hamburger */
.hamburger-icon {
  width: 22px;
  height: 22px;
  transition: transform 300ms ease-in-out;
}

/* S-curve top path — animates like the 21st.dev icon */
.hamburger-path-s {
  stroke-dasharray: 12 63;
  stroke-dashoffset: 0;
  transition: stroke-dasharray 300ms ease-in-out,
              stroke-dashoffset 300ms ease-in-out;
}

/* Middle bar */
.hamburger-path-mid {
  transition: opacity 200ms ease;
}

/* Open state — icon rotates into X */
.mobile-menu-toggle.open .hamburger-icon {
  transform: rotate(-45deg);
}

.mobile-menu-toggle.open .hamburger-path-s {
  stroke-dasharray: 20 300;
  stroke-dashoffset: -32.42px;
}

.mobile-menu-toggle.open .hamburger-path-mid {
  opacity: 0;
}

/* ── MOBILE OVERLAY ─────────────────────────────────────── */
.mobile-nav-overlay {
  display: none;         /* toggled to flex by JS */
  position: fixed;
  inset: 56px 0 0 0;    /* starts right below the 56px nav bar */
  z-index: 999;
  background: #0a0a0a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-direction: column;
  overflow-y: auto;
}

.mobile-nav-overlay.open {
  display: flex;
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  padding: 2rem 1.5rem;
  min-height: 0;
}

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

.mobile-nav-link {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--clr-text-muted);
  border-radius: 8px;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
  color: var(--clr-text);
  background: rgba(255, 255, 255, 0.06);
}

.mobile-nav-footer {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 2rem;
}

.mobile-cta {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  text-align: center;
  justify-content: center;
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 767px) {
  .main-nav,
  .nav-cta {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-wrapper {
    padding: 0 20px;
  }
}


/* Hero Section */
.hero-section {
  padding-top: calc(var(--spacing-xxl) + 60px);
  padding-bottom: var(--spacing-xl);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--spacing-xl);
  flex: 1;
}

.hero-text {
  max-width: 900px;
}

.hero-text h1 {
  font-size: var(--fs-h1);
  line-height: 1.1;
  margin-bottom: var(--spacing-md);
  font-weight: 300;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: -1px;
}

.hero-text .subtext {
  color: var(--clr-text-muted);
  font-size: var(--fs-h3);
  margin-bottom: var(--spacing-lg);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* 3D CSS Cube Visual */
.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
  pointer-events: none; /* Let clicks pass through to background if needed */
}

/* Liquid 3D Sphere */
.liquid-sphere {
  width: 400px;
  height: 400px;
  margin: 0 auto;
  background: radial-gradient(circle at 30% 30%, #ffcc44 0%, #cc7700 50%, #1a0800 100%);
  box-shadow: inset -20px -20px 50px rgba(0,0,0,0.6), inset 10px 10px 30px rgba(255, 200, 50, 0.3), 0 0 60px rgba(255, 170, 0, 0.35);
  animation: liquid-morph 8s ease-in-out infinite alternate, spin-slow 20s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

@keyframes liquid-morph {
  0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
  100% { border-radius: 40% 60% 30% 70% / 60% 50% 70% 30%; }
}

@keyframes spin-slow {
  100% { transform: rotate(360deg); }
}

@media(max-width: 900px) {
  .hero-text h1 {
    font-size: 2.5rem;
  }
  .hero-section {
    padding-top: var(--spacing-xl);
  }

  .liquid-sphere {
    width: 280px;
    height: 280px;
    margin-top: var(--spacing-xl);
  }
  .desktop-line { display: none !important; }
}

/* Trust Bar Ticker */
.trust-bar {
  width: 100%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: var(--spacing-md) 0;
  margin-top: var(--spacing-xl);
}

.ticker-wrap {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

.ticker {
  display: inline-block;
  animation: ticker 30s linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  padding: 0 2rem;
  font-size: 0.75rem;
  color: var(--clr-text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.ticker-item:not(:last-child)::after {
  content: '|';
  color: rgba(255, 255, 255, 0.2);
  margin-left: 4rem;
  position: relative;
  right: -2rem;
}

@keyframes ticker {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-50%, 0, 0);
  }
}


/* General Sections */
section {
  padding: var(--spacing-xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section-header h2 {
  font-size: var(--fs-h2);
  margin-bottom: var(--spacing-sm);
  font-weight: 300;
  letter-spacing: -1px;
}

.section-header p {
  color: var(--clr-text-muted);
  font-size: var(--fs-h3);
  font-weight: 200;
}

.pains-section h3 {
  margin-bottom: var(--spacing-sm);
  font-size: var(--fs-h3);
}

.pains-section p {
  color: var(--clr-text-muted);
}

/* Services */
.services-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.service-item {
  flex: 1 1 300px;
  padding: var(--spacing-lg);
  border-left: 2px solid rgba(255, 255, 255, 0.1);
  transition: border-color var(--transition-fast);
}

.service-item:hover {
  border-color: var(--clr-primary);
}

.service-item h3 {
  font-size: var(--fs-h3);
  margin-bottom: var(--spacing-md);
  color: var(--clr-text);
}

.service-item p {
  color: var(--clr-text-muted);
}

/* CTA */
.cta-box {
  text-align: center;
  padding: var(--spacing-xl);
}

.cta-box h2 {
  font-size: var(--fs-h2);
  margin-bottom: var(--spacing-lg);
}

.cta-box .input-group {
  justify-content: center;
}

/* Footer */
.main-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: var(--spacing-lg) 0;
  margin-top: var(--spacing-xl);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: var(--spacing-md);
}

.footer-links a {
  color: var(--clr-text-muted);
  font-size: var(--fs-small);
  transition: color var(--transition-fast);
}

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


/* --- 5. ANIMATIONS (Scroll Reveals) --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.fade-left {
  transform: translateX(50px);
}

.fade-left.active {
  transform: translateX(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

/* --- 6. PORTFOLIO CARDS (Clean Grid) --- */

.haus-portfolio-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  display: block;
  background: var(--clr-surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.haus-portfolio-card img, 
.haus-portfolio-card .placeholder-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.haus-portfolio-card:hover img,
.haus-portfolio-card:hover .placeholder-img {
  transform: scale(1.05);
}

.haus-portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.haus-portfolio-card:hover .haus-portfolio-overlay {
  opacity: 1;
}

.view-project-btn {
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 12px 24px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  backdrop-filter: blur(5px);
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.haus-portfolio-card:hover .view-project-btn {
  background: rgba(255, 170, 0, 0.1);
  border-color: var(--clr-primary);
}


/* --- 7. PRICING TIERS --- */
.pricing-grid {
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition-normal);
  border: 1px solid #1a1a1a;
  background: #0a0a0a;
}

.pricing-card:hover {
  transform: translateY(-10px);
  border-color: var(--clr-primary);
  box-shadow: 0 10px 40px rgba(255, 170, 0, 0.2);
}

.pricing-card.featured {
  border-color: rgba(255, 170, 0, 0.4);
  background: linear-gradient(180deg, rgba(255, 170, 0, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  transform: scale(1.05);
  /* visually pop out */
  z-index: 2;
}

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

.glowing-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--clr-primary);
  color: var(--clr-bg);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 0 15px var(--clr-primary-glow);
  white-space: nowrap;
}

.pricing-card h3 {
  font-size: var(--fs-h3);
  margin-bottom: 0.5rem;
}

.pricing-card .price {
  font-size: var(--fs-h2);
  font-weight: 800;
  color: var(--clr-primary);
  margin-bottom: 1.5rem;
}

.pricing-card .features {
  flex-grow: 1;
  margin-bottom: 2rem;
}

.pricing-card .features li {
  margin-bottom: 0.75rem;
  padding-left: 1.75rem;
  position: relative;
  color: var(--clr-text-muted);
}

.pricing-card .features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--clr-primary);
  font-weight: bold;
}

.pricing-btn {
  width: 100%;
}

@media (max-width: 900px) {
  .pricing-card.featured {
    transform: none;
  }

  .pricing-card.featured:hover {
    transform: translateY(-10px);
  }
}
/* --- 8. ADVANTAGES SECTION --- */
.advantage-card {
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.advantage-icon {
  font-size: 2.5rem;
  color: var(--clr-primary);
  margin-bottom: 0.5rem;
}

/* --- 9. FAQ ACCORDION --- */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
  width: 100%;
  padding: 1.5rem 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 400;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: color var(--transition-fast);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s;
  color: var(--clr-text-muted);
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 2rem;
}

.faq-icon {
  width: 20px;
  height: 20px;
  position: relative;
  transition: transform 0.4s;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background-color: var(--clr-primary);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon::before { width: 100%; height: 2px; }
.faq-icon::after { width: 2px; height: 100%; }

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* --- 10. DEMO OFFER --- */
.demo-offer-box {
  background: linear-gradient(135deg, rgba(255, 170, 0, 0.05) 0%, rgba(76, 29, 149, 0.05) 100%);
  border: 1px solid rgba(255, 170, 0, 0.1);
  border-radius: var(--border-radius);
  padding: var(--spacing-xl);
  text-align: center;
}

/* =====================================================
   VISUAL FIXES — V2 POLISH
   ===================================================== */

/* FIX 1 & 2: HERO — left-aligned, compact, above fold */
.hero-section {
  padding-top: calc(70px + 2.5rem);
  padding-bottom: 2rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.hero-content {
  align-items: flex-start;
  text-align: left;
  gap: 2rem;
  flex-direction: row;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1 1 500px;
  min-width: 280px;
}

.hero-text h1 {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.hero-text .subtext {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.hero-benefits {
  text-align: left;
}

.hero-actions-col {
  align-items: flex-start;
}

.hero-visual {
  flex: 0 0 auto;
}

@media(max-width: 900px) {
  .hero-content {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 32px;
  }
}

/* WhatsApp ghost/outlined button in hero */
.btn-ghost-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 24px;
  border: 1px solid var(--clr-primary);
  border-radius: var(--border-radius);
  background: transparent;
  color: var(--clr-primary);
  font-family: var(--font-main);
  font-size: var(--fs-body);
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
  text-transform: none;
  letter-spacing: 0;
}
.btn-ghost-wa:hover {
  background: rgba(255, 170, 0, 0.08);
  box-shadow: 0 0 14px rgba(255, 170, 0, 0.25);
  transform: translateY(-2px);
}

/* FIX 3: PROBLEM CARDS — Liquid Glass bento style */
.liquid-glass-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
}
.liquid-glass-grid .lg-card:first-child {
  grid-column: 1 / 3; /* full width top card */
}
@media(max-width: 640px) {
  .liquid-glass-grid { grid-template-columns: 1fr; }
  .liquid-glass-grid .lg-card:first-child { grid-column: 1; }
}

.lg-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--transition-normal), border-color var(--transition-normal), transform var(--transition-normal);
}
.lg-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,71,87,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.lg-card:hover {
  box-shadow: 0 0 30px rgba(255, 71, 87, 0.15), inset 0 0 20px rgba(255,71,87,0.04);
  border-color: rgba(255, 71, 87, 0.3);
  transform: translateY(-4px);
}
.lg-card .pain-icon {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  display: block;
}
.lg-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.75rem;
}
.lg-card p {
  color: var(--clr-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* FIX 4: DEMO MECHANISM — Animated timeline */
.timeline-wrapper {
  position: relative;
  max-width: 860px;
  margin: 3rem auto 0;
}

/* horizontal line */
.timeline-line {
  display: none;
}
@media(min-width: 768px) {
  .timeline-line {
    display: block;
    position: absolute;
    top: 40px;
    left: 60px;
    right: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--clr-primary), transparent);
    box-shadow: 0 0 10px var(--clr-primary-glow);
    animation: timeline-pulse 3s ease-in-out infinite;
  }
}
@keyframes timeline-pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.timeline-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media(min-width: 768px) {
  .timeline-steps {
    flex-direction: row;
    gap: 1.5rem;
    align-items: flex-start;
  }
}

.timeline-node {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: default;
}

.node-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--clr-primary);
  background: rgba(255, 170, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--clr-primary);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 15px rgba(255, 170, 0, 0.2);
  transition: background var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.timeline-node:hover .node-circle {
  background: rgba(255, 170, 0, 0.2);
  box-shadow: 0 0 28px rgba(255, 170, 0, 0.5);
  transform: scale(1.12);
}

.node-content {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 1.5rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}
.timeline-node:hover .node-content {
  border-color: rgba(255,170,0,0.3);
  box-shadow: 0 8px 24px rgba(255,170,0,0.08);
  transform: translateY(-4px);
}
.node-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.6rem;
}
.node-content p {
  color: var(--clr-text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* FIX 5: BENEFITS — 2×2 bento grid with varied sizes */
.bento-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
}
@media(max-width: 640px) {
  .bento-grid { grid-template-columns: 1fr; }
}
/* First card spans full width */
.bento-card.bento-wide {
  grid-column: 1 / 3;
}
@media(max-width: 640px) {
  .bento-card.bento-wide { grid-column: 1; }
}

.bento-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal), transform var(--transition-normal);
}
.bento-card:hover {
  border-color: rgba(255,170,0,0.3);
  box-shadow: 0 8px 30px rgba(255,170,0,0.08);
  transform: translateY(-4px);
}

/* SVG icon circles */
.bento-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255,170,0,0.1);
  border: 1px solid rgba(255,170,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.bento-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--clr-primary);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bento-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
}
.bento-card p {
  color: var(--clr-text-muted);
  font-size: 0.93rem;
  line-height: 1.65;
}

/* FIX 7: COMPARISON TABLE — centered, Growback column highlight */
.comparison-section {
  background: #0e0e16;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.comparison-table {
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
}
.comparison-table th, .comparison-table td {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table td.col-growback,
.comparison-table th.col-growback {
  background: rgba(255,170,0,0.07);
  border-left: 2px solid rgba(255,170,0,0.4);
  border-right: 2px solid rgba(255,170,0,0.4);
  color: #fff;
  font-weight: 700;
}
.comparison-table th.col-growback {
  color: var(--clr-primary);
  font-size: 0.95rem;
}

/* FIX 8: PRICING — aligned CTAs at bottom */
.pricing-card {
  display: flex;
  flex-direction: column;
}
.pricing-card .card-inner {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
}
.pricing-card .features {
  flex: 1;
}
.pricing-card .card-inner .btn {
  margin-top: auto;
}

/* FIX 10: SECTION alternating backgrounds */
#pains { background-color: #0e0e16; }
#demo-mechanism { background-color: #0a0a0f; }
#solution { background-color: #0e0e16; }
#comparison { background-color: #0a0a0f; }
#portfolio { background-color: #0e0e16; }
#advantages { background-color: #0a0a0f; }
#pricing { background-color: #0e0e16; }
#faq { background-color: #0a0a0f; }
#contact { background-color: #0e0e16; }

/* Lifted card borders */
.haus-card {
  border: 1px solid rgba(255,255,255,0.1);
}

/* delay-3 */
.delay-3 { transition-delay: 0.3s; }

/* portfolio-section padding fix */
.portfolio-section { padding: var(--spacing-xl) 0; }

/* =====================================================
   TYPOGRAPHY FIXES + HERO SPACING — v2.1
   ===================================================== */

/* --- ISSUE 1: Tighter hero so ticker is above fold --- */
.hero-section {
  padding-top: calc(70px + 1.5rem);
  padding-bottom: 0;
  min-height: auto;
}

.hero-content {
  padding-bottom: 1rem;
  gap: 1.5rem;
}

.hero-text h1 {
  margin-bottom: 0.75rem;
  font-size: clamp(2.2rem, 4.5vw + 0.5rem, 3.8rem);
}

.hero-text .subtext {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.hero-benefits {
  margin: 1rem 0 1.25rem;
  gap: 0.4rem;
}

.hero-actions-col {
  gap: 0.75rem;
}

/* Constrain sphere so it shrinks, not pushes content */
.liquid-sphere {
  width: min(300px, 28vw);
  height: min(300px, 28vw);
}

.trust-bar {
  margin-top: 1.5rem;
}

/* --- ISSUE 2: GLOBAL TYPOGRAPHY ---- */

/* H1 — bold, tight, pure white */
h1 {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}

/* H2 section titles */
h2 {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.section-header h2 {
  font-weight: 700;
  color: #ffffff;
}

/* H3 card titles */
h3 {
  font-weight: 600;
  color: #ffffff;
}

.haus-card h3,
.lg-card h3,
.bento-card h3,
.pricing-card h3,
.node-content h3,
.demo-step h3,
.service-item h3 {
  font-weight: 600;
  color: #ffffff;
}

/* Section sub-headlines (the smaller line directly under h2) */
.section-header p {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.5vw + 0.4rem, 1.125rem);
}

/* Body / card paragraph text — minimum 15px, min opacity 0.72 */
.haus-card p,
.lg-card p,
.bento-card p,
.node-content p,
.demo-step p,
.pricing-card p,
.service-item p,
.pains-section p,
.automation-section p,
.faq-answer p {
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(0.94rem, 1vw + 0.4rem, 1rem);
  line-height: 1.65;
}

/* Pricing features list items */
.pricing-card .features li {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.97rem;
  line-height: 1.65;
}

/* Hero subtext: slightly larger opacity */
.hero-text .subtext {
  color: rgba(255, 255, 255, 0.82);
}

/* Hero benefit bullets */
.hero-benefits li {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
}

/* General muted text lifted to min 0.65 */
.clr-text-muted,
[style*="color: var(--clr-text-muted)"],
.nav-links a {
  color: rgba(255, 255, 255, 0.70) !important;
}

/* Override CSS variable */
:root {
  --clr-text-muted: rgba(255, 255, 255, 0.70);
}

/* FAQ questions — bolder */
.faq-question {
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
}

/* Cyan accent text — stay cyan but bold */
.highlight,
.haus-number,
.demo-step-num,
.node-circle,
.advantage-icon,
.pricing-card .price {
  font-weight: 600;
}

/* Comparison table text */
.comparison-table td {
  color: rgba(255, 255, 255, 0.78);
}
.comparison-table td:first-child {
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
}
.comparison-table td.col-growback {
  color: #ffffff;
  font-weight: 700;
}

/* ticker items */
.ticker-item {
  color: rgba(255, 255, 255, 0.70);
}

/* Footer links */
.footer-links a {
  color: rgba(255, 255, 255, 0.68);
}

/* =====================================================
   THEME V3 — GOLD × PLAYFAIR EDITORIAL UPGRADE
   Reference: scalewithteddy_com.html patterns
   ===================================================== */

/* --- TYPOGRAPHY: Serif headings (Playfair Display) --- */
h1, h2 {
  font-family: var(--font-serif);
  font-weight: 700;
}

h1 .highlight,
.hero-text h1 .serif-accent {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--clr-primary);
  text-shadow: 0 0 30px rgba(255, 170, 0, 0.4);
}

.section-header h2 {
  font-family: var(--font-serif);
  font-weight: 700;
}

/* --- EYEBROW LABELS --- */
.eyebrow {
  display: block;
  font-family: var(--font-main);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--clr-primary);
  margin-bottom: 1rem;
  opacity: 0.9;
}

/* --- LOGO PREMIUM --- */
.logo {
  font-family: var(--font-main);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--clr-primary);
  text-shadow: 0 0 20px rgba(255, 170, 0, 0.5);
  position: relative;
}

/* --- GLOW HORIZON — hero section bottom glow (reference pattern) --- */
.glow-horizon {
  position: absolute;
  left: -30%;
  bottom: -200px;
  width: 160%;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(255, 170, 0, 0.15) 0%, transparent 72%);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 50% / 100% 100% 0 0;
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.hero-section {
  position: relative;
  overflow: hidden;
}

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

.trust-bar {
  position: relative;
  z-index: 1;
}

/* --- SECTION ALTERNATING BACKGROUNDS — warmer darks --- */
#pains         { background-color: #0a0a08; }
#demo-mechanism{ background-color: #050504; }
#solution      { background-color: #0a0a08; }
#comparison    { background-color: #050504; }
#portfolio     { background-color: #0a0a08; }
#advantages    { background-color: #050504; }
#pricing       { background-color: #0a0a08; }
#faq           { background-color: #050504; }
#contact       { background-color: #0a0a08; }

/* Override the previous cool-tinted section colors */
.comparison-section { background: #050504; }

/* --- CARD HOVER — warm gold glow instead of cyan --- */
.lg-card:hover {
  box-shadow: 0 0 30px rgba(255, 170, 0, 0.12), inset 0 0 20px rgba(255, 170, 0, 0.04);
  border-color: rgba(255, 170, 0, 0.35);
}

.lg-card::before {
  background: radial-gradient(circle at 30% 30%, rgba(255, 170, 0, 0.06) 0%, transparent 60%);
}

/* --- PAIN ICON PLACEHOLDER (replaces emoji ❌) --- */
.pain-icon-svg {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 60, 60, 0.1);
  border: 1px solid rgba(255, 60, 60, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.pain-icon-svg svg {
  width: 20px;
  height: 20px;
  stroke: #ff4444;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

/* --- HERO BENEFITS — golden SVG checkmarks --- */
.hero-benefits li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-left: 0;
}

.hero-benefits li::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  min-width: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffaa00' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  flex-shrink: 0;
}

/* --- BUTTON — remove emoji, clean look --- */
.btn-primary {
  letter-spacing: 0.3px;
  text-transform: none;
}

/* --- CTA SECTION box border gold --- */
#contact .cta-box {
  border-color: rgba(255, 170, 0, 0.3) !important;
  background: rgba(255, 170, 0, 0.03) !important;
}

/* --- HIGHLIGHT text (inline in body) — gold --- */
.highlight {
  color: var(--clr-primary);
  text-shadow: 0 0 20px rgba(255, 170, 0, 0.35);
}

/* --- FOOTER brand glow --- */
.footer-brand .logo {
  opacity: 0.7;
}

/* nav-cta sizing is handled in the header block above */

/* --- TICKER SEPARATOR gold --- */
.ticker-item:not(:last-child)::after {
  color: rgba(255, 170, 0, 0.25);
}

/* --- COMPARISON TABLE Growback column update --- */
.comparison-table td.col-growback,
.comparison-table th.col-growback {
  background: rgba(255, 170, 0, 0.07);
  border-left: 2px solid rgba(255, 170, 0, 0.4);
  border-right: 2px solid rgba(255, 170, 0, 0.4);
}

.comparison-table th.col-growback {
  color: var(--clr-primary);
}

/* --- PORTFOLIO CARD hover --- */
.haus-portfolio-card:hover .view-project-btn {
  background: rgba(255, 170, 0, 0.1);
  border-color: var(--clr-primary);
}

/* --- PRICING note gold --- */
.pricing-note {
  color: rgba(255, 255, 255, 0.65);
}

/* --- BENTO icon gold variant --- */
.bento-icon {
  background: rgba(255, 170, 0, 0.08);
  border: 1px solid rgba(255, 170, 0, 0.18);
}

/* --- h2 slightly reduced letter spacing for serif --- */
h2 {
  letter-spacing: -0.03em;
}

h1 {
  letter-spacing: -0.025em;
}

/* --- Section header h2 fallback if no serif loaded --- */
.section-header h2 {
  line-height: 1.15;
}

/* --- SECTION divider micro accent --- */
.section-divider {
  width: 40px;
  height: 2px;
  background: var(--clr-primary);
  margin: 0 auto 2rem;
  border-radius: 2px;
  opacity: 0.7;
}

/* =====================================================
   V4 — PRECISION FIXES
   ===================================================== */

/* ── 1. HERO: exact 100vh, trust-bar pinned at bottom ── */
.hero-section {
  height: 100vh;
  min-height: 620px;
  padding-top: 0;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  text-align: left;
  padding-top: calc(70px + 2.5rem);
  padding-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.trust-bar {
  margin-top: 0;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .hero-section {
    height: auto;
    min-height: 100svh;
  }
  .hero-content {
    padding-top: calc(70px + 1.5rem);
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── 2. TYPOGRAPHY: force bold on all headings ── */
.hero-text h1 {
  font-weight: 800;
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.5vw + 0.5rem, 4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.section-header h2,
h2 {
  font-weight: 700;
  font-family: var(--font-serif);
}

h3 {
  font-weight: 700;
}

.section-header p {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
}

.hero-text .subtext {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.1rem;
}

/* ── 4. HERO ACTIONS: same-line button alignment ── */
.hero-actions-col {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

@media (max-width: 600px) {
  .hero-actions-col {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── 5. HOVER EFFECTS: gold everywhere, no blue ── */
.bento-card:hover {
  border-color: rgba(255, 170, 0, 0.35);
  box-shadow: 0 8px 30px rgba(255, 170, 0, 0.1), inset 0 0 20px rgba(255, 170, 0, 0.03);
  transform: translateY(-4px);
}

.tilt-card:hover {
  border-color: rgba(255, 170, 0, 0.45);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 24px rgba(255, 170, 0, 0.22);
}

.haus-portfolio-card:hover {
  border-color: rgba(255, 170, 0, 0.25);
  box-shadow: 0 8px 30px rgba(255, 170, 0, 0.08);
}

.node-content {
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.timeline-node:hover .node-content {
  border-color: rgba(255, 170, 0, 0.4);
  box-shadow: 0 8px 24px rgba(255, 170, 0, 0.1);
  transform: translateY(-4px);
}

/* ── 6. PROCESS: timeline line below circles, equal card heights ── */
@media (min-width: 768px) {
  .timeline-line {
    top: 62px; /* 56px circle + 6px gap below */
  }

  .timeline-steps {
    align-items: stretch;
  }

  .timeline-node {
    height: 100%;
  }

  .node-content {
    flex: 1;
    height: 100%;
  }
}

/* ── 7. LIQUID GLASS: all card types ── */
.bento-card {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
}

.tilt-card,
.pricing-card {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
}

.haus-portfolio-card {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
}

.node-content {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
}

/* ── 8. PRICING: keep €/Monat on same line ── */
.pricing-card .price {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: 0.4rem;
  font-size: clamp(1.6rem, 3vw + 0.5rem, 2.2rem);
}

.pricing-card .price span {
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── MISC: ensure no blue glow remains ── */
.glow-effect {
  background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 170, 0, 0.12), transparent 40%);
}

.node-circle {
  transition: background var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.timeline-node:hover .node-circle {
  background: rgba(255, 170, 0, 0.22);
  box-shadow: 0 0 28px rgba(255, 170, 0, 0.45);
  transform: scale(1.1);
}

/* Hero benefits spacing */
.hero-benefits {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 1.25rem 0 1.5rem;
}

/* =====================================================
   BLOCK 6: VORTEILE — Glassmorphism Bento Grid
   ===================================================== */

.advantages-section {
  position: relative;
  overflow: hidden;
  padding: var(--spacing-xl) 0;
}

/* Subtle glow bleed: hero's gold horizon fades into this section */
.advantages-glow-bleed {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 280px;
  background: radial-gradient(ellipse at center, rgba(255, 170, 0, 0.07) 0%, transparent 68%);
  filter: blur(55px);
  pointer-events: none;
  z-index: 0;
}

.advantages-section .container {
  position: relative;
  z-index: 1;
}

/* 3-column bento grid */
.vorteile-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

/* Card base — Glassmorphism spec */
.vb-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: inset 10px 10px 20px rgba(0, 255, 255, 0.02);
  transition:
    border-color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
    box-shadow   0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
    transform    0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}

.vb-card:hover {
  border-color: rgba(0, 255, 255, 0.35);
  box-shadow:
    inset 10px 10px 20px rgba(0, 255, 255, 0.02),
    0 0 28px rgba(0, 255, 255, 0.08),
    0 10px 36px rgba(0, 0, 0, 0.45);
  transform: translateY(-5px);
}

/* Card 1: Large — 2 columns, row 1 */
.vb-large {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
}

/* Cards 2 & 3: Small — 1 column each */
.vb-small {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

/* Card 4: Medium — 2 columns, row 2 */
.vb-medium {
  grid-column: span 2;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 3rem;
}

/* ── Typography ── */
.vb-eyebrow {
  font-family: var(--font-main);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: rgba(0, 255, 255, 0.55);
  margin-bottom: 0.6rem;
}

.vb-title {
  font-family: 'Inter', 'Outfit', sans-serif;
  font-weight: 300;
  font-size: clamp(1.15rem, 1.8vw + 0.4rem, 1.55rem);
  color: #ffffff;
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin-bottom: 0.6rem;
}

.vb-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--clr-primary);
  text-shadow: 0 0 20px rgba(255, 170, 0, 0.3);
}

.vb-desc {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
  line-height: 1.65;
}

/* ── SVG Icon ── */
.vb-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 255, 255, 0.04);
  border: 1px solid rgba(0, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vb-icon svg {
  width: 22px;
  height: 22px;
  stroke: rgba(0, 255, 255, 0.65);
}

/* ── Animated progress bar (Card 1) ── */
.vb-timer-bar {
  margin-top: 1.75rem;
}

.vb-timer-track {
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 0.55rem;
}

.vb-timer-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(0, 255, 255, 0.5), rgba(255, 170, 0, 0.85));
  border-radius: 2px;
  animation: vb-fill 3.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes vb-fill {
  0%   { width: 0%;   opacity: 1; }
  75%  { width: 100%; opacity: 1; }
  88%  { width: 100%; opacity: 0.3; }
  100% { width: 100%; opacity: 0; }
}

.vb-timer-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.32);
  letter-spacing: 0.5px;
  font-family: var(--font-main);
}

.vb-label-accent {
  color: rgba(255, 170, 0, 0.65);
  font-weight: 600;
}

/* ── Price block (Card 4) ── */
.vb-price-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  flex-shrink: 0;
}

.vb-price-label {
  font-family: var(--font-main);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255, 170, 0, 0.55);
}

.vb-price-number {
  font-family: 'Inter', 'Outfit', sans-serif;
  font-weight: 100;
  font-size: clamp(3rem, 5vw + 1rem, 5rem);
  color: #ffffff;
  letter-spacing: -0.05em;
  line-height: 1;
  white-space: nowrap;
}

.vb-price-sub {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.38);
  letter-spacing: 0.2px;
}

.vb-price-text {
  flex: 1;
}

/* ── Mobile: stack all vertically ── */
@media (max-width: 768px) {
  .vorteile-bento {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .vb-large,
  .vb-medium {
    grid-column: 1;
  }

  .vb-medium {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .vb-price-number {
    font-size: clamp(2.6rem, 10vw, 3.8rem);
  }
}

/* =====================================================
   SMOOTH SECTION TRANSITIONS
   Each section fades in from the previous section's
   background colour over a 100px gradient cap.
   Page order:  hero(#000) › pains(#0a0a08) ›
   demo(#050504) › solution(#0a0a08) › comparison(#050504) ›
   advantages(#050504) › portfolio(#0a0a08) ›
   pricing(#0a0a08) › faq(#050504) › contact(#0a0a08)
   ===================================================== */

/* hero → pains */
#pains {
  background: linear-gradient(to bottom,
    #000000 0%,
    #0a0a08 100px,
    #0a0a08 100%
  );
}

/* pains → demo */
#demo-mechanism {
  background: linear-gradient(to bottom,
    #0a0a08 0%,
    #050504 100px,
    #050504 100%
  );
}

/* demo → solution */
#solution {
  background: linear-gradient(to bottom,
    #050504 0%,
    #0a0a08 100px,
    #0a0a08 100%
  );
}

/* solution → comparison (override .comparison-section too) */
#comparison,
.comparison-section {
  background: linear-gradient(to bottom,
    #0a0a08 0%,
    #050504 100px,
    #050504 100%
  ) !important;
}

/* comparison → advantages: wave divider handles transition */
#advantages {
  background: #050504;
}

/* advantages → portfolio: wave divider handles transition */
#portfolio {
  background: #0a0a08;
}

/* portfolio → pricing: gold line divider handles transition */
#pricing {
  background: #0a0a08;
}

/* pricing → faq: wave divider handles transition */
#faq {
  background: linear-gradient(to bottom,
    #0a0a08 0%,
    #050504 100px,
    #050504 100%
  );
}

/* faq → contact */
#contact {
  background: linear-gradient(to bottom,
    #050504 0%,
    #0a0a08 100px,
    #0a0a08 100%
  );
}

/* =====================================================
   MOBILE FIXES — V5
   ===================================================== */

/* ── FIX 1: Hero sphere on mobile — 200px, centered below CTA ── */
@media (max-width: 768px) {
  .hero-visual {
    margin-top: 32px;
  }

  .hero-visual .liquid-sphere {
    width: 200px;
    height: 200px;
  }
}

/* ── FIX 2: Process section — mobile vertical glow line ── */
@media (max-width: 767px) {
  .timeline-wrapper {
    position: relative;
  }

  /* Vertical beam track */
  .timeline-steps {
    position: relative;
  }

  .timeline-steps::before {
    content: '';
    position: absolute;
    left: 27px; /* aligns with center of 56px node-circle */
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(255, 170, 0, 0.08) 10%,
      rgba(255, 170, 0, 0.08) 90%,
      transparent 100%
    );
    border-radius: 2px;
    z-index: 0;
    pointer-events: none;
  }

  /* Moving glow bead — driven by --glow-pos CSS custom property (set via JS) */
  .timeline-steps::after {
    content: '';
    position: absolute;
    left: 23px;
    width: 10px;
    height: 80px;
    top: calc(var(--glow-pos, 0%) - 40px);
    background: radial-gradient(ellipse 5px 40px at center, rgba(255, 170, 0, 0.75) 0%, transparent 100%);
    filter: blur(3px);
    z-index: 0;
    pointer-events: none;
    transition: top 0.08s linear;
  }

  /* Keep node-circle above the line */
  .node-circle {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
  }

  /* Layout: icon left, text right */
  .timeline-node {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .node-circle {
    margin-bottom: 0;
  }

  .node-content {
    flex: 1;
  }
}

/* ── FIX 3: Vorteile — replace cyan with gold ── */
.vb-card {
  box-shadow: inset 10px 10px 20px rgba(255, 170, 0, 0.01);
}

.vb-card:hover {
  border-color: rgba(245, 166, 35, 0.35);
  box-shadow:
    inset 10px 10px 20px rgba(255, 170, 0, 0.02),
    0 0 28px rgba(245, 166, 35, 0.2),
    0 10px 36px rgba(0, 0, 0, 0.45);
  transform: translateY(-5px);
}

.vb-eyebrow {
  color: rgba(255, 170, 0, 0.65);
}

.vb-icon {
  background: rgba(255, 170, 0, 0.06);
  border: 1px solid rgba(255, 170, 0, 0.18);
}

.vb-icon svg {
  stroke: rgba(255, 170, 0, 0.75);
}

/* Progress bar: pure gold gradient, no cyan */
.vb-timer-fill {
  background: linear-gradient(90deg, rgba(255, 140, 0, 0.6), rgba(255, 185, 0, 0.95));
}

/* ── FIX 4: FAQ Accordion — complete rewrite ── */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 18px;
  font-weight: 500;
  font-family: var(--font-main);
  text-align: left;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: color 0.2s ease;
  gap: 1rem;
}

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

.faq-question span:first-child {
  flex: 1;
}

.faq-icon {
  width: auto;
  height: auto;
  font-size: 22px;
  font-weight: 300;
  color: var(--clr-primary);
  line-height: 1;
  transition: transform 0.35s ease;
  flex-shrink: 0;
  display: inline-block;
  /* remove any pseudo-element interference */
}

.faq-icon::before,
.faq-icon::after {
  display: none;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.35s ease;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  line-height: 1.75;
}

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

.faq-answer p {
  padding-bottom: 20px;
}

/* Mobile FAQ readability */
@media (max-width: 768px) {
  .faq-question {
    font-size: 16px;
    padding: 18px 0;
  }
}

/* =====================================================
   V5 — SEAMLESS SECTION TRANSITIONS
   Unify all dark shades to #080807 — no more hard cuts
   ===================================================== */

html { background-color: #080807; }
body { background-color: #080807; }

/* Override every section background to the same warm base */
section,
#pains,
#demo-mechanism,
#solution,
#comparison,
#portfolio,
#advantages,
#pricing,
#faq,
#contact,
.comparison-section,
.pains-section,
.demo-mechanism-section,
.advantages-section,
.portfolio-section,
.pricing-section,
.faq-section,
.cta-section {
  background-color: #080807;
}

/* Contact premium section — override inline style block */
#contact.contact-premium {
  background: #080807 !important;
}

/* Ticker / trust bar — soften, same base so no cut */
.trust-bar {
  background: rgba(255, 255, 255, 0.015);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Comparison section — was #0e0e16 (blue-tinted), neutralise */
.comparison-section { background: #080807 !important; }
