/* ===========================
   SMT — PREVENTA PORTA OVERGRIPS
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,300;0,400;0,600;0,700;0,800;0,900;1,700;1,800;1,900&family=Barlow:wght@300;400;500;600&display=swap');

:root {
  --blue:    #1e9bff;
  --blue-dim:#0e5a9a;
  --white:   #f0f4ff;
  --gray:    #9aa3b8;
  --dark:    #050810;
  --dark2:   #090d1a;
  --dark3:   #0d1426;
  --glass:   rgba(255,255,255,0.04);
  --glass-b: rgba(255,255,255,0.08);
  --border:  rgba(30,155,255,0.2);
  --border-b:rgba(30,155,255,0.5);
  --glow:    0 0 40px rgba(30,155,255,0.15);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.5;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--blue-dim); border-radius: 2px; }

/* ─── CORNER BRACKETS ─── */
.corners {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 2;
}
.corners::before, .corners::after,
.corners span::before, .corners span::after {
  content: '';
  position: absolute;
  width: 22px; height: 22px;
  border-color: var(--blue);
  border-style: solid;
  opacity: 0.7;
}
.corners::before  { top: 16px; left: 16px;  border-width: 2px 0 0 2px; }
.corners::after   { top: 16px; right: 16px; border-width: 2px 2px 0 0; }
.corners span::before { bottom: 16px; left: 16px;  border-width: 0 0 2px 2px; }
.corners span::after  { bottom: 16px; right: 16px; border-width: 0 2px 2px 0; }

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 40px;
  display: flex; align-items: center; justify-content: space-between;
  backdrop-filter: blur(12px);
  background: rgba(5,8,16,0.7);
  border-bottom: 1px solid var(--border);
  transition: background .3s;
}
.nav-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 2rem;
  letter-spacing: -1px;
  color: var(--white);
}
.nav-logo span { color: var(--blue); }
.nav-cta {
  background: var(--blue);
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 10px 22px;
  border: none; cursor: pointer;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: background .2s, transform .2s;
  text-decoration: none;
}
.nav-cta:hover { background: #3aadff; transform: translateY(-1px); }

/* ─── HERO ─── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  overflow: hidden;
  padding: 100px 24px 60px;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 70%, rgba(30,155,255,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 80% 40% at 20% 30%, rgba(10,60,120,0.25) 0%, transparent 60%),
    linear-gradient(180deg, #060b18 0%, var(--dark) 100%);
  z-index: 0;
}
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(30,155,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,155,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}
.hero-content { position: relative; z-index: 3; text-align: center; max-width: 860px; }

.badge-preventa {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .8rem; font-weight: 600;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
}
.badge-preventa::before, .badge-preventa::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue));
  width: 40px;
}
.badge-preventa::after { background: linear-gradient(90deg, var(--blue), transparent); }

.hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-style: italic;
  font-size: clamp(4rem, 12vw, 9rem);
  line-height: .92;
  text-transform: uppercase;
  letter-spacing: -2px;
  color: var(--white);
  text-shadow: 0 0 60px rgba(30,155,255,0.2);
}
.hero-title .line2 {
  display: block;
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.25);
  color: transparent;
}

.hero-subtitle {
  margin-top: 16px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem; font-weight: 400;
  letter-spacing: 5px; text-transform: uppercase;
  color: var(--gray);
}
.flag-img {
  height: 18px;
  width: auto;
  margin-left: 8px;
  vertical-align: middle;
  border-radius: 2px;
  display: inline-block;
}

.hero-badges {
  display: flex; justify-content: center; gap: 12px;
  flex-wrap: wrap;
  margin-top: 36px;
}
.pill {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .82rem; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gray);
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  transition: border-color .3s, color .3s;
}
.pill.accent { border-color: var(--blue-dim); color: var(--blue); }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }

.founder-badge {
  position: absolute; right: 6%; top: 50%;
  transform: translateY(-50%);
  z-index: 3;
}
.founder-ring {
  width: 110px; height: 110px;
  border: 2px solid var(--blue-dim);
  border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: rgba(30,155,255,0.06);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 30px rgba(30,155,255,0.15), inset 0 0 20px rgba(30,155,255,0.05);
  animation: ringPulse 3s ease-in-out infinite;
}
@keyframes ringPulse {
  0%, 100% { box-shadow: 0 0 30px rgba(30,155,255,0.15); }
  50%       { box-shadow: 0 0 50px rgba(30,155,255,0.3); }
}
.founder-ring .f-top, .founder-ring .f-bot {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .6rem; font-weight: 700; letter-spacing: 3px;
  color: var(--gray); text-transform: uppercase;
}
.founder-ring .f-mid {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.7rem; font-weight: 900; letter-spacing: 2px;
  color: var(--blue); line-height: 1;
}

/* Units counter hero */
.units-counter {
  position: absolute; left: 5%; top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  border: 1px solid var(--border-b);
  padding: 20px 22px;
  background: var(--glass);
  backdrop-filter: blur(12px);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  text-align: center;
}
.units-counter .num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 3.5rem; font-weight: 900;
  color: var(--blue); line-height: 1;
}
.units-counter .lbl {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .7rem; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--white); margin-top: 4px;
}
.units-counter .sub {
  font-size: .65rem; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--blue);
  margin-top: 8px; opacity: .85;
}

/* ─── PRODUCTS SECTION ─── */
#products {
  padding: 100px 24px;
  position: relative;
  background: linear-gradient(180deg, var(--dark) 0%, var(--dark2) 100%);
}
.section-label {
  text-align: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .75rem; font-weight: 700; letter-spacing: 5px;
  text-transform: uppercase; color: var(--blue);
  margin-bottom: 12px;
}
.section-title {
  text-align: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; font-style: italic;
  text-transform: uppercase; letter-spacing: -1px;
  margin-bottom: 60px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.product-card {
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  padding: 40px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: border-color .3s, transform .3s;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}
.product-card:hover {
  border-color: var(--blue-dim);
  transform: translateY(-6px);
}
.product-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0; transition: opacity .3s;
}
.product-card:hover::before { opacity: 1; }

.product-visual {
  width: 80px; height: 140px;
  margin: 0 auto 24px;
  position: relative;
}
.product-tube {
  width: 100%; height: 100%;
  border-radius: 12px 12px 8px 8px;
  position: relative; overflow: hidden;
}
.product-tube.white { background: linear-gradient(180deg, #e8e8e8 0%, #c8c8c8 100%); }
.product-tube.black { background: linear-gradient(180deg, #2a2a2a 0%, #111 100%); }
.product-tube.gray  { background: linear-gradient(180deg, #888 0%, #555 100%); }
.product-tube::after {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    170deg,
    rgba(255,255,255,0.06) 0px, rgba(255,255,255,0.06) 2px,
    transparent 2px, transparent 8px
  );
}
.product-cap {
  width: 90px; height: 22px;
  border-radius: 4px;
  margin: 0 auto;
  position: relative; bottom: 0; left: -5%;
}
.product-cap.white { background: #d0d0d0; }
.product-cap.black { background: #1a1a1a; }
.product-cap.gray  { background: #666; }

.product-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem; font-weight: 800; font-style: italic;
  text-transform: uppercase; margin-bottom: 4px;
}
.product-variant {
  font-size: .75rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gray); margin-bottom: 16px;
}
.color-dots {
  display: flex; justify-content: center; gap: 8px;
}
.color-dot {
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.15);
  cursor: pointer; transition: transform .2s;
}
.color-dot:hover { transform: scale(1.3); }
.color-dot.wd { background: #e8e8e8; }
.color-dot.bk { background: #2a2a2a; border-color: rgba(255,255,255,0.3); }
.color-dot.gy { background: #888; }

/* ─── FEATURES ─── */
#features {
  padding: 80px 24px;
  background: var(--dark3);
  position: relative;
}
#features::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-b), transparent);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  max-width: 900px;
  margin: 0 auto;
  background: var(--border);
  border: 1px solid var(--border);
}
.feature-item {
  background: var(--dark3);
  padding: 30px 24px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.feature-icon { font-size: 1.5rem; }
.feature-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .75rem; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--blue);
}
.feature-desc { font-size: .82rem; color: var(--gray); }

/* ─── FORM SECTION ─── */
#order {
  padding: 100px 24px 80px;
  position: relative;
  background: linear-gradient(180deg, var(--dark2) 0%, var(--dark) 100%);
}
#order::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 1px; height: 80px;
  background: linear-gradient(180deg, transparent, var(--blue));
}

.form-wrapper {
  max-width: 700px;
  margin: 0 auto;
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  padding: 50px 48px;
  position: relative;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}

/* sticky payment info */
.payment-info {
  background: rgba(30,155,255,0.06);
  border: 1px solid var(--border-b);
  padding: 18px 24px;
  margin-bottom: 36px;
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between; gap: 12px;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.payment-info .pi-item { display: flex; flex-direction: column; gap: 2px; }
.payment-info .pi-label {
  font-size: .65rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gray);
}
.payment-info .pi-value {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem; font-weight: 800; color: var(--white);
}
.payment-info .pi-value.blue { color: var(--blue); }
.payment-info .pi-total {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .75rem; font-weight: 600;
  letter-spacing: 1px; color: var(--gray);
  text-align: right;
}
.payment-info .pi-total strong {
  display: block;
  font-size: 1.6rem; font-weight: 900; color: #fff; letter-spacing: 0;
}

/* form fields */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-row.single { grid-template-columns: 1fr; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: .7rem; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gray);
}
.form-group input,
.form-group select {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  padding: 12px 14px;
  font-family: 'Barlow', sans-serif;
  font-size: .9rem;
  outline: none;
  transition: border-color .2s, background .2s;
  appearance: none;
  -webkit-appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231e9bff' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.form-group input:focus, .form-group select:focus {
  border-color: var(--blue-dim);
  background: rgba(30,155,255,0.04);
}
.form-group input.error { border-color: #ff4444; }
.form-group .error-msg {
  font-size: .7rem; color: #ff6666;
  display: none;
}
.form-group.has-error .error-msg { display: block; }
.form-group.has-error input,
.form-group.has-error select { border-color: #ff4444; }

/* units builder */
.units-builder { margin-bottom: 24px; }
.ub-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.ub-title {
  font-size: .7rem; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gray);
}
.ub-add {
  display: flex; align-items: center; gap: 6px;
  background: none; border: 1px solid var(--border-b);
  color: var(--blue); padding: 6px 14px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .75rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; cursor: pointer;
  transition: background .2s;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
}
.ub-add:hover { background: rgba(30,155,255,0.08); }
.ub-add:disabled { opacity: .3; cursor: not-allowed; }

.unit-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 16px 18px;
  margin-bottom: 10px;
  display: grid;
  grid-template-columns: auto 1fr 1fr auto;
  gap: 12px; align-items: center;
  transition: border-color .2s;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.unit-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .75rem; font-weight: 800; letter-spacing: 2px;
  color: var(--blue); width: 30px;
}
.unit-item select {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white); padding: 10px 36px 10px 12px;
  font-family: 'Barlow', sans-serif; font-size: .85rem;
  outline: none; cursor: pointer;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231e9bff' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: border-color .2s;
}
.unit-item select:focus { border-color: var(--blue-dim); }
.unit-remove {
  background: none; border: none;
  color: rgba(255,255,255,0.2); cursor: pointer;
  font-size: 1.1rem; padding: 4px;
  transition: color .2s;
  line-height: 1;
}
.unit-remove:hover { color: #ff4444; }

/* file upload */
.upload-area {
  border: 1px dashed rgba(30,155,255,0.3);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  margin-bottom: 16px;
  position: relative;
}
.upload-area:hover, .upload-area.dragover {
  border-color: var(--blue-dim);
  background: rgba(30,155,255,0.04);
}
.upload-area input[type="file"] {
  position: absolute; inset: 0;
  opacity: 0; cursor: pointer; width: 100%; height: 100%;
}
.upload-icon { font-size: 1.8rem; margin-bottom: 8px; }
.upload-text {
  font-size: .82rem; color: var(--gray);
}
.upload-text strong { color: var(--blue); }
.upload-preview {
  display: none;
  align-items: center; gap: 10px;
  background: rgba(30,155,255,0.06);
  border: 1px solid var(--border);
  padding: 10px 14px;
  margin-top: 10px;
}
.upload-preview.visible { display: flex; }
.upload-preview img { width: 40px; height: 40px; object-fit: cover; border: 1px solid var(--border); }
.upload-preview .up-name { font-size: .8rem; color: var(--white); flex: 1; }
.upload-preview .up-remove {
  background: none; border: none; color: var(--gray);
  cursor: pointer; font-size: .9rem;
  transition: color .2s;
}
.upload-preview .up-remove:hover { color: #ff4444; }

/* submit */
.form-submit {
  margin-top: 32px;
  text-align: center;
}
.btn-submit {
  background: var(--blue);
  color: #fff;
  border: none; cursor: pointer;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem; font-weight: 800;
  letter-spacing: 3px; text-transform: uppercase;
  padding: 18px 48px;
  clip-path: polygon(14px 0%, 100% 0%, calc(100% - 14px) 100%, 0% 100%);
  transition: background .2s, transform .2s, box-shadow .2s;
  width: 100%;
}
.btn-submit:hover {
  background: #3aadff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(30,155,255,0.3);
}
.btn-submit:active { transform: translateY(0); }
.btn-submit:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.form-disclaimer {
  font-size: .72rem; color: var(--gray);
  text-align: center; margin-top: 14px; line-height: 1.6;
}

/* ─── SUCCESS MODAL ─── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(5,8,16,0.9);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.modal-overlay.visible { opacity: 1; pointer-events: all; }
.modal-box {
  background: var(--dark2);
  border: 1px solid var(--border-b);
  padding: 50px 44px;
  max-width: 480px; width: 100%;
  text-align: center;
  position: relative;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  animation: modalIn .4s ease forwards;
}
@keyframes modalIn {
  from { transform: scale(.9) translateY(20px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.modal-icon { font-size: 3rem; margin-bottom: 16px; }
.modal-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem; font-weight: 900; font-style: italic;
  text-transform: uppercase; margin-bottom: 12px; color: var(--blue);
}
.modal-text { color: var(--gray); font-size: .9rem; line-height: 1.7; }
.modal-close {
  margin-top: 28px;
  background: none; border: 1px solid var(--border-b);
  color: var(--blue); padding: 12px 32px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .82rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; cursor: pointer;
  transition: background .2s;
}
.modal-close:hover { background: rgba(30,155,255,0.08); }

/* ─── FOOTER ─── */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 40px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  background: var(--dark);
}
.footer-brand {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem; font-weight: 900;
  color: var(--white);
}
.footer-brand span { color: var(--blue); }
.footer-url {
  font-size: .75rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--blue); text-decoration: none;
}
.footer-copy { font-size: .72rem; color: var(--gray); }

/* ─── PADEL COURT ─── */
.court-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.court-scene {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -10%) perspective(900px) rotateX(52deg);
  width: 1240px;
  height: 620px;
  transform-origin: center center;
}

/* Turf */
.court-turf {
  position: absolute;
  inset: 0;
  border-radius: 6px;
  background:
    radial-gradient(ellipse 70% 50% at 50% 30%, #2277cc 0%, #0d4a8a 45%, #071e40 100%);
  box-shadow:
    0 0 120px rgba(20, 100, 200, 0.8),
    0 0 40px rgba(30, 155, 255, 0.4),
    inset 0 0 80px rgba(0,0,0,0.5);
  overflow: hidden;
}

/* Grass stripe texture */
.grass-lines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    rgba(255,255,255,0.028) 0px,
    rgba(255,255,255,0.028) 22px,
    transparent 22px,
    transparent 44px
  );
  border-radius: 6px;
}

/* Court lines container */
.court-lines {
  position: absolute;
  inset: 24px;
}

/* Base line style */
.cl {
  position: absolute;
  background: rgba(255,255,255,0.82);
}

/* Outer border */
.cl-border {
  inset: 0;
  background: transparent;
  border: 2px solid rgba(255,255,255,0.72);
  box-shadow: 0 0 8px rgba(255,255,255,0.15);
}

/* Service lines — vertical, one per side (~22% from each end) */
.cl-service-l {
  top: 0; bottom: 0;
  left: 22%; width: 2px;
  opacity: 0.7;
}
.cl-service-r {
  top: 0; bottom: 0;
  right: 22%; width: 2px;
  opacity: 0.7;
}

/* Center service line — horizontal, only between the two service lines */
.cl-center {
  left: 22%; right: 22%;
  top: 50%; height: 2px;
  transform: translateY(-50%);
  opacity: 0.7;
}

/* Back wall lines */
.cl-back-l {
  top: 8%; bottom: 8%;
  left: -22px; width: 2px;
  background: rgba(255,255,255,0.3);
}
.cl-back-r {
  top: 8%; bottom: 8%;
  right: -22px; width: 2px;
  background: rgba(255,255,255,0.3);
}

/* NET — vertical, center, full height */
.court-net {
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  transform: translateX(-50%);
  width: 36px;
  z-index: 2;
}
/* Net top cable (runs vertically — use left edge as the cable) */
.net-top {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(255,255,255,0.9) 8%,
    rgba(255,255,255,0.9) 92%,
    transparent 100%
  );
  box-shadow: 0 0 10px rgba(255,255,255,0.5), 0 0 20px rgba(30,155,255,0.3);
}
/* Net mesh — vertical strips */
.net-mesh {
  position: absolute;
  left: 4px; top: 0; right: 0; bottom: 0;
  background:
    repeating-linear-gradient(
      180deg,
      rgba(255,255,255,0.14) 0px, rgba(255,255,255,0.14) 1px,
      transparent 1px, transparent 10px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,0.14) 0px, rgba(255,255,255,0.14) 1px,
      transparent 1px, transparent 14px
    );
}
/* Net posts — top and bottom */
.net-post {
  position: absolute;
  left: -6px; right: -6px;
  height: 6px;
  background: linear-gradient(90deg, #888, #ccc, #888);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(255,255,255,0.3);
}
.net-post-l { top: 0; }
.net-post-r { bottom: 0; }

/* Glass walls */
.court-glass {
  position: absolute;
  top: 6%; bottom: 6%;
  width: 16px;
  background: linear-gradient(180deg,
    rgba(100,180,255,0.18) 0%,
    rgba(100,180,255,0.06) 50%,
    rgba(100,180,255,0.18) 100%
  );
  border: 1px solid rgba(100,180,255,0.3);
  box-shadow: 0 0 20px rgba(30,155,255,0.2);
}
.court-glass-bl { left: -20px; border-radius: 2px 0 0 2px; }
.court-glass-br { right: -20px; border-radius: 0 2px 2px 0; }

/* Spotlight glows on turf */
.turf-spot {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}
.turf-spot-1 {
  width: 280px; height: 180px;
  top: 15%; left: 15%;
  background: rgba(30,100,200,0.35);
  animation: spotPulse 4s ease-in-out infinite;
}
.turf-spot-2 {
  width: 280px; height: 180px;
  top: 15%; right: 15%;
  background: rgba(10,60,160,0.3);
  animation: spotPulse 4s ease-in-out infinite reverse;
}
@keyframes spotPulse {
  0%, 100% { opacity: .7; transform: scale(1); }
  50%       { opacity: 1;  transform: scale(1.08); }
}

/* Fog gradient so court fades into hero content smoothly */
.court-fog {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    /* top fade for nav */
    linear-gradient(180deg, rgba(5,8,16,0.82) 0%, rgba(5,8,16,0) 18%),
    /* bottom fade */
    linear-gradient(0deg,   rgba(5,8,16,1) 0%, rgba(5,8,16,0) 22%),
    /* center overlay — semi-transparent so court shows through but text stays readable */
    radial-gradient(ellipse 80% 60% at 50% 52%, rgba(5,8,16,0.42) 0%, rgba(5,8,16,0) 70%),
    /* side fades */
    linear-gradient(90deg,
      rgba(5,8,16,0.55) 0%, rgba(5,8,16,0) 16%,
      rgba(5,8,16,0) 84%, rgba(5,8,16,0.55) 100%
    );
}

/* ─── NAV LOGO IMG ─── */
.nav-logo-img {
  height: 36px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1); /* white version for dark nav */
}

/* ─── OVERGRIP PNG MODEL ─── */
.grip-stage {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-52%);
  z-index: 10;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* PNG image — sized and animated */
.grip-png {
  width: 500px;
  height: auto;
  display: block;
  /* slight perspective tilt — like coming towards viewer */
  animation: gripFloat 4s ease-in-out infinite;
  will-change: transform;
  /* drop shadow matching blue glow */
  filter: drop-shadow(0 20px 40px rgba(30,155,255,0.25))
          drop-shadow(0 4px 16px rgba(0,0,0,0.7));
}
@keyframes gripFloat {
  0%,100% {
    transform: scale(1.18) translateY(0);
  }
  50% {
    transform: scale(1.18) translateY(-18px);
  }
}

/* Glow halo behind the PNG */
.grip-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 260px; height: 420px;
  background: radial-gradient(ellipse, rgba(30,155,255,0.22) 0%, transparent 65%);
  filter: blur(28px);
  pointer-events: none;
  animation: gripGlow 4s ease-in-out infinite;
  z-index: -1;
}
@keyframes gripGlow {
  0%,100% { opacity: .6; transform: translate(-50%, -50%) scale(1);    }
  50%      { opacity: 1;  transform: translate(-50%, -50%) scale(1.08); }
}

/* Shadow on the ground */
.grip-shadow {
  width: 110px; height: 20px;
  background: radial-gradient(ellipse, rgba(30,155,255,0.5) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(10px);
  margin-top: -8px;
  animation: shadowPulse 4s ease-in-out infinite;
}
@keyframes shadowPulse {
  0%,100% { opacity: .65; transform: scaleX(1);    }
  50%      { opacity: 1;   transform: scaleX(1.12); }
}


/* ─── GRIP COLOR SELECTOR ─── */
.grip-color-selector {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 14px;
  position: relative;
  z-index: 11;
  pointer-events: all;
}

.grip-dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2);
  cursor: pointer;
  padding: 0;
  transition: transform .2s, border-color .2s, box-shadow .2s;
  position: relative;
}
.grip-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  transition: border-color .2s;
}
.grip-dot:hover { transform: scale(1.2); }

.grip-dot-black { background: #1a1a1a; border-color: rgba(255,255,255,0.35); }
.grip-dot-gray  { background: #888;    border-color: rgba(255,255,255,0.25); }
.grip-dot-white { background: #e8e8e8; border-color: rgba(255,255,255,0.3);  }

.grip-dot.active { transform: scale(1.25); border-color: var(--blue); }
.grip-dot.active::after { border-color: var(--blue); }
.grip-dot-black.active { box-shadow: 0 0 10px rgba(30,155,255,0.5); }
.grip-dot-gray.active  { box-shadow: 0 0 10px rgba(30,155,255,0.5); }
.grip-dot-white.active { box-shadow: 0 0 10px rgba(30,155,255,0.5); }

/* ─── PARALLAX LAYERS ─── */
.parallax-layer {
  will-change: transform;
}

/* ─── GLOW ORBS ─── */
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none; z-index: 0;
  animation: orbFloat 8s ease-in-out infinite;
}
.orb-1 {
  width: 400px; height: 400px;
  background: rgba(30,100,255,0.08);
  top: 10%; left: -10%;
}
.orb-2 {
  width: 300px; height: 300px;
  background: rgba(30,155,255,0.06);
  bottom: 10%; right: -5%;
  animation-delay: -4s;
}
@keyframes orbFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-30px); }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 700px) {
  nav { padding: 14px 20px; }
  .nav-cta { font-size: .75rem; padding: 8px 16px; }
  .founder-badge, .units-counter { display: none; }
  .form-wrapper { padding: 32px 22px; }
  .form-row { grid-template-columns: 1fr; }
  .unit-item { grid-template-columns: auto 1fr auto; }
  .unit-item select:last-of-type { grid-column: 2; }
}
@media (max-width: 480px) {
  footer { flex-direction: column; text-align: center; }
}
