@import url('https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,100..900;1,100..900&family=Sansation:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

button {
  cursor: pointer !important;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 7.2rem) !important;
}

h2 {
  font-size: clamp(2.5rem, 5vw, 5.2rem) !important;
}

button:active {
  scale: 0.95;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

/* ── PRESENTAZIONE SU GRANDE SCHERMO ── */
@media (min-width: 1400px) {
  html { font-size: 19px; }
}

@media (min-width: 1700px) {
  html { font-size: 22px; }
}

:root {
  --cyan: #3a5a40;
  /* hunter green,primary accent */
  --green: #517751;
  /* fern,secondary accent */
  --yellow: #a3b18a;
  /* dry sage,tertiary accent */
  --grad: linear-gradient(90deg, #3a5a40);
  --grad-text: linear-gradient(100deg, var(--white));
  --dark: #f4f6f1;
  /* main bg,warm off-white */
  --dark2: #eaede5;
  /* section alt bg */
  --dark3: #dde2d8;
  /* card/panel bg */
  --white: #1a2e1f;
  /* body text,deep pine */
  --nav-h: 68px;
}

body {
  background: var(--dark);
  color: var(--white);
  font-family: 'Public Sans', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

/* Noise overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.5;
}

/* =============================================
   HELPERS
============================================= */
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* =============================================
   NEW MODERN NAVIGATION
============================================= */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 clamp(20px, 5vw, 60px);
  background: transparent;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.main-header.scrolled {
  background: rgba(244, 246, 241, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(58, 90, 64, 0.15);
  height: 60px;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1620px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Public Sans', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  text-decoration: none;
}
.nav-logo img {
height: 64px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(15px, 2vw, 35px);
}

.nav-menu a {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(26, 46, 31, 0.95);
  transition: color 0.3s, transform 0.3s;
}

.nav-menu a:hover {
  color: var(--cyan);
  transform: translateY(-1px);
}

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

.nav-profile-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--cyan);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s;
}

.nav-profile-btn:hover {
  transform: scale(1.1);
}

.nav-profile-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Profile Modal */
.profile-modal {
  position: fixed;
  inset: 0;
  background: rgba(26, 46, 31, 0.6);
  backdrop-filter: blur(10px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.profile-modal.active {
  display: flex;
}

.profile-content {
  background: var(--dark2);
  border: 1px solid rgba(58, 90, 64, 0.25);
  padding: 40px;
  width: 100%;
  max-width: 450px;
  border-radius: 40px;
  position: relative;
  animation: modalPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPop {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  padding: 1px 15px;
  border-radius: 1000px;
}

.close-modal:hover {
  color: var(--cyan);
  background-color: rgba(128, 128, 128, 0.2);
}

.profile-avatar-edit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
}

.profile-avatar-edit img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--cyan);
  object-fit: cover;
}

.edit-avatar-btn {
  display: block;
  margin: 0 auto;
  background: none;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  font-size: 0.9rem;
  padding: 6px 14px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.edit-avatar-btn:hover {
  background: rgba(58, 90, 64, 0.08);
}

.profile-data-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.data-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.data-item label {
  font-size: 0.6rem;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.data-item input {
  background: var(--dark3);
  border: 1px solid rgba(26, 46, 31, 0.15);
  color: var(--white);
  padding: 8px;
  font-family: inherit;
}

/* Mobile Overlay Fix */
.mobile-overlay .mobile-links a.grad-text {
  border-top: 1px solid rgba(26, 46, 31, 0.12);
  padding-top: 20px;
}

/* Nav CTA Buttons */
.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #3a5a40;
  color: #f4f6f1 !important;
  font-family: 'Public Sans', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 40px;
  border: 1.5px solid transparent;
  transition: all 0.25s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 4px 16px rgba(58, 90, 64, 0.28), inset 0 1px 0 rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.nav-cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.nav-cta-btn i {
  font-size: 0.8rem;
  opacity: 0.9;
}

.nav-cta-btn:hover {
  background: #2d4a33;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(58, 90, 64, 0.38);
  color: #f4f6f1 !important;
}

.nav-trainer-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(244, 246, 241, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #3a5a40 !important;
  font-family: 'Public Sans', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 40px;
  border: 1.5px solid rgba(58, 90, 64, 0.35);
  transition: all 0.25s cubic-bezier(0.23, 1, 0.32, 1);
  white-space: nowrap;
}

.nav-trainer-btn i {
  font-size: 0.8rem;
}

.nav-trainer-btn:hover {
  background: #f4f6f1;
  border-color: #3a5a40;
  transform: translateY(-2px);
  color: #3a5a40 !important;
  box-shadow: 0 4px 14px rgba(58, 90, 64, 0.15);
}

/* Mobile CTA actions block */
.mobile-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 300px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s 0.65s;
}

.mobile-overlay.active .mobile-cta-actions {
  opacity: 1;
  transform: translateY(0);
}

.mobile-cta-full {
  width: 100%;
  justify-content: center;
  padding: 14px 24px !important;
  font-size: 0.8rem !important;
  letter-spacing: 2px !important;
}

/* --- ANIMAZIONE HAMBURGER TO X --- */
#navToggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 10001;
  width: 30px;
  height: 22px;
  flex-direction: column;
  justify-content: space-between;
}

#navToggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--white);
  border-radius: 3px;
  transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
  transform-origin: center;
}

#navToggle.active span:nth-child(1) {
  transform: translateY(9.5px) rotate(135deg);
}

#navToggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

#navToggle.active span:nth-child(3) {
  transform: translateY(-9.5px) rotate(-135deg);
}

#navToggle:hover span:nth-child(2) {
  width: 70%;
}

#navToggle.active:hover span:nth-child(2) {
  width: 100%;
}

/* Mobile Overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(234, 237, 229, 0.98);
  z-index: 2050;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
  padding: 40px;
}

.mobile-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-profile-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s 0.1s;
}

.mobile-overlay.active .mobile-profile-section {
  opacity: 1;
  transform: translateY(0);
}

.mobile-profile-section img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 3px solid var(--cyan);
  object-fit: cover;
  object-position: center top;
  margin-bottom: 12px;
  box-shadow: 0 4px 20px rgba(26,46,31,.15);
}

.mobile-profile-section span {
  font-family: 'Public Sans', sans-serif;
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 2px;
}

.mobile-profile-section p {
  font-size: 0.7rem;
  color: rgba(26, 46, 31, 0.45);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-align: center;
  margin-bottom: 36px;
}

.mobile-links a {
  font-family: 'Public Sans', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s;
}

.mobile-overlay.active .mobile-links a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-overlay.active .mobile-links a:nth-child(1) {
  transition-delay: 0.2s;
}

.mobile-overlay.active .mobile-links a:nth-child(2) {
  transition-delay: 0.3s;
}

.mobile-overlay.active .mobile-links a:nth-child(3) {
  transition-delay: 0.4s;
}

.mobile-overlay.active .mobile-links a:nth-child(4) {
  transition-delay: 0.5s;
}

.mobile-overlay.active .mobile-links a:nth-child(5) {
  transition-delay: 0.6s;
}

@media (max-width: 960px) {

  .nav-menu,
  .nav-actions {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  #navToggle {
    display: flex;
  }
}

/* =============================================
   HERO
============================================= */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse 70% 80% at 65% 50%, #d6e4d8 0%, #f4f6f1 55%);
  padding-top: var(--nav-h);
}

.hero-lines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg, transparent, transparent 48px,
      rgba(58, 90, 64, 0.04) 48px, rgba(58, 90, 64, 0.04) 49px);
}

.hero-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 52%;
  height: 100%;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
  background: linear-gradient(140deg, #d6e4d8 0%, #eaede5 100%);
}

.hero-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 40% 50%, rgba(58, 90, 64, 0.07) 0%, transparent 65%);
}

.hero-visual {
  position: absolute;
  top: 0;
  right: 0;
  width: 52%;
  height: 100%;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 1;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(15%) brightness(0.85);
}

.hero-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      #f4f6f1 0%,
      rgba(244, 246, 241, 0.4) 30%,
      rgba(234, 237, 229, 0.1) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: clamp(40px, 6vw, 80px) clamp(20px, 5vw, 60px);
  animation: heroIn 1s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.hero-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--cyan);
  padding: 6px 14px;
  margin-bottom: 22px;
}

.hero-logo {
  font-family: 'Public Sans', sans-serif;
  font-weight: 900;
  font-size: clamp(4.5rem, 13vw, 7.5rem);
  line-height: 0.88;
  letter-spacing: -3px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero-quote {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  line-height: 1.7;
  color: rgba(26, 46, 31, 0.95);
  font-style: italic;
  max-width: 460px;
  margin-bottom: 42px;
  font-weight: 500;
}

.hero-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-cta {
  display: inline-block;
  background: var(--grad);
  background-size: 250% 100%;
  color: #fff;
  font-family: 'Public Sans', sans-serif;
  font-weight: 600;
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: clamp(14px, 2.5vw, 18px) clamp(28px, 5vw, 42px);
  border-radius: 40px;
  transition: transform 0.2s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
  animation: liquidShift 5s ease infinite;
}

.btn-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.18);
  border-radius: inherit;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-cta:hover::before {
  transform: translateY(0);
}

.btn-cta:hover {
  transform: scale(1.03);
}

.btn-ghost {
  font-family: 'Public Sans', sans-serif;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(26, 46, 31, 0.65);
  border-radius: 40px;
  padding: 11px 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  padding: clamp(14px, 2.5vw, 18px) clamp(28px, 5vw, 35px);
}

.btn-ghost:hover {
  color: var(--cyan);
  border-color: rgba(58, 90, 64, 0.45);
  background: rgba(58, 90, 64, 0.07);
}

/* Hero scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.6rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(26, 46, 31, 0.3);
  animation: fadeInUp 1s 1.5s both;
}

.scroll-hint .dot {
  width: 4px;
  height: 4px;
  background: var(--cyan);
  border-radius: 50%;
  animation: bounce 1.6s ease-in-out infinite;
}

@keyframes bounce {

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

  50% {
    transform: translateY(8px)
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(10px)
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0)
  }
}

@keyframes liquidShift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* =============================================
   STATS BAR
============================================= */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--dark3);
  border-top: 1px solid rgba(58, 90, 64, 0.15);
  border-bottom: 1px solid rgba(58, 90, 64, 0.15);
}

.stat-item {
  padding: clamp(20px, 4vw, 36px) clamp(12px, 2vw, 20px);
  text-align: center;
  border-right: 1px solid rgba(26, 46, 31, 0.08);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s, transform 0.6s;
}

.stat-item:last-child {
  border-right: none;
}

.stat-item.visible {
  opacity: 1;
  transform: none;
}

.stat-item:nth-child(2) {
  transition-delay: 0.1s;
}

.stat-item:nth-child(3) {
  transition-delay: 0.2s;
}

.stat-item:nth-child(4) {
  transition-delay: 0.3s;
}

.stat-num {
  font-family: 'Public Sans', sans-serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.stat-label {
  font-size: clamp(0.6rem, 1.2vw, 0.72rem);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(26, 46, 31, 0.4);
  margin-top: 4px;
}

/* =============================================
   SECTION BASE
============================================= */
.section {
  padding: clamp(70px, 10vw, 130px) clamp(20px, 5vw, 70px);
}

.section-title {
  font-family: 'Public Sans', sans-serif;
  font-weight: 900;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  line-height: 1;
  letter-spacing: -1px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

/* =============================================
   BEYOND BILANCIA
============================================= */
#beyond {
  background: var(--dark);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.beyond-visual {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 4/3;
  clip-path: polygon(0 0, 88% 0, 100% 100%, 12% 100%);
}

.beyond-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85) grayscale(15%);
  transform: scale(1.06);
  transition: transform 7s ease;
}

.beyond-visual:hover img {
  transform: scale(1);
}

.beyond-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(58, 90, 64, 0.12) 0%, transparent 55%);
}

.beyond-slash {
  position: absolute;
  right: -3px;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 100px;
  background: var(--grad);
}

.beyond-text {
  max-width: 540px;
}

.data-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 20px;
}

.pill {
  background: rgba(58, 90, 64, 0.07);
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: all 0.25s ease;
}

.beyond-desc {
  font-size: clamp(0.88rem, 1.5vw, 1rem);
  line-height: 1.82;
  color: rgba(26, 46, 31, 0.95);
  margin-bottom: 14px;
}

/* =============================================
   FEATURES GRID
============================================= */
#features {
  background: var(--dark2);
}

.features-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(44px, 7vw, 80px);
}

.features-head p {
  font-size: clamp(0.88rem, 1.5vw, 1rem);
  color: rgba(26, 46, 31, 0.85);
  line-height: 1.7;
  margin-top: 14px;
}

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

.feat-card {
  background: var(--dark2);
  padding: clamp(32px, 4vw, 52px) clamp(24px, 3vw, 42px);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s, transform 0.7s;
  cursor: default;
  border: 1px solid var(--dark3);
  border-radius: 6px;
}

.feat-card.visible {
  opacity: 1;
  transform: none;
}

.feat-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.feat-card:hover::before {
  transform: scaleX(1);
}

.feat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 15% 85%, rgba(58, 90, 64, 0.06) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.4s;
}

.feat-card:hover::after {
  opacity: 1;
}

.feat-num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: 'Public Sans', sans-serif;
  font-weight: 900;
  font-size: clamp(3rem, 5vw, 5.5rem);
  color: rgba(26, 46, 31, 0.08);
  line-height: 1;
  user-select: none;
}

.feat-icon {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-bottom: 18px;
}

.feat-title {
  font-family: 'Public Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.feat-desc {
  font-size: clamp(0.82rem, 1.3vw, 0.9rem);
  line-height: 1.78;
  color: rgba(26, 46, 31, 0.55);
}

/* =============================================
   AI VISION
============================================= */
#vision {
  background: var(--dark);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}

.vision-badge {
  display: inline-block;
  background: rgba(88, 129, 87, 0.1);
  border: 1px solid rgba(88, 129, 87, 0.35);
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 8px 16px;
  margin-bottom: 28px;
}

.vision-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}

.vision-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: clamp(0.85rem, 1.4vw, 0.95rem);
  color: rgba(26, 46, 31, 0.95);
  line-height: 1.65;
}

.vision-list li::before {
  content: '▶';
  color: var(--cyan);
  font-size: 0.55rem;
  margin-top: 5px;
  flex-shrink: 0;
}

/* Phone mockup */
.phone-wrap {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-wrap::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(58, 90, 64, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {

  0%,
  100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.15);
  }
}

.phone {
  width: clamp(200px, 28vw, 260px);
  aspect-ratio: 1/2;
  background: #e8ede4;
  border: 2px solid rgba(58, 90, 64, 1);
  border-radius: 36px;
  overflow: hidden;
  position: relative;
  animation: phonePulse 4s ease-in-out infinite;
}

@keyframes phonePulse {

  0%,
  100% {
    box-shadow: 0 0 40px rgba(58, 90, 64, 0.1);
  }

  50% {
    box-shadow: 0 0 80px rgba(58, 90, 64, 0.22);
  }
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 12px;
  background: var(--white);
  border-radius: 0 0 10px 10px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #d6e4d8 0%, #eaede5 100%);
  display: flex;
  flex-direction: column;
  padding: clamp(18px, 3vw, 24px) clamp(12px, 2vw, 16px) clamp(12px, 2vw, 16px);
  gap: 10px;
}

.ph-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.ph-logo {
  font-family: 'Public Sans', sans-serif;
  font-weight: 900;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
}

.ph-live {
  font-size: 0.6rem;
  letter-spacing: 2px;
  color: var(--green);
  animation: blink 2s infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: 0.3
  }
}

.ph-metric {
  background: rgba(58, 90, 64, 0.07);
  border: 1px solid rgba(58, 90, 64, 0.18);
  border-radius: 6px;
  padding: clamp(8px, 1.5vw, 12px) clamp(10px, 1.5vw, 14px);
  display: flex;
  justify-content: space-between;
}

.ph-metric-label {
  font-size: clamp(0.55rem, 1vw, 0.65rem);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(26, 46, 31, 0.45);
}

.ph-metric-value {
  font-family: 'Public Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--cyan);
}

.ph-chart {
  flex: 1;
  background: rgba(58, 90, 64, 0.05);
  border: 1px solid rgba(58, 90, 64, 0.14);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.chart-bars {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  padding: 6px;
  height: 100%;
}

.bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: var(--grad);
  opacity: 0.65;
  animation: barGrow 1s ease-out both;
}

@keyframes barGrow {
  from {
    transform: scaleY(0)
  }

  to {
    transform: scaleY(1)
  }
}

.ph-ai {
  background: rgba(88, 129, 87, 0.1);
  border: 1px solid rgba(88, 129, 87, 0.25);
  border-radius: 8px;
  padding: 8px;
  text-align: center;
  font-size: clamp(0.6rem, 1vw, 0.68rem);
  letter-spacing: 1px;
  color: var(--green);
  animation: blink 2.5s ease-in-out infinite;
}

/* =============================================
   HOW IT WORKS (timeline)
============================================= */
#how {
  background: var(--dark2);
}

.how-head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto clamp(50px, 7vw, 80px);
}

.how-head p {
  color: rgba(26, 46, 31, 0.85);
  font-size: clamp(0.88rem, 1.4vw, 1rem);
  line-height: 1.7;
  margin-top: 14px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 75px;
  left: calc(12.5% + 2px);
  right: calc(12.5% + 2px);
  height: 2px;
  background: linear-gradient(90deg, rgba(58, 90, 64, 0.15), rgba(58, 90, 64, 0.45), rgba(58, 90, 64, 0.15));
}

.tl-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(20px, 3vw, 36px) clamp(12px, 2vw, 20px);
  position: relative;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s, transform 0.7s;
}

.tl-step.visible {
  opacity: 1;
  transform: none;
}

.tl-step:nth-child(2) {
  transition-delay: 0.12s
}

.tl-step:nth-child(3) {
  transition-delay: 0.24s
}

.tl-step:nth-child(4) {
  transition-delay: 0.36s
}

.tl-circle {
  width: clamp(56px, 8vw, 72px);
  height: clamp(56px, 8vw, 72px);
  border-radius: 50%;
  border: 2px solid rgba(58, 90, 64, 0.28);
  background: var(--dark2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Public Sans', sans-serif;
  font-weight: 900;
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  transition: border-color 0.3s, background 0.3s;
}

.tl-step:hover .tl-circle {
  border-color: var(--cyan);
  background: rgba(58, 90, 64, 0.08);
}

.tl-title {
  font-family: 'Public Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.3rem);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.tl-desc {
  font-size: clamp(0.78rem, 1.2vw, 0.88rem);
  color: rgba(26, 46, 31, 0.85);
  line-height: 1.7;
}

/* =============================================
   COMMUNITY
============================================= */
#community {
  background: var(--dark);
  text-align: center;
}

.comm-head {
  max-width: 600px;
  margin: 0 auto clamp(40px, 6vw, 70px);
}

.comm-head p {
  color: rgba(26, 46, 31, 0.85);
  font-size: clamp(0.88rem, 1.4vw, 1rem);
  line-height: 1.7;
  margin-top: 14px;
}

.comm-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
  max-width: 860px;
  margin: 0 auto;
}

.comm-card {
  background: var(--dark3);
  border: 1px solid rgba(26, 46, 31, 0.08);
  padding: clamp(28px, 4vw, 50px) clamp(20px, 3vw, 40px);
  text-align: left;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s, transform 0.7s, border-color 0.3s;
}

.comm-card.visible {
  opacity: 1;
  transform: none;
}

.comm-card:hover {
  border-color: rgba(58, 90, 64, 0.3);
  transform: translateY(-4px);
}

.comm-icon {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 18px;
}

.comm-title {
  font-family: 'Public Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.comm-desc {
  font-size: clamp(0.82rem, 1.3vw, 0.92rem);
  line-height: 1.78;
  color: rgba(26, 46, 31, 0.55);
}

/* =============================================
   WEARABLE / FUTURO
============================================= */
#future {
  background: var(--dark2);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.future-text {
  max-width: 520px;
}

.future-desc {
  font-size: clamp(0.88rem, 1.4vw, 1rem);
  line-height: 1.82;
  color: rgba(26, 46, 31, 0.58);
  margin-bottom: 14px;
}

.future-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 32px;
}

.future-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(26, 46, 31, 0.03);
  padding: clamp(14px, 2vw, 20px) clamp(16px, 2.5vw, 24px);
  transition: border-color 0.3s, background 0.3s;
  border-radius: 40px;
}

.future-card:nth-child(2) {
  border-left-color: var(--green);
}

.future-card:nth-child(3) {
  border-left-color: var(--yellow);
}

.future-card:hover {
  background: rgba(58, 90, 64, 0.05);
}

.future-card-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.future-card-title {
  font-family: 'Public Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.future-card-desc {
  font-size: clamp(0.78rem, 1.2vw, 0.88rem);
  color: rgba(26, 46, 31, 0.85);
  line-height: 1.65;
}

.future-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.future-glow-ring {
  width: clamp(260px, 35vw, 420px);
  height: clamp(260px, 35vw, 420px);
  border-radius: 50%;
  border: 1px solid rgba(58, 90, 64, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: rotRing 18s linear infinite;
}

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

.future-glow-ring::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 40%;
  width: 9px;
  height: 9px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--cyan);
}

.future-inner {
  width: clamp(180px, 24vw, 290px);
  height: clamp(180px, 24vw, 290px);
  border-radius: 50%;
  border: 1px solid rgba(88, 129, 87, 0.2);
  background: radial-gradient(ellipse, #d6e4d8 0%, #eaede5 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  animation: rotRing 18s linear infinite reverse;
}

.future-inner-emoji {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

.future-inner-label {
  font-family: 'Public Sans', sans-serif;
  font-weight: 900;
  font-size: clamp(0.8rem, 1.5vw, 1rem);
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* =============================================
   CTA FINALE
============================================= */
#cta {
  background: radial-gradient(ellipse at 50% 120%, #d6e4d8 0%, #f4f6f1 55%);
  text-align: center;
  padding: clamp(80px, 12vw, 160px) clamp(20px, 5vw, 60px);
  position: relative;
  overflow: hidden;
}

#cta::before {
  content: '';
  position: absolute;
  bottom: -250px;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 100vw);
  height: 500px;
  background: radial-gradient(ellipse, rgba(58, 90, 64, 0.1) 0%, transparent 65%);
  pointer-events: none;
}

.cta-eyebrow {
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(26, 46, 31, 1);
  margin-bottom: 20px;
}

.cta-title {
  font-family: 'Public Sans', sans-serif;
  font-weight: 900;
  font-size: clamp(3.5rem, 10vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: -2px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.cta-sub {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  color: rgba(26, 46, 31, 0.85);
  max-width: 480px;
  margin: 0 auto clamp(40px, 6vw, 60px);
  line-height: 1.75;
}

.cta-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btn-cta-xl {
  display: inline-block;
  background: var(--grad);
  background-size: 250% 100%;
  color: #fff;
  font-family: 'Public Sans', sans-serif;
  font-weight: 900;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  letter-spacing: 4px;
  text-transform: uppercase;
  padding: clamp(18px, 3vw, 24px) clamp(40px, 7vw, 72px);
  min-width: clamp(280px, 35vw, 420px);
  text-align: center;
  border-radius: 40px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.3s;
  animation: liquidShift 5s ease infinite;
}

.btn-cta-xl::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.18);
  border-radius: inherit;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-cta-xl:hover::before {
  transform: translateY(0);
}

.btn-cta-xl:hover {
  transform: scale(1.04);
}

/* App badges */
.store-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: clamp(28px, 4vw, 40px);
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(26, 46, 31, 0.05);
  border: 1px solid rgba(26, 46, 31, 0.12);
  border-radius: 8px;
  padding: 12px 20px;
  transition: background 0.2s, border-color 0.2s;
  cursor: pointer;
}

.store-badge:hover {
  background: rgba(58, 90, 64, 0.09);
  border-color: rgba(58, 90, 64, 0.3);
}

.store-badge-icon {
  font-size: 1.6rem;
}

.store-badge-text {
  text-align: left;
}

.store-badge-sub {
  font-size: 0.6rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(26, 46, 31, 0.4);
}

.store-badge-name {
  font-family: 'Public Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 1px;
}

/* =============================================
   FOOTER
============================================= */
footer {
  background: var(--dark3);
  border-top: 1px solid rgba(58, 90, 64, 0.15);
  padding: clamp(24px, 4vw, 40px) clamp(20px, 5vw, 60px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
}

/* ====================== QR SECTION ====================== */
#qr-section {
  background: #f4f6f1;
  padding: clamp(60px, 10vw, 120px) clamp(20px, 5vw, 60px);
  text-align: center;
  border-top: 1px solid rgba(58, 90, 64, 0.1);
}

.qr-eyebrow {
  font-size: .75rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(26, 46, 31, 0.45);
  margin-bottom: 14px;
}

.qr-title {
  font-family: 'Public Sans', sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -1px;
  text-transform: uppercase;
  color: #1a2e1f;
  margin-bottom: 14px;
}

.qr-sub {
  font-size: clamp(0.85rem, 1.4vw, 1rem);
  color: rgba(26, 46, 31, 0.85);
  max-width: 400px;
  margin: 0 auto 36px;
  line-height: 1.75;
}

.qr-box {
  display: inline-block;
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 8px 40px rgba(58, 90, 64, 0.12);
}

.qr-img {
  width: 300px;
  height: 300px;
  display: block;
}

.footer-logo {
  font-family: 'Public Sans', sans-serif;
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 5px;
  text-transform: uppercase;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 36px);
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(26, 46, 31, 0.35);
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--cyan);
}

.footer-copy {
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(26, 46, 31, 0.28);
  white-space: nowrap;
}

/* =============================================
   RESPONSIVE - NAV (≤ 960px)
============================================= */
@media (max-width: 960px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

/* =============================================
   RESPONSIVE - WIDE TABLET (≤ 960px)
============================================= */
@media (max-width: 960px) {
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =============================================
   RESPONSIVE - TABLET (≤ 900px)
============================================= */
@media (max-width: 900px) {

  #beyond,
  #vision,
  #future {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-panel {
    display: none;
  }

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

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

  .timeline::before {
    display: none;
  }

  footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
  }

  .beyond-visual {
    clip-path: none;
    border-radius: 4px;
  }

  .beyond-slash {
    display: none;
  }

  .beyond-text {
    max-width: 100%;
  }

  .future-glow-ring {
    width: 280px;
    height: 280px;
  }

  .future-inner {
    width: 200px;
    height: 200px;
  }
}

/* =============================================
   RESPONSIVE - MOBILE (≤ 580px)
============================================= */
@media (max-width: 580px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .stat-item {
    border-bottom: 1px solid rgba(26, 46, 31, 0.07);
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .stat-item:nth-child(3) {
    border-bottom: none;
    border-right: 1px solid rgba(26, 46, 31, 0.07);
  }

  .stat-item:nth-child(4) {
    border-bottom: none;
  }

  .hero-logo {
    font-size: clamp(4rem, 20vw, 5.5rem);
  }

  .hero-quote {
    font-size: 0.9rem;
  }

  .cta-title {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  footer {
    gap: 14px;
  }

  .footer-nav {
    gap: 14px;
  }

  .future-glow-ring {
    width: 220px;
    height: 220px;
  }

  .future-inner {
    width: 160px;
    height: 160px;
  }

  .future-inner-emoji {
    font-size: 2rem;
  }
}

/* =============================================
   RESPONSIVE - SMALL (≤ 380px)
============================================= */
@media (max-width: 380px) {
  .hero-btns {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .btn-cta-xl {
    width: 100%;
    min-width: auto;
  }

  .store-badges {
    flex-direction: column;
    align-items: center;
  }

  .mobile-links a {
    font-size: 1.4rem;
    letter-spacing: 2px;
  }

  .mobile-links {
    gap: 18px;
  }

  .mobile-profile-section img {
    width: 68px;
    height: 68px;
  }

  .hero-content {
    padding: 24px 16px;
  }

  .beyond-visual {
    aspect-ratio: 16/9;
  }

  .data-pills {
    gap: 6px;
  }

  .hero-btns {
    gap: 10px;
  }

  .stat-item {
    padding: clamp(12px, 3vw, 20px) clamp(8px, 2vw, 16px);
  }
}

/* =============================================
   RESPONSIVE - TABLET (≤ 768px)
============================================= */
@media (max-width: 768px) {
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .profile-data-grid {
    grid-template-columns: 1fr;
  }

  .profile-content {
    padding: 24px 16px;
    max-width: 95vw;
  }

  .qr-img {
    width: min(260px, 80vw);
    height: min(260px, 80vw);
  }

  .nav-logo img {
    height: 36px;
  }
  .nav-logo {
    font-size: 1.2rem;
    letter-spacing: 3px;
  }

  #qr-section {
    padding: clamp(40px, 8vw, 80px) clamp(16px, 4vw, 32px);
  }
}

/* =============================================
   RESPONSIVE - SMALL PHONE (≤ 480px)
============================================= */
@media (max-width: 480px) {
  .nav-logo img { height: 30px; }
  .nav-logo { font-size: 1.05rem; letter-spacing: 2px; }

  .phone {
    width: clamp(180px, 70vw, 240px) !important;
  }

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

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

  .cta-btns {
    flex-direction: column;
    align-items: center;
  }

  .btn-ghost{
    background-color: #d6e4d8;
    text-align: center;
    display: flex;
    justify-content: center;
  }

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

  .hero-quote {
    max-width: 50%;
  }

  .qr-img {
    width: min(220px, 75vw);
    height: min(220px, 75vw);
  }

  .nav-logo img {
    height: 28px !important;
  }

  footer {
    gap: 10px;
  }

  .footer-nav {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
}

/* =============================================
   ATLETA ONBOARDING MODAL
============================================= */
.atleta-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 46, 31, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 4000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.atleta-overlay.active {
  display: flex;
}

.atleta-modal {
  background: var(--dark2);
  border: 1px solid rgba(58, 90, 64, 0.3);
  border-radius: 32px;
  padding: 44px 40px 36px;
  width: 100%;
  max-width: 480px;
  position: relative;
  animation: modalPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  max-height: 90vh;
  overflow-y: auto;
}

.atleta-modal-header {
  text-align: center;
  margin-bottom: 28px;
}

.atleta-icon-wrap {
  width: 60px;
  height: 60px;
  background: rgba(58, 90, 64, 0.12);
  border: 1.5px solid rgba(58, 90, 64, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.4rem;
  color: var(--cyan);
}

.atleta-modal-header h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.atleta-modal-header p {
  font-size: 0.82rem;
  opacity: 0.65;
  line-height: 1.5;
}

.atleta-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.atleta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.atleta-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.atleta-field label {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--cyan);
}

.req-star {
  color: #c0392b;
}

.atleta-field input,
.atleta-field select {
  background: var(--dark3);
  border: 1.5px solid rgba(26, 46, 31, 0.15);
  border-radius: 12px;
  color: var(--white);
  font-family: inherit;
  font-size: 0.92rem;
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.atleta-field input::placeholder {
  opacity: 0.4;
}

.atleta-field input:focus,
.atleta-field select:focus {
  border-color: var(--cyan);
}

.atleta-field input.field-error {
  border-color: #c0392b;
}

.atleta-error {
  background: rgba(192, 57, 43, 0.1);
  border: 1px solid rgba(192, 57, 43, 0.35);
  border-radius: 12px;
  color: #c0392b;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 12px 16px;
  margin-bottom: 14px;
  text-align: center;
}

.atleta-access-badge {
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 12px 16px;
  margin-bottom: 14px;
  text-align: center;
}

.atleta-access-badge.full {
  background: rgba(58, 90, 64, 0.12);
  border: 1px solid rgba(58, 90, 64, 0.35);
  color: var(--cyan);
}

.atleta-access-badge.limited {
  background: rgba(230, 162, 60, 0.1);
  border: 1px solid rgba(230, 162, 60, 0.4);
  color: #b07d22;
}

.atleta-submit {
  width: 100%;
  justify-content: center;
  font-size: 0.82rem;
  padding: 14px 20px;
}

@media (max-width: 480px) {
  .atleta-modal {
    padding: 32px 22px 28px;
    border-radius: 24px;
  }

  .atleta-row {
    grid-template-columns: 1fr;
  }
}