:root {
  --primary-color: #d1ff00;
  --bg-color: #0a0a0a;
  --bg-color-2: #111111;
  --bg-card: rgba(255, 255, 255, 0.04);
  --border-color: rgba(255, 255, 255, 0.08);
  --text-color: #ffffff;
  --secondary-text: #a0a0a0;
  --muted-text: #7a7a7a;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body,
html {
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
}

body {
  position: relative;
  overflow-x: hidden;
}

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

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

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 35%),
    linear-gradient(300deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0) 30%),
    radial-gradient(circle at top left, rgba(255,255,255,0.05), transparent 35%),
    #0a0a0a;
}

.site-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 2px 2px, #1a1a1a 1px, transparent 0);
  background-size: 40px 40px;
  opacity: 0.18;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(10, 10, 10, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.05rem;
  white-space: nowrap;
}

.logo-main {
  color: #fff;
}

.logo-accent {
  color: var(--primary-color);
  margin-left: 6px;
}

.main-nav {
  display: flex;
  gap: 22px;
}

.main-nav a {
  font-size: 0.95rem;
  color: var(--secondary-text);
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--text-color);
}

.main-nav a.nav-cta {
  color: var(--primary-color);
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  z-index: 1;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
  background-image: url("images/hero-padel-club.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.58) 45%, rgba(0,0,0,0.5) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.55) 100%);
}

.hero-content {
  position: relative;
  padding: 110px 0 80px;
  max-width: 760px;
}

.status-badge,
.eyebrow {
  display: inline-block;
  color: var(--primary-color);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.status-badge {
  padding: 8px 14px;
  border: 1px solid rgba(209, 255, 0, 0.4);
  border-radius: 999px;
  margin-bottom: 22px;
  background: rgba(209, 255, 0, 0.05);
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  font-weight: 800;
}

.hero h1 span {
  display: block;
  color: var(--primary-color);
}

.hero-text {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.7;
  color: #d2d2d2;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 12px;
  font-family: inherit;
  font-weight: 700;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary-color);
  color: #111;
}

.btn-primary:hover {
  opacity: 0.95;
}

.btn-secondary {
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  color: #fff;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
}

.btn-full {
  width: 100%;
}

.section {
  padding: 110px 0;
}

.section-dark {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.section-bg {
  position: relative;
  background-image: url("images/background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.section-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0,0,0,0.85), rgba(0,0,0,0.92));
  backdrop-filter: blur(2px);
}

.section-bg .container {
  position: relative;
  z-index: 1;
}

.section-bg .card,
.section-bg .spec-card {
  background: rgba(0,0,0,0.55);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 50px;
}

.section-heading h2 {
  margin: 14px 0 14px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.section-heading p {
  margin: 0;
  color: var(--secondary-text);
  line-height: 1.75;
  font-size: 1.05rem;
}

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

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.card p {
  margin: 0;
  color: var(--secondary-text);
  line-height: 1.7;
}

.solution-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 42px;
  align-items: center;
}

.feature-list {
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
  color: #d7d7d7;
  line-height: 1.6;
}

.feature-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-color);
  font-size: 1.5rem;
  line-height: 1;
}

.products-box {
  background: rgba(209, 255, 0, 0.05);
  border: 1px solid rgba(209, 255, 0, 0.15);
  border-radius: var(--radius);
  padding: 26px;
}

.products-box h3 {
  margin: 0 0 14px;
  font-size: 1.15rem;
}

.products-box ul {
  margin: 0;
  padding-left: 18px;
  color: #d7d7d7;
  line-height: 1.8;
}

.solution-media img {
  width: 100%;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
  background: rgba(255,255,255,0.02);
}

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

.spec-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
}

.spec-label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted-text);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.spec-card strong {
  font-size: 1.1rem;
}

.benefits-table {
  border: 1px solid var(--border-color);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

.benefit-row > div {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.benefit-row > div:first-child {
  border-right: 1px solid rgba(255,255,255,0.06);
}

.benefit-head {
  background: rgba(209, 255, 0, 0.08);
  font-weight: 700;
}

.highlight-box {
  margin-top: 24px;
  border-left: 4px solid var(--primary-color);
  padding: 18px 20px;
  background: rgba(255,255,255,0.03);
  border-radius: 0 14px 14px 0;
}

.highlight-box p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.7;
  color: #f1f1f1;
}

.section-contact {
  padding-bottom: 120px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
  align-items: start;
}

.contact-copy p {
  color: var(--secondary-text);
  line-height: 1.8;
}

.contact-points {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.contact-points strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
}

.contact-points a,
.contact-points span {
  color: var(--secondary-text);
}

.contact-form-wrap {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-color);
  border-radius: 22px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.contact-form {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label {
  font-size: 0.95rem;
  font-weight: 600;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  color: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  font: inherit;
  outline: none;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: #787878;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: rgba(209, 255, 0, 0.6);
  box-shadow: 0 0 0 3px rgba(209, 255, 0, 0.1);
}

.two-cols {
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.checkbox-row {
  margin-top: -4px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--secondary-text);
  font-size: 0.92rem;
  line-height: 1.5;
}

.checkbox-label input {
  width: auto;
  margin-top: 3px;
}

.site-footer {
  border-top: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.02);
}

.footer-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-brand,
.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--secondary-text);
  font-size: 0.92rem;
}

.footer-brand strong {
  color: #fff;
}

@media (max-width: 1024px) {
  .problem-grid,
  .specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .solution-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .section {
    padding: 80px 0;
  }

  .problem-grid,
  .specs-grid,
  .two-cols,
  .benefit-row {
    grid-template-columns: 1fr;
  }

/* Nuovo layout per la tabella su mobile */
  .benefits-table {
    border: none;
    box-shadow: none;
    background: transparent;
  }

  /* Nascondiamo l'intestazione principale orizzontale */
  .benefit-head {
    display: none !important;
  }

  /* Ogni riga diventa una card a sé stante */
  .benefit-row {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
  }

  .benefit-row > div {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    border-right: none !important; /* Rimuove il bordo verticale */
  }

  .benefit-row > div:last-child {
    border-bottom: none;
    background: rgba(255,255,255,0.02); /* Sfondo leggermente diverso per staccare */
  }

  /* Iniettiamo i titoli direttamente sopra i testi */
  .benefit-row > div:first-child::before {
    content: "Il club mette a disposizione:";
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 6px;
    font-weight: 700;
    letter-spacing: 0.05em;
  }

  .benefit-row > div:last-child::before {
    content: "Noi ci occupiamo di:";
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--secondary-text);
    margin-bottom: 6px;
    font-weight: 700;
    letter-spacing: 0.05em;
  }

  .hero-content {
    padding: 90px 0 70px;
  }

  .hero-text {
    font-size: 1.02rem;
  }

  .contact-form-wrap {
    padding: 20px;
  }

  .footer-inner {
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }
}

/* Banner di successo form */
.success-banner {
  background: rgba(209, 255, 0, 0.1);
  border: 1px solid rgba(209, 255, 0, 0.4);
  color: #fff;
  padding: 18px;
  border-radius: 12px;
  margin-bottom: 24px;
  text-align: center;
  line-height: 1.6;
}

.success-banner strong {
  color: var(--primary-color);
  display: block;
  margin-bottom: 4px;
  font-size: 1.05rem;
}