/* =============================================
   VelooceVelooce — Design System & Landing Page
   Mobile-first, modern, high-conversion
   ============================================= */

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

:root {
  --primary: #FFA31A;
  /* Arancione principale (CTA, bottoni, icone, elementi attivi) */
  --primary-dark: #FFA31A;
  --primary-light: rgba(255, 163, 26, 0.1);
  /* Using rgba for light variant as instructed not to create new hues */
  --secondary: #7A3EB1;
  /* Viola principale (background / sezioni principali) */
  --secondary-light: #8E5BCB;
  /* Viola chiaro (cards / sezioni secondarie) */
  --accent: #FFA31A;
  --accent-light: rgba(255, 163, 26, 0.1);
  --bg: #FFFFFF;
  /* Bianco (testi principali e background lght) */
  --bg-alt: #F8F9FC;
  /* Keeping standard alt bg to avoid changing layout feel, or change to very light purple if bg is fully purple? Instructions say "Viola principale: background". Wait. "Viola principale (background / sezioni principali)". */
  --text: #5E2A8A;
  /* Viola scuro per contrasto su bianco */
  --text-light: #8E5BCB;
  --text-muted: #8E5BCB;
  --border: #E5E7EB;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-full: 50px;
  --shadow-sm: 0 2px 8px rgba(94, 42, 138, 0.06);
  --shadow: 0 8px 30px rgba(94, 42, 138, 0.08);
  --shadow-lg: 0 20px 60px rgba(94, 42, 138, 0.12);
  --shadow-glow: 0 8px 40px rgba(255, 163, 26, 0.25);
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary) 100%);
  /* No different gradients */
  --gradient-dark: linear-gradient(135deg, var(--secondary) 0%, var(--secondary) 100%);
  /* No different gradients */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font);
  color: #FFFFFF;
  background: radial-gradient(circle at 50% 0%, #5E2A8A 0%, #3B165C 50%, #1A0A2E 100%);
  /* Deeper, more immersive premium purple */
  background-attachment: fixed;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  /* Cleaner mobile taps */
}

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

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

ul,
ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Reveal Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}

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

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

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

.header.scrolled {
  background: rgba(94, 42, 138, 0.85);
  /* Viola scuro con glassmorphism */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.logo__icon {
  font-size: 1.5rem;
}

.logo__accent {
  color: var(--primary);
}

.logo--footer .logo__text {
  color: #fff;
}

.logo--footer .logo__accent {
  color: var(--primary);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  /* Testo semi-trasparente bianco sul viola */
  transition: color var(--transition);
  position: relative;
}

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

.nav__link:hover {
  color: #FFFFFF;
  /* Hover fully white */
}

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

.nav__link--cta {
  background: var(--gradient);
  color: #fff !important;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: transform var(--transition), box-shadow var(--transition);
}

.nav__link--cta::after {
  display: none;
}

.nav__link--cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  background: transparent;
  /* Remove local background to show global fixed gradient */
}

/* Cleaned up legacy shape animations */

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  animation: slideDown 0.8s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  /* Larger, punchier title */
  font-weight: 900;
  line-height: 1.05;
  /* Tighter line-height */
  letter-spacing: -0.04em;
  /* Tighter letter-spacing for premium feel */
  margin-bottom: 24px;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  /* Lighter subtitle on dark background */
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 32px;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  /* Increased gap for better hierarchy spreading */
  flex-wrap: wrap;
}

.btn--store {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.btn--primary {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn--primary:hover {
  transform: translateY(-4px) scale(1.02);
  background: #f8f8f8;
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.3);
}

.btn--primary small {
  color: rgba(0, 0, 0, 0.6);
}

.btn--primary svg {
  color: #000000;
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.btn--store svg {
  opacity: 0.9;
}

.btn--store small {
  display: block;
  font-size: 0.7rem;
  opacity: 0.7;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.btn--store strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Inherits glassmorphism from .btn--store */

.btn--store-light {
  background: #fff;
  color: var(--secondary);
  box-shadow: var(--shadow);
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.hero__stat strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero__stat span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  /* Lighter span text */
  font-weight: 500;
}

.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  /* Semi-transparent white divider */
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  transition: transform 0.1s ease-out;
  /* Smooth parallax */
}

.hero__mockup-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(235, 122, 63, 0.15) 0%, rgba(122, 62, 177, 0.25) 40%, transparent 70%);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  filter: blur(40px);
}

.hero__float-item {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 16px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 20;
  pointer-events: none;
}

.hero__float-item svg {
  color: var(--primary);
  /* Discreet orange accent */
}

.hero__float-item--1 {
  top: 15%;
  right: -30px;
  animation: floatBadge1 5s ease-in-out infinite alternate;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 0 20px rgba(235, 122, 63, 0.2);
  /* Subtle glow */
}

.hero__float-item--2 {
  top: 45%;
  left: -40px;
  animation: floatBadge2 6s ease-in-out infinite alternate-reverse;
}

.hero__float-item--3 {
  bottom: 20%;
  right: -25px;
  animation: floatBadge3 7s ease-in-out infinite alternate;
}

@keyframes floatBadge1 {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-12px);
  }
}

@keyframes floatBadge2 {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(12px);
  }
}

@keyframes floatBadge3 {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-10px);
  }
}

.hero__phone {
  width: 300px;
  /* Increased size to make it the protagonist */
  height: 620px;
  background: var(--secondary);
  border-radius: 46px;
  /* Smooth hardware corners */
  padding: 14px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.15);
  /* Ultimate deep shadow */
  position: relative;
  animation: phoneFloat 6s ease-in-out infinite;
  /* Smoother, slower float */
}

@keyframes phoneFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

.hero__phone::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 24px;
  background: var(--secondary);
  border-radius: 0 0 16px 16px;
  z-index: 10;
}

.hero__phone-screen {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 34px;
}

/* Phone UI mock */
.phone-ui {
  padding: 44px 16px 16px;
}

.phone-ui__header {
  margin-bottom: 16px;
}

.phone-ui__greeting {
  display: block;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--secondary);
}

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

.phone-ui__search {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.phone-ui__categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.phone-ui__cat {
  text-align: center;
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--text);
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  padding: 10px 4px;
}

.phone-ui__cat span {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.phone-ui__card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  margin-bottom: 8px;
}

.phone-ui__card-img {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.phone-ui__card-info strong {
  display: block;
  font-size: 0.8rem;
  color: var(--secondary);
}

.phone-ui__card-info span {
  font-size: 0.65rem;
  color: var(--text-muted);
}

/* Floating emojis removed completely */

/* ---------- Section Shared ---------- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 70px;
  /* Slightly more breathable spacing */
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-label--light {
  color: rgba(255, 255, 255, 0.8);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: #FFFFFF;
  /* Override titles to white */
}

.section-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  /* Override descriptions to white */
  line-height: 1.7;
}

/* ---------- About / Cos'è ---------- */
.about {
  padding: 100px 0;
  background: transparent;
  /* Remove solid bg to show global gradient */
}

.about__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.about__card {
  background: rgba(255, 255, 255, 0.05);
  /* Più scuro, più premium */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  /* Bordo ancora più sottile e fuso */
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  /* Padding leggermente ridotto per mobile compattezza */
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.about__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.15);
}

.about__card-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.about__card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.about__card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  /* Leggibilità card text */
  line-height: 1.6;
}

/* ---------- Features / Cosa puoi fare ---------- */
.features {
  padding: 100px 0;
  background: transparent;
  /* Remove solid bg to show global gradient */
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  /* Uniformato con about__card */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.15);
}

.feature-card__icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card__icon-wrap--food {
  background: rgba(255, 163, 26, 0.15);
  /* Orange (Primary) but transparent to blend */
  color: var(--primary);
}

.feature-card__icon-wrap--grocery {
  background: rgba(139, 92, 246, 0.15);
  /* Purple accent */
  color: #c4b5fd;
  /* Soft purple */
}

.feature-card__icon-wrap--beauty {
  background: rgba(236, 72, 153, 0.15);
  /* Pink accent */
  color: #f9a8d4;
  /* Soft pink */
}

.feature-card__icon-wrap--pharma {
  background: rgba(59, 130, 246, 0.15);
  /* Blue accent */
  color: #93c5fd;
  /* Soft blue */
}

.feature-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card__desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  /* White text for legibility */
  line-height: 1.7;
  margin-bottom: 16px;
}

.feature-card__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.15);
  /* Contrast background */
  color: #FFFFFF;
}

/* ---------- Why / Perché scegliere ---------- */
.why {
  padding: 100px 0;
  background: transparent;
  /* Remove solid bg to show global gradient */
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.why__card {
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  background: rgba(142, 91, 203, 0.15);
  /* Viola chiaro glass */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.why__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--gradient);
  transition: height 0.4s var(--transition);
  border-radius: 0 4px 4px 0;
}

.why__card:hover::before {
  height: 100%;
}

.why__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.why__number {
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  line-height: 1;
}

.why__card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.why__card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  /* White desc */
  line-height: 1.7;
}

/* ---------- How / Come funziona ---------- */
.how {
  padding: 100px 0;
  background: transparent;
  /* Remove solid bg to show global gradient */
}

.how__steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

.how__step {
  flex: 1;
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.how__step-number {
  position: absolute;
  top: -8px;
  right: 20px;
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary);
  opacity: 0.08;
  line-height: 1;
}

.how__step-icon {
  width: 80px;
  height: 80px;
  background: rgba(142, 91, 203, 0.3);
  /* Viola chiaro glass */
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.how__step:hover .how__step-icon {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.how__step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.how__step p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  /* White text */
  line-height: 1.6;
}

.how__step-connector {
  flex: 0 0 60px;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  /* Connettore trasparente */
  margin-top: 48px;
  position: relative;
}

.how__step-connector::after {
  content: '';
  position: absolute;
  right: -4px;
  top: -4px;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--primary);
  border-top: 2px solid var(--primary);
  transform: rotate(45deg);
}

/* ---------- CTA Final / Disponibilità ---------- */
.cta-final {
  padding: 100px 0;
  background: var(--gradient-dark);
  position: relative;
  overflow: hidden;
  color: #fff;
}

.cta-final__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-final__shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.05;
  background: var(--primary);
}

.cta-final__shape--1 {
  width: 500px;
  height: 500px;
  top: -200px;
  right: -150px;
}

.cta-final__shape--2 {
  width: 300px;
  height: 300px;
  bottom: -100px;
  left: -100px;
}

.cta-final__inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-final__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-final__desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--secondary);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__tagline {
  font-size: 0.9rem;
  margin-top: 12px;
  line-height: 1.5;
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer__col h4 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer__col a {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 10px;
  transition: color var(--transition);
}

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

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}

.footer__bottom p {
  font-size: 0.8rem;
}

.footer__socials {
  display: flex;
  gap: 16px;
}

.footer__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  transition: background var(--transition), transform var(--transition);
}

.footer__socials a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero__title {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__ctas {
    justify-content: center;
  }

  .hero__stats {
    justify-content: center;
  }

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

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    box-shadow: var(--shadow-lg);
    transition: right var(--transition);
    z-index: 999;
  }

  .nav.open {
    right: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .hero__phone {
    width: 260px;
    /* Protagonist mobile size */
    height: 540px;
    border-radius: 38px;
  }

  .hero__phone-screen {
    border-radius: 28px;
  }

  .hero__float {
    display: none;
  }

  .hero__mockup-glow {
    width: 320px;
    height: 320px;
    filter: blur(30px);
  }

  .hero__float-item {
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  .hero__float-item--1 {
    top: -10px;
    right: 15px;
  }

  .hero__float-item--2 {
    top: 30%;
    left: -15px;
  }

  .hero__float-item--3 {
    display: none;
    /* Hide 3rd on tablet to reduce noise */
  }

  .hero__stats {
    flex-wrap: wrap;
    gap: 16px;
  }

  .hero__stat-divider {
    display: none;
  }

  .about__grid,
  .features__grid,
  .why__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .how__steps {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .how__step-connector {
    width: 2px;
    height: 40px;
    flex: 0 0 40px;
    margin-top: 0;
  }

  .how__step-connector::after {
    right: -4px;
    top: auto;
    bottom: -4px;
    transform: rotate(135deg);
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .footer__links {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .about,
  .features,
  .why,
  .how,
  .cta-final {
    padding: 70px 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero__title {
    font-size: 1.8rem;
    margin-bottom: 16px;
  }

  .hero__float-item {
    padding: 6px 12px;
    font-size: 0.75rem;
  }

  .hero__float-item--1 {
    top: -25px;
    right: 5px;
    /* Tucks in closer */
  }

  .hero__float-item--2 {
    top: auto;
    bottom: 25%;
    left: 0px;
    /* Moves inside layout bounds */
  }

  .hero__subtitle {
    font-size: 1.05rem;
    line-height: 1.5;
    margin-bottom: 32px;
    max-width: 320px;
    /* Fits about 2-3 very short lines */
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.8);
  }

  .btn--store {
    width: 100%;
    justify-content: center;
  }

  .hero__ctas {
    flex-direction: column;
  }

  .footer__links {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .phone-ui {
    padding: 36px 12px 12px;
  }

  .phone-ui__categories {
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
  }
}

/* ---------- Contact Form B2B ---------- */
.contact-form {
  max-width: 600px;
  margin: 40px auto 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form .form-row {
  display: flex;
  gap: 16px;
}

.contact-form .form-row>* {
  flex: 1;
}

@media (max-width: 576px) {
  .contact-form .form-row {
    flex-direction: column;
  }
}

.contact-form input {
  width: 100%;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.contact-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(255, 163, 26, 0.2);
}

.privacy-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 8px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
  cursor: pointer;
}

.privacy-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--primary);
  flex-shrink: 0;
}