/* ============================================
   DIADORA VIETNAM - Landing Page Stylesheet
   Heritage-Classic / Italian Flag Colors
   ============================================ */

/* === GOOGLE FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

/* === CSS CUSTOM PROPERTIES === */
:root {
  /* Italian Flag Colors */
  --verde: #009246;
  --verde-dark: #006d34;
  --verde-light: #00b359;
  --bianco: #F5F5F0;
  --bianco-pure: #FFFFFF;
  --rosso: #CE2B37;
  --rosso-dark: #A82230;
  --rosso-light: #E8434F;

  /* Neutral Palette */
  --nero: #1A1A1A;
  --nero-soft: #2A2A2A;
  --grigio-dark: #444444;
  --grigio: #777777;
  --grigio-light: #B0B0B0;
  --grigio-lighter: #E8E8E4;

  /* Premium Accents */
  --gold: #C8A96E;
  --gold-light: #D4BC8A;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-padding: 100px;
  --container-width: 1200px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* === RESET & BASE === */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  color: var(--nero);
  background-color: var(--bianco);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* === ITALIAN FLAG TOP STRIPE === */
.italian-stripe {
  display: flex;
  height: 4px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10001;
}

.italian-stripe span {
  flex: 1;
}

.italian-stripe span:nth-child(1) { background: var(--verde); }
.italian-stripe span:nth-child(2) { background: var(--bianco-pure); }
.italian-stripe span:nth-child(3) { background: var(--rosso); }

/* === NAVIGATION === */
.navbar {
  position: fixed;
  top: 4px;
  left: 0;
  right: 0;
  z-index: 10000;
  background: rgba(245, 245, 240, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all var(--transition-base);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 40px rgba(0, 0, 0, 0.08);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  transition: height var(--transition-base);
}

.navbar.scrolled .container {
  height: 60px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--nero);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.navbar-logo .logo-icon {
  width: 40px;
  height: 40px;
}

.navbar-logo .logo-sub {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 3px;
  color: var(--grigio);
  display: block;
  margin-top: -2px;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.navbar-menu a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--grigio-dark);
  position: relative;
  padding: 4px 0;
}

.navbar-menu a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--verde);
  transition: width var(--transition-base);
}

.navbar-menu a:hover {
  color: var(--verde);
}

.navbar-menu a:hover::after {
  width: 100%;
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.navbar-toggle span {
  width: 24px;
  height: 2px;
  background: var(--nero);
  transition: all var(--transition-base);
  border-radius: 1px;
}

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

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

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

/* === HERO SECTION === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--nero);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.92;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero:hover .hero-bg img {
  transform: scale(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  /* Lớp phủ nhẹ + vệt tối vừa phải sau chữ để text nổi mà ảnh vẫn sáng */
  background:
    radial-gradient(ellipse 80% 65% at 50% 46%, rgba(0, 0, 0, 0.34) 0%, rgba(0, 0, 0, 0.12) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.10) 42%, rgba(11, 29, 17, 0.58) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--bianco-pure);
  max-width: 800px;
  padding: 0 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}

.hero-badge .flag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.hero-badge .flag-dot.green { background: var(--verde); }
.hero-badge .flag-dot.white { background: var(--bianco-pure); }
.hero-badge .flag-dot.red { background: var(--rosso); }

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero h1 .highlight {
  color: var(--verde-light);
  font-style: italic;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: var(--verde);
  color: var(--bianco-pure);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.hero-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--verde-dark);
  transform: translateX(-100%);
  transition: transform var(--transition-base);
}

.hero-cta:hover::before {
  transform: translateX(0);
}

.hero-cta span {
  position: relative;
  z-index: 1;
}

.hero-cta svg {
  position: relative;
  z-index: 1;
  transition: transform var(--transition-base);
}

.hero-cta:hover svg {
  transform: translateX(4px);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* === SECTION COMMON === */
.section {
  padding: var(--section-padding) 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--verde);
  margin-bottom: 16px;
}

.section-label::before,
.section-label::after {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--verde);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--nero);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--grigio);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Italian flag divider */
.flag-divider {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin: 24px auto;
}

.flag-divider span {
  width: 20px;
  height: 3px;
  border-radius: 2px;
}

.flag-divider span:nth-child(1) { background: var(--verde); }
.flag-divider span:nth-child(2) { background: var(--grigio-lighter); }
.flag-divider span:nth-child(3) { background: var(--rosso); }

/* === BRAND STORY SECTION === */
.brand-story {
  background: var(--bianco-pure);
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--verde), var(--grigio-lighter), var(--rosso));
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 60px;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
  padding-right: calc(50% + 40px);
  text-align: right;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
  padding-left: calc(50% + 40px);
  text-align: left;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--verde);
  border: 3px solid var(--bianco-pure);
  box-shadow: 0 0 0 4px rgba(0, 146, 70, 0.15);
  z-index: 2;
  transition: all var(--transition-base);
}

.timeline-item:hover .timeline-dot {
  transform: translateX(-50%) scale(1.3);
  box-shadow: 0 0 0 8px rgba(0, 146, 70, 0.1);
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--verde);
  margin-bottom: 8px;
}

.timeline-text h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--nero);
  margin-bottom: 8px;
}

.timeline-text p {
  font-size: 0.9rem;
  color: var(--grigio);
  line-height: 1.7;
}

/* === TECHNOLOGY SECTION === */
.technology {
  background: var(--nero);
  color: var(--bianco-pure);
  position: relative;
  overflow: hidden;
}

.technology::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 146, 70, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.technology .section-title {
  color: var(--bianco-pure);
}

.technology .section-subtitle {
  color: var(--grigio-light);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.tech-card {
  position: relative;
  padding: 40px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: all var(--transition-slow);
  overflow: hidden;
}

.tech-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--verde), var(--rosso));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.tech-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(0, 146, 70, 0.3);
  transform: translateY(-4px);
}

.tech-card:hover::before {
  opacity: 1;
}

.tech-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 146, 70, 0.12);
  border-radius: 12px;
  margin-bottom: 24px;
  font-size: 1.5rem;
  transition: all var(--transition-base);
}

.tech-card:hover .tech-icon {
  background: var(--verde);
  transform: scale(1.05);
}

.tech-card h3 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.tech-card p {
  font-size: 0.9rem;
  color: var(--grigio-light);
  line-height: 1.7;
}

/* === PRODUCTS SECTION === */
.products {
  background: var(--bianco);
}

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

.product-card {
  background: var(--bianco-pure);
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--transition-slow);
  border: 1px solid var(--grigio-lighter);
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border-color: var(--verde);
}

.product-card .product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 4px 12px;
  background: var(--verde);
  color: var(--bianco-pure);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 4px;
}

.product-image {
  aspect-ratio: 1;
  overflow: hidden;
  background: #f8f8f5;
  position: relative;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-image img {
  transform: scale(1.08);
}

.product-info {
  padding: 20px;
}

.product-category {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--verde);
  margin-bottom: 8px;
}

.product-name {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--nero);
  margin-bottom: 8px;
  line-height: 1.4;
}

.product-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--rosso);
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--verde);
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all var(--transition-base);
}

.product-link:hover {
  gap: 10px;
  color: var(--verde-dark);
}

.products-cta {
  text-align: center;
  margin-top: 48px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  border: 2px solid var(--verde);
  color: var(--verde);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-base);
}

.btn-outline:hover {
  background: var(--verde);
  color: var(--bianco-pure);
}

/* Product search bar */
.product-search {
  max-width: 560px;
  margin: 0 auto 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bianco-pure);
  border: 1.5px solid var(--grigio-lighter);
  border-radius: 8px;
  padding: 0 16px;
  transition: all var(--transition-base);
}

.product-search:focus-within {
  border-color: var(--verde);
  box-shadow: 0 0 0 3px rgba(0, 146, 70, 0.1);
}

.product-search-ico {
  color: var(--grigio);
  flex-shrink: 0;
}

.product-search-input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--nero);
  padding: 14px 0;
}

.product-search-input::placeholder {
  color: var(--grigio-light);
}

.product-search-clear {
  border: none;
  background: transparent;
  color: var(--grigio);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  flex-shrink: 0;
}

.product-search-clear:hover {
  color: var(--rosso);
}

/* Ẩn sản phẩm (mặc định / khi lọc) */
.product-hidden {
  display: none !important;
}

.products-empty {
  text-align: center;
  color: var(--grigio);
  font-size: 1rem;
  padding: 24px 0 0;
}

/* Nút "Xem tất cả" — mũi tên xoay khi mở */
#products-toggle .toggle-ico {
  transition: transform var(--transition-base);
}

#products-toggle.open .toggle-ico {
  transform: rotate(180deg);
}

/* === AMBASSADORS SECTION === */
.ambassadors {
  background: linear-gradient(135deg, #f9f9f5 0%, #f0f0eb 100%);
}

.ambassadors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.ambassador-card {
  background: var(--bianco-pure);
  border-radius: 16px;
  overflow: hidden;
  transition: all var(--transition-slow);
  border: 1px solid var(--grigio-lighter);
}

.ambassador-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.1);
}

.ambassador-image {
  height: 300px;
  overflow: hidden;
  position: relative;
  background: var(--grigio-lighter);
}

.ambassador-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.ambassador-card:hover .ambassador-image img {
  transform: scale(1.05);
}

.ambassador-image .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-base);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.ambassador-card:hover .ambassador-image .overlay {
  opacity: 1;
}

.ambassador-quote {
  color: var(--bianco-pure);
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 0.9rem;
  line-height: 1.6;
}

.ambassador-info {
  padding: 24px;
  text-align: center;
}

.ambassador-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--nero);
  margin-bottom: 4px;
}

.ambassador-role {
  font-size: 0.8rem;
  color: var(--verde);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.ambassador-achievement {
  font-size: 0.85rem;
  color: var(--grigio);
}

/* === STORES SECTION === */
.stores {
  background: var(--nero);
  color: var(--bianco-pure);
}

.stores .section-title {
  color: var(--bianco-pure);
}

.stores .section-subtitle {
  color: var(--grigio-light);
}

.stores-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.store-card {
  padding: 36px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: all var(--transition-base);
}

.store-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--verde);
  transform: translateY(-4px);
}

.store-card h3 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.store-card h3 .badge {
  padding: 2px 10px;
  background: var(--verde);
  color: var(--bianco-pure);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 4px;
}

.store-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.9rem;
  color: var(--grigio-light);
}

.store-detail svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--verde);
}

.store-detail a {
  color: var(--verde-light);
  transition: color var(--transition-fast);
}

.store-detail a:hover {
  color: var(--bianco-pure);
}

/* === NEWSLETTER SECTION === */
.newsletter {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

.newsletter-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--verde) 0%, var(--verde-dark) 100%);
}

.newsletter-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.newsletter .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.newsletter h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--bianco-pure);
  margin-bottom: 12px;
}

.newsletter p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  gap: 12px;
}

.newsletter-form input {
  flex: 1;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  color: var(--bianco-pure);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: all var(--transition-base);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input:focus {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
}

.newsletter-form button {
  padding: 16px 32px;
  background: var(--bianco-pure);
  color: var(--verde);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: var(--nero);
  color: var(--bianco-pure);
  transform: translateY(-2px);
}

/* === SIZE CHART SECTION === */
.size-chart {
  background: var(--bianco-pure);
}

.size-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}

.size-tab {
  padding: 10px 34px;
  border: 2px solid var(--grigio-lighter);
  background: transparent;
  color: var(--grigio-dark);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-base);
}

.size-tab:hover {
  border-color: var(--verde);
  color: var(--verde);
}

.size-tab.active {
  background: var(--verde);
  border-color: var(--verde);
  color: var(--bianco-pure);
}

.size-table-wrap {
  max-width: 760px;
  margin: 0 auto;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--grigio-lighter);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.05);
  -webkit-overflow-scrolling: touch;
}

.size-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.size-table th {
  background: var(--nero);
  color: var(--bianco-pure);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 15px 16px;
  text-align: center;
}

.size-table td {
  padding: 13px 16px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--nero);
  border-bottom: 1px solid var(--grigio-lighter);
}

.size-table tr:last-child td {
  border-bottom: none;
}

.size-table tbody tr:hover td {
  background: #f8f8f5;
}

.size-table .size-row-label {
  background: rgba(0, 146, 70, 0.08);
  color: var(--verde);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.5px;
  text-align: left;
}

.size-note {
  text-align: center;
  margin-top: 22px;
  font-size: 0.85rem;
  color: var(--grigio);
  font-style: italic;
}

/* === REGISTRATION FORM SECTION === */
.register {
  background: linear-gradient(135deg, #f9f9f5 0%, #f0f0eb 100%);
}

.register-wrap {
  max-width: 580px;
  margin: 0 auto;
  background: var(--bianco-pure);
  border: 1px solid var(--grigio-lighter);
  border-radius: 16px;
  padding: 44px 40px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.07);
}

.register-form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.register-form .form-row {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--nero);
  margin-bottom: 8px;
}

.form-label .req {
  color: var(--rosso);
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  background: var(--bianco);
  border: 1.5px solid var(--grigio-lighter);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--nero);
  outline: none;
  transition: all var(--transition-base);
}

.form-control:focus {
  border-color: var(--verde);
  background: var(--bianco-pure);
  box-shadow: 0 0 0 3px rgba(0, 146, 70, 0.12);
}

.form-control.error {
  border-color: var(--rosso);
}

.form-control::placeholder {
  color: var(--grigio-light);
}

select.form-control {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%23777777' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.form-error {
  display: none;
  font-size: 0.78rem;
  color: var(--rosso);
  margin-top: 6px;
}

.form-error.show {
  display: block;
}

.form-submit {
  width: 100%;
  padding: 16px;
  margin-top: 8px;
  background: var(--verde);
  color: var(--bianco-pure);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-base);
}

.form-submit:hover {
  background: var(--verde-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 146, 70, 0.3);
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.form-hint {
  text-align: center;
  font-size: 0.8rem;
  color: var(--grigio);
  margin-top: 16px;
  font-style: italic;
}

.register-success {
  display: none;
  text-align: center;
  padding: 20px 0;
}

.register-success.show {
  display: block;
}

.register-success .success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 146, 70, 0.12);
  color: var(--verde);
}

.register-success h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--verde);
  margin-bottom: 12px;
}

.register-success p {
  font-size: 0.95rem;
  color: var(--grigio);
  line-height: 1.7;
}

@media (max-width: 560px) {
  .register-wrap {
    padding: 32px 24px;
  }

  .register-form .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* === FOOTER === */
.footer {
  background: var(--nero);
  color: var(--grigio-light);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bianco-pure);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 24px;
  color: var(--grigio);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--grigio-light);
  transition: all var(--transition-base);
}

.footer-social a:hover {
  background: var(--verde);
  color: var(--bianco-pure);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--bianco-pure);
  margin-bottom: 24px;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--grigio);
  transition: all var(--transition-base);
}

.footer-col ul li a:hover {
  color: var(--verde-light);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  font-size: 0.8rem;
  color: var(--grigio);
}

.footer-flag {
  display: flex;
  height: 3px;
}

.footer-flag span {
  flex: 1;
}

.footer-flag span:nth-child(1) { background: var(--verde); }
.footer-flag span:nth-child(2) { background: var(--bianco-pure); }
.footer-flag span:nth-child(3) { background: var(--rosso); }

/* === SCROLL REVEAL ANIMATION === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media (max-width: 768px) {
  :root {
    --section-padding: 64px;
  }

  .navbar-menu {
    display: none;
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bianco-pure);
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border-top: 1px solid var(--grigio-lighter);
  }

  .navbar-menu.open {
    display: flex;
  }

  .navbar-toggle {
    display: flex;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    flex-direction: row;
    padding-left: 56px;
    padding-right: 0;
    text-align: left;
  }

  .timeline-dot {
    left: 20px;
  }

  .ambassadors-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

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

  .newsletter-form {
    flex-direction: column;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

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

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

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

  .product-info {
    padding: 16px;
  }
}
