:root {
  --bg: #0b0f1a;
  --bg-soft: #101528;
  --surface: #161c33;
  --surface-2: #1d2440;
  --text: #f4f5f7;
  --text-muted: #a7adc4;
  --accent: #ff6b4a;
  --accent-soft: #ffb199;
  --accent-2: #4adecf;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 18px;
  --max-width: 1120px;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 96px 0;
}

h1, h2, h3 {
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-soft);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 14px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(11, 15, 26, 0.75);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
}

.brand small {
  display: block;
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.main-nav a:hover {
  color: var(--text);
}

.header-cta {
  display: flex;
  gap: 10px;
}

.nav-toggle {
  display: none;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #ff8f6b);
  color: #16110d;
  box-shadow: 0 10px 30px -10px rgba(255, 107, 74, 0.6);
}

.btn-primary:hover {
  box-shadow: 0 14px 34px -8px rgba(255, 107, 74, 0.75);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  background: var(--surface);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* ---------- Hero ---------- */

.hero {
  padding: 88px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -160px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(255, 107, 74, 0.35), transparent 70%);
  filter: blur(10px);
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -200px;
  left: -160px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(74, 222, 207, 0.25), transparent 70%);
  z-index: 0;
}

.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.3rem, 4.4vw, 3.6rem);
  margin: 0 0 20px;
}

.hero h1 span {
  color: var(--accent);
}

.hero p.lead {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 520px;
  margin: 0 0 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-meta div strong {
  display: block;
  font-size: 1.5rem;
  color: var(--accent-soft);
}

.hero-meta div span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px;
  aspect-ratio: 4 / 5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.chat-bubble {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 0.92rem;
  max-width: 88%;
}

.chat-bubble.me {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--accent), #ff8f6b);
  color: #17120d;
  border: none;
}

.chat-bubble b {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.7;
  margin-bottom: 4px;
}

/* ---------- Logos / partners strip ---------- */

.marquee {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.marquee .wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.marquee strong {
  color: var(--text);
}

/* ---------- About / grid ---------- */

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
}

.card .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 107, 74, 0.15);
  color: var(--accent);
  font-size: 1.3rem;
  margin-bottom: 18px;
}

.card h3 {
  font-size: 1.15rem;
  margin: 0 0 10px;
}

.card p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.95rem;
}

/* ---------- On-site / steps ---------- */

.onsite {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.onsite-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.steps li {
  display: flex;
  gap: 18px;
}

.step-num {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--accent-soft);
}

.steps h4 {
  margin: 0 0 4px;
  font-size: 1.02rem;
}

.steps p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.reassure-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.reassure-box h3 {
  margin-top: 0;
  font-size: 1.2rem;
}

.reassure-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.reassure-list li {
  display: flex;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.reassure-list li::before {
  content: "✓";
  color: var(--accent-2);
  font-weight: 800;
  flex: none;
}

/* ---------- Widgets: signup / files ---------- */

.widgets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.widget-card {
  position: relative;
  border-radius: 24px;
  padding: 36px;
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 260px;
}

.widget-card.signup {
  background: linear-gradient(150deg, #2a1a15, var(--surface));
}

.widget-card.files {
  background: linear-gradient(150deg, #10262b, var(--surface));
}

.widget-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.08);
}

.widget-card h3 {
  font-size: 1.5rem;
  margin: 0;
}

.widget-card p {
  color: var(--text-muted);
  margin: 0;
  flex-grow: 1;
}

.widget-icon {
  position: absolute;
  right: 24px;
  top: 24px;
  font-size: 2.4rem;
  opacity: 0.5;
}

.widget-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  opacity: 0.75;
}

/* ---------- Testimonials ---------- */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.testimonial .stars {
  color: var(--accent);
  letter-spacing: 2px;
}

.testimonial p {
  margin: 0;
  color: var(--text);
  font-size: 0.97rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #16110d;
  flex: none;
}

.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
}

.testimonial-author span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---------- Other clubs ---------- */

.clubs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.club-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.club-link:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.club-link .arrow {
  color: var(--accent);
  font-weight: 800;
}

/* ---------- Final CTA ---------- */

.final-cta {
  text-align: center;
  background: linear-gradient(135deg, #221008, var(--bg-soft) 60%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.final-cta h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  margin: 0 0 16px;
}

.final-cta p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
}

.final-cta .hero-actions {
  justify-content: center;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 56px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-grid .brand {
  margin-bottom: 12px;
}

.footer-grid p {
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 320px;
}

.footer-grid h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0 0 16px;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-grid a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.92rem;
}

.footer-grid a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero .wrap,
  .onsite-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    aspect-ratio: 16 / 10;
  }

  .about-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .clubs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .widgets {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  section {
    padding: 64px 0;
  }

  .main-nav,
  .header-cta .btn-ghost {
    display: none;
  }

  .about-grid,
  .testimonials-grid,
  .clubs-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-meta {
    gap: 18px;
  }
}
