/* =======================
   PADDLELOCAL THEME
   ======================= */

:root {
  --bg: #faf8f4;
  --bg-alt: #f2ede5;
  --fg: #1a1a1a;
  --fg-muted: #5c5752;
  --green: #1e3a2f;
  --green-mid: #2d5242;
  --green-light: #3a6b55;
  --accent: #d4563a;
  --accent-light: #e8755a;
  --amber: #f4a261;
  --amber-light: #f7bc7d;
  --cream: #faf8f4;
  --border: rgba(30, 58, 47, 0.12);
  --shadow: 0 4px 24px rgba(30, 58, 47, 0.08);
  --shadow-md: 0 8px 40px rgba(30, 58, 47, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- Navbar ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 40px;
  background: rgba(250, 248, 244, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--green);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}

/* ---- Hero ---- */
.hero {
  padding: 140px 40px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 520px;
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--green);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 480px;
}

/* Hero CTAs */
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.hero-cta-primary {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
  box-shadow: var(--shadow);
}
.hero-cta-primary:hover { background: var(--green-mid); transform: translateY(-1px); }
.hero-cta-secondary {
  display: inline-block;
  background: transparent;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 100px;
  border: 2px solid var(--accent);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.hero-cta-secondary:hover { background: var(--accent); color: #fff; }

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.court-illustration {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4/3;
  background: var(--green);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.court-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #1e3a2f 0%, #2d5242 40%, #3a6b55 70%, #4a8a6b 100%);
}

.court-lines {
  position: absolute;
  inset: 20%;
}

.court-border {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 4px;
}

.court-net {
  position: absolute;
  left: 0; right: 0;
  top: 50%; height: 2px;
  background: rgba(255,255,255,0.7);
}

.court-center {
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 1px;
  background: rgba(255,255,255,0.3);
}

.court-kitchen {
  position: absolute;
  left: 0; right: 0;
  top: 20%; height: 30%;
  border: 1px solid rgba(255,255,255,0.2);
}

.court-paddles {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15%;
}

.paddle {
  width: 14%; aspect-ratio: 1/3;
  background: #d4563a;
  border-radius: 6px 6px 3px 3px;
  box-shadow: 2px 4px 12px rgba(0,0,0,0.3);
}

.paddle-left {
  transform: rotate(-25deg);
  background: linear-gradient(135deg, #d4563a 0%, #b83d25 100%);
}

.paddle-right {
  transform: rotate(25deg);
  background: linear-gradient(-135deg, #f4a261 0%, #d48a3a 100%);
}

.ball {
  position: absolute;
  width: 8%;
  aspect-ratio: 1;
  background: #fff;
  border-radius: 50%;
  top: 42%;
  left: 48%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.court-stats {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  gap: 10px;
}

.stat-card {
  flex: 1;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border-radius: 10px;
  padding: 10px 12px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.2);
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Hero tags */
.hero-bottom {
  margin-top: 48px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-muted);
}

/* ---- Sections (shared) ---- */
section { padding: 80px 40px; }

.section-eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

/* ---- How ---- */
.how {
  background: var(--green);
  color: #fff;
}

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

.how-header h2 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.how-header p {
  color: rgba(255,255,255,0.65);
  font-size: 17px;
}

.how-steps {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step {
  flex: 1;
  position: relative;
  padding: 0 24px;
}

.step:first-child { padding-left: 0; }
.step:last-child { padding-right: 0; }

.step-connector {
  width: 40px;
  flex-shrink: 0;
  height: 2px;
  background: rgba(255,255,255,0.2);
  margin-top: 28px;
}

.step-num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--amber);
  margin-bottom: 16px;
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.step-content p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

.step-visual {
  height: 80px;
  margin-top: 24px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
}

/* ---- Formats ---- */
.formats {
  background: var(--bg);
}

.formats-inner { max-width: 1100px; margin: 0 auto; }

.formats-header {
  text-align: center;
  margin-bottom: 56px;
}

.formats-header h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--green);
  margin-bottom: 12px;
}

.formats-header p {
  color: var(--fg-muted);
  font-size: 17px;
  max-width: 540px;
  margin: 0 auto;
}

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

.format-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.format-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.format-icon { margin-bottom: 16px; }

.format-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

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

/* ---- Communities ---- */
.communities {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.communities-inner { max-width: 1100px; margin: 0 auto; }

.communities-header {
  text-align: center;
  margin-bottom: 56px;
}

.communities-header h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--green);
}

.community-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

.community-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}

.community-card:hover { transform: translateY(-3px); }

.cc-visual {
  padding: 28px 28px 20px;
  background: var(--bg);
}

.cc-content {
  padding: 20px 28px 28px;
}

.cc-content h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 10px;
}

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

.community-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 40px;
  background: var(--green);
  border-radius: var(--radius-xl);
}

.cstat {
  flex: 1;
  text-align: center;
  padding: 0 32px;
}

.cstat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  color: var(--amber);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 10px;
}

.cstat-desc {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

.cstat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.15);
}

/* ---- Pricing ---- */
.pricing { background: var(--bg); }

.pricing-inner { max-width: 1100px; margin: 0 auto; }

.pricing-header {
  text-align: center;
  margin-bottom: 48px;
}

.pricing-header h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--green);
  margin-bottom: 12px;
}

.pricing-header p {
  color: var(--fg-muted);
  font-size: 17px;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.pricing-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow);
  position: relative;
}

.pc-featured {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
  box-shadow: var(--shadow-md);
}

.pc-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--bg-alt);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
  margin-bottom: 16px;
}

.pc-badge-pro {
  background: var(--amber);
  color: var(--green);
}

.pricing-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.pc-featured h3 { color: #fff; }

.pc-desc {
  font-size: 14px;
  color: var(--fg-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.pc-featured .pc-desc { color: rgba(255,255,255,0.7); }

.pc-features {
  list-style: none;
  margin-bottom: 28px;
}

.pc-features li {
  font-size: 14px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  color: var(--fg-muted);
}

.pc-featured .pc-features li {
  border-bottom-color: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
}

.pc-features li:last-child { border-bottom: none; }

.pc-price {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.03em;
  line-height: 1;
}

.pc-price span {
  font-size: 16px;
  font-weight: 500;
  color: var(--fg-muted);
}

.pc-featured .pc-price { color: #fff; }
.pc-featured .pc-price span { color: rgba(255,255,255,0.6); }

.pc-cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px 20px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  background: var(--green);
  color: #fff;
  margin-top: 20px;
  transition: background 0.15s;
}
.pc-cta:hover { background: var(--green-mid); }
.pc-cta-featured { background: var(--amber); color: var(--green); }
.pc-cta-featured:hover { background: var(--amber-light); }
.pc-free .pc-cta { border: 2px solid var(--green); background: transparent; color: var(--green); }
.pc-free .pc-cta:hover { background: var(--green); color: white; }
.pc-enterprise .pc-cta { border: 2px solid var(--border); background: transparent; color: var(--fg); }
.pc-enterprise .pc-cta:hover { background: var(--bg-alt); }

.pricing-link { text-align: center; margin-top: 32px; font-size: 14px; color: var(--fg-muted); }
.pricing-link a { color: var(--accent); font-weight: 600; }

/* ---- Closing ---- */
.closing {
  background: var(--green);
  color: #fff;
}

.closing-inner { max-width: 720px; margin: 0 auto; }

.closing-content { }

.closing-content h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  line-height: 1.1;
}

.closing-body {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 20px;
}

.closing-quote {
  margin-top: 40px;
  padding: 28px 32px;
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--amber);
}

.closing-quote blockquote {
  font-family: var(--font-display);
  font-size: 19px;
  font-style: italic;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  line-height: 1.5;
  margin-bottom: 12px;
}

.quote-attr {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

/* ---- Footer ---- */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 60px 40px 32px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-brand { }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--green);
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--fg-muted);
  max-width: 280px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 48px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--fg);
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.15s;
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

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

/* ---- Responsive ---- */
@media (max-width: 768px) {
  section { padding: 60px 24px; }
  .navbar { padding: 0 24px; }

  .hero { padding: 100px 24px 48px; }
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .court-illustration { max-width: 360px; margin: 0 auto; }

  .how-steps { flex-direction: column; gap: 32px; }
  .step-connector { display: none; }

  .formats-grid { grid-template-columns: 1fr 1fr; }
  .community-cards { grid-template-columns: 1fr; }
  .pricing-cards { grid-template-columns: 1fr; }

  .community-stats { flex-direction: column; gap: 24px; }
  .cstat-divider { width: 40px; height: 1px; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { gap: 32px; }
}

@media (max-width: 480px) {
  .formats-grid { grid-template-columns: 1fr; }
  .hero-headline { font-size: 36px; }
  .cstat-num { font-size: 32px; }
  .pricing-card { padding: 24px; }
}