/* ========== RESET & BASE ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: #4a5565;
  line-height: 1.6;
  background: #fff;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ========== VARIABLES ========== */
:root {
  --primary: #82181a;
  --primary-dark: #6b1416;
  --primary-medium: #9b1d20;
  --primary-light: #a52226;
  --primary-lighter: #b32428;
  --primary-lightest: #c42629;
  --text-dark: #0a0a0a;
  --text-heading: #1e2939;
  --text-body: #364153;
  --text-muted: #4a5565;
  --text-light: #99a1af;
  --border-light: #f3f4f6;
  --bg-light: #f9fafb;
}

/* ========== UTILITIES ========== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes floatSlow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(2deg); }
}
@keyframes floatReverse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}
@keyframes pulse {
  0%, 100% { opacity: 0.05; }
  50% { opacity: 0.1; }
}
@keyframes heroTextIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes notifSlide {
  0% { opacity: 0; transform: translateX(30px); }
  10% { opacity: 1; transform: translateX(0); }
  90% { opacity: 1; transform: translateX(0); }
  100% { opacity: 0; transform: translateX(30px); }
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
}

/* Animation classes */
.js-animate-ready [data-animate] {
  opacity: 0;
}
.js-animate-ready [data-animate].visible {
  animation-duration: 0.6s;
  animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  animation-fill-mode: both;
}
.js-animate-ready [data-animate="fade-up"].visible { animation-name: fadeInUp; }
.js-animate-ready [data-animate="fade-in"].visible { animation-name: fadeIn; }
.js-animate-ready [data-animate="slide-left"].visible { animation-name: slideInLeft; }
.js-animate-ready [data-animate="slide-right"].visible { animation-name: slideInRight; }
.js-animate-ready [data-animate="scale-in"].visible { animation-name: scaleIn; }

/* Delays */
[data-delay="1"].visible { animation-delay: 0.1s !important; }
[data-delay="2"].visible { animation-delay: 0.2s !important; }
[data-delay="3"].visible { animation-delay: 0.3s !important; }
[data-delay="4"].visible { animation-delay: 0.4s !important; }
[data-delay="5"].visible { animation-delay: 0.5s !important; }
[data-delay="6"].visible { animation-delay: 0.6s !important; }

@media (prefers-reduced-motion: reduce) {
  [data-animate] { opacity: 1 !important; animation: none !important; }
}

/* Hero animations */
.hero h1 {
  animation: heroTextIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s both;
}
.hero p {
  animation: heroTextIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s both;
}
.hero-buttons {
  animation: heroTextIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.7s both;
}
.hero-open-badge {
  animation: heroTextIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s both;
}

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  height: 73px;
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.98);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(to bottom, var(--primary), var(--primary-dark));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-icon svg { width: 20px; height: 20px; color: white; }
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-size: 16px; font-weight: 600; color: var(--text-dark); line-height: 1.2; }
.logo-tagline { font-size: 11px; color: var(--text-muted); line-height: 1.2; }
.header-nav {
  display: flex;
  gap: 32px;
}
.header-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}
.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.header-nav a:hover { color: var(--primary); }
.header-nav a.active { color: var(--primary); }
.header-nav a.active::after { transform: scaleX(1); }
.header-right { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: flex; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text-muted); }
.lang-switch span, .lang-switch a { cursor: pointer; transition: color 0.2s; text-decoration: none; color: inherit; }
.lang-switch span:hover, .lang-switch a:hover { color: var(--primary); }
.lang-switch span.active, .lang-switch a.active { color: var(--primary); }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  border-radius: 10px;
  cursor: pointer;
  border: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  position: relative;
  overflow: hidden;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--primary);
  color: #fff;
  padding: 10px 24px;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(130,24,26,0.3);
}
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 6px 20px rgba(130,24,26,0.4); }
.btn-hero { padding: 13px 28px; font-size: 15px; }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
  padding: 8px 24px;
  font-size: 14px;
}
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: #fff; }
.btn-outline-dark {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  padding: 8px 20px;
  font-size: 14px;
}
.btn-outline-dark:hover { border-color: var(--primary); color: var(--primary); }
.btn-primary-lg {
  background: #fff;
  color: var(--primary);
  padding: 13px 32px;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.btn-primary-lg:hover { background: #f9fafb; box-shadow: 0 6px 20px rgba(0,0,0,0.2); }
.btn-outline-lg {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  padding: 11px 32px;
  font-size: 16px;
}
.btn-outline-lg:hover { background: rgba(255,255,255,0.15); }
.btn-github {
  background: #24292e;
  color: #fff;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
}
.btn-github:hover { background: #1b1f23; box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.btn-github svg { flex-shrink: 0; }
.btn-github--lg {
  padding: 12px 28px;
  font-size: 15px;
  border-radius: 10px;
}

/* ========== SECTION COMMON ========== */
section { padding: 80px 0; }
.section-title {
  font-size: 36px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-title--red { color: var(--primary); }
.section-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 28px;
  max-width: 672px;
  margin: 0 auto;
}
.section-subtitle--sm { font-size: 16px; line-height: 24px; }

/* ========== HERO ========== */
.hero {
  position: relative;
  padding: 0;
  overflow: visible;
  margin-top: 73px;
}
.hero-bg-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.6) 50%, rgba(130,24,26,0.65) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 896px;
  padding: 160px 0 0 100px;
}
.hero-content--split {
  max-width: 1280px;
  margin: 0 auto;
  padding: 100px 24px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.hero-text {
  flex: 1;
  max-width: 560px;
  padding-left: 24px;
}
.hero-open-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
}
.hero-open-badge svg { fill: #fff; }
.hero h1 {
  font-size: 44px;
  font-weight: 700;
  color: #fff;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  text-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
.hero p {
  font-size: 16px;
  color: rgba(255,255,255,0.9);
  line-height: 26px;
  margin-bottom: 28px;
  text-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
.hero-buttons { display: flex; gap: 14px; margin-bottom: 24px; flex-wrap: wrap; }

/* Hero badges */
.hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  animation: heroTextIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.9s both;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  padding: 5px 13px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
}
.hero-badge svg { width: 14px; height: 14px; }

/* Hero phone mockup — realistic iPhone-style proportions */
.hero-phone {
  flex-shrink: 0;
  position: relative;
  padding: 40px 60px;
}
.hero-phone-frame {
  width: 280px;
  min-height: 560px;
  background: #1a1a1a;
  border-radius: 52px;
  padding: 6px;
  box-shadow:
    0 40px 60px rgba(0,0,0,0.4),
    0 0 0 1.5px rgba(255,255,255,0.1),
    inset 0 0 0 1px rgba(255,255,255,0.04);
  animation: float 5s ease-in-out infinite;
  position: relative;
}
/* .hero-phone-notch — moved to ::before on screen element */
.hero-phone-notch {
  display: none;
}
.hero-phone-screen {
  background: #fff;
  border-radius: 46px;
  overflow: hidden;
  min-height: 548px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.hero-phone-screen::before {
  content: '';
  width: 110px;
  height: 28px;
  background: #1a1a1a;
  border-radius: 50px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}
.phone-app-header {
  background: var(--primary);
  padding: 38px 18px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.phone-app-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.phone-app-logo svg { width: 18px; height: 18px; color: #fff; }
.phone-app-lang {
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 50px;
}
.phone-app-image {
  position: relative;
  height: 260px;
  overflow: hidden;
}
.phone-app-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.phone-app-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}
.phone-app-image-title {
  position: absolute;
  bottom: 12px;
  left: 16px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.phone-app-image-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
  border-radius: 20px;
  padding: 4px 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-heading);
}

/* Phone audio player */
.phone-app-audio {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border-light);
}
.phone-audio-btn {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.15s;
}
.phone-audio-btn:hover { background: var(--primary-dark); }
.phone-audio-btn:active { transform: scale(0.92); }
.phone-audio-btn svg { width: 14px; height: 14px; }
.phone-audio-info { flex: 1; min-width: 0; }
.phone-audio-title {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.phone-audio-track {
  height: 4px;
  background: #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
}
.phone-audio-progress {
  height: 100%;
  width: 0%;
  background: var(--primary);
  border-radius: 4px;
  transition: width 0.3s linear;
}
.phone-audio-time {
  font-size: 11px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  min-width: 30px;
  text-align: right;
}

/* Phone tabs */
.phone-app-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-light);
}
.phone-tab {
  flex: 1;
  text-align: center;
  padding: 8px 0;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  border-bottom: 2px solid transparent;
}
.phone-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.phone-tab:hover { color: var(--primary); }

/* Phone content */
.phone-app-content {
  padding: 14px 16px;
  flex: 1;
}
.phone-app-desc {
  font-size: 12px;
  color: var(--text-body);
  line-height: 18px;
  margin-bottom: 12px;
}
.phone-app-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.phone-app-tag {
  background: rgba(130,24,26,0.08);
  color: var(--primary);
  font-size: 10px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
}

/* Hero floating elements */
.hero-float {
  position: absolute;
  z-index: 5;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 14px;
  padding: 10px 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.hero-float svg { width: 18px; height: 18px; color: var(--primary); }
.hero-float--qr {
  top: 10px;
  left: -20px;
  animation: floatSlow 4s ease-in-out infinite;
  animation-delay: 0.5s;
}
.hero-float--lang {
  top: 0;
  right: -10px;
  animation: floatSlow 4.5s ease-in-out infinite;
  animation-delay: 1s;
  gap: 4px;
}
.hero-float-flag {
  background: var(--primary);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}
.hero-float--notif {
  bottom: 120px;
  right: -20px;
  animation: notifSlide 6s ease-in-out infinite;
  animation-delay: 3s;
  font-size: 11px;
  color: var(--text-body);
}
.hero-notif-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulseDot 2s ease-in-out infinite;
}
.hero-float--scan {
  bottom: 30px;
  left: -10px;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 12px 18px;
  animation: floatReverse 5s ease-in-out infinite;
}
.hero-scan-count {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  transition: transform 0.2s ease;
}
.hero-scan-label {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
}

/* ========== PROOF STRIP ========== */
.proof-strip {
  padding: 0;
  background: #fff;
  border-bottom: 1px solid var(--border-light);
  position: relative;
  z-index: 3;
}
.proof-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  padding: 36px 0;
}
.proof-item {
  text-align: center;
  padding: 0 48px;
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}
.proof-number {
  font-size: 40px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.02em;
}
.proof-symbol {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
}
.proof-label {
  width: 100%;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 4px;
}
.proof-divider {
  width: 1px;
  height: 48px;
  background: var(--border-light);
  flex-shrink: 0;
}

/* ========== QUÈ ÉS ========== */
.que-es {
  background: rgba(255,255,255,0.6);
  padding: 80px 0;
}
.que-es-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.que-es-content .section-title { text-align: left; }
.que-es-lead {
  font-size: 18px;
  line-height: 28px;
  color: var(--text-body);
  margin-bottom: 12px;
}
.que-es-lead strong { color: var(--text-heading); }
.que-es-content > p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 24px;
  margin-bottom: 28px;
}
.que-es-features { display: flex; flex-direction: column; gap: 18px; }
.que-es-feat {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.que-es-feat-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  background: linear-gradient(to bottom, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
}
.que-es-feat-icon svg { width: 20px; height: 20px; color: #fff; }
.que-es-feat strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 2px;
}
.que-es-feat span {
  font-size: 13px;
  color: var(--text-muted);
}

/* Què és UI composition visual */
.que-es-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  min-height: 400px;
}
.que-es-ui-compose {
  position: relative;
  width: 340px;
  height: 500px;
}
.que-ui-main {
  width: 220px;
  min-height: 420px;
  background: #1a1a1a;
  border-radius: 40px;
  padding: 5px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2), 0 0 0 1.5px rgba(255,255,255,0.08);
  position: absolute;
  top: 20px;
  left: 40px;
  z-index: 3;
  animation: float 5s ease-in-out infinite;
}
/* .que-ui-main::before — moved to inner element */
.que-ui-main::before {
  display: none;
}
.que-ui-main-inner {
  background: #fff;
  border-radius: 36px;
  overflow: hidden;
  min-height: 410px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.que-ui-main-inner::before {
  content: '';
  width: 80px;
  height: 22px;
  background: #1a1a1a;
  border-radius: 50px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}
.que-ui-main-header {
  background: var(--primary);
  padding: 30px 12px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
.que-ui-main-img { height: 160px; overflow: hidden; }
.que-ui-main-img img { width: 100%; height: 100%; object-fit: cover; }
.que-ui-main-body { padding: 12px; flex: 1; }
.que-ui-main-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}
.que-ui-main-player {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-light);
  padding: 6px 8px;
  border-radius: 8px;
  margin-bottom: 8px;
}
.que-ui-play {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  min-width: 24px;
}
.que-ui-bar { flex: 1; height: 3px; background: #ddd; border-radius: 3px; overflow: hidden; }
.que-ui-prog { height: 100%; width: 35%; background: var(--primary); border-radius: 3px; animation: audioFill 5s linear infinite; }
.que-ui-main-tags { display: flex; gap: 4px; }
.que-ui-main-tags span {
  background: rgba(130,24,26,0.08);
  color: var(--primary);
  font-size: 9px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 50px;
}

/* Floating pills around the app mockup */
.que-ui-pill {
  position: absolute;
  z-index: 4;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 10px;
  padding: 8px 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.que-ui-pill--qr {
  top: 0;
  right: 0;
  animation: floatSlow 4s ease-in-out infinite;
}
.que-ui-pill--web {
  bottom: 90px;
  right: -10px;
  animation: floatSlow 4.5s ease-in-out infinite 0.5s;
}
.que-ui-pill--lang {
  bottom: 20px;
  left: 10px;
  gap: 3px;
  animation: floatSlow 5s ease-in-out infinite 1s;
}
.que-ui-pill--stats {
  top: 60px;
  right: -20px;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 10px 16px;
  animation: floatReverse 4.5s ease-in-out infinite;
}
.que-ui-flag {
  background: var(--primary);
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
}
.que-ui-stats-num {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
}
.que-ui-stats-label {
  font-size: 9px;
  color: var(--text-muted);
}

/* ========== DOBLE US ========== */
.doble-us {
  background: linear-gradient(148deg, #f9fafb 0%, #fff 50%, rgba(130,24,26,0.03) 100%);
  position: relative;
  overflow: hidden;
}
.blob {
  position: absolute;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.05;
  filter: blur(64px);
  pointer-events: none;
  animation: pulse 5s ease-in-out infinite;
}
.doble-us .blob-1 { width: 288px; height: 288px; top: 80px; left: 40px; }
.doble-us .blob-2 { width: 288px; height: 288px; top: 534px; right: 40px; }

/* Toggle buttons */
.doble-toggle {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 40px;
  background: var(--bg-light);
  border-radius: 14px;
  padding: 4px;
  display: inline-flex;
}
.doble-toggle-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: none;
  background: transparent;
  border-radius: 11px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
}
.doble-toggle-btn svg { width: 18px; height: 18px; }
.doble-toggle-btn.active {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.doble-toggle-btn:hover:not(.active) { color: var(--text-heading); }

/* Showcase */
.doble-showcase {
  margin-top: 48px;
  position: relative;
  min-height: 480px;
}
.doble-scene {
  display: none;
  animation: fadeIn 0.4s ease;
}
.doble-scene.active { display: block; }
.doble-device-area {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 30px 60px;
  margin-bottom: 32px;
}

/* Phone mockup */
.doble-phone-mockup {
  width: 260px;
  min-height: 520px;
  background: #1a1a1a;
  border-radius: 48px;
  padding: 6px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.25), 0 0 0 1.5px rgba(255,255,255,0.08);
  animation: float 5s ease-in-out infinite;
  position: relative;
}
/* .doble-phone-notch — moved to ::before on screen element */
.doble-phone-notch {
  display: none;
}
.doble-phone-screen {
  background: #fff;
  border-radius: 42px;
  overflow: hidden;
  min-height: 508px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.doble-phone-screen::before {
  content: '';
  width: 100px;
  height: 26px;
  background: #1a1a1a;
  border-radius: 50px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}
.doble-ph-header {
  background: var(--primary);
  padding: 36px 14px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.doble-ph-lang {
  margin-left: auto;
  background: rgba(255,255,255,0.2);
  padding: 2px 10px;
  border-radius: 50px;
  font-size: 10px;
  font-weight: 700;
}
.doble-ph-image {
  height: 200px;
  overflow: hidden;
}
.doble-ph-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.doble-ph-body { padding: 14px; flex: 1; }
.doble-ph-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 2px;
}
.doble-ph-subtitle {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.doble-ph-player {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-light);
  padding: 8px 10px;
  border-radius: 10px;
  margin-bottom: 10px;
}
.doble-ph-play {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  min-width: 28px;
}
.doble-ph-bar { flex: 1; height: 3px; background: #ddd; border-radius: 3px; overflow: hidden; }
.doble-ph-prog { height: 100%; width: 40%; background: var(--primary); border-radius: 3px; animation: audioFill 6s linear infinite; }
.doble-ph-player span { font-size: 10px; color: var(--text-muted); }
.doble-ph-chips { display: flex; gap: 4px; }
.doble-ph-chips span {
  background: rgba(130,24,26,0.08);
  color: var(--primary);
  font-size: 9px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 50px;
}

/* Browser mockup */
.doble-browser-mockup {
  width: 600px;
  max-width: 100%;
  background: #fff;
  border: 2px solid var(--border-light);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
  animation: float 6s ease-in-out infinite;
}
.doble-br-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border-light);
}
.doble-br-dots { display: flex; gap: 5px; }
.doble-br-dots span { width: 9px; height: 9px; border-radius: 50%; }
.doble-br-dots span:nth-child(1) { background: #ff5f57; }
.doble-br-dots span:nth-child(2) { background: #ffbd2e; }
.doble-br-dots span:nth-child(3) { background: #28c840; }
.doble-br-url {
  flex: 1;
  background: #fff;
  border-radius: 5px;
  padding: 4px 10px;
  font-size: 11px;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  border: 1px solid var(--border-light);
}
.doble-br-body { padding: 18px; }
.doble-br-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}
.doble-br-logo {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}
.doble-br-links { display: flex; gap: 16px; font-size: 12px; color: var(--text-muted); }
.doble-br-hero-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 16px;
}
.doble-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.doble-catalog-item {
  background: var(--bg-light);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s;
}
.doble-catalog-item:hover { transform: translateY(-3px); }
.doble-cat-img { height: 90px; overflow: hidden; }
.doble-cat-img img { width: 100%; height: 100%; object-fit: cover; }
.doble-cat-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-heading);
  padding: 8px 8px 2px;
}
.doble-cat-meta {
  font-size: 10px;
  color: var(--text-muted);
  padding: 0 8px 8px;
}

/* Doble floating elements */
.doble-float {
  position: absolute;
  z-index: 5;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 8px 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.doble-float svg { color: var(--primary); }
.doble-float--qr { top: 20px; left: 0; animation: floatSlow 4s ease-in-out infinite; }
.doble-float--audio { bottom: 100px; right: 0; animation: floatSlow 4.5s ease-in-out infinite 0.5s; }
.doble-float--langs { top: 10px; right: 10px; gap: 3px; animation: floatSlow 5s ease-in-out infinite 1s; }
.doble-float--globe { top: 20px; left: 20px; animation: floatSlow 4s ease-in-out infinite; }
.doble-float--fitxa { bottom: 60px; right: 20px; animation: floatSlow 4.5s ease-in-out infinite 0.5s; }
.doble-flag {
  background: var(--primary);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}

/* Doble features list */
.doble-features {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.doble-feat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-body);
  font-weight: 500;
}
.doble-feat-item svg { flex-shrink: 0; }

/* ========== COM FUNCIONA ========== */
.com-funciona {
  background: rgba(255,255,255,0.6);
  position: relative;
  overflow: hidden;
}
.com-funciona .blob-1 { width: 256px; height: 256px; right: 40px; top: 40px; }
.com-funciona .blob-2 { width: 256px; height: 256px; left: 40px; bottom: 40px; }

/* ========== QUE POTS PUBLICAR ========== */
.que-pots {
  background: linear-gradient(to bottom, rgba(130,24,26,0.02), rgba(130,24,26,0.05), rgba(130,24,26,0.03));
  padding-top: 64px;
}

/* ========== OPEN SOURCE / TERMINAL ========== */
.open-source {
  background: linear-gradient(148deg, #0d1117 0%, #161b22 50%, #1c1f26 100%);
  padding: 100px 0;
  overflow: hidden;
}
.os-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.os-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
}
.os-badge svg { fill: #fff; }
.open-source .section-title { color: #fff; text-align: left; }
.os-lead {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  line-height: 27px;
  margin-bottom: 28px;
}
.os-lead strong { color: #fff; }
.os-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}
.os-feat {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: rgba(255,255,255,0.8);
}
.os-feat svg {
  width: 20px;
  height: 20px;
  min-width: 20px;
  color: #22c55e;
}

/* Terminal */
.terminal {
  background: #0d1117;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.terminal-header {
  background: rgba(255,255,255,0.05);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.terminal-dots {
  display: flex;
  gap: 6px;
}
.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.terminal-dot--red { background: #ff5f57; }
.terminal-dot--yellow { background: #ffbd2e; }
.terminal-dot--green { background: #28c840; }
.terminal-title {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  font-family: 'JetBrains Mono', monospace;
}
.terminal-body {
  padding: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  line-height: 1.8;
  min-height: 220px;
}
.terminal-line {
  display: flex;
  gap: 8px;
  align-items: baseline;
}
.terminal-prompt {
  color: #22c55e;
  font-weight: 500;
}
.terminal-cmd {
  color: rgba(255,255,255,0.9);
}
.terminal-output {
  color: rgba(255,255,255,0.5);
  padding-left: 18px;
}
.terminal-success {
  color: #22c55e;
}
.terminal-check {
  margin-right: 6px;
}
.terminal-url {
  color: #58a6ff;
  text-decoration: underline;
}
.terminal-tags {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.terminal-tag {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
}

/* ========== ACCESSIBILITAT ========== */
.accessibilitat { padding: 80px 0; }
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.access-phone {
  display: flex;
  justify-content: center;
}
.phone-mockup {
  width: 260px;
  min-height: 520px;
  background: #1a1a1a;
  border-radius: 48px;
  padding: 6px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.2), 0 0 0 1.5px rgba(255,255,255,0.08);
  overflow: visible;
  animation: float 4s ease-in-out infinite;
  position: relative;
}
/* .phone-mockup::before — moved to inner element */
.phone-mockup-inner {
  background: #fff;
  border-radius: 42px;
  overflow: hidden;
  min-height: 508px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.phone-mockup-inner::before {
  content: '';
  width: 100px;
  height: 26px;
  background: #1a1a1a;
  border-radius: 50px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}
.access-phone-header {
  background: var(--primary);
  padding: 36px 14px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
.access-phone-img {
  position: relative;
  height: 190px;
  overflow: hidden;
}
.access-phone-img img { width: 100%; height: 100%; object-fit: cover; }
.access-phone-img-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}
.access-phone-img-title {
  position: absolute;
  bottom: 8px; left: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.access-phone-tools {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px 6px;
}
.access-tool {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--bg-light);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}
.access-tool svg { color: var(--text-muted); min-width: 16px; }
.access-tool.active {
  background: rgba(130,24,26,0.08);
  color: var(--primary);
}
.access-tool.active svg { color: var(--primary); }
.access-tool:hover { transform: translateX(3px); }
.access-phone-player {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  margin: 0 12px;
  background: var(--primary);
  border-radius: 10px;
}
.access-player-icon {
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.access-player-info { flex: 1; min-width: 0; }
.access-player-title {
  font-size: 9px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
}
.access-player-bar { height: 3px; background: rgba(255,255,255,0.3); border-radius: 3px; overflow: hidden; }
.access-player-prog { height: 100%; width: 30%; background: #fff; border-radius: 3px; animation: audioFill 8s linear infinite; }
.access-player-time { font-size: 9px; color: rgba(255,255,255,0.7); }
.access-phone-text {
  padding: 8px 12px 14px;
  font-size: 10px;
  color: var(--text-muted);
  line-height: 16px;
}
.access-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(130,24,26,0.06);
  border: 1px solid rgba(130,24,26,0.15);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
}
.access-badge svg { color: var(--primary); }
.access-content .section-title { text-align: left; }
.access-content > p {
  font-size: 16px;
  line-height: 26px;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.access-features { display: flex; flex-direction: column; gap: 20px; margin-bottom: 24px; }
.access-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.access-feature-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: linear-gradient(to bottom, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
}
.access-feature-icon svg { width: 20px; height: 20px; color: #fff; }
.access-feature h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 4px;
}
.access-feature p { font-size: 14px; color: var(--text-muted); line-height: 22px; }
.access-note {
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
  line-height: 22px;
  border-left: 3px solid rgba(130,24,26,0.2);
  padding-left: 16px;
}

/* ========== PANELL ========== */
.panell {
  background: linear-gradient(148deg, #f9fafb 0%, #fff 50%, rgba(130,24,26,0.03) 100%);
}
.panel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.panel-card {
  background: #fff;
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.06);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s ease;
}
.panel-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 20px rgba(0,0,0,0.1);
}
.panel-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(to bottom, var(--primary), var(--primary-dark));
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}
.panel-card:hover .panel-card-icon { transform: scale(1.1); }
.panel-card-icon svg { width: 24px; height: 24px; color: #fff; }
.panel-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 8px;
}
.panel-card p { font-size: 14px; color: var(--text-muted); line-height: 22px; }

/* ========== ESTADISTIQUES ========== */
.estadistiques { padding: 80px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.stats-content .section-title { text-align: left; }
.stats-content > p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 26px;
  margin-bottom: 24px;
}
.stats-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.stats-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-muted);
}
.stats-list-item svg { width: 20px; height: 20px; color: var(--primary); min-width: 20px; }
.stats-note {
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
  border-left: 3px solid rgba(130,24,26,0.2);
  padding-left: 16px;
  line-height: 22px;
}
.stats-dashboard {
  background: #fff;
  border-radius: 16px;
  border: 2px solid var(--border-light);
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  padding: 24px;
}
.dashboard-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 20px;
}
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.dash-stat {
  background: var(--bg-light);
  border-radius: 10px;
  padding: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  cursor: default;
}
.dash-stat:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  background: #fff;
}
.dash-stat-label { font-size: 11px; color: var(--text-muted); margin-bottom: 4px; }
.dash-stat-value { font-size: 20px; font-weight: 700; color: var(--text-dark); transition: color 0.3s ease; }
.dash-stat:hover .dash-stat-value { color: var(--primary); }
.dash-stat-sub { font-size: 10px; color: var(--text-light); }
.dashboard-charts {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
}
.dash-chart {
  background: var(--bg-light);
  border-radius: 10px;
  padding: 16px;
}
.dash-chart-title { font-size: 12px; font-weight: 600; color: var(--text-heading); margin-bottom: 12px; }
.chart-placeholder {
  height: 80px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
}
.chart-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  transition: height 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.2s ease, transform 0.2s ease;
  cursor: default;
}
.chart-bar:hover {
  filter: brightness(0.85);
  transform: scaleY(1.08);
  transform-origin: bottom;
}
.pie-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto;
  background: conic-gradient(var(--primary) 0deg 200deg, var(--primary-light) 200deg 280deg, var(--primary-lighter) 280deg 330deg, var(--border-light) 330deg 360deg);
  transition: transform 0.5s ease;
}
.pie-placeholder:hover {
  transform: scale(1.1) rotate(10deg);
}

/* ========== PRICING ========== */
.pricing {
  padding: 100px 0;
  background: linear-gradient(to bottom, var(--bg-light), #fff);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  align-items: start;
}
.pricing-card {
  background: #fff;
  border: 2px solid var(--border-light);
  border-radius: 20px;
  padding: 32px 28px;
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.pricing-card:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.pricing-card--featured {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(130,24,26,0.15);
}
.pricing-card--featured:hover {
  box-shadow: 0 20px 40px rgba(130,24,26,0.2);
}
.pricing-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 20px;
  border-radius: 50px;
  white-space: nowrap;
}
.pricing-header {
  text-align: center;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}
.pricing-header h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 8px;
}
.pricing-price {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.pricing-header p {
  font-size: 14px;
  color: var(--text-muted);
}
.pricing-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.pricing-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-body);
}
.pricing-item svg {
  width: 18px;
  height: 18px;
  min-width: 18px;
  color: #22c55e;
}

/* ========== CASOS REALS ========== */
.casos-reals {
  background: var(--primary);
  padding: 80px 0;
}
.casos-reals .section-title { color: #fff; }
.casos-reals .section-desc {
  font-size: 18px;
  line-height: 28px;
  color: rgba(255,255,255,0.85);
  max-width: 700px;
  margin: 0 auto 40px;
}
.casos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.caso-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  transition: background 0.3s ease, transform 0.3s ease;
}
.caso-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}
.caso-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.caso-icon svg { width: 24px; height: 24px; color: #fff; }
.caso-card h4 {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}
.caso-card p {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  line-height: 20px;
}

/* ========== FAQ ========== */
.faq { padding: 64px 0; }
.faq-list {
  max-width: 768px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.faq-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  border-color: rgba(130,24,26,0.2);
}
.faq-item summary {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-heading);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
}
.faq-item summary:hover { color: var(--primary); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 20px;
  color: var(--primary);
  font-weight: 600;
  transition: transform 0.3s ease;
  min-width: 20px;
  text-align: center;
}
.faq-item[open] summary::after {
  content: '\2212';
  transform: rotate(180deg);
}
.faq-answer {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 24px;
  overflow: hidden;
}
.faq-item:not([open]) .faq-answer {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
}
.faq-item[open] {
  border-color: rgba(130,24,26,0.2);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

/* ========== CTA ========== */
.cta {
  background: linear-gradient(to bottom, var(--primary-dark), var(--primary), var(--primary-medium));
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.05) 0%, transparent 60%);
  animation: ctaGlow 6s ease-in-out infinite;
}
@keyframes ctaGlow {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(10%, -10%); }
  66% { transform: translate(-10%, 10%); }
}
.cta h2 {
  font-size: 36px;
  font-weight: 600;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 800px;
  margin: 0 auto 24px;
}
.cta p {
  font-size: 20px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 32px;
}
.cta-buttons { display: flex; justify-content: center; gap: 16px; }

/* ========== FOOTER ========== */
.footer {
  background: #fff;
  border-top: 1px solid var(--border-light);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-desc { font-size: 14px; color: var(--text-muted); line-height: 22px; }
.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 12px;
}
.footer-col p { font-size: 14px; color: var(--text-muted); line-height: 24px; }
.footer-github {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-github:hover { color: var(--primary); }
.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
  transition: opacity 0.2s;
}
.footer-contact-link:hover { opacity: 0.8; }
.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
  font-size: 13px;
  color: var(--text-light);
  text-align: center;
}

/* ========== HAMBURGER ========== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 101;
  background: none;
  border: none;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
  display: block;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.mobile-menu {
  position: fixed;
  top: 73px;
  left: 0;
  right: 0;
  background: white;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  transform: translateY(-120%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.35s ease;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu a {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-heading);
  padding: 8px 0;
}

/* ========== SCROLL PROGRESS BAR ========== */
.scroll-progress {
  position: fixed;
  top: 73px;
  left: 0;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--primary-light), var(--primary-lighter));
  z-index: 101;
  width: 0%;
  transition: width 0.1s linear;
}

/* ========== SCROLL TO TOP ========== */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(130,24,26,0.4);
  z-index: 90;
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
  pointer-events: none;
}
.scroll-top.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.scroll-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px) scale(1.05);
}
.scroll-top svg { width: 22px; height: 22px; }

/* ========== PARALLAX ========== */
.hero-bg {
  transition: transform 0.1s linear;
  will-change: transform;
}

/* ========== MAGNETIC BUTTONS ========== */
.magnetic {
  transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ========== HIGHLIGHT LIST ITEMS ========== */
.access-feature, .stats-list-item, .os-feat, .pricing-item, .doble-feat-item {
  transition: transform 0.2s ease, padding-left 0.2s ease;
}
.access-feature:hover,
.stats-list-item:hover,
.os-feat:hover,
.pricing-item:hover,
.doble-feat-item:hover {
  transform: translateX(4px);
}

/* ========== RIPPLE EFFECT ========== */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transform: scale(0);
  animation: ripple-anim 0.6s linear;
  pointer-events: none;
}
@keyframes ripple-anim {
  to { transform: scale(4); opacity: 0; }
}

/* ========== TOOLTIP ========== */
.has-tooltip {
  position: relative;
}
.tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  background: var(--text-dark);
  color: #fff;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 10;
}
.tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--text-dark);
}
.has-tooltip:hover .tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ========== TAG PILLS GLOW ========== */
.caso-card {
  position: relative;
  overflow: hidden;
}
.caso-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  transition: left 0.5s ease;
}
.caso-card:hover::after {
  left: 100%;
}

/* ========== STEPPER (COM FUNCIONA) ========== */
.stepper-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
  align-items: center;
}
.stepper-steps { display: flex; flex-direction: column; gap: 0; }
.stepper-step {
  display: flex;
  gap: 20px;
  padding: 24px;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  border-left: 3px solid transparent;
}
.stepper-step:hover { background: rgba(130,24,26,0.03); }
.stepper-step.active {
  background: rgba(130,24,26,0.05);
  border-left-color: var(--primary);
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}
.stepper-num {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: var(--border-light);
  color: var(--text-muted);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, color 0.3s;
}
.stepper-step.active .stepper-num {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(130,24,26,0.3);
}
.stepper-info h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 6px;
}
.stepper-info p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 22px;
}
.stepper-preview { display: flex; justify-content: center; }
.stepper-phone { position: relative; }
.stepper-phone-frame {
  width: 260px;
  min-height: 520px;
  background: #1a1a1a;
  border-radius: 48px;
  padding: 6px;
  box-shadow: 0 30px 50px rgba(0,0,0,0.25), 0 0 0 1.5px rgba(255,255,255,0.08);
  position: relative;
}
/* .stepper-phone-frame::before — moved to screen element */
.stepper-screen {
  background: #fff;
  border-radius: 42px;
  overflow: hidden;
  min-height: 508px;
  position: relative;
}
.stepper-screen::before {
  content: '';
  width: 100px;
  height: 26px;
  background: #1a1a1a;
  border-radius: 50px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}
.stepper-view {
  display: none;
  padding: 36px 20px 20px;
  animation: fadeIn 0.3s ease;
}
.stepper-view.active { display: block; }

/* Step 1: QR grid */
.stepper-qr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.stepper-qr-item {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
  transition: transform 0.2s;
}
.stepper-qr-item:hover { transform: scale(1.03); }
.stepper-qr-code {
  width: 60px;
  height: 60px;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stepper-qr-code svg { width: 48px; height: 48px; }
.stepper-qr-item span { font-size: 11px; font-weight: 600; color: var(--text-heading); }
.stepper-qr-btn {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 10px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.stepper-qr-btn:hover { background: var(--primary-dark); }

/* Step 2: Scan */
.stepper-scan-demo { text-align: center; padding: 20px 0; }
.stepper-scan-viewfinder {
  width: 180px;
  height: 180px;
  margin: 0 auto 20px;
  position: relative;
  border: 2px solid rgba(130,24,26,0.2);
  border-radius: 16px;
}
.stepper-scan-corners {
  position: absolute;
  inset: -2px;
  border: 3px solid var(--primary);
  border-radius: 16px;
  clip-path: polygon(0 0, 30% 0, 30% 3px, 3px 3px, 3px 30%, 0 30%, 0 70%, 3px 70%, 3px 97%, 30% 97%, 30% 100%, 0 100%, 0 0, 100% 0, 100% 30%, 97% 30%, 97% 3px, 70% 3px, 70% 0, 100% 0, 100% 100%, 70% 100%, 70% 97%, 97% 97%, 97% 70%, 100% 70%);
}
.stepper-scan-line {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--primary);
  top: 20%;
  animation: scanLine 2s ease-in-out infinite;
}
@keyframes scanLine {
  0%, 100% { top: 15%; opacity: 0.5; }
  50% { top: 80%; opacity: 1; }
}
.stepper-scan-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 16px;
}
.stepper-lang-picker { display: flex; justify-content: center; gap: 8px; }
.stepper-lang {
  padding: 6px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  background: var(--bg-light);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}
.stepper-lang.active {
  background: var(--primary);
  color: #fff;
}

/* Step 3: Content */
.stepper-content-demo { padding: 0; }
.stepper-content-img {
  height: 140px;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.stepper-content-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 10px;
}
.stepper-content-audio {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  background: var(--bg-light);
  padding: 10px;
  border-radius: 10px;
}
.stepper-content-play {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
.stepper-content-bar { flex: 1; height: 4px; background: #ddd; border-radius: 4px; overflow: hidden; }
.stepper-content-fill {
  height: 100%;
  width: 35%;
  background: var(--primary);
  border-radius: 4px;
  animation: audioFill 3s ease-in-out infinite;
}
@keyframes audioFill {
  0% { width: 0%; }
  100% { width: 100%; }
}
.stepper-content-audio span { font-size: 11px; color: var(--text-muted); }
.stepper-content-text {
  font-size: 12px;
  color: var(--text-body);
  line-height: 18px;
  margin-bottom: 12px;
}
.stepper-content-chips { display: flex; gap: 6px; }
.stepper-content-chips span {
  background: rgba(130,24,26,0.08);
  color: var(--primary);
  font-size: 10px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
}

/* ========== DEMO (QUÈ POTS PUBLICAR) ========== */
.demo-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  margin-top: 48px;
  align-items: start;
}
.demo-tabs {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.demo-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid transparent;
}
.demo-tab svg { width: 20px; height: 20px; min-width: 20px; }
.demo-tab:hover { background: rgba(130,24,26,0.04); color: var(--text-heading); }
.demo-tab.active {
  background: rgba(130,24,26,0.06);
  color: var(--primary);
  border-color: rgba(130,24,26,0.15);
  font-weight: 600;
}
.demo-tab.active svg { color: var(--primary); }
.demo-preview { min-width: 0; }
.demo-browser {
  background: #fff;
  border: 2px solid var(--border-light);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
.demo-browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border-light);
}
.demo-browser-dots { display: flex; gap: 6px; }
.demo-browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-light);
}
.demo-browser-dots span:first-child { background: #ff5f57; }
.demo-browser-dots span:nth-child(2) { background: #ffbd2e; }
.demo-browser-dots span:nth-child(3) { background: #28c840; }
.demo-browser-url {
  flex: 1;
  background: #fff;
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 12px;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  border: 1px solid var(--border-light);
}
.demo-browser-body { padding: 24px; min-height: 300px; }
.demo-view { display: none; animation: fadeIn 0.3s ease; }
.demo-view.active { display: block; }

/* Audio demo */
.demo-audio-player { display: flex; gap: 20px; align-items: flex-start; }
.demo-audio-cover {
  width: 120px;
  height: 120px;
  min-width: 120px;
  border-radius: 12px;
}
.demo-audio-info { flex: 1; }
.demo-audio-name { font-size: 16px; font-weight: 600; color: var(--text-heading); margin-bottom: 4px; }
.demo-audio-artist { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; }
.demo-audio-controls { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.demo-audio-play {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.demo-audio-play:hover { background: var(--primary-dark); }
.demo-audio-play:active { transform: scale(0.92); }
.demo-audio-bar { flex: 1; height: 6px; background: #eee; border-radius: 6px; overflow: hidden; }
.demo-audio-prog {
  height: 100%;
  width: 0%;
  background: var(--primary);
  border-radius: 6px;
  animation: audioFill 8s linear infinite;
}
.demo-audio-controls span { font-size: 12px; color: var(--text-muted); min-width: 28px; }
.demo-audio-wave { height: 28px; display: flex; align-items: flex-end; gap: 0; }
@keyframes waveBar {
  from { height: 4px; }
  to { height: 24px; }
}

/* Gallery demo */
.demo-gallery-main {
  width: 100%;
  height: 240px;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.demo-gallery-thumbs { display: flex; gap: 8px; margin-bottom: 8px; }
.demo-thumb {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s, transform 0.2s;
}
.demo-thumb.active { border-color: var(--primary); }
.demo-thumb:hover { transform: scale(1.05); }
.demo-gallery-count { font-size: 12px; color: var(--text-muted); }

/* Fitxa demo */
.demo-fitxa-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
}
.demo-fitxa-row strong { color: var(--text-heading); font-weight: 600; min-width: 100px; }
.demo-fitxa-row span { color: var(--text-body); text-align: right; }
.demo-fitxa-desc {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 22px;
  padding: 12px;
  background: var(--bg-light);
  border-radius: 10px;
}

/* Video demo */
.demo-video-player {
  width: 100%;
  height: 200px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
  position: relative;
}
.demo-video-play {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  backdrop-filter: blur(4px);
}
.demo-video-play:hover { background: rgba(255,255,255,0.3); transform: scale(1.08); }
.demo-video-bar {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 4px;
}
.demo-video-prog {
  height: 100%;
  width: 25%;
  background: var(--primary);
  border-radius: 4px;
}
.demo-video-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-heading);
}

/* Access demo */
.demo-access { display: flex; flex-direction: column; gap: 16px; }
.demo-access-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px;
  background: var(--bg-light);
  border-radius: 12px;
  transition: transform 0.2s;
}
.demo-access-item:hover { transform: translateX(4px); }
.demo-access-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.demo-access-icon svg { width: 20px; height: 20px; }
.demo-access-item strong { font-size: 14px; color: var(--text-heading); }
.demo-access-item span { font-size: 12px; color: var(--text-muted); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero h1 { font-size: 38px; line-height: 1.15; }
  .hero-content--split { flex-direction: column; padding-top: 100px; padding-bottom: 40px; }
  .hero-text { padding-left: 0; max-width: 100%; text-align: center; }
  .hero-open-badge { display: inline-flex; }
  .hero-buttons { justify-content: center; }
  .hero-badges { justify-content: center; }
  .hero-phone { margin-right: 0; }
  .hero-phone-frame { width: 260px; min-height: auto; }
  .hero-phone-screen { min-height: auto; }
  .hero-float--qr { left: -30px; }
  .hero-float--lang { right: -20px; }
  .hero-float--notif { right: -30px; }
  .hero-float--scan { left: -20px; }
  .hero { height: auto; min-height: auto; }
  .header-nav { display: none; }
  .panel-grid { grid-template-columns: 1fr 1fr; }
  .stepper-grid { grid-template-columns: 1fr; }
  .stepper-preview { margin-top: 24px; }
  .demo-grid { grid-template-columns: 1fr; }
  .demo-tabs { flex-direction: row; flex-wrap: wrap; }
  .doble-browser-mockup { width: 100%; }
  .doble-device-area { padding: 20px 20px; }
  .doble-float { display: none; }
  .access-grid, .stats-grid, .os-grid { grid-template-columns: 1fr; }
  .que-es-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .casos-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 768px) {
  .hero h1 { font-size: 30px; }
  .hero p { font-size: 15px; line-height: 24px; }
  .hero-content--split { padding-top: 90px; gap: 30px; }
  .hero-buttons { flex-direction: column; gap: 12px; }
  .hero-buttons .btn { width: 100%; }
  .hero-phone-frame { width: 220px; min-height: auto; }
  .hero-phone-screen { min-height: auto; }
  .phone-app-image { height: 160px; }
  .phone-app-content { display: none; }
  .hero-float { display: none; }
  .section-title { font-size: 28px; }
  .section-subtitle { font-size: 16px; }
  .panel-grid { grid-template-columns: 1fr; }
  .stepper-grid { grid-template-columns: 1fr; }
  .demo-grid { grid-template-columns: 1fr; }
  .demo-tabs { flex-direction: row; overflow-x: auto; gap: 4px; }
  .demo-tab { padding: 10px 14px; font-size: 13px; }
  .doble-toggle-btn { padding: 10px 20px; font-size: 14px; }
  .doble-catalog-grid { grid-template-columns: 1fr 1fr; }
  .que-es-ui-compose { width: 260px; height: 360px; }
  .que-ui-main { width: 190px; left: 20px; }
  .que-ui-pill { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-right .btn, .header-right .lang-switch, .header-nav { display: none; }
  .hamburger { display: flex; }
  .cta h2 { font-size: 28px; line-height: 34px; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons .btn { width: 80%; }
  .dashboard-stats { grid-template-columns: 1fr 1fr; }
  .access-phone { margin-bottom: 24px; }
  .proof-grid { flex-wrap: wrap; gap: 24px; }
  .proof-divider { display: none; }
  .proof-item { padding: 0 24px; }
  .open-source { padding: 60px 0; }
  .os-grid { gap: 40px; }
}
