/* ============================================================
   Etruria Digitale — Slideshow
   Main Stylesheet — Colorful Single Page
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Nunito:wght@400;500;600;700;800&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --primary:       #1a1060;
  --primary-light: #2d1b8a;
  --accent:        #6366f1;
  --accent-hover:  #4f46e5;
  --coral:         #f43f5e;
  --coral-light:   #fb7185;
  --orange:        #f97316;
  --orange-light:  #fb923c;
  --yellow:        #facc15;
  --green:         #22c55e;
  --teal:          #14b8a6;
  --sky:           #38bdf8;
  --pink:          #ec4899;
  --purple:        #a855f7;
  --white:         #ffffff;
  --gray-50:       #f8fafc;
  --gray-100:      #f1f5f9;
  --gray-200:      #e2e8f0;
  --gray-400:      #94a3b8;
  --gray-600:      #475569;
  --gray-800:      #1e293b;
  --gray-900:      #0f172a;

  --font-body:     'Nunito', system-ui, sans-serif;
  --font-display:  'Fredoka', system-ui, sans-serif;

  --radius-sm:   8px;
  --radius:      16px;
  --radius-lg:   24px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
  --shadow:    0 8px 30px rgba(0,0,0,.12);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.2);

  --transition: .3s cubic-bezier(.4,0,.2,1);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Typography ────────────────────────────────────────────── */
h1,h2,h3,h4,h5 { font-family: var(--font-display); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(3.3rem, 7.5vw, 4.7rem); }
h2 { font-size: clamp(2.7rem, 5.25vw, 4.2rem); }
h3 { font-size: clamp(1.8rem, 3vw, 2.25rem); }
p  { font-size: 2.125rem; color: var(--gray-600); line-height: 1.75; }

/* ── Layout helpers ────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 48px;
}
.section { padding: 100px 0; }
.section-header { text-align: center; max-width: 900px; margin: 0 auto 64px; padding: 0 32px; }
.section-header p { font-size: 1.125rem; margin-top: 16px; }
.section-tag {
  display: inline-block;
  background: rgba(99,102,241,.12);
  color: var(--accent);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}
.text-center { text-align: center; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: .9375rem;
  transition: var(--transition);
  white-space: nowrap;
  font-family: var(--font-display);
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--purple));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(99,102,241,.4);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(99,102,241,.5); }
.btn-outline {
  border: 2px solid rgba(255,255,255,.5);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.8); }
.btn-coral {
  background: linear-gradient(135deg, var(--coral), var(--orange));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(244,63,94,.35);
}
.btn-coral:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(244,63,94,.45); }
.btn-lg { padding: 18px 40px; font-size: 1.0625rem; }
.btn-sm { padding: 10px 22px; font-size: .875rem; }

/* ── Navbar ────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(26,16,96,.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0,0,0,.3);
}
.navbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
}
.logo-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--coral), var(--orange));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.logo-icon svg { width: 22px; height: 22px; fill: white; }
.logo-img {
  width: 44px; height: 44px; object-fit: contain; flex-shrink: 0;
  background: linear-gradient(135deg, #ffffff, #f97316);
  border-radius: 50%;
  padding: 6px;
}
.logo-subtitle { font-size: .65rem; color: var(--yellow); font-weight: 600; display: block; letter-spacing: .05em; margin-top: 1px; }
.navbar-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.navbar-links a {
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  font-weight: 600;
  transition: var(--transition);
  font-family: var(--font-display);
}
.navbar-links a:hover, .navbar-links a.active { color: var(--white); }
.navbar-cta { margin-left: 16px; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #1a1060 0%, #2d1b8a 30%, #4f46e5 60%, #6366f1 80%, #818cf8 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(244,63,94,.25) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(250,204,21,.2) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(168,85,247,.15) 0%, transparent 50%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(250,204,21,.2);
  border: 1px solid rgba(250,204,21,.4);
  color: var(--yellow);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}
.hero-badge span { width: 8px; height: 8px; background: var(--yellow); border-radius: 50%; animation: pulse 2s infinite; }
.hero h1 { color: var(--white); margin-bottom: 24px; }
.hero h1 em { font-style: normal; background: linear-gradient(135deg, var(--yellow), var(--orange)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-subtitle { font-size: 1.2rem; color: rgba(255,255,255,.8); margin-bottom: 40px; max-width: 600px; font-weight: 500; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero-stat-value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
}
.hero-stat-label { font-size: .85rem; color: rgba(255,255,255,.65); margin-top: 2px; font-weight: 600; }

/* ── Hero 3D Scene ─────────────────────────────────────────── */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero-scene {
  position: relative;
  width: 100%;
  max-width: 520px;
  perspective: 1200px;
}
.screen-3d {
  transform: rotateY(-25deg) rotateX(5deg);
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}
.screen-3d:hover {
  transform: rotateY(-5deg) rotateX(2deg);
}
.screen-3d-frame {
  background: #0a0f1e;
  border-radius: 18px;
  padding: 8px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.1),
    0 40px 80px rgba(0,0,0,.4),
    0 0 120px rgba(99,102,241,.2),
    inset 0 1px 0 rgba(255,255,255,.1);
}
.screen-3d-display {
  border-radius: 12px;
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
  background: #000;
}
.screen-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}
.screen-slide.active { opacity: 1; }
.screen-slide-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255,255,255,.15);
  z-index: 2;
}
.screen-slide-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--coral), var(--orange));
  animation: progress 4s linear;
  width: 100%;
}
.screen-3d-bezel-bottom {
  height: 6px;
  background: #111827;
  border-radius: 0 0 10px 10px;
  margin-top: 4px;
}
.screen-3d-stand {
  width: 40%;
  height: 28px;
  background: #111827;
  margin: 0 auto;
  clip-path: polygon(15% 0, 85% 0, 100% 100%, 0 100%);
}
.screen-3d-base {
  width: 65%;
  height: 8px;
  background: #1e293b;
  margin: 0 auto;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
}

/* ── Section: Features cards ────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.feature-card {
  background: var(--white);
  border: 2px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--coral), var(--orange));
  opacity: 0;
  transition: var(--transition);
}
.feature-card:hover { transform: translateY(-12px) scale(1.05); box-shadow: var(--shadow-lg); border-color: transparent; background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: var(--white); }
.feature-card:hover::before { opacity: 1; }
.feature-card:hover h3 { color: var(--white); }
.feature-card:hover p { color: rgba(255,255,255,.85); }
.feature-card:hover .feature-icon { background: rgba(255,255,255,.2); }
.feature-card:hover .feature-icon svg { stroke: var(--white); }
.feature-icon {
  width: 60px; height: 60px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature-icon.blue { background: rgba(99,102,241,.12); }
.feature-icon.gold { background: rgba(249,115,22,.12); }
.feature-icon.green { background: rgba(34,197,94,.12); }
.feature-icon.purple { background: rgba(168,85,247,.12); }
.feature-icon.red { background: rgba(244,63,94,.12); }
.feature-icon.teal { background: rgba(20,184,166,.12); }
.feature-icon svg { width: 28px; height: 28px; }
.feature-card h3 { margin-bottom: 12px; font-size: 1.15rem; }

/* ── Section: How it works ──────────────────────────────────── */
.steps-bg {
  background: linear-gradient(180deg, #fdf4ff 0%, #fce7f3 50%, #fdf2f8 100%);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 0;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 48px; left: calc(16.6% + 24px);
  right: calc(16.6% + 24px);
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--coral), var(--orange));
  z-index: 0;
  border-radius: 2px;
}
.step-item { text-align: center; padding: 32px 24px; position: relative; z-index: 1; }
.step-number {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 0 0 8px rgba(99,102,241,.15);
}
.step-item h3 { margin-bottom: 12px; }

/* ── Section: Use cases ─────────────────────────────────────── */
.usecase-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.usecase-card {
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  position: relative;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform .4s cubic-bezier(.4,0,.2,1), box-shadow .4s ease;
  cursor: pointer;
}
.usecase-card:hover {
  transform: translateY(-14px) scale(1.04);
  box-shadow: 0 24px 60px rgba(0,0,0,.35), 0 0 40px rgba(99,102,241,.25);
  z-index: 2;
}
.usecase-card:hover .usecase-icon {
  opacity: .8;
  transform: scale(1.3) rotate(-8deg);
}
.usecase-card:hover .usecase-bg {
  filter: brightness(1.15) saturate(1.2);
}
.usecase-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  transition: filter .4s ease;
}
.usecase-card h3, .usecase-card p { position: relative; z-index: 1; }
.usecase-card h3 { color: var(--white); margin-bottom: 8px; }
.usecase-card p { color: rgba(255,255,255,.85); font-size: .9rem; }
.usecase-card { cursor: pointer; }
.usecase-toggle {
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  font-size: 1.2rem;
  color: white;
  font-weight: 700;
  transition: transform .3s ease, background .3s ease;
}
.usecase-card.open .usecase-toggle {
  transform: rotate(45deg);
  background: rgba(255,255,255,.35);
}
.usecase-details {
  position: relative;
  z-index: 1;
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, margin .4s ease, opacity .4s ease;
  opacity: 0;
}
.usecase-card.open .usecase-details {
  max-height: 300px;
  margin-top: 16px;
  opacity: 1;
}
.usecase-details li {
  color: rgba(255,255,255,.9);
  font-size: .85rem;
  padding: 8px 8px 8px 28px;
  position: relative;
  border-radius: 8px;
  transition: transform .3s ease, background .3s ease, color .3s ease;
  cursor: default;
}
.usecase-details li:hover {
  transform: scale(1.05) translateX(4px);
  background: rgba(255,255,255,.2);
  color: #fff;
}
.usecase-details li::before {
  content: '✓';
  position: absolute;
  left: 8px;
  color: rgba(255,255,255,.7);
  font-weight: 700;
  transition: color .3s ease, transform .3s ease;
}
.usecase-details li:hover::before {
  color: #fbbf24;
  transform: scale(1.3);
}
.usecase-details li + li {
  border-top: 1px solid rgba(255,255,255,.1);
}
.usecase-1 .usecase-bg { background: linear-gradient(135deg, #6366f1, #4f46e5); }
.usecase-2 .usecase-bg { background: linear-gradient(135deg, #f43f5e, #e11d48); }
.usecase-3 .usecase-bg { background: linear-gradient(135deg, #22c55e, #16a34a); }
.usecase-4 .usecase-bg { background: linear-gradient(135deg, #f97316, #ea580c); }
.usecase-5 .usecase-bg { background: linear-gradient(135deg, #38bdf8, #0284c7); }
.usecase-6 .usecase-bg { background: linear-gradient(135deg, #a855f7, #7c3aed); }
.usecase-icon {
  position: absolute;
  top: 24px; right: 24px;
  z-index: 1;
  opacity: .3;
  transition: opacity .4s ease, transform .4s ease;
}
.usecase-icon svg { width: 48px; height: 48px; stroke: white; fill: none; }

/* ── Testimonial ────────────────────────────────────────────── */
.testimonial-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.testimonial-card {
  background: var(--white);
  border: 2px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stars { color: var(--orange); font-size: 1.2rem; margin-bottom: 16px; }
.testimonial-text { font-style: italic; margin-bottom: 24px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--coral));
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-weight: 700;
  font-size: .9rem;
}
.author-name { font-weight: 700; font-size: .9rem; }
.author-role { font-size: .8rem; color: var(--gray-400); }

/* ── Process block (come-funziona) ─────────────────────────── */
.process-step { padding: 100px 0; }
.process-step-1 { background: linear-gradient(135deg, #fefcf3 0%, #fdf6e3 50%, #fcefc7 100%); }
.process-step-2 { background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 50%, #fbcfe8 100%); }
.process-step-3 { background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 50%, #a7f3d0 100%); }
.process-block {
  display: grid;
  grid-template-columns: 7fr 3fr;
  align-items: center;
  gap: 64px;
}
.process-block.reverse { direction: rtl; }
.process-block.reverse > * { direction: ltr; }
.process-num {
  font-family: var(--font-display);
  font-size: 7.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--coral));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: -16px;
  opacity: 1;
}
.process-tag { display: inline-block; margin-bottom: 12px; }
.process-visual {
  background: none;
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  border: none;
  position: relative;
  overflow: hidden;
}
.process-visual-dark {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-color: transparent;
}

/* ── Process block hover effects ───────────────────────────── */
.process-block > div:first-child {
  transition: transform .3s ease, box-shadow .3s ease;
  padding: 32px;
  border-radius: var(--radius-lg);
}
.process-block > div:first-child:hover {
  transform: translateY(-4px);
}
.process-block h2 {
  transition: color .4s ease, background .4s ease, -webkit-text-fill-color .4s ease;
}
.process-step-1 .process-block > div:first-child:hover h2 {
  background: linear-gradient(135deg, #6366f1, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.process-step-2 .process-block > div:first-child:hover h2 {
  background: linear-gradient(135deg, #10b981, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.process-step-3 .process-block {
  grid-template-columns: 4fr 6fr;
}
.process-step-3 .process-block > div:first-child:hover h2 {
  background: linear-gradient(135deg, #f59e0b, #f43f5e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.process-block li {
  transition: transform .2s ease, background .2s ease;
  padding: 6px 10px;
  border-radius: 8px;
  margin: -6px -10px;
}
.process-block li:hover {
  transform: translateX(6px);
  background: rgba(99,102,241,.06);
}

/* ── USB insert animation ─────────────────────────────────── */
.usb-insert-animation {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 24px 0;
}
.usb-anim-device {
  animation: usbInsert 3s ease-in-out infinite;
}
@keyframes usbInsert {
  0%, 100% { transform: translateY(0); opacity: 1; }
  40%      { transform: translateY(28px); opacity: 1; }
  50%      { transform: translateY(28px); opacity: .6; }
  60%      { transform: translateY(28px); opacity: 0; }
  80%      { transform: translateY(-10px); opacity: 0; }
  90%      { transform: translateY(0); opacity: .5; }
}
.usb-anim-arrow {
  animation: arrowBounce 3s ease-in-out infinite;
  opacity: .6;
}
@keyframes arrowBounce {
  0%, 60%, 100% { opacity: .6; transform: translateY(0); }
  30%           { opacity: 1; transform: translateY(8px); }
  50%           { opacity: 0; transform: translateY(12px); }
}
.usb-anim-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: .75rem;
  font-weight: 700;
  color: var(--green);
  animation: statusBlink 3s ease-in-out infinite;
}
@keyframes statusBlink {
  0%, 40%  { opacity: 0; }
  50%, 90% { opacity: 1; }
  100%     { opacity: 0; }
}
.usb-anim-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 1.5s infinite;
}

/* ── Media Carousel (Step 1) ──────────────────────────────── */
.media-carousel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
}
.media-carousel-track {
  position: relative;
  width: 200px;
  height: 200px;
}
.media-carousel-item {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  border-radius: 24px;
  opacity: 0;
  transform: scale(.7) rotateY(30deg);
  transition: opacity .5s ease, transform .5s cubic-bezier(.25,.46,.45,.94), box-shadow .5s ease;
  box-shadow: 0 8px 30px rgba(0,0,0,.08);
}
.media-carousel-item.active {
  opacity: 1;
  transform: scale(1) rotateY(0deg);
  box-shadow: 0 16px 50px rgba(0,0,0,.12);
}
.media-carousel-item.exit-left {
  opacity: 0;
  transform: scale(.7) rotateY(-30deg) translateX(-40px);
}
.media-carousel-emoji {
  font-size: 5rem;
  line-height: 1;
  margin-bottom: 12px;
}
.media-carousel-label {
  font-size: 1.2rem;
  font-weight: 700;
  color: #475569;
  font-family: var(--font-display);
  transition: color .5s ease;
}
.media-carousel-item.active .media-carousel-label {
  color: var(--gray-800);
}
.media-carousel-dots {
  display: flex;
  gap: 10px;
}
.media-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background .3s ease, border-color .3s ease, transform .3s ease;
}
.media-carousel-dot.active {
  background: #6366f1;
  border-color: #6366f1;
  transform: scale(1.3);
}

/* ── Copy Files 3D (Step 1) ───────────────────────────────── */
.copy-files-3d {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px;
  perspective: 600px;
}
.copy-files-3d > div {
  position: relative;
}
.copy-file {
  display: inline-block;
  animation: fileFloat 3s ease-in-out infinite;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,.1));
  transition: transform .3s ease;
}
.copy-file:hover {
  transform: scale(1.15) rotate(-3deg);
}
.copy-files-3d .copy-file {
  display: inline-block;
  margin: 0 6px;
}
.copy-file-1 { animation-delay: 0s; }
.copy-file-2 { animation-delay: .4s; }
.copy-file-3 { animation-delay: .8s; }
@keyframes fileFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
.copy-arrow {
  animation: copyArrowPulse 2s ease-in-out infinite;
  opacity: .8;
}
@keyframes copyArrowPulse {
  0%, 100% { transform: translateY(0); opacity: .6; }
  50%      { transform: translateY(6px); opacity: 1; }
}
.copy-usb-target {
  transform: rotateX(10deg);
  transition: transform .4s ease;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,.12));
}
.copy-files-3d:hover .copy-usb-target {
  transform: rotateX(0deg) scale(1.05);
}
.usb-target-led {
  animation: ledGlow 2s ease-in-out infinite;
}
.copy-progress-bar {
  width: 160px;
  height: 20px;
  background: #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  margin-top: 4px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,.08);
}
.copy-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #6366f1, #a855f7);
  border-radius: 10px;
  animation: progressFill 3s ease-in-out infinite;
}
@keyframes progressFill {
  0%   { width: 0%; }
  70%  { width: 100%; }
  100% { width: 100%; }
}
.copy-progress-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  font-weight: 700;
  color: #475569;
  mix-blend-mode: multiply;
}

/* ── 3D Visual Scenes ────────────────────────────────────── */
.visual-3d-scene {
  perspective: 800px;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* USB 3D card */
.usb-3d-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 32px;
  background: linear-gradient(145deg, #f1f5f9, #e2e8f0);
  border-radius: 20px;
  box-shadow:
    0 0px 41px rgba(99,102,241,.15),
    0 8px 24px rgba(0,0,0,.08),
    inset 0 1px 0 rgba(255,255,255,.6);
  transform: rotateY(-5deg) rotateX(3deg);
  transition: transform .6s cubic-bezier(.25,.46,.45,.94), box-shadow .6s ease;
}
.usb-3d-card:hover {
  transform: rotateY(0deg) rotateX(0deg) scale(1.1);
  box-shadow:
    0 0px 60px rgba(99,102,241,.25),
    0 12px 36px rgba(0,0,0,.12),
    inset 0 1px 0 rgba(255,255,255,.6);
}
.usb-3d-device {
  animation: usb3dInsert 3s ease-in-out infinite;
}
@keyframes usb3dInsert {
  0%, 100% { transform: translateY(0); opacity: 1; }
  40%      { transform: translateY(20px); opacity: 1; }
  50%      { transform: translateY(20px); opacity: .5; }
  60%      { transform: translateY(20px); opacity: 0; }
  80%      { transform: translateY(-8px); opacity: 0; }
  90%      { transform: translateY(0); opacity: .5; }
}
.usb-3d-arrow {
  animation: arrow3dBounce 3s ease-in-out infinite;
  opacity: .7;
}
@keyframes arrow3dBounce {
  0%, 60%, 100% { opacity: .7; transform: translateY(0); }
  30%           { opacity: 1; transform: translateY(8px); }
  50%           { opacity: 0; transform: translateY(12px); }
}
.usb-led-glow {
  animation: ledGlow 2s ease-in-out infinite;
}
@keyframes ledGlow {
  0%, 100% { opacity: .4; filter: drop-shadow(0 0 2px #6366f1); }
  50%      { opacity: 1; filter: drop-shadow(0 0 8px #6366f1) drop-shadow(0 0 16px rgba(99,102,241,.5)); }
}
.usb-3d-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--green);
  animation: statusBlink 3s ease-in-out infinite;
}
.usb-3d-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 1.5s infinite;
}

/* Monitor 3D */
.monitor-3d {
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: rotateY(5deg) rotateX(2deg);
  transition: transform .5s ease;
}
.monitor-3d:hover {
  transform: rotateY(0deg) rotateX(0deg) scale(1.1);
}
.monitor-3d-screen {
  max-width: 100%;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 6px solid #334155;
  background: #0f172a;
}
.monitor-3d-stand {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.monitor-3d-neck {
  width: 36px;
  height: 48px;
  background: linear-gradient(to bottom, #475569, #334155);
  border-radius: 0 0 4px 4px;
}
.monitor-3d-base {
  width: 180px;
  height: 12px;
  background: linear-gradient(to bottom, #475569, #334155);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

/* ── Process slideshow ────────────────────────────────────── */
.process-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}
.process-slide.active { opacity: 1; }

.status-pills { display: flex; flex-direction: column; gap: 8px; }
.status-pill {
  display: flex; align-items: center; gap: 8px;
  background: rgba(99,102,241,.1);
  border: 1px solid rgba(99,102,241,.2);
  color: white;
  font-size: .75rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-full);
}
.status-pill.done { background: rgba(34,197,94,.15); border-color: rgba(34,197,94,.3); }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.status-pill.done .status-dot { background: var(--green); }

.slideshow-preview {
  width: 100%;
  max-width: 260px;
  background: black;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.slideshow-preview-bar {
  background: var(--gray-800);
  padding: 6px 12px;
  font-size: .65rem;
  color: var(--gray-400);
  display: flex; align-items: center; gap: 6px;
}
.play-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse 1.5s infinite; }
.slideshow-preview-screen {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #1e3a5f, #0d2137);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.progress-bar {
  height: 3px;
  background: var(--gray-800);
  position: relative;
}
.progress-fill {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--coral));
  animation: progress 4s linear infinite;
  width: 0%;
}

/* ── CTA Banner ─────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 50%, var(--purple) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(244,63,94,.2) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(250,204,21,.15) 0%, transparent 50%);
}
.cta-banner h2, .cta-banner p { color: var(--white); position: relative; z-index: 1; }
.cta-banner p { color: rgba(255,255,255,.8); font-size: 1.125rem; margin: 16px 0 40px; }
.cta-actions { position: relative; z-index: 1; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ── Contact section ──────────────────────────────────────── */
/* Contact cards 2x2 grid */
.contact-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.contact-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: transform .4s ease, box-shadow .4s ease, background .4s ease;
  cursor: default;
  border: 2px solid transparent;
}
.contact-card:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 20px 50px rgba(0,0,0,.15);
}
.contact-card-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  transition: transform .4s ease;
}
.contact-card:hover .contact-card-icon { transform: scale(1.15) rotate(-5deg); }
.contact-card-icon svg { width: 28px; height: 28px; fill: none; stroke-width: 1.5; }
.contact-card h4 { font-size: 1.1rem; margin-bottom: 8px; }
.contact-card p { font-size: .9rem; margin: 0; }
.contact-card a { font-weight: 600; text-decoration: none; }

/* Indigo */
.contact-card-indigo { background: rgba(99,102,241,.08); border-color: rgba(99,102,241,.15); }
.contact-card-indigo .contact-card-icon { background: rgba(99,102,241,.15); }
.contact-card-indigo .contact-card-icon svg { stroke: #6366f1; }
.contact-card-indigo h4 { color: #4f46e5; }
.contact-card-indigo:hover { background: #6366f1; border-color: #6366f1; color: white; }
.contact-card-indigo:hover h4 { color: white; }
.contact-card-indigo:hover .contact-card-icon { background: rgba(255,255,255,.2); }
.contact-card-indigo:hover .contact-card-icon svg { stroke: white; }

/* Emerald */
.contact-card-emerald { background: rgba(16,185,129,.08); border-color: rgba(16,185,129,.15); }
.contact-card-emerald .contact-card-icon { background: rgba(16,185,129,.15); }
.contact-card-emerald .contact-card-icon svg { stroke: #10b981; }
.contact-card-emerald h4 { color: #059669; }
.contact-card-emerald a { color: #10b981; }
.contact-card-emerald:hover { background: #10b981; border-color: #10b981; color: white; }
.contact-card-emerald:hover h4 { color: white; }
.contact-card-emerald:hover a { color: white; }
.contact-card-emerald:hover .contact-card-icon { background: rgba(255,255,255,.2); }
.contact-card-emerald:hover .contact-card-icon svg { stroke: white; }

/* Amber */
.contact-card-amber { background: rgba(245,158,11,.08); border-color: rgba(245,158,11,.15); }
.contact-card-amber .contact-card-icon { background: rgba(245,158,11,.15); }
.contact-card-amber .contact-card-icon svg { stroke: #f59e0b; }
.contact-card-amber h4 { color: #d97706; }
.contact-card-amber a { color: #f59e0b; }
.contact-card-amber:hover { background: #f59e0b; border-color: #f59e0b; color: white; }
.contact-card-amber:hover h4 { color: white; }
.contact-card-amber:hover a { color: white; }
.contact-card-amber:hover .contact-card-icon { background: rgba(255,255,255,.2); }
.contact-card-amber:hover .contact-card-icon svg { stroke: white; }

/* Rose */
.contact-card-rose { background: rgba(244,63,94,.08); border-color: rgba(244,63,94,.15); }
.contact-card-rose .contact-card-icon { background: rgba(244,63,94,.15); }
.contact-card-rose .contact-card-icon svg { stroke: #f43f5e; }
.contact-card-rose h4 { color: #e11d48; }
.contact-card-rose:hover { background: #f43f5e; border-color: #f43f5e; color: white; }
.contact-card-rose:hover h4 { color: white; }
.contact-card-rose:hover .contact-card-icon { background: rgba(255,255,255,.2); }
.contact-card-rose:hover .contact-card-icon svg { stroke: white; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: 8px; color: var(--gray-800); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font: inherit;
  font-size: .9375rem;
  color: var(--gray-800);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(99,102,241,.12);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── Specs table ──────────────────────────────────────────── */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.specs-table th {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  padding: 14px 20px;
  text-align: left;
  font-weight: 700;
}
.specs-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-600);
}
.specs-table tr:nth-child(even) td { background: var(--gray-50); }
.specs-table td:first-child { font-weight: 600; color: var(--gray-800); }
.specs-table tbody tr {
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  cursor: default;
}
.specs-table tbody tr:hover {
  background: rgba(99,102,241,.06) !important;
  transform: scale(1.01);
  box-shadow: 0 4px 20px rgba(99,102,241,.12);
}
.specs-table tbody tr:hover td {
  color: var(--gray-800);
}
.specs-table tbody tr:hover td:first-child {
  color: var(--accent);
}
.check { color: var(--green); font-weight: 700; }
.cross { color: var(--coral); }

/* ── Footer ─────────────────────────────────────────────────── */
footer {
  background: linear-gradient(135deg, #0f172a, #1a1060);
  color: rgba(255,255,255,.7);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand p { font-size: .9rem; margin-top: 16px; line-height: 1.7; color: rgba(255,255,255,.5); }
.footer-col h4 { color: var(--white); font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 20px; font-family: var(--font-display); }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: .875rem; color: rgba(255,255,255,.5); transition: var(--transition); }
.footer-col ul a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  font-size: .825rem;
  color: rgba(255,255,255,.35);
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--white); }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-item {
  border: 2px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: var(--transition);
}
.faq-item:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(99,102,241,.08);
}
.faq-item summary {
  font-weight: 700;
  cursor: pointer;
  color: var(--gray-800);
  font-size: 2rem;
  font-family: var(--font-display);
}
.faq-item p {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--gray-100);
  font-family: var(--font-display);
  font-size: 1.575rem;
  font-weight: 500;
}

/* ── Colorful section backgrounds ─────────────────────────── */
.section-gradient-1 {
  background: linear-gradient(180deg, #fff 0%, #f0f9ff 50%, #e0f2fe 100%);
}
.section-gradient-2 {
  background: linear-gradient(180deg, #fefce8 0%, #fef9c3 50%, #fef08a20 100%);
}

/* ── Animations ─────────────────────────────────────────────── */
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(.85); }
}
@keyframes progress {
  0%   { width: 0%; }
  100% { width: 100%; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 48px; }
  .hero-subtitle { margin: 0 auto 40px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-scene { max-width: 400px; margin: 0 auto; }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .usecase-grid { grid-template-columns: repeat(2,1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .process-block { grid-template-columns: 1fr; gap: 32px; }
  .process-block.reverse { direction: ltr; }
  .contact-cards-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .usecase-grid { grid-template-columns: 1fr; }
  .navbar-links { display: none; }
  .navbar-links.open { display: flex; flex-direction: column; position: fixed; inset: 72px 0 0; background: var(--primary); padding: 40px 24px; gap: 24px; z-index: 999; }
  .hamburger { display: flex; }
  .hero-stats { flex-direction: column; gap: 20px; text-align: left; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .screen-3d { transform: rotateY(-4deg) rotateX(2deg); }
}
