/* ==========================================================================
   SMART INKLER - Design System
   Based on SmartInkler 2.0 App Design
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Variables / Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Primary Colors - from app */
  --primary-blue: #3B82F6;
  --primary-blue-rgb: 59, 130, 246;

  /* Background Gradient (Draw Screen Magic style: slate → purple → slate) */
  --bg-darkest: #0f172a;
  --bg-dark: #1e1b4b;
  --bg-medium: #312e81;
  --bg-light: #3730a3;

  /* Text Colors */
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.86);
  --text-muted: rgba(255, 255, 255, 0.5);
  --text-accent: #60A5FA;

  /* Accent Colors */
  --accent-red: #FF3B30;
  --accent-green: #34C759;
  --accent-yellow: #FBBF24;
  --accent-orange: #F97316;

  /* Glass morphism (white/10, white/20 style) */
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-bg-hover: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.25);
  --glass-border-light: rgba(255, 255, 255, 0.2);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  --glass-glow: 0 0 40px rgba(139, 92, 246, 0.15);

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 999px;

  /* Section spacing: only padding-top per section (no double-gap between siblings) */
  --section-spacing: clamp(4rem, 8vw, 7rem);
  --section-spacing-tight: clamp(2.5rem, 4.5vw, 4rem);
  --section-header-gap: var(--space-2xl);
  --reading-max: 68ch;

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --reveal-duration: 0.55s;

  /* Typography */
  --font-sans: 'Inter', 'Manrope', 'Plus Jakarta Sans', 'DM Sans', 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-display: var(--font-sans);

  /* Z-index scale */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-modal: 300;
  --z-toast: 400;
}

/* --------------------------------------------------------------------------
   Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  background: linear-gradient(to bottom right, #0f172a 0%, #4c1d95 50%, #0f172a 100%);
  min-height: 100vh;
}

/* Main background gradient – sötét, élénk lila/kék, enyhe lélegzés */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: linear-gradient(to bottom right, #0f172a 0%, #1e1b4b 22%, #312e81 38%, #4c1d95 50%, #312e81 62%, #1e1b4b 78%, #0f172a 100%);
  z-index: -2;
  pointer-events: none;
  animation: design-breathe 14s ease-in-out infinite;
}

@keyframes design-breathe {
  0%, 100% { opacity: 0.94; }
  50% { opacity: 1; }
}

/* Animated blur orbs – élénk lila és kék */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 45% 45% at 15% 20%, rgba(139, 92, 246, 0.4), rgba(124, 58, 237, 0.2), transparent 55%),
    radial-gradient(ellipse 55% 55% at 85% 75%, rgba(99, 102, 241, 0.35), rgba(59, 130, 246, 0.2), transparent 55%);
  filter: blur(80px);
  -webkit-filter: blur(80px);
  z-index: -1;
  pointer-events: none;
  animation: design-float 20s ease-in-out infinite;
}

@keyframes design-float {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.85; }
  25% { transform: translate(3%, -3%) scale(1.08); opacity: 1; }
  50% { transform: translate(-2%, 2%) scale(0.96); opacity: 0.9; }
  75% { transform: translate(2%, 3%) scale(1.04); opacity: 1; }
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.024em;
  line-height: 1.2;
}

.hero__title,
.features__title,
.demo__title,
.product-video__title,
.pricing__title,
.steps__title,
.signup__title,
.faq__title,
.testimonials__title,
.trust__title,
.resources__title,
.pricing-compare__title,
.page-hero__title,
.download-hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.032em;
  line-height: 1.06;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container {
  width: min(1200px, 90vw);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--section-spacing) 0 0;
  position: relative;
}

/* Last section on the page gets bottom padding too */
.section:last-of-type {
  padding-bottom: var(--section-spacing);
}

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

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
.text-gradient {
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* Gradient text (Draw Screen Magic hero style) */
.text-gradient-warm {
  background: linear-gradient(90deg, #fbbf24, #f97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-cool {
  background: linear-gradient(90deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

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

.features__subtitle,
.demo__subtitle,
.product-video__subtitle,
.testimonials__subtitle,
.trust__subtitle,
.steps__subtitle,
.resources__subtitle,
.pricing__subtitle,
.faq__subtitle {
  max-width: var(--reading-max);
  margin-inline: auto;
  line-height: 1.72;
}

/* --------------------------------------------------------------------------
   Glass Card (Draw Screen Magic style: blur-xl, white/10, white/20)
   -------------------------------------------------------------------------- */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border-light);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--glass-shadow);
  transition: transform 0.3s var(--ease-out-smooth),
              background 0.25s ease,
              border-color 0.25s ease,
              box-shadow 0.3s var(--ease-out-smooth);
}

.glass-card:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border);
  box-shadow: var(--glass-glow);
  transform: translateY(-2px);
}

.glass-card--strong {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--glass-border);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease-out-smooth),
              background 0.2s ease,
              border-color 0.2s ease,
              box-shadow 0.25s var(--ease-out-smooth);
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
}

.btn:active {
  transform: translateY(0) scale(0.98);
  transition-duration: 0.1s;
}

.btn--primary {
  background: var(--primary-blue);
  color: var(--text-primary);
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

.btn--primary:hover {
  background: #2563eb;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.5);
}

.btn--secondary {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border-light);
  color: var(--text-primary);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn--secondary:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border);
}

.btn--outline {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border-light);
  color: var(--text-primary);
  backdrop-filter: blur(12px);
}

.btn--outline:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border);
}

/* --------------------------------------------------------------------------
   Chatbot Widget (Vicky) – a web UI stílusával (glass, gombok, színek)
   -------------------------------------------------------------------------- */
/* Vicky gomb a sarokban; a megnyíló panel a gomb helyén nyílik ki (nem középen) */
.chatbot-widget {
  position: fixed;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom));
  z-index: var(--z-modal);
  font-family: var(--font-sans);
  transition: opacity var(--transition-fast), transform 0.3s var(--ease-out-smooth), visibility var(--transition-fast);
}

.chatbot-widget__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--glass-border-light);
  border-radius: 50%;
  background: var(--primary-blue);
  color: #fff;
  width: 68px;
  height: 68px;
  padding: 0;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  transition: opacity 0.28s var(--ease-out-smooth), transform 0.28s var(--ease-out-smooth),
    box-shadow 0.25s var(--ease-out-smooth), visibility 0s linear 0.28s;
}

.chatbot-widget__toggle:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.5);
}

.chatbot-widget__toggle:active {
  transform: translateY(0) scale(0.98);
}

/* Megnyitáskor a gomb eltűnik, a panel a helyén bukik fel */
.chatbot-widget.is-open .chatbot-widget__toggle {
  opacity: 0;
  transform: scale(0);
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.25s var(--ease-out-smooth), transform 0.25s var(--ease-out-smooth),
    visibility 0s linear 0.25s;
}

.chatbot-widget__toggle-icon {
  display: none;
}

.chatbot-widget__toggle-label {
  line-height: 1;
}

@keyframes chatbotPanelOpen {
  from {
    opacity: 0;
    transform: scale(0.82);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.chatbot-widget__panel {
  width: min(420px, calc(100vw - 32px));
  height: min(560px, calc(100vh - 110px));
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--glass-shadow), 0 24px 48px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Megnyitáskor a panel a Vicky gomb helyén nyílik ki (jobb alsó sarok) */
.chatbot-widget.is-open .chatbot-widget__panel {
  right: 0;
  bottom: 0;
  transform-origin: bottom right;
  animation: chatbotPanelOpen 0.38s var(--ease-out-smooth) forwards;
}

@media (prefers-reduced-motion: reduce) {
  .chatbot-widget__toggle,
  .chatbot-widget.is-open .chatbot-widget__toggle {
    transition-duration: 0.12s;
  }
  .chatbot-widget.is-open .chatbot-widget__panel {
    animation: none;
  }
}

.chatbot-widget__header {
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--glass-border-light);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-sm);
}

.chatbot-widget__title {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.chatbot-widget__subtitle {
  margin-top: var(--space-xs);
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--text-secondary);
}

.chatbot-widget__close {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
  padding: 0 2px;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s var(--ease-out-smooth);
}

.chatbot-widget__close:hover {
  color: var(--text-primary);
  transform: scale(1.1);
}

.chatbot-widget__messages {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.chatbot-widget__message {
  display: flex;
}

.chatbot-widget__message--user {
  justify-content: flex-end;
}

.chatbot-widget__message--assistant {
  justify-content: flex-start;
}

.chatbot-widget__bubble {
  max-width: 90%;
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  line-height: 1.5;
  font-size: 0.92rem;
  white-space: pre-wrap;
}

.chatbot-widget__message--assistant .chatbot-widget__bubble {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border-light);
  color: var(--text-primary);
}

.chatbot-widget__message--user .chatbot-widget__bubble {
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(96, 165, 250, 0.4);
  color: var(--text-primary);
}

.chatbot-widget__sources {
  margin-top: var(--space-sm);
  color: var(--text-muted);
  font-size: 0.75rem;
}

.chatbot-widget__action {
  margin-top: var(--space-md);
}

.chatbot-widget__action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm) var(--space-lg);
  min-height: 44px;
  min-width: 124px;
  white-space: nowrap;
  background: linear-gradient(180deg, #4f95ff 0%, #3b82f6 100%);
  border: 1px solid rgba(96, 165, 250, 0.6);
  border-radius: var(--radius-xl);
  color: var(--text-primary) !important;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(59, 130, 246, 0.34);
  transition: transform 0.2s var(--ease-out-smooth), box-shadow 0.2s ease, filter 0.2s ease;
}

.chatbot-widget__action-link:hover {
  filter: brightness(1.05);
  text-decoration: none;
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 12px 28px rgba(59, 130, 246, 0.4);
}

.chatbot-widget__action-link:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.28);
}

.chatbot-widget__composer {
  padding: var(--space-md);
  border-top: 1px solid var(--glass-border-light);
  display: flex;
  gap: var(--space-sm);
}

.chatbot-widget__input {
  flex: 1;
  border: 1px solid var(--glass-border-light);
  background: var(--glass-bg);
  color: var(--text-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.chatbot-widget__input:focus {
  outline: none;
  border-color: var(--glass-border);
  background: var(--glass-bg-hover);
}

.chatbot-widget__input::placeholder {
  color: var(--text-muted);
}

.chatbot-widget__send {
  min-width: 84px;
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-lg);
}

.chatbot-widget__send:disabled {
  opacity: 0.7;
  cursor: wait;
}

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

@media (max-width: 768px) {
  .chatbot-widget {
    right: 12px;
    left: auto;
    bottom: calc(12px + env(safe-area-inset-bottom));
  }

  body.nav-open .chatbot-widget {
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    pointer-events: none;
  }

  .chatbot-widget__toggle {
    width: 60px;
    height: 60px;
    font-size: 0.8rem;
  }

  .chatbot-widget__panel {
    width: min(92vw, 420px);
    height: min(70vh, 520px);
    right: 0;
    left: auto;
  }

  .chatbot-widget.is-open .chatbot-widget__panel {
    right: 0;
    bottom: 0;
  }
}

.btn--large {
  padding: var(--space-lg) var(--space-2xl);
  font-size: 1.05rem;
}

.btn--small {
  padding: var(--space-sm) var(--space-md);
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   Header / Navigation (Draw Screen Magic: glass pill bar)
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  padding: var(--space-md) 0;
  transition: all var(--transition-normal);
}

.header .container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-xl);
  border: 1px solid var(--glass-border-light);
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.header--scrolled .container {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.nav__logo-img {
  height: 48px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.25),
    0 0 14px rgba(96, 165, 250, 0.35);
  filter: drop-shadow(0 0 10px rgba(96, 165, 250, 0.45));
}

.nav__logo-text {
  white-space: nowrap;
}

.nav__logo-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary-blue), #60A5FA);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav__logo-icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
}

.nav__link {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease, transform 0.2s var(--ease-out-smooth);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-blue);
  transition: width 0.25s var(--ease-out-smooth);
}

.nav__link:hover {
  color: var(--text-primary);
  transform: translateY(-1px);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav__user {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav__user-name {
  max-width: 180px;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-full);
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid var(--glass-border-light);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.nav__user-name:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: var(--glass-border);
}

.nav__mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--text-primary);
  padding: var(--space-sm);
  cursor: pointer;
  flex-shrink: 0;
  z-index: calc(var(--z-modal) + 2);
  width: 40px;
  height: 40px;
  position: relative;
}

.nav__hamburger {
  width: 22px;
  height: 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

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

.nav__mobile-toggle--active .nav__hamburger span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

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

/* Body scroll lock when mobile menu is open */
html.nav-open,
body.nav-open {
  overflow: hidden !important;
  height: 100%;
}

body.nav-open {
  overscroll-behavior: none;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
  min-height: clamp(600px, 90svh, 900px);
  display: flex;
  align-items: center;
  padding-top: clamp(7rem, 11vw, 8rem);
  padding-bottom: clamp(2.5rem, 4vw, 4rem);
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .hero {
    min-height: unset;
    padding-top: 6.5rem;
    padding-bottom: 2rem;
    align-items: flex-start;
  }
}

.hero__content {
  max-width: 640px;
  position: relative;
  z-index: 2;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border-light);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--text-accent);
  margin-bottom: var(--space-lg);
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: var(--space-lg);
}

.hero__subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.hero__proof {
  padding: var(--space-md);
  display: grid;
  gap: var(--space-sm);
  max-width: 560px;
}

.hero__proof-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.hero__proof-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(102, 181, 255, 0.28);
  background: linear-gradient(135deg, rgba(70, 146, 255, 0.18), rgba(79, 220, 255, 0.1));
  color: #bfe4ff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero__proof-meta {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.hero__proof-media .media-placeholder__slot {
  min-height: 120px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.hero__meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.hero__meta-item svg {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}

/* Hero Canvas Background */
.hero__canvas-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.6;
}

/* Hero media slot (video / image / GIF) */
.hero__media {
  margin-top: var(--space-2xl);
  max-width: 720px;
}

/* Hero layout: szöveg + mockup vízszintesen igazítva (egy szinten) */
.hero__container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: start;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}
@media (min-width: 900px) {
  .hero__container {
    grid-template-columns: 1fr minmax(400px, 640px);
    gap: var(--space-3xl);
    align-items: center;
  }
}

/* App mockup – app UI with transparent blurred toolbar (SmartInkler 2.0 style) */
.hero__app-mockup {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* --------------------------------------------------------------------------
   Landing quickstart / trust / use cases
   -------------------------------------------------------------------------- */
.home-quickstart {
  padding-top: clamp(1.2rem, 2vw, 2rem);
}

.home-section-head {
  display: grid;
  gap: 0.55rem;
  margin-bottom: var(--space-xl);
  max-width: 760px;
}

.home-section-head__eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  color: var(--text-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.home-section-head__title {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.08;
  margin: 0;
}

.home-section-head__subtitle {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.55;
}

.home-quickstart__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
}

.home-step-card {
  padding: var(--space-lg);
  display: grid;
  gap: 0.55rem;
  min-height: 170px;
}

.home-step-card__number {
  color: rgba(122, 197, 255, 0.95);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.home-step-card__title {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.2;
}

.home-step-card__text {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.5;
  font-size: 0.92rem;
}

.home-trust-strip {
  padding-top: 0;
}

.home-trust-strip__card {
  padding: var(--space-lg);
  background:
    linear-gradient(135deg, rgba(57, 103, 255, 0.1), rgba(34, 211, 238, 0.05)),
    var(--glass-bg);
}

.home-trust-strip__items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
}

.home-trust-item {
  display: grid;
  gap: 0.35rem;
  padding: 0.6rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
}

.home-trust-item--accent {
  border-color: rgba(96, 165, 250, 0.2);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(34, 211, 238, 0.06));
}

.home-trust-item__label {
  color: var(--text-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.home-trust-item__value {
  color: var(--text-primary);
  font-size: 0.95rem;
  line-height: 1.35;
}

.home-usecases {
  padding-top: 0;
}

.home-usecases__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md);
}

.home-usecase-card {
  padding: var(--space-lg);
  display: grid;
  gap: 0.65rem;
  min-height: 190px;
  position: relative;
  overflow: hidden;
}

.home-usecase-card::after {
  content: "";
  position: absolute;
  inset: auto -12% -40% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(64, 140, 255, 0.18), transparent 70%);
  pointer-events: none;
}

.home-usecase-card__tag {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text-accent);
  background: rgba(255,255,255,0.03);
  font-size: 0.78rem;
  font-weight: 700;
}

.home-usecase-card__title {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.25;
  max-width: 34ch;
}

.home-usecase-card__text {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.55;
  max-width: 44ch;
}

.mobile-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 140;
  display: none;
  gap: 0.65rem;
  padding: 0.7rem var(--space-md) calc(0.7rem + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(12, 18, 34, 0.16), rgba(12, 18, 34, 0.9));
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.mobile-sticky-cta__btn {
  flex: 1;
  min-height: 44px;
  justify-content: center;
}
/* Hero sectionben a mockup nagyobb és a szöveggel vízszintesen igazítva */
.hero__app-mockup .hero-mockup {
  max-width: 620px;
  min-height: 520px;
}

@media (max-width: 768px) {
  .hero__container {
    gap: var(--space-lg);
  }
  .hero__app-mockup .hero-mockup {
    min-height: unset;
    max-width: 100%;
  }
}

/* Hero Drawing Toolbar Mockup – nincs sötét háttér: a toolbar acryl/glass stílusa látszik */
.hero-mockup {
  position: relative;
  width: 100%;
  max-width: 480px;
  min-height: 420px;
  border-radius: 32px;
  overflow: visible;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* Hero section: statikus toolbar – panel nyitva, gombok nem kattinthatók */
.hero-mockup--static {
  pointer-events: none;
}
.hero-mockup--static .hero-mockup__panel {
  display: flex;
}
.hero-mockup__bg {
  display: none;
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-mockup__orb,
.hero-mockup__orb--1,
.hero-mockup__orb--2 {
  display: none;
}
@keyframes hero-mockup-pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.05); }
}

/* Toolbar: programkód (ToolBarWindow) – strip 98px, gombok 40×40, radius 14, #4D90FE active */
.hero-mockup__toolbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: stretch;
  width: 114px;
  min-height: 0;
  padding: 4px;
  gap: 0;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-mockup__toolbar.is-expanded {
  width: 348px;
}
.hero-mockup__toolbar.is-expanded .hero-mockup__panel {
  display: flex;
}

.hero-mockup__strip {
  flex-shrink: 0;
  width: 98px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.hero-mockup__win {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  padding: 4px 2px 2px;
  align-items: center;
}
.hero-mockup__win-left {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.hero-mockup__win-btn {
  width: 14px;
  height: 14px;
  border-radius: 7px;
  border: none;
  cursor: default;
}
.hero-mockup__win-btn--close { background: #FF5F57; }
.hero-mockup__win-btn--min { background: #FEBC2E; }
.hero-mockup__win-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.hero-mockup__win-dots span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}
.hero-mockup__top-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  margin-bottom: 2px;
}
.hero-mockup__strip-btn {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  padding: 2px;
}
.hero-mockup__strip-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}
.hero-mockup__strip-btn:first-child {
  overflow: hidden;
  padding: 0;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 0 16px rgba(160, 210, 100, 0.3), 0 0 28px rgba(255, 230, 120, 0.18);
}
.hero-mockup__strip-btn[data-panel="home"].hero-mockup__strip-btn--active {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5), 0 0 20px rgba(77, 144, 254, 0.4), 0 0 28px rgba(255, 230, 120, 0.2);
}
.hero-mockup__logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.hero-mockup__close-undo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  margin: 2px 0 3px;
}
.hero-mockup__strip-btn--wide {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
}
.hero-mockup__strip-btn--wide svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
/* Clear (X) gomb: nagy fehér X, mint a programban – ne legyen doboz hatás */
.hero-mockup__close-undo .hero-mockup__strip-btn--wide:first-child {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.hero-mockup__close-undo .hero-mockup__strip-btn--wide:first-child svg {
  width: 20px;
  height: 20px;
  stroke: none;
}
.hero-mockup__divider {
  height: 0;
  border: none;
  margin: 6px 0 0;
  padding: 0;
}
/* Magasság: Blur + Shapes (5. sor) aljáig látszik, alatta csak vertikális görgetés; scrollbar bal oldalon */
/* Felső 4 gomb és a tool grid egy függőlegesben: strip 98px, középen 83px (7.5+83+7.5) */
.hero-mockup__tools {
  direction: rtl;
  max-height: 238px;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 2px 7.5px 6px 7.5px;
  width: 100%;
  box-sizing: border-box;
}
.hero-mockup__tools-inner {
  direction: ltr;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  width: 83px;
  margin-inline-start: auto;
}
.hero-mockup__tools::-webkit-scrollbar { width: 6px; }
.hero-mockup__tools::-webkit-scrollbar-track { background: transparent; }
.hero-mockup__tools::-webkit-scrollbar-thumb { background: rgba(77, 144, 254, 0.5); border-radius: 3px; }
.hero-mockup__tool {
  width: 40px;
  height: 40px;
  margin: 3px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.15s;
  padding: 2px;
  justify-self: center;
}
.hero-mockup__tool:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}
.hero-mockup__tool--active {
  background: rgba(77, 144, 254, 0.5);
  border: 1.5px solid rgba(77, 144, 254, 0.6);
  box-shadow: 0 0 18px rgba(77, 144, 254, 0.6);
}
.hero-mockup__tool svg {
  width: 20px;
  height: 20px;
}
.hero-mockup__tool-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.hero-mockup__tool-laser .hero-mockup__tool-icon-wrap {
  position: relative;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-mockup__tool-laser .hero-mockup__tool-icon-wrap img {
  position: absolute;
  inset: 0;
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.hero-mockup__tool--active .hero-mockup__tool-img {
  opacity: 1;
}

.hero-mockup__panel {
  display: none;
  flex: 1;
  min-width: 0;
  margin-left: 6px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 5px 5px 5px 12px;
}
.hero-mockup__panel-inner {
  width: 218px;
  min-width: 218px;
}
.hero-mockup__panel-content {
  color: #fff;
}
.hero-mockup__panel-content[hidden] {
  display: none !important;
}
.hero-mockup__panel-title {
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: #fff;
}
.hero-mockup__panel-desc {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}
/* Home panel: logo, cím, szöveg – középre igazítva (vízszintesen és függőlegesen) */
.hero-mockup__panel-content--home {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100%;
  padding: 1rem 0;
}
.hero-mockup__panel-content--home .hero-mockup__panel-title {
  font-size: 1rem;
  margin-top: 0.75rem;
}
.hero-mockup__panel-content--home .hero-mockup__panel-desc {
  margin: 0;
}
.hero-mockup__home-ready {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.hero-mockup__home-action-wrap {
  display: inline-block;
  border-radius: 4px;
  padding: 2px 6px 1px;
  margin: 0 1px;
  background: #1565C0;
  opacity: 0.92;
}
.hero-mockup__home-action-word {
  color: #fff;
  font-weight: 600;
  font-size: inherit;
}
.hero-mockup__home-logo {
  flex-shrink: 0;
}
.hero-mockup__home-logo img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
}
.hero-mockup__panel-label {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
}
.hero-mockup__panel-row {
  margin-bottom: 1rem;
}
.hero-mockup__range {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  margin: 0.25rem 0;
}
.hero-mockup__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 0 0 2px rgba(77, 144, 254, 0.5);
}
.hero-mockup__range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.25rem;
}
.hero-mockup__swatches {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}
.hero-mockup__swatches span {
  width: 100%;
  aspect-ratio: 1;
  max-width: 40px;
  border-radius: 0.75rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: transform 0.2s;
}
.hero-mockup__swatches span:hover {
  transform: scale(1.1);
}
.hero-mockup__panel-menu {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.hero-mockup__panel-menu button {
  width: 100%;
  text-align: left;
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  background: transparent;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.2s;
}
.hero-mockup__panel-menu button:hover {
  background: rgba(255, 255, 255, 0.1);
}
.hero-mockup__panel-content--coming .hero-mockup__panel-desc {
  margin-top: 0.25rem;
}

.app-mockup {
  width: 100%;
  max-width: 380px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--glass-border-light);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.06);
  background: rgba(15, 22, 40, 0.6);
}

/* Vertical toolbar – matches SmartInkler 2.0 ToolBarWindow.axaml (acrylic, 98px, #4D90FE active) */
.app-mockup--vertical {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 98px;
  max-width: 98px;
  min-height: 420px;
  padding: 4px;
  background: rgba(26, 26, 46, 0.25);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1.35px solid rgba(255, 255, 255, 0.7);
  border-radius: 14px;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.08);
}

.app-mockup__win-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  align-items: center;
  padding: 4px 0 4px 0;
  margin-bottom: 4px;
}
.app-mockup__win-left {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.app-mockup__win-btn {
  width: 14px;
  height: 14px;
  border-radius: 7px;
  flex-shrink: 0;
}
.app-mockup__win-btn--close { background: #FF5F57; }
.app-mockup__win-btn--min { background: #FEBC2E; }
.app-mockup__win-btn--menu {
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: #FF9F5B;
  padding: 0;
}
.app-mockup__win-btn--menu .app-mockup__win-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
}
.app-mockup__win-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
}

.app-mockup__top-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  margin-bottom: 6px;
}

.app-mockup__logo-btn,
.app-mockup__gear-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 3px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.app-mockup__logo-btn {
  background: rgba(255, 255, 255, 0.92);
  overflow: hidden;
  box-shadow: 0 0 14px rgba(180, 220, 120, 0.4), 0 0 24px rgba(255, 235, 150, 0.25);
}
.app-mockup__logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.app-mockup__gear-btn {
  background: rgba(255, 255, 255, 0.05);
}
.app-mockup__gear-btn.app-mockup__tool-btn--active {
  background: rgba(77, 144, 254, 0.5);
  border: 1.5px solid #994D90FE;
  box-shadow: 0 0 18px rgba(77, 144, 254, 0.6);
}

.app-mockup__tools {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 3px 0 3px 3px;
  margin-left: 2px;
  border-left: 3px solid #4D90FE;
  min-height: 0;
}

.app-mockup__tool-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 3px;
  border-radius: 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  justify-self: center;
  box-sizing: border-box;
}
.app-mockup__tool-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}
.app-mockup__tool-btn--active {
  background: rgba(77, 144, 254, 0.5);
  border: 1.5px solid #994D90FE;
  box-shadow: 0 0 18px rgba(77, 144, 254, 0.6);
}
.app-mockup__tool-btn svg {
  width: 20px;
  height: 20px;
}
.app-mockup__tool-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.app-mockup__undo-redo {
  display: flex;
  width: 40px;
  height: 40px;
  margin: 3px;
  justify-self: center;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.app-mockup__tool-half {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 40px;
  color: #fff;
  flex-shrink: 0;
}
.app-mockup__tool-half:first-child {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.app-mockup__tool-half svg {
  width: 14px;
  height: 14px;
}

/* Legacy horizontal toolbar (kept for reference, overridden by --vertical) */
.app-mockup__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background: var(--glass-bg);
  border-bottom: 1px solid var(--glass-border-light);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.app-mockup__toolbar-left {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.app-mockup__logo {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  object-fit: contain;
}

.app-mockup__title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.app-mockup__toolbar-actions {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.app-mockup__toolbar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease;
}
.app-mockup__toolbar-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--text-primary);
}
.app-mockup__toolbar-btn--color {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.app-mockup__canvas {
  position: relative;
  min-height: 200px;
  background: linear-gradient(180deg, rgba(30, 27, 75, 0.4) 0%, rgba(15, 22, 40, 0.5) 100%);
  padding: var(--space-lg);
}

/* Decorative “drawn” lines on canvas */
.app-mockup__canvas-line {
  position: absolute;
  border-radius: var(--radius-full);
  background: rgba(59, 130, 246, 0.5);
  pointer-events: none;
}
.app-mockup__canvas-line--1 {
  width: 80px;
  height: 4px;
  top: 28%;
  left: 15%;
  transform: rotate(-8deg);
}
.app-mockup__canvas-line--2 {
  width: 60px;
  height: 4px;
  top: 48%;
  left: 25%;
  transform: rotate(5deg);
  background: rgba(96, 165, 250, 0.45);
}
/* --------------------------------------------------------------------------
   Media placeholders – space for images, videos, GIFs
   Later: load content into .media-placeholder__slot or replace the block.
   -------------------------------------------------------------------------- */
.media-placeholder {
  position: relative;
  border: 2px dashed rgba(59, 130, 246, 0.35);
  border-radius: var(--radius-lg);
  background: rgba(15, 22, 40, 0.5);
  overflow: hidden;
}

.media-placeholder__slot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

.media-placeholder__slot img,
.media-placeholder__slot video {
  max-width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.media-placeholder__label {
  display: block;
  padding: var(--space-xs) var(--space-sm);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  background: rgba(0, 0, 0, 0.2);
}

/* When slot has content, the label can be hidden */
.media-placeholder__slot:not(:empty) + .media-placeholder__label {
  display: none;
}

/* When slot contains img/video, placeholder border and background disappear */
.media-placeholder:has(.media-placeholder__slot img),
.media-placeholder:has(.media-placeholder__slot video),
.media-placeholder:has(.media-placeholder__slot iframe) {
  border: none;
  background: transparent;
}

.media-placeholder:has(.media-placeholder__slot img) .media-placeholder__slot,
.media-placeholder:has(.media-placeholder__slot video) .media-placeholder__slot {
  min-height: 0;
}

/* Video placeholder – 16:9 aspect ratio */
.media-placeholder--video .media-placeholder__slot {
  aspect-ratio: 16 / 9;
  min-height: 180px;
}

.media-placeholder--large .media-placeholder__slot {
  min-height: 280px;
  aspect-ratio: 16 / 9;
}

/* Feature card media – small image/GIF at top of card */
.feature-card__media {
  margin: calc(-1 * var(--space-md)) calc(-1 * var(--space-md)) var(--space-md);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.feature-card__media .media-placeholder__slot {
  min-height: 100px;
  aspect-ratio: 16 / 10;
}

/* Testimonial avatar – round profile photo slot */
.testimonial-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-right: var(--space-md);
}

.testimonial-card__avatar .media-placeholder__slot {
  min-height: 56px;
  height: 56px;
  width: 56px;
  border-radius: 50%;
  padding: 0;
}

.testimonial-card__avatar .media-placeholder__label {
  display: none;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
}

.testimonial-card .testimonial-card__avatar {
  align-self: flex-start;
  margin-bottom: var(--space-sm);
  margin-right: 0;
}

/* Demo video slot */
.demo__video-wrap {
  max-width: 560px;
  margin: 0 auto var(--space-xl);
}

.demo__video-wrap .media-placeholder__slot {
  min-height: 200px;
}

/* Product video section */
.product-video {
  position: relative;
}

.product-video__header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto var(--section-header-gap);
}

.product-video__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: var(--space-md);
}

.product-video__subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
}

.product-video__media {
  max-width: 800px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Animated Canvas Background
   -------------------------------------------------------------------------- */
.canvas-container {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

/* Extra floating orbs (Draw Screen Magic style) */
.canvas-container::before,
.canvas-container::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  -webkit-filter: blur(60px);
  pointer-events: none;
}
.canvas-container::before {
  width:  min(72vw, 400px);
  height: min(72vw, 400px);
  top: 10%;
  right: 15%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.28) 0%, rgba(59, 130, 246, 0.2) 40%, transparent 70%);
  animation: design-float-delayed 24s ease-in-out infinite;
  animation-delay: 2s;
}
.canvas-container::after {
  width:  min(80vw, 420px);
  height: min(80vw, 420px);
  bottom: 15%;
  left: 10%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, rgba(124, 58, 237, 0.18) 40%, transparent 70%);
  animation: design-float-slow 26s ease-in-out infinite;
  animation-delay: 4s;
}
@keyframes design-float-delayed {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.9; }
  33% { transform: translate(-3%, 3%) scale(1.08); opacity: 1; }
  66% { transform: translate(2%, -2%) scale(0.95); opacity: 0.92; }
}
@keyframes design-float-slow {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); opacity: 0.88; }
  33% { transform: translate(2%, 2%) scale(1.06) rotate(3deg); opacity: 1; }
  66% { transform: translate(-2%, -1%) scale(0.97) rotate(-2deg); opacity: 0.9; }
}

/* Background patterns (grid / dots / lines) disabled – gradient + orbs only */
.canvas-pattern {
  position: absolute;
  inset: 0;
  opacity: 0 !important;
  pointer-events: none;
  transition: opacity 1s ease;
}

.canvas-pattern.active {
  opacity: 0 !important;
}

/* Grid pattern */
.pattern-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Dots pattern */
.pattern-dots {
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}

/* Lines pattern */
.pattern-lines {
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 100% 32px;
}

/* --------------------------------------------------------------------------
   Scroll Highlighter Effect
   -------------------------------------------------------------------------- */
.highlight-text {
  position: relative;
  display: inline;
}

.highlight-text::before {
  content: '';
  position: absolute;
  left: -4px;
  right: -4px;
  top: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(255, 255, 0, 0.3), rgba(255, 255, 0, 0.4));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
  border-radius: 2px;
}

.highlight-text.highlighted::before {
  transform: scaleX(1);
}

/* --------------------------------------------------------------------------
   Features Section
   -------------------------------------------------------------------------- */
.features {
  position: relative;
}

.features__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--section-header-gap);
}

.features__title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-md);
}

.features__subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: var(--space-lg);
}

.feature-card {
  padding: var(--space-xl);
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  font-size: 1.5rem;
  color: var(--text-accent);
  border: 1px solid var(--glass-border-light);
}

.feature-card__title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.feature-card__desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Interactive Demo Section
   -------------------------------------------------------------------------- */
.demo {
  background: linear-gradient(180deg, transparent, rgba(59, 130, 246, 0.03), transparent);
  overflow: hidden;
}

.demo__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--section-header-gap);
}

.demo__title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-md);
}

.demo__subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Guided Tour Steps */
.demo__tour {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.tour-step {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border-light);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: all var(--transition-normal);
}

.tour-step.active {
  background: rgba(59, 130, 246, 0.15);
  border-color: var(--primary-blue);
  color: var(--text-primary);
}

.tour-step.completed {
  background: rgba(52, 199, 89, 0.15);
  border-color: var(--accent-green);
  color: var(--accent-green);
}

.tour-step__number {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--glass-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.8rem;
}

.tour-step.active .tour-step__number {
  background: var(--primary-blue);
  color: white;
}

.tour-step.completed .tour-step__number {
  background: var(--accent-green);
  color: white;
}

.demo__tour-current {
  display: none;
  width: fit-content;
  margin: 0 auto var(--space-lg);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  border: 1px solid var(--glass-border-light);
  background: rgba(15, 22, 40, 0.7);
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-align: center;
  line-height: 1.3;
}

/* Demo Workspace */
.demo__workspace {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

/* Floating Toolbar */
.demo__floating-toolbar {
  position: absolute;
  top: calc(40px + var(--space-lg));  /* 40px = titlebar height + spacing */
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm);
  background: rgba(15, 22, 40, 0.95);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.toolbar__tools,
.toolbar__colors,
.toolbar__highlighter-colors,
.toolbar__sizes,
.toolbar__actions {
  display: flex;
  gap: var(--space-xs);
}

.toolbar__size {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.toolbar__size:hover {
  background: rgba(255, 255, 255, 0.25);
  color: white;
}

.toolbar__size.active {
  border-color: var(--primary-blue);
  background: rgba(59, 130, 246, 0.3);
  color: white;
}

.toolbar__divider {
  width: 1px;
  height: 32px;
  background: var(--glass-border-light);
  margin: 0 var(--space-xs);
}

.toolbar__btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.toolbar__btn:hover {
  background: var(--glass-bg);
  color: var(--text-primary);
}

.toolbar__btn.active {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border);
  color: var(--text-accent);
}

.toolbar__color {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.toolbar__color:hover {
  transform: scale(1.15);
}

.toolbar__color.active {
  border-color: white;
  box-shadow: 0 0 0 2px var(--color);
}

/* macOS Window Frame */
.demo__window {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
  background: #1e1e1e;
}

.window__titlebar {
  height: 40px;
  background: linear-gradient(180deg, #3d3d3d 0%, #2a2a2a 100%);
  display: flex;
  align-items: center;
  padding: 0 16px;
  position: relative;
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

.window__controls {
  display: flex;
  gap: 8px;
  z-index: 1;
}

.window__control {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  cursor: default;
  transition: filter 0.15s ease;
}

.window__control:hover {
  filter: brightness(1.1);
}

.window__control--close {
  background: linear-gradient(180deg, #ff5f57 0%, #e33e32 100%);
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.2);
}

.window__control--minimize {
  background: linear-gradient(180deg, #ffbd2e 0%, #e5a00d 100%);
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.2);
}

.window__control--maximize {
  background: linear-gradient(180deg, #28c940 0%, #1aab29 100%);
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.2);
}

.window__title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.window__controls-spacer {
  width: 52px;
}

/* --------------------------------------------------------------------------
   Desktop Mockup - Platform Switcher & Desktop Environment
   -------------------------------------------------------------------------- */

/* Platform Switcher */
.demo__platform-switcher {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.platform-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border-light);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.platform-btn:hover {
  background: var(--glass-bg-hover);
  color: var(--text-primary);
}

.platform-btn.active {
  background: rgba(59, 130, 246, 0.15);
  border-color: var(--primary-blue);
  color: var(--text-primary);
}

.platform-btn svg {
  opacity: 0.8;
}

.platform-btn.active svg {
  opacity: 1;
}

/* Desktop Environment Container */
.demo__desktop {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
  aspect-ratio: 16/10;
  max-width: 100%;
}

/* Desktop Background */
.desktop__background {
  position: absolute;
  inset: 0;
  bottom: 48px; /* Leave space for taskbar */
  background: linear-gradient(135deg, #0a1929 0%, #1a2744 50%, #0f1628 100%);
  overflow: hidden;
}

/* Windows style wallpaper */
.demo__desktop[data-platform="windows"] .desktop__background {
  background: linear-gradient(135deg, #0078d4 0%, #004e8c 30%, #001d33 100%);
}

/* macOS style wallpaper */
.demo__desktop[data-platform="macos"] .desktop__background {
  background: linear-gradient(135deg, #5856d6 0%, #af52de 50%, #ff2d55 100%);
}

/* Linux style wallpaper */
.demo__desktop[data-platform="linux"] .desktop__background {
  background: linear-gradient(135deg, #e95420 0%, #77216f 50%, #300a24 100%);
}

/* Desktop Icons */
.desktop__icons {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  z-index: 1;
}

.desktop__icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  width: 70px;
  text-align: center;
  cursor: default;
}

.desktop__icon-img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.desktop__icon-img--folder {
  background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
}

.desktop__icon-img--chrome {
  background: linear-gradient(135deg, #4285f4 0%, #34a853 25%, #fbbc05 50%, #ea4335 75%);
  border-radius: 50%;
}

.desktop__icon-img--vscode {
  background: linear-gradient(135deg, #007acc 0%, #0065a9 100%);
}

.desktop__icon span {
  font-size: 0.7rem;
  color: white;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* Background Window (File Explorer) */
.desktop__bg-window {
  position: absolute;
  top: 10%;
  left: 5%;
  width: 45%;
  height: 50%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  z-index: 2;
  opacity: 0.6;
}

.window__titlebar--inactive {
  background: linear-gradient(180deg, #4a4a4a 0%, #3a3a3a 100%);
}

.window__content {
  background: #2d2d2d;
  height: calc(100% - 40px);
  display: flex;
}

.window__content--blur {
  filter: blur(1px);
}

.explorer__sidebar {
  width: 30%;
  background: rgba(255, 255, 255, 0.05);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.explorer__files {
  flex: 1;
  padding: var(--space-md);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-content: flex-start;
}

.explorer__file {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
}

/* Main PowerPoint Window - positioned on top */
.desktop__background .demo__window {
  position: absolute;
  top: 5%;
  right: 3%;
  width: 70%;
  height: 88%;
  z-index: 5;
}

.desktop__background .demo__slide {
  height: calc(100% - 40px);
  aspect-ratio: auto;
}

/* Taskbar / Dock */
.desktop__taskbar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 48px;
  z-index: 10;
  display: flex;
  align-items: center;
  padding: 0 var(--space-md);
}

/* Windows Taskbar */
.demo__desktop[data-platform="windows"] .desktop__taskbar {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  justify-content: space-between;
}

/* macOS Dock */
.demo__desktop[data-platform="macos"] .desktop__taskbar {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(30px);
  border-radius: 16px;
  margin: 0;
  width: fit-content;
  left: 50%;
  transform: translateX(-50%);
  padding: var(--space-xs) var(--space-sm);
  height: 56px;
  bottom: var(--space-sm);
  justify-content: center;
}

/* macOS desktop background extends further */
.demo__desktop[data-platform="macos"] .desktop__background {
  bottom: 0;
}

/* Linux Panel */
.demo__desktop[data-platform="linux"] .desktop__taskbar {
  background: rgba(48, 10, 36, 0.95);
  backdrop-filter: blur(10px);
  justify-content: space-between;
}

.taskbar__start {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  cursor: default;
}

.taskbar__start:hover {
  background: rgba(255, 255, 255, 0.1);
}

.taskbar__start svg {
  width: 24px;
  height: 24px;
  color: white;
}

/* Hide start button on macOS */
.demo__desktop[data-platform="macos"] .taskbar__start {
  display: none;
}

.taskbar__apps {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  flex: 1;
  justify-content: flex-start;
  padding-left: var(--space-md);
}

.demo__desktop[data-platform="macos"] .taskbar__apps {
  justify-content: center;
  padding-left: 0;
}

.taskbar__app {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  position: relative;
}

.demo__desktop[data-platform="macos"] .taskbar__app {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  transition: transform var(--transition-fast);
}

.demo__desktop[data-platform="macos"] .taskbar__app:hover {
  transform: translateY(-8px) scale(1.1);
}

.taskbar__app--active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: white;
  border-radius: 50%;
}

.demo__desktop[data-platform="macos"] .taskbar__app--active::after {
  bottom: -8px;
}

.taskbar__app--ppt {
  background: linear-gradient(135deg, #d24726 0%, #b7472a 100%);
}

.taskbar__app--explorer {
  background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
}

.taskbar__app--chrome {
  background: linear-gradient(135deg, #4285f4 0%, #34a853 25%, #fbbc05 50%, #ea4335 75%);
  border-radius: 50%;
}

.taskbar__app--inkler {
  background: linear-gradient(135deg, var(--primary-blue), #60A5FA);
}

.taskbar__tray {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: white;
  font-size: 0.8rem;
}

/* Hide tray on macOS dock */
.demo__desktop[data-platform="macos"] .taskbar__tray {
  display: none;
}

.taskbar__time {
  font-weight: 500;
}

/* Floating Toolbar repositioned for desktop mockup */
.demo__desktop > .demo__floating-toolbar {
  position: absolute;
  top: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
}

/* Canvas overlay covers the entire desktop */
.demo__desktop > .demo__canvas-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 15;
  cursor: crosshair;
}

/* Responsive Desktop Mockup */
@media (max-width: 900px) {
  .demo__workspace {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

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

  .demo__desktop {
    aspect-ratio: 16/10;
  }

  .desktop__background {
    bottom: 42px !important;
  }

  .demo__desktop[data-platform="macos"] .desktop__background {
    bottom: 0 !important;
  }

  .desktop__icons {
    top: var(--space-sm);
    left: var(--space-sm);
    gap: var(--space-sm);
    transform: scale(0.85);
    transform-origin: top left;
  }

  .desktop__icon {
    width: 60px;
  }

  .desktop__bg-window {
    top: 10%;
    left: 4%;
    width: 44%;
    height: 48%;
    opacity: 0.5;
  }

  .desktop__background .demo__window {
    top: 7%;
    right: 3%;
    width: 72%;
    height: 80%;
  }

  .demo__desktop[data-platform="macos"] .desktop__background .demo__window {
    height: 82%;
  }

  .window__titlebar {
    height: 34px;
    padding: 0 10px;
  }

  .window__control {
    width: 10px;
    height: 10px;
  }

  .window__title {
    font-size: 11px;
  }

  .window__content {
    height: calc(100% - 34px);
  }

  .desktop__background .demo__slide {
    height: calc(100% - 34px);
  }

  .desktop__taskbar {
    display: flex;
    height: 42px;
    padding: 0 var(--space-sm);
  }

  .taskbar__start {
    width: 32px;
    height: 32px;
  }

  .taskbar__start svg {
    width: 18px;
    height: 18px;
  }

  .taskbar__apps {
    gap: var(--space-xs);
    padding-left: var(--space-sm);
  }

  .taskbar__app {
    width: 30px;
    height: 30px;
  }

  .taskbar__time {
    font-size: 0.72rem;
  }

  .demo__desktop > .demo__floating-toolbar {
    position: absolute;
    top: var(--space-sm);
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 0;
    width: calc(100% - var(--space-md));
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding: var(--space-xs);
    gap: var(--space-xs);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    z-index: 22;
  }

  .demo__desktop > .demo__floating-toolbar::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 600px) {
  .platform-btn span:not(svg) {
    display: none;
  }

  .platform-btn {
    padding: var(--space-sm);
  }

  .desktop__icons {
    transform: scale(0.72);
  }

  .desktop__background .demo__window {
    top: 8%;
    width: 74%;
    height: 78%;
  }

  .window__title {
    max-width: 52%;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* Slide Content */
.demo__slide {
  position: relative;
  background: linear-gradient(135deg, #1a1f35 0%, #0f1628 100%);
  overflow: hidden;
  aspect-ratio: 16/9;
}

.slide__content {
  padding: var(--space-2xl);
  height: 100%;
  display: flex;
  flex-direction: column;
  pointer-events: none;
  user-select: none;
}

.slide__header {
  margin-bottom: var(--space-xl);
}

.slide__badge {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  background: rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--text-accent);
  margin-bottom: var(--space-sm);
}

.slide__title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: white;
}

.slide__body {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.slide__stats {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.slide__stat {
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
}

.slide__stat-value {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text-accent);
  font-family: var(--font-display);
}

.slide__stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.slide__chart {
  display: flex;
  align-items: flex-end;
  padding: var(--space-md);
}

.chart__bars {
  display: flex;
  align-items: flex-end;
  gap: var(--space-md);
  width: 100%;
  height: 150px;
}

.chart__bar {
  flex: 1;
  height: var(--height);
  background: rgba(59, 130, 246, 0.3);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: var(--space-sm);
  transition: all var(--transition-normal);
}

.chart__bar span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.chart__bar--highlight {
  background: linear-gradient(180deg, var(--primary-blue), rgba(59, 130, 246, 0.5));
}

.slide__points {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* Slide panels: multiple slides, one visible */
.slide-panels {
  position: relative;
  height: 100%;
  width: 100%;
}

.slide-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.slide-panel.active {
  position: relative;
  opacity: 1;
  visibility: visible;
}

.slide__switcher {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-xs);
  z-index: 20;
  pointer-events: auto;
}

.slide__switcher-btn {
  width: 28px;
  height: 28px;
  border: none;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.slide__switcher-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.slide__switcher-btn.active {
  background: var(--primary-blue);
  color: white;
}

/* Slide 2: bullet list */
.slide__body--list {
  display: block;
}

.slide__list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.slide__list li {
  padding-left: 1.5em;
  position: relative;
}

.slide__list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--text-accent);
}

/* Slide 3: diagram */
.slide__body--diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}

.slide__diagram {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  justify-content: center;
}

.diagram__node {
  padding: var(--space-sm) var(--space-md);
  background: rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: white;
  border: 1px solid rgba(59, 130, 246, 0.4);
}

.diagram__node--start {
  background: rgba(52, 199, 89, 0.2);
  border-color: rgba(52, 199, 89, 0.4);
}

.diagram__node--end {
  background: rgba(255, 59, 48, 0.2);
  border-color: rgba(255, 59, 48, 0.4);
}

.diagram__arrow {
  color: var(--text-muted);
  font-size: 1.2rem;
}

/* Highlighter color buttons */
.toolbar__highlighter-colors {
  display: flex;
  gap: var(--space-xs);
  align-items: center;
}

.toolbar__highlighter-color {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: var(--color);
  color: transparent;
  font-size: 0;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
}

.toolbar__highlighter-color:hover {
  transform: scale(1.1);
}

.toolbar__highlighter-color.active {
  border-color: white;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3);
}

/* Demo toast (Undone / Cleared) */
.demo-toast {
  position: fixed;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  padding: var(--space-sm) var(--space-lg);
  background: rgba(15, 22, 40, 0.95);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  color: var(--text-secondary);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  z-index: 1000;
  pointer-events: none;
}

.demo-toast.visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Canvas Overlay */
.demo__canvas-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: crosshair;
  z-index: 5;
  touch-action: none;
}

/* Hint Bubble */
.demo__hint {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  width: fit-content;
  max-width: 420px;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  background: rgba(59, 130, 246, 0.9);
  border: 1px solid rgba(96, 165, 250, 0.45);
  border-radius: var(--radius-lg);
  font-size: 0.9rem;
  color: white;
  margin: var(--space-md) auto 0;
  z-index: 1;
  pointer-events: none;
}

.demo__hint-text {
  width: 100%;
  text-align: center;
}

.demo__hint-keys {
  display: block;
  width: 100%;
  font-size: 0.75rem;
  opacity: 0.9;
  text-align: center;
}

.demo__hint.hidden {
  display: none;
}

/* Demo CTA */
.demo__cta {
  text-align: center;
  margin-top: var(--space-2xl);
}

.demo__cta-complete {
  margin-bottom: var(--space-md);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-accent);
}

.demo__cta-complete[hidden] {
  display: none !important;
}

.demo__cta--tour-complete .demo__cta-complete {
  animation: demoCtaReveal 0.4s ease-out;
}

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

.demo__cta-note {
  margin-top: var(--space-sm);
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Demo Responsive */
@media (max-width: 768px) {
  .demo__floating-toolbar {
    gap: var(--space-xs);
    padding: var(--space-xs);
  }

  .demo__desktop > .demo__floating-toolbar {
    width: calc(100% - var(--space-sm));
  }

  .demo__desktop {
    aspect-ratio: 16/10;
  }

  .toolbar__tools,
  .toolbar__colors,
  .toolbar__highlighter-colors,
  .toolbar__sizes,
  .toolbar__actions {
    flex-shrink: 0;
  }

  .toolbar__btn {
    width: 40px;
    height: 40px;
  }

  .toolbar__color {
    width: 28px;
    height: 28px;
  }

  .slide__content {
    padding: var(--space-md);
  }

  .slide__header {
    margin-bottom: var(--space-sm);
  }

  .slide__title {
    font-size: clamp(1.15rem, 4.6vw, 1.55rem);
  }

  .slide__stat-label {
    font-size: 0.75rem;
    line-height: 1.2;
  }

  .demo__tour {
    margin-bottom: var(--space-sm);
  }

  .demo__tour-current {
    display: block;
  }

  .tour-step__text {
    display: none;
  }

  .tour-step {
    padding: var(--space-sm);
  }
}

/* --------------------------------------------------------------------------
   Pricing Section
   -------------------------------------------------------------------------- */
.pricing {
  position: relative;
}

.pricing__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--section-header-gap);
}

.pricing__title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-md);
}

.pricing__subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.page-hero__vat-note,
.pricing__vat-note {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: var(--space-sm);
  margin-bottom: 0;
}

.pricing__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-card {
  padding: var(--space-xl);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease-out-smooth), box-shadow 0.3s var(--ease-out-smooth);
}
.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.pricing-card--featured {
  border: 2px solid var(--primary-blue);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.25);
  /* background same as other pricing cards (from .glass-card) */
}

.pricing-card--featured::before {
  content: 'Popular';
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  padding: var(--space-xs) var(--space-md);
  background: var(--primary-blue);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.pricing-card__name {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.pricing-card__price {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.pricing-card__price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-card__desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--glass-border-light);
}

.pricing-card__features {
  list-style: none;
  margin-bottom: var(--space-xl);
}

.pricing-card__feature {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.pricing-card__feature svg {
  width: 18px;
  height: 18px;
  color: var(--accent-green);
  flex-shrink: 0;
}

.pricing-card__cta {
  width: 100%;
  margin-top: auto;
}

/* --------------------------------------------------------------------------
   Steps / How it works
   -------------------------------------------------------------------------- */
.steps {
  position: relative;
}

.steps__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--section-header-gap);
}

.steps__title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-md);
}

.steps__subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.steps__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: var(--space-lg);
  position: relative;
}

.step-card {
  padding: var(--space-xl);
  text-align: center;
  position: relative;
  transition: transform 0.3s var(--ease-out-smooth);
}
.step-card:hover {
  transform: translateY(-2px);
}

.step-card__number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-blue), #60A5FA);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 auto var(--space-lg);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.step-card__title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.step-card__desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   Signup / Auth Forms
   -------------------------------------------------------------------------- */
.signup {
  position: relative;
}

.signup__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.signup__info {
  max-width: 480px;
}

.signup__title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: var(--space-md);
}

.signup__desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.signup__card {
  padding: var(--space-xl);
}

.form {
  display: grid;
  gap: var(--space-md);
}

.form__group {
  display: grid;
  gap: var(--space-xs);
}

.form__label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.form__input {
  width: 100%;
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border-light);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.form__input::placeholder {
  color: var(--text-muted);
}

.form__input:focus {
  outline: none;
  border-color: var(--primary-blue);
  background: rgba(59, 130, 246, 0.05);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form__consent {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form__consent a {
  color: var(--text-accent);
  text-decoration: underline;
}

.form__group--checkbox {
  margin-top: var(--space-xs);
}

.form__label--checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-weight: 400;
  cursor: pointer;
}

.form__label--checkbox input[type="checkbox"] {
  margin-top: 0.25em;
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--primary-blue);
}

.form__label--checkbox a {
  color: var(--text-accent);
  text-decoration: underline;
}

.form__label--checkbox a:hover {
  text-decoration: none;
}

.form__message {
  padding: var(--space-md);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
}

.form__message--success {
  background: rgba(52, 199, 89, 0.1);
  border: 1px solid rgba(52, 199, 89, 0.3);
  color: var(--accent-green);
}

.form__message--error {
  background: rgba(255, 59, 48, 0.1);
  border: 1px solid rgba(255, 59, 48, 0.3);
  color: var(--accent-red);
}

/* --------------------------------------------------------------------------
   FAQ Section
   -------------------------------------------------------------------------- */
.faq {
  position: relative;
}

.faq__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--section-header-gap);
}

.faq__title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-md);
}

.faq__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: var(--space-lg);
  max-width: 900px;
  margin: 0 auto;
}

.faq-card {
  padding: var(--space-xl);
}

.faq-card__question {
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.faq-card__answer {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Testimonials Section
   -------------------------------------------------------------------------- */
.testimonials {
  position: relative;
}

.testimonials__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--section-header-gap);
}

.testimonials__title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-md);
}

.testimonials__subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: var(--space-lg);
}

.testimonial-card {
  padding: var(--space-xl);
  display: grid;
  gap: var(--space-md);
}

.testimonial-card__quote {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

.testimonial-card__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-card__name {
  font-weight: 600;
}

.testimonial-card__role {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.testimonial-card__tag {
  align-self: flex-start;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 0.75rem;
  border: 1px solid var(--glass-border-light);
}

.testimonials__cta {
  text-align: center;
  margin-top: var(--space-2xl);
  color: var(--text-secondary);
}

.testimonials__cta .btn {
  margin-top: var(--space-sm);
}

/* --------------------------------------------------------------------------
   Trust & Transparency Section
   -------------------------------------------------------------------------- */
.trust {
  position: relative;
}

.trust__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--section-header-gap);
}

.trust__title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-md);
}

.trust__subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: var(--space-lg);
}

.trust-card {
  padding: var(--space-xl);
  display: grid;
  gap: var(--space-md);
}

.trust-card__title {
  font-size: 1.15rem;
}

.trust-card__list {
  list-style: none;
  display: grid;
  gap: var(--space-sm);
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.trust-card__list li {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.trust-card__list svg {
  width: 16px;
  height: 16px;
  color: var(--text-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   Resources / Help Center Section
   -------------------------------------------------------------------------- */
.resources {
  position: relative;
}

.resources__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--section-header-gap);
}

.resources__title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-md);
}

.resources__subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.resources__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: var(--space-lg);
}

.resource-card {
  padding: var(--space-xl);
  display: grid;
  gap: var(--space-md);
}

.resource-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid var(--glass-border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-accent);
}

.resource-card__title {
  font-size: 1.15rem;
}

.resource-card__desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   Pricing Compare
   -------------------------------------------------------------------------- */
.pricing-details {
  margin-top: var(--space-3xl);
  --pricing-compare-col2: "Free";
  --pricing-compare-col3: "Monthly";
  --pricing-compare-col4: "Yearly";
}

.pricing-compare__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-2xl);
}

.pricing-compare__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: var(--space-sm);
}

.pricing-compare__subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
}

.pricing-details--home .pricing-compare__header {
  margin-bottom: var(--space-xl);
}

.home-plan-lanes {
  padding: clamp(0.9rem, 1.8vw, 1.15rem);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(110% 140% at 8% 0%, rgba(93, 149, 255, 0.08), transparent 58%),
    radial-gradient(90% 120% at 100% 100%, rgba(168, 85, 247, 0.08), transparent 62%),
    rgba(255, 255, 255, 0.02);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 20px 44px rgba(3, 8, 24, 0.2);
}

.home-plan-lanes__legend {
  display: grid;
  grid-template-columns: minmax(180px, 1.1fr) repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 0.7rem;
}

.home-plan-lanes__legend-spacer,
.home-plan-lanes__legend-item {
  min-height: 56px;
  padding: 0.75rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(20, 28, 62, 0.34);
  display: flex;
  align-items: center;
  font-weight: 700;
}

.home-plan-lanes__legend-spacer {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
}

.home-plan-lanes__legend-item {
  color: var(--text-primary);
  justify-content: center;
}

.home-plan-lanes__legend-item--featured {
  border-color: rgba(96, 165, 250, 0.45);
  background:
    linear-gradient(180deg, rgba(70, 132, 255, 0.18), rgba(70, 132, 255, 0.06)),
    rgba(21, 31, 69, 0.36);
  box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.16);
}

.home-plan-lanes__rows {
  display: grid;
  gap: 0.55rem;
}

.home-plan-lanes__row {
  display: grid;
  grid-template-columns: minmax(180px, 1.1fr) minmax(0, 3fr);
  gap: 0.55rem;
  align-items: stretch;
}

.home-plan-lanes__feature {
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.012)),
    rgba(14, 22, 49, 0.5);
  display: grid;
  gap: 0.18rem;
  align-content: center;
}

.home-plan-lanes__feature-label {
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.home-plan-lanes__feature-note {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.home-plan-lanes__values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.home-plan-lanes__value {
  min-height: 78px;
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.028), rgba(255,255,255,0.012)),
    rgba(29, 40, 86, 0.32);
  display: grid;
  gap: 0.35rem;
  align-content: center;
}

.home-plan-lanes__value--featured {
  border-color: rgba(96, 165, 250, 0.5);
  background:
    linear-gradient(180deg, rgba(70, 132, 255, 0.2), rgba(48, 98, 229, 0.08)),
    rgba(27, 39, 88, 0.36);
  box-shadow:
    inset 2px 0 0 rgba(96, 165, 250, 0.95),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

.home-plan-lanes__value-plan {
  display: none;
  color: var(--text-muted);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.home-plan-lanes__value-text {
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1.35;
}

.home-plan-lanes__value--featured .home-plan-lanes__value-text {
  font-weight: 700;
}

.home-plan-lanes__value-chip {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(83, 214, 157, 0.22);
  background: rgba(83, 214, 157, 0.08);
  color: #b4f5d3;
  font-size: 0.82rem;
}

.pricing-compare__scroll {
  overflow-x: auto;
  padding: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 20px;
  background:
    radial-gradient(120% 140% at 15% 0%, rgba(81, 132, 255, 0.08), transparent 55%),
    linear-gradient(180deg, rgba(10, 16, 34, 0.34), rgba(10, 18, 38, 0.24));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 18px 40px rgba(0, 0, 0, 0.22);
}

.pricing-compare__table {
  display: grid;
  gap: 0.45rem;
  min-width: 780px;
}

.pricing-compare__row {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  align-items: stretch;
}

.pricing-compare__cell {
  position: relative;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.018)),
    rgba(29, 40, 86, 0.34);
  color: rgba(255, 255, 255, 0.93);
  font-size: 0.95rem;
  line-height: 1.42;
  min-height: 64px;
  display: flex;
  align-items: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
}

.pricing-compare__cell--head {
  min-height: 68px;
  background:
    linear-gradient(180deg, rgba(93, 149, 255, 0.20), rgba(93, 149, 255, 0.08)),
    rgba(26, 36, 84, 0.35);
  border-color: rgba(96, 165, 250, 0.40);
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.pricing-compare__cell--highlight {
  background:
    linear-gradient(180deg, rgba(70, 132, 255, 0.24) 0%, rgba(48, 98, 229, 0.14) 100%),
    rgba(26, 36, 84, 0.34);
  border-color: rgba(96, 165, 250, 0.52);
  color: var(--text-primary);
  font-weight: 700;
  box-shadow:
    inset 2px 0 0 rgba(96, 165, 250, 0.9),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

.pricing-compare__feature {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.01)),
    rgba(18, 27, 55, 0.55);
  border-color: rgba(255,255,255,0.12);
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.pricing-compare__row:first-child .pricing-compare__cell--head {
  position: sticky;
  top: 0;
  z-index: 2;
}

.pricing-compare__row:nth-child(even):not(:first-child) .pricing-compare__cell:not(.pricing-compare__feature) {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.028), rgba(255,255,255,0.014)),
    rgba(31, 42, 88, 0.28);
}

.pricing-compare__row:hover .pricing-compare__cell {
  border-color: rgba(255,255,255,0.14);
}

.pricing-compare__row:hover .pricing-compare__cell--highlight {
  border-color: rgba(96, 165, 250, 0.66);
}

@media (max-width: 860px) {
  .pricing-details--home .pricing-compare__header {
    margin-bottom: var(--space-lg);
  }

  .home-plan-lanes {
    padding: 0.7rem;
    border-radius: 18px;
  }

  .home-plan-lanes__legend {
    display: none;
  }

  .home-plan-lanes__row {
    grid-template-columns: 1fr;
    gap: 0.45rem;
    padding: 0.55rem;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.02);
  }

  .home-plan-lanes__feature {
    min-height: 0;
    padding: 0.85rem 0.9rem;
  }

  .home-plan-lanes__feature-note {
    font-size: 0.76rem;
  }

  .home-plan-lanes__values {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .home-plan-lanes__value {
    min-height: 0;
    padding: 0.8rem 0.9rem;
    gap: 0.2rem;
  }

  .home-plan-lanes__value-plan {
    display: inline-block;
  }

  .pricing-compare__scroll {
    padding: 0.75rem;
    border-radius: 16px;
  }

  .pricing-compare__table {
    min-width: 100%;
    gap: 0.6rem;
  }

  .pricing-compare__row:first-child {
    display: none;
  }

  .pricing-compare__row {
    grid-template-columns: 1fr;
    gap: 0.45rem;
    padding: 0.55rem;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.02);
  }

  .pricing-compare__cell {
    min-height: 0;
    padding: 0.8rem 0.9rem;
    border-radius: 12px;
    font-size: 0.92rem;
  }

  .pricing-compare__feature {
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
    font-size: 0.98rem;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.018)),
      rgba(18, 27, 55, 0.58);
  }

  .pricing-compare__row:not(:first-child) .pricing-compare__cell:not(.pricing-compare__feature) {
    padding-left: 5.3rem;
  }

  .pricing-compare__row:not(:first-child) .pricing-compare__cell:not(.pricing-compare__feature)::before {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
  }

  .pricing-compare__row:not(:first-child) .pricing-compare__cell:nth-child(2)::before { content: var(--pricing-compare-col2, "Free"); }
  .pricing-compare__row:not(:first-child) .pricing-compare__cell:nth-child(3)::before { content: var(--pricing-compare-col3, "Monthly"); color: #b9dcff; }
  .pricing-compare__row:not(:first-child) .pricing-compare__cell:nth-child(4)::before { content: var(--pricing-compare-col4, "Yearly"); }
}

.pricing-faq {
  margin-top: var(--space-2xl);
}

.pricing-faq__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: var(--space-lg);
  max-width: 900px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  margin-top: 0;
  padding: var(--space-2xl) 0 var(--space-xl);
  border-top: 1px solid var(--glass-border-light);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.3) 0%, rgba(15, 23, 42, 0.6) 100%);
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}

.footer__brand {
  display: grid;
  gap: var(--space-md);
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2vw, 2.2rem);
  font-weight: 700;
  line-height: 1;
}

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

.footer__logo-img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(59, 130, 246, 0.25);
}

.footer__logo-text {
  letter-spacing: 0.01em;
}

.footer__tagline {
  color: var(--text-secondary);
  max-width: 24ch;
  font-size: 1.12rem;
  line-height: 1.45;
}

.footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-md);
  margin-top: var(--space-sm);
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__social-link:hover {
  color: var(--primary-blue, #3b82f6);
}

.footer__social-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  fill: currentColor;
}

.footer__columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: clamp(1rem, 3vw, 2.5rem);
}

.footer__column {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer__heading {
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 1.6vw, 1.35rem);
  line-height: 1.2;
  font-weight: 700;
}

.footer__bottom {
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--glass-border-light);
  text-align: center;
}

.footer__link {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.45;
  transition: color 0.2s ease, transform 0.2s var(--ease-out-smooth);
}

.footer__link:hover {
  color: var(--text-primary);
  transform: translateX(3px);
}

.footer__copy {
  color: var(--text-muted);
  font-size: 1rem;
  letter-spacing: 0.01em;
}

/* --------------------------------------------------------------------------
   Page Loader
   -------------------------------------------------------------------------- */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-darkest);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader__spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(59, 130, 246, 0.15);
  border-top-color: var(--primary-blue);
  border-radius: 50%;
  animation: loaderSpin 0.7s linear infinite;
}

@keyframes loaderSpin {
  to { transform: rotate(360deg); }
}

/* --------------------------------------------------------------------------
   Scroll Reveal Animations
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays for child elements */
.stagger-children > .reveal:nth-child(1) { transition-delay: 0s; }
.stagger-children > .reveal:nth-child(2) { transition-delay: 0.08s; }
.stagger-children > .reveal:nth-child(3) { transition-delay: 0.16s; }
.stagger-children > .reveal:nth-child(4) { transition-delay: 0.24s; }
.stagger-children > .reveal:nth-child(5) { transition-delay: 0.32s; }
.stagger-children > .reveal:nth-child(6) { transition-delay: 0.40s; }

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}

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

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate-fade-in-up {
  animation: none;
}

.animate-delay-1,
.animate-delay-2,
.animate-delay-3,
.animate-delay-4 {
  animation-delay: 0s;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .demo__container {
    grid-template-columns: 1fr;
  }

  .signup__container {
    grid-template-columns: 1fr;
  }

  .signup__info {
    text-align: center;
    margin: 0 auto;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer__brand {
    max-width: 460px;
  }

  .footer__columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .btn,
  .nav__links--open .nav__link {
    min-height: 44px;
  }

  .nav__links {
    display: none;
  }

  .nav__mobile-toggle {
    display: flex;
  }

  .nav {
    gap: var(--space-md);
  }

  .nav__logo-img {
    height: 40px;
    max-width: 140px;
  }

  .nav__logo-text {
    font-size: 1.05rem;
  }

  .nav__actions {
    display: none;
  }

  /* Mobile open: navbar becomes grid – first row logo + toggle, then dropdown with actions + links */
  .nav--open {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto auto;
    gap: 0;
    align-items: stretch;
  }

  .nav--open .nav__logo {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
  }

  .nav--open .nav__mobile-toggle {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }

  .nav--open .nav__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-column: 1 / -1;
    grid-row: 2;
    gap: var(--space-sm);
    padding: var(--space-md) 0 0;
    margin: var(--space-sm) 0 0;
    border-top: 1px solid var(--glass-border-light);
    max-height: 200px;
    overflow: hidden;
    animation: navDropdownSlide 0.25s ease forwards;
  }

  .nav--open .nav__links.nav__links--open {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .nav--open .nav__actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 44px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  }

  .nav--open .nav__actions .btn:active {
    transform: translateY(1px) scale(0.985);
  }

  .nav--open .nav__actions .btn--secondary {
    background: var(--glass-bg);
    border-color: var(--glass-border-light);
  }

  .nav--open .nav__actions .btn--secondary:hover {
    background: var(--glass-bg-hover);
    border-color: var(--glass-border);
  }

  .nav--open .nav__actions .btn--primary {
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
  }

  .nav--open .nav__actions .btn--primary:hover {
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.5);
  }

  .nav--open .nav__actions .nav__action-lang {
    grid-column: 1 / -1;
    width: auto;
    min-width: 92px;
    justify-self: center;
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }

  .nav--open .nav__user {
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: var(--space-sm);
  }

  .nav--open .nav__user-name {
    width: 100%;
    text-align: center;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav--open .nav__actions [data-auth-logout] {
    min-height: 44px;
  }

  .hero {
    padding-top: clamp(6rem, 12vw, 7rem);
    min-height: auto;
    padding-bottom: clamp(2.8rem, 7vw, 4rem);
  }

  .hero__actions {
    gap: 12px;
  }

  .hero__proof {
    max-width: none;
  }

  .home-quickstart__grid,
  .home-trust-strip__items,
  .home-usecases__grid {
    grid-template-columns: 1fr;
  }

  .home-step-card,
  .home-usecase-card {
    min-height: 0;
  }

  .home-trust-strip__card {
    padding: var(--space-md);
  }

  .hero__canvas-bg {
    display: none;
  }

  .footer {
    padding-bottom: calc(var(--space-3xl) + 80px + env(safe-area-inset-bottom));
  }

  .footer__columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-lg);
  }

  .footer__tagline {
    max-width: none;
  }

  .footer__copy {
    font-size: 0.95rem;
  }
}

@media (max-width: 430px) {
  .nav--open .nav__actions {
    grid-template-columns: 1fr;
  }

  .nav--open .nav__actions .nav__action-lang {
    grid-column: auto;
    width: auto;
    justify-self: center;
  }
}

@media (max-width: 480px) {
  .container {
    width: 95vw;
  }
  .header .container {
    max-width: 95vw;
    width: 95vw;
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }

  .btn {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.9rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .mobile-sticky-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .nav__logo-text {
    font-size: 0.9rem;
  }

  .nav__logo-img {
    height: 34px;
    max-width: 110px;
  }

  .nav__logo {
    gap: var(--space-sm);
  }

  .footer__columns {
    grid-template-columns: 1fr;
  }

  .footer__logo-img {
    width: 48px;
    height: 48px;
  }

  .footer__logo {
    font-size: 1.45rem;
  }

  .footer__tagline {
    font-size: 1rem;
  }
}

/* Mobile navigation menu – dropdown under navbar, same glass as header (no full-screen overlay) */
@keyframes navDropdownSlide {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 200px;
  }
}

@keyframes navLinksSlideDown {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 70vh;
  }
}

.nav__links--open {
  --nav-mobile-actions-offset: 0;
  display: flex !important;
  position: relative;
  flex-direction: column;
  align-items: stretch;
  padding: var(--space-md) 0 var(--space-lg);
  margin-top: var(--space-sm);
  border-top: 1px solid var(--glass-border-light);
  gap: var(--space-sm);
  overflow-y: auto;
  max-height: 70vh;
  animation: navLinksSlideDown 0.3s ease forwards;
}

.nav__links--open li {
  width: 100%;
  opacity: 0;
  animation: mobileMenuItemSlide 0.35s ease forwards;
}

.nav__links--open li:nth-child(1) { animation-delay: 0.05s; }
.nav__links--open li:nth-child(2) { animation-delay: 0.1s; }
.nav__links--open li:nth-child(3) { animation-delay: 0.15s; }
.nav__links--open li:nth-child(4) { animation-delay: 0.2s; }
.nav__links--open li:nth-child(5) { animation-delay: 0.25s; }
.nav__links--open li:nth-child(6) { animation-delay: 0.3s; }

@keyframes mobileMenuItemSlide {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.nav__links--open .nav__link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  width: 100%;
  padding: 0.95rem 1.1rem;
  border: 1px solid var(--glass-border-light);
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.25;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.nav__links--open .nav__link::before {
  content: "•";
  display: inline-flex;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.95rem;
  border: 1px solid var(--glass-border-light);
  background: var(--glass-bg-hover);
}

.nav__links--open .nav__link::after {
  content: "›";
  margin-left: auto;
  color: var(--text-accent);
  font-size: 1.1rem;
  transform: translateX(0);
  transition: transform 0.2s ease;
}

.nav__links--open .nav__link[href="/features"]::before { content: "◇"; }
.nav__links--open .nav__link[href="/pricing"]::before { content: "€"; }
.nav__links--open .nav__link[href="/blog"]::before { content: "✎"; }
.nav__links--open .nav__link[href="/compare"]::before { content: "⇄"; }
.nav__links--open .nav__link[href="/download"]::before { content: "↓"; }
.nav__links--open .nav__link[href="/contact"]::before { content: "✉"; }
.nav__links--open .nav__link[href="/release-notes"]::before { content: "↻"; }

.nav__links--open .nav__link:active {
  transform: scale(0.985);
}

.nav__links--open .nav__link:hover,
.nav__links--open .nav__link.active {
  border-color: var(--glass-border);
  background: var(--glass-bg-hover);
  color: var(--text-primary);
  box-shadow: var(--glass-glow);
}

.nav__links--open .nav__link:hover::after,
.nav__links--open .nav__link.active::after {
  transform: translateX(2px);
}

/* Demo canvas responsive */
@media (max-width: 1024px) {
  .demo__canvas {
    aspect-ratio: 16/9;
  }
}

/* Pricing cards responsive */
@media (max-width: 1100px) {
  .pricing__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 900px;
  }
}

@media (max-width: 768px) {
  .pricing__cards {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

/* Feature grid on tablets */
@media (max-width: 900px) {
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .features__grid {
    grid-template-columns: 1fr;
  }

  .steps__grid {
    grid-template-columns: 1fr;
  }

  .faq__grid {
    grid-template-columns: 1fr;
  }
}

/* Button text wrap prevention */
.btn {
  text-align: center;
}

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

  html {
    scroll-behavior: auto;
  }
}

/* --------------------------------------------------------------------------
   Cookie consent banner (GDPR)
   -------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md) var(--space-lg);
  background: rgba(15, 22, 40, 0.98);
  border-top: 1px solid var(--glass-border);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  /* iOS Safari: keep banner above virtual keyboard */
  bottom: env(safe-area-inset-bottom, 0);
  padding-bottom: calc(var(--space-md) + env(safe-area-inset-bottom, 0));
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
  justify-content: space-between;
}

.cookie-banner__text {
  flex: 1;
  min-width: 260px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.cookie-banner__text a {
  color: var(--text-accent);
  text-decoration: none;
}

.cookie-banner__text a:hover {
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
}

.cookie-banner .btn {
  white-space: nowrap;
}

/* ==========================================================================
   SmartInkler App Mockup – Hero (1:1 reproduction of the real app)
   ========================================================================== */

/* Outer frame – rounded, deep shadow, subtle border */
.si-mockup {
  position: relative;
  width: 100%;
  max-width: 420px;
  min-height: 420px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.07);
}

/* Fake desktop/screen background */
.si-mockup__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, #0d1535 0%, #101830 45%, #090f1e 100%);
}
.si-mockup__bg-line {
  position: absolute;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.07);
}
.si-mockup__bg-line--h  { height: 14px; width: 155px; top: 50px;  left: 118px; }
.si-mockup__bg-line--p1 { height:  8px; width: 180px; top: 78px;  left: 118px; }
.si-mockup__bg-line--p2 { height:  8px; width: 120px; top: 96px;  left: 118px; }
.si-mockup__bg-rect {
  position: absolute;
  width: 168px; height: 98px;
  top: 138px; left: 138px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.025);
}

/* SVG ink strokes overlaid */
.si-mockup__ink {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* UI layer: toolbar + panel side by side */
.si-mockup__ui {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  padding: 10px;
  gap: 6px;
}

/* ── Toolbar ─────────────────────────────────────────────────────────────── */
.si-mockup__toolbar {
  width: 90px;
  flex-shrink: 0;
  background: rgba(12, 10, 26, 0.92);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

/* Logo button – white background, full width */
.si-mockup__logo {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px 0;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 0 16px rgba(160, 210, 100, 0.3), 0 0 28px rgba(255, 230, 120, 0.18);
}
.si-mockup__logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
}

/* Close + 3-dots row */
.si-mockup__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 4px 5px 2px;
}
.si-mockup__ctrl {
  width: 38px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.04);
}
.si-mockup__ctrl--close { color: rgba(255, 100, 90, 0.8); }

/* Undo/Redo split button */
.si-mockup__undoredo {
  display: flex;
  width: 76px;
  height: 28px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  margin: 2px 0 3px;
}
.si-mockup__half {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
}
.si-mockup__half:first-child { border-right: 1px solid rgba(255, 255, 255, 0.1); }

/* 2-column tools grid */
.si-mockup__tools {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  padding: 2px 4px 6px;
  width: 100%;
}
.si-mockup__btn {
  width: 38px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  justify-self: center;
}
.si-mockup__btn--active {
  background: rgba(77, 144, 254, 0.4);
  border-color: rgba(77, 144, 254, 0.55);
  box-shadow: 0 0 14px rgba(77, 144, 254, 0.4);
  color: #fff;
}
.si-mockup__tool-img {
  width: 17px;
  height: 17px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}
.si-mockup__btn--active .si-mockup__tool-img { opacity: 1; }

/* ── Detail Panel ────────────────────────────────────────────────────────── */
.si-mockup__panel {
  flex: 1;
  min-width: 0;
  background: rgba(12, 10, 26, 0.9);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 10px 12px 12px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.si-mockup__panel-title {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}
.si-mockup__panel-label {
  font-size: 9.5px;
  font-weight: 600;
  color: rgba(96, 165, 250, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 5px;
}

/* Brush size dots */
.si-mockup__sizes {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0 2px;
}
.si-mockup__dot {
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  display: block;
  flex-shrink: 0;
}
.si-mockup__dot--active {
  background: #4D90FE;
  box-shadow: 0 0 6px rgba(77, 144, 254, 0.65);
}

/* Slider */
.si-mockup__slider {
  position: relative;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin: 3px 0 2px;
}
.si-mockup__slider-fill {
  position: absolute;
  left: 0; top: 0;
  height: 100%;
  background: linear-gradient(90deg, #4D90FE 0%, #A855F7 100%);
  border-radius: 2px;
}
.si-mockup__slider-knob {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(77, 144, 254, 0.5), 0 2px 4px rgba(0,0,0,0.3);
}

/* Color swatches */
.si-mockup__palette {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 2px 0;
}
.si-mockup__swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  display: block;
  flex-shrink: 0;
}
.si-mockup__swatch--active {
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25);
  transform: scale(1.15);
}

/* Separator */
.si-mockup__separator {
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
  margin: 4px 0;
}

/* Preset buttons */
.si-mockup__presets {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.si-mockup__preset {
  font-size: 9px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 3px 8px;
  display: block;
}
.si-mockup__preset--active {
  background: rgba(77, 144, 254, 0.32);
  border-color: rgba(77, 144, 254, 0.5);
  color: #fff;
}

/* Pipette + hex input row */
.si-mockup__hex-row {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
}
.si-mockup__pipette {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.55);
  flex-shrink: 0;
}
.si-mockup__hex-input {
  flex: 1;
  height: 22px;
  background: rgba(59, 130, 246, 0.13);
  border: 1px solid rgba(59, 130, 246, 0.27);
  border-radius: 7px;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  padding: 0 7px;
  font-family: monospace;
  letter-spacing: 0.5px;
}

/* Hotkeys info box */
.si-mockup__hotkeys {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 6px;
  padding: 5px 7px;
  margin-top: 2px;
}
.si-mockup__hotkeys-title {
  font-size: 9px;
  font-weight: 600;
  color: rgba(96, 165, 250, 0.85);
  margin: 0 0 3px;
}
.si-mockup__hotkeys-row {
  font-size: 8px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 1px;
  line-height: 1.4;
}
.si-mockup__hotkeys-row span {
  color: rgba(234, 244, 255, 0.85);
  font-weight: 500;
}

/* ==========================================================================
   Tool Viewer – Apple-style interactive product viewer
   ========================================================================== */

.tool-viewer {
  overflow: hidden;
}
.tool-viewer__header {
  text-align: center;
  padding-bottom: var(--space-2xl);
}
.tool-viewer__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

/* ── Stage layout ──────────────────────────────────────────────── */
.tool-viewer__stage {
  display: flex;
  align-items: stretch;
  max-width: 1280px;
  margin: 0 auto;
}

/* ── Media area (right ~62%) ───────────────────────────────────── */
.tool-viewer__media-wrap {
  flex: 0 0 62%;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #070c1a;
  border-radius: 0 18px 0 0;
}
.tool-viewer__media-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Individual slides */
.tv-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
  will-change: opacity, transform;
}
.tv-slide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.tv-slide.is-exiting {
  opacity: 0;
  transform: translateX(-50px);
  pointer-events: none;
}
.tv-slide__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tv-slide__caption {
  position: absolute;
  bottom: 12px;
  left: 16px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  font-style: italic;
  pointer-events: none;
}

/* ── Controls list (left ~38%) ─────────────────────────────────── */
.tool-viewer__controls-wrap {
  flex: 0 0 38%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-2xl) var(--space-xl) var(--space-2xl) var(--space-2xl);
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}
.tv-list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

/* ── Each item ─────────────────────────────────────────────────── */
.tv-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.tv-item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

/* Header button */
.tv-item__btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: none;
  border: none;
  padding: 16px 8px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s ease;
  letter-spacing: -0.01em;
}
.tv-item__btn:hover {
  color: rgba(255, 255, 255, 0.8);
}
.tv-item.is-active .tv-item__btn {
  color: #fff;
}

/* + / × circle icon */
.tv-item__plus {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  transition: transform 0.25s ease;
}
.tv-item__plus circle {
  stroke: currentColor;
  fill: none;
  stroke-width: 1.4;
}
.tv-item__plus path {
  fill: currentColor;
  stroke: none;
  transform-origin: center;
  transition: transform 0.25s ease;
}
.tv-item.is-active .tv-item__plus path {
  transform: rotate(45deg);
}

/* Expandable body (max-height collapse) */
.tv-item__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.tv-item__body-inner {
  padding: 0 8px 16px 36px;
}

.tv-item__text {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 14px;
}
.tv-item__name {
  color: #fff;
  font-weight: 600;
}

/* ── Vertical nav (far left column, outside controls list) ─────── */
.tv-vertical-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-shrink: 0;
  width: 48px;
  align-self: stretch;
  padding: 0 4px;
}
.tv-nav-btn {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  flex-shrink: 0;
}
.tv-nav-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}
.tv-nav-btn:disabled {
  opacity: 0.28;
  cursor: not-allowed;
}

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .tool-viewer__stage {
    flex-direction: column;
  }
  .tv-vertical-nav {
    display: none;
  }
  .tool-viewer__media-wrap {
    flex: none;
    width: 100%;
    border-radius: 0;
    aspect-ratio: 16 / 9;
  }
  .tool-viewer__controls-wrap {
    flex: none;
    width: 100%;
    padding: var(--space-md) var(--space-md) var(--space-2xl);
    border-right: none;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .tv-slide {
    transition: opacity 0.3s ease;
    transform: none !important;
  }
  .tv-slide.is-exiting {
    transform: none !important;
  }
}

/* Site newsletter (footer area, all pages) */
.site-newsletter {
  padding: var(--space-2xl) 0 var(--space-4xl);
}
.site-newsletter .newsletter-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2xl);
  padding: var(--space-2xl);
}
.site-newsletter .newsletter-card__content {
  max-width: 500px;
}
.site-newsletter .newsletter-card__title {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}
.site-newsletter .newsletter-card__desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.site-newsletter .newsletter-card__form {
  display: flex;
  gap: var(--space-sm);
  flex-shrink: 0;
}
.site-newsletter .newsletter-card__form .form__input {
  width: 280px;
}
.site-newsletter .newsletter-card__message {
  margin-top: var(--space-sm);
  font-size: 0.9rem;
}
.dashboard-card--newsletter .newsletter-actions {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

/* Subscription header: cycle picker + Change package in one row */
#subscription-details-header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.billing-cycle-picker {
  display: flex;
  align-items: center;
}

.billing-cycle-picker__segments {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border-light);
  border-radius: var(--radius-lg);
  padding: 3px;
  gap: 0;
}

.billing-cycle-picker__segment {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.4rem 0.85rem;
  border-radius: calc(var(--radius-lg) - 2px);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.billing-cycle-picker__segment:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.billing-cycle-picker__segment.is-active {
  background: var(--primary-blue);
  color: #fff;
}

.billing-cycle-picker__segment:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--primary-blue);
}

@media (max-width: 768px) {
  #subscription-details-header-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .billing-cycle-picker__segments {
    justify-content: stretch;
  }
  .billing-cycle-picker__segment {
    flex: 1;
  }
  .site-newsletter .newsletter-card {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .site-newsletter .newsletter-card__form {
    flex-direction: column;
  }
  .site-newsletter .newsletter-card__form .form__input {
    width: 100%;
  }
}
