/* ============================================
   PADELLOOP — Premium Industrial Sport
   Dark: #0f0f0f  Accent: #BFFF00  White: #f5f5f5
   Fonts: Syne (headings) + DM Sans (body)
   ============================================ */

:root {
  --bg: #0f0f0f;
  --bg-alt: #161616;
  --surface: #1e1e1e;
  --border: #2a2a2a;
  --fg: #f5f5f5;
  --fg-muted: #888;
  --accent: #BFFF00;
  --accent-dim: rgba(191,255,0,0.08);
  --accent-border: rgba(191,255,0,0.25);
  --lime-glow: rgba(191,255,0,0.15);
  --font-head: 'Syne', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --max-w: 1100px;
  --radius: 6px;
  --section-pad: clamp(64px, 10vw, 120px);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Selection */
::selection { background: var(--accent); color: var(--bg); }

/* ============================================
   HERO
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px var(--max-w) 80px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.hero-glow {
  position: absolute;
  top: -100px;
  right: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--lime-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

/* CSS Padel Court Art */
.court-art {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.court-frame {
  position: relative;
  width: 280px;
  height: 170px;
  background: transparent;
}

.court-glass-left {
  position: absolute;
  left: 0; top: 0;
  width: 22px; height: 100%;
  background: linear-gradient(180deg, rgba(191,255,0,0.08) 0%, rgba(191,255,0,0.03) 100%);
  border: 1px solid var(--accent-border);
  border-radius: 2px;
}

.court-glass-right {
  position: absolute;
  right: 0; top: 0;
  width: 22px; height: 100%;
  background: linear-gradient(180deg, rgba(191,255,0,0.08) 0%, rgba(191,255,0,0.03) 100%);
  border: 1px solid var(--accent-border);
  border-radius: 2px;
}

.court-net {
  position: absolute;
  left: 22px; right: 22px; top: 50%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-border), transparent);
}

.court-net::before {
  content: '';
  position: absolute;
  top: -8px; bottom: -8px;
  left: 0; right: 0;
  background: repeating-linear-gradient(
    90deg,
    var(--border) 0px,
    var(--border) 2px,
    transparent 2px,
    transparent 8px
  );
}

.center-line {
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 1px;
  background: var(--accent-border);
}

.service-line-left {
  position: absolute;
  left: 22px; right: 22px; top: 38%;
  height: 1px;
  background: var(--accent-border);
  opacity: 0.5;
}

.service-line-right {
  position: absolute;
  left: 22px; right: 22px; bottom: 38%;
  height: 1px;
  background: var(--accent-border);
  opacity: 0.5;
}

.ball {
  position: absolute;
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 16px 4px rgba(191,255,0,0.4);
  animation: ballBounce 3s ease-in-out infinite;
}

.b1 { top: 30%; right: 38%; animation-delay: 0s; }
.b2 { bottom: 28%; left: 35%; animation-delay: 1.5s; }

@keyframes ballBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.hero-badge {
  display: inline-block;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 40px;
  margin-bottom: 28px;
}

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(42px, 5.5vw, 76px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 24px;
}

.hero-headline em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 480px;
  margin-bottom: 48px;
  font-weight: 300;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}

.stat {
  padding: 0 28px 0 0;
}

.stat:first-child { padding-left: 0; }

.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 11px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.4;
  display: block;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  margin: 0 28px 0 0;
}

/* ============================================
   SECTION SHARED
   ============================================ */

.section-header {
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-header h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

/* ============================================
   HOW IT WORKS
   ============================================ */

.howitworks {
  padding: var(--section-pad) var(--max-w);
  max-width: var(--max-w);
  margin: 0 auto;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps {
  display: grid;
  grid-template-columns: 1fr 60px 1fr 60px 1fr;
  align-items: start;
  gap: 0;
}

.step {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.step-icon {
  margin-bottom: 20px;
}

.step-num {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}

.step h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.step p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 60px;
}

/* ============================================
   ECONOMICS
   ============================================ */

.economics {
  padding: var(--section-pad) var(--max-w);
  max-width: var(--max-w);
  margin: 0 auto;
}

.economics-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.economics-text h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.economics-desc {
  color: var(--fg-muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.economics-figure {
  margin-bottom: 12px;
}

.ef-big {
  font-family: var(--font-head);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.ef-label {
  font-size: 14px;
  color: var(--fg-muted);
  margin-top: 6px;
}

.economics-detail {
  font-size: 12px;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  opacity: 0.5;
}

/* Economics Table */
.economics-table {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.et-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  padding: 16px 24px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}

.et-row:last-child { border-bottom: none; }

.et-row.header {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.et-row span:last-child { text-align: right; }

.et-row.total {
  background: var(--accent-dim);
  font-family: var(--font-head);
  font-weight: 700;
}

.et-row.total .highlight,
.et-row.total span:last-child { color: var(--accent); }

.highlight { color: var(--fg); font-weight: 500; }

/* ============================================
   TECH
   ============================================ */

.tech {
  padding: var(--section-pad) var(--max-w);
  max-width: var(--max-w);
  margin: 0 auto;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 16px;
}

.tech-card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, background 0.2s;
}

.tech-card:hover {
  border-color: var(--accent-border);
  background: rgba(255,255,255,0.02);
}

.tc-icon {
  margin-bottom: 20px;
}

.tech-card h3 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.tech-card p {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.6;
}

.tech-note {
  margin-top: 32px;
  font-size: 13px;
  color: var(--fg-muted);
  text-align: center;
  font-style: italic;
  opacity: 0.7;
}

/* ============================================
   CLOSING
   ============================================ */

.closing {
  padding: var(--section-pad) var(--max-w);
  max-width: var(--max-w);
  margin: 0 auto;
}

.closing-inner {
  max-width: 700px;
}

.closing h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: 28px;
}

.closing h2 em {
  font-style: normal;
  color: var(--accent);
}

.closing-sub {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 56px;
}

.closing-callout {
  display: inline-block;
}

.cc-line {
  font-family: var(--font-head);
  font-size: clamp(32px, 5vw, 72px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--fg-muted);
  opacity: 0.3;
}

.cc-line.accent {
  color: var(--accent);
  opacity: 1;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  border-top: 1px solid var(--border);
  padding: 48px var(--max-w);
  max-width: var(--max-w);
  margin: 0 auto;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.footer-logo {
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.footer-name {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.footer-tagline {
  font-size: 13px;
  color: var(--fg-muted);
}

.footer-copy {
  font-size: 12px;
  color: var(--fg-muted);
  opacity: 0.5;
}

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

@media (max-width: 900px) {
  .hero {
    padding: 100px 32px 60px;
    flex-direction: column;
    justify-content: flex-start;
    min-height: auto;
  }

  .court-art {
    position: relative;
    transform: none;
    top: auto; right: auto;
    width: 100%;
    margin-top: 48px;
    opacity: 0.4;
  }

  .hero-headline { font-size: 40px; }

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

  .step-arrow { display: none; }

  .economics-inner { grid-template-columns: 1fr; gap: 48px; }

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

@media (max-width: 600px) {
  :root { --max-w: 100%; }

  .hero { padding: 80px 20px 48px; }
  .hero-headline { font-size: 34px; }

  .howitworks, .economics, .tech, .closing { padding-left: 20px; padding-right: 20px; }

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

  .hero-stats { flex-wrap: wrap; }
  .stat { padding: 0 16px 0 0; }

  .footer-inner { padding: 0 20px; }
}
