/* ============================================================
   CLUB MATIC — style.css
   Font: Plus Jakarta Sans (Google Fonts)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ── VARIABLES ── */
:root {
  --bg:       #0a0c0a;
  --bg-card:  #0e130e;
  --green:    #39FF14;
  --green-glow: rgba(57,255,20,0.12);
  --green-dim:  rgba(57,255,20,0.25);
  --border:   #1a2a1a;
  --border2:  #1e1e1e;
  --text:     #ffffff;
  --muted:    #4a5a4a;
  --font:     'Plus Jakarta Sans', sans-serif;
  --max:      1100px;
  --radius:   8px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

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

/* ── SECTION SPACING ── */
section { padding: 96px 0; }

/* ── SECTION LABEL ── */
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}

/* ── HEADINGS ── */
.section-heading {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.6px;
  color: var(--text);
  margin-bottom: 12px;
}
.section-sub {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 40px;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green);
  color: var(--bg);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: box-shadow .2s, transform .15s;
  box-shadow: 0 0 24px rgba(57,255,20,.2);
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary:hover {
  box-shadow: 0 0 36px rgba(57,255,20,.35);
  transform: translateY(-1px);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--green);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--green-dim);
  cursor: pointer;
  transition: border-color .2s, background .2s;
  white-space: nowrap;
  text-decoration: none;
}
.btn-ghost:hover {
  background: rgba(57,255,20,.05);
  border-color: var(--green);
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  background: rgba(10,12,10,0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(57,255,20,0.08);
  transition: padding .3s;
}
nav.scrolled { padding: 12px 0; }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.3px;
}
.nav-logo span { color: var(--green); }
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  font-size: 14px;
  font-weight: 700;
  background: var(--green);
  color: var(--bg);
  padding: 10px 22px;
  border-radius: var(--radius);
  transition: box-shadow .2s;
}
.nav-cta:hover { box-shadow: 0 0 20px rgba(57,255,20,.3); }
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 101;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.mobile-nav.open { display: flex; }
.mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 28px;
  text-align: center;
}
.mobile-nav ul a {
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -1px;
  transition: color .2s;
}
.mobile-nav ul a:hover { color: var(--green); }
.mobile-nav .btn-primary { margin-top: 8px; font-size: 16px; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  display: block;
}
.hero-glow {
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(57,255,20,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}
.hero > .container {
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -2px;
  color: var(--text);
  margin-bottom: 20px;
  position: relative;
  text-transform: uppercase;
}
.hero h1 em {
  color: var(--green);
  font-style: normal;
}
.hero-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto 36px;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ── WHY NOT A BUILDER ── */
.why { background: var(--bg); }
.compare-wrap { overflow-x: auto; }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
}
.compare-table th {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.compare-table th:first-child { color: #2a3a2a; width: 160px; }
.compare-table th:nth-child(2) { color: #4a4a4a; }
.compare-table th:nth-child(3) { color: var(--green); }
.compare-table td {
  font-size: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid #111;
  color: var(--muted);
}
.compare-table td:first-child { color: #555; font-weight: 500; }
.compare-table .bad { color: #5a3535; }
.compare-table .good { color: var(--green); font-weight: 600; }

/* ── HOW IT WORKS ── */
.process { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.steps { display: flex; flex-direction: column; gap: 0; max-width: 560px; }
.step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  padding-bottom: 32px;
  position: relative;
}
.step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 25px;
  top: 50px;
  bottom: 0;
  width: 1px;
  background: var(--border);
}
.step-num {
  width: 52px; height: 52px;
  border: 1px solid var(--green-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: var(--green);
  flex-shrink: 0;
  background: rgba(57,255,20,0.04);
}
.step-body { padding-top: 12px; }
.step-title { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.step-text { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ── REVIEWS ── */
.reviews { background: var(--bg); }
.reviews-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 32px; max-width: 640px; }
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px;
}
.review-stars { color: var(--green); font-size: 13px; letter-spacing: 2px; margin-bottom: 12px; }
.review-text {
  font-size: 14px;
  color: #6a7a6a;
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 16px;
}
.reviewer-name { font-size: 13px; font-weight: 700; color: var(--text); }
.reviewer-biz { font-size: 12px; color: #3a5a3a; margin-top: 2px; }
.reviews-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── ABOUT ── */
.about { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 64px;
  align-items: start;
}
.about-statement {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.12;
  letter-spacing: -.6px;
  margin-bottom: 24px;
}
.about-statement span { color: var(--green); }
.about-copy { font-size: 15px; color: var(--muted); line-height: 1.8; }
.about-photo-wrap { position: relative; top: 8px; }
.about-photo {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  object-position: top;
  border: 1px solid var(--border);
  filter: grayscale(15%);
}
.about-caption { text-align: center; margin-top: 12px; }
.about-caption-name { font-size: 14px; font-weight: 700; color: var(--text); }
.about-caption-role { font-size: 12px; color: var(--green); font-weight: 600; margin-top: 2px; }

/* ── CONTACT ── */
.contact { background: var(--bg); }
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: start;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-field label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #3a5a3a;
}
.form-field input,
.form-field textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 14px;
  font-family: var(--font);
  color: var(--text);
  outline: none;
  transition: border-color .2s;
}
.form-field input:focus,
.form-field textarea:focus { border-color: var(--green-dim); }
.form-field textarea { min-height: 110px; resize: vertical; }
.btn-submit {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}
.contact-or {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: #2a3a2a;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 28px;
}
.contact-or::before, .contact-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.contact-call-heading { font-size: 18px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.contact-call-sub { font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 20px; }
.contact-phone {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.4px;
  margin-bottom: 20px;
  display: block;
}

/* ── FOOTER ── */
footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-logo { font-size: 18px; font-weight: 800; color: var(--text); margin-bottom: 10px; }
.footer-logo span { color: var(--green); }
.footer-tagline { font-size: 13px; color: var(--muted); line-height: 1.65; }
.footer-links-heading { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #3a5a3a; margin-bottom: 14px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 14px; color: var(--muted); transition: color .2s; }
.footer-links a:hover { color: var(--text); }
.footer-social { display: flex; flex-direction: column; gap: 8px; }
.footer-social a { font-size: 14px; color: var(--muted); transition: color .2s; }
.footer-social a:hover { color: var(--green); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #2a3a2a;
}
.footer-email { color: var(--green); }

/* ── PROJECTS PAGE ── */
.projects-hero {
  padding: 140px 0 80px;
  border-bottom: 1px solid var(--border);
}
.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 64px 0 96px;
}
.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color .2s, transform .15s;
  cursor: pointer;
  text-decoration: none;
  display: block;
}
.project-card:hover { border-color: var(--green-dim); transform: translateY(-2px); }
.project-browser {
  background: #111a11;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border);
}
.browser-dot { width: 8px; height: 8px; border-radius: 50%; }
.browser-url {
  flex: 1;
  background: #0a0c0a;
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 11px;
  color: #3a4a3a;
  margin-left: 6px;
  font-family: var(--font);
}
.project-screenshot {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top;
  display: block;
  background: #0d1a0d;
}
.project-screenshot-placeholder {
  width: 100%;
  height: 220px;
  background: linear-gradient(160deg, #0d1a0d 0%, #0a0c0a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #1e2e1e;
  font-weight: 600;
}
.project-body { padding: 20px 22px 24px; }
.project-name { font-size: 17px; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.project-url { font-size: 12px; color: var(--green); font-weight: 600; margin-bottom: 10px; }
.project-desc { font-size: 13px; color: var(--muted); line-height: 1.65; margin-bottom: 14px; }
.project-link { font-size: 12px; font-weight: 700; color: var(--green); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  section { padding: 64px 0; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .hero { padding: 72px 0 48px; }
  .hero h1 { font-size: 36px; letter-spacing: -1px; }
  .hero-sub { font-size: 13px; }
  .compare-table th, .compare-table td { font-size: 13px; padding: 10px 12px; }
  .about-inner { grid-template-columns: 1fr; }
  .about-photo-wrap { max-width: 200px; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .projects-hero { padding: 100px 0 28px; }
  .projects-grid { grid-template-columns: 1fr; gap: 16px; padding: 28px 0 64px; }
}
