/* ============================================================
   KONSTRUCT — Landing Page
   ============================================================ */

:root {
  --green:   #1D9E75;
  --green-dark: #157d5c;
  --green-light: #2bc491;
  --charcoal: #1a1a2a;
  --charcoal-light: #2d2d3d;
  --ivory:   #F5F5F0;
  --white:   #ffffff;
  --gray:    #6b6b76;
  --gray-light: #e4e4e0;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 8px 32px rgba(26,26,42,.08);
  --shadow-lg: 0 20px 60px rgba(26,26,42,.16);
  --transition: .25s cubic-bezier(.4,0,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--ivory);
  color: var(--charcoal);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  letter-spacing: -.5px;
  color: var(--charcoal);
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.text-accent { color: var(--green); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: .92rem;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 6px 20px rgba(29,158,117,.35);
}
.btn-primary:hover { background: var(--green-dark); box-shadow: 0 10px 28px rgba(29,158,117,.45); }
.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid var(--gray-light);
}
.btn-outline:hover { border-color: var(--green); color: var(--green); }
.btn-white {
  background: #fff;
  color: var(--green);
  box-shadow: 0 6px 20px rgba(0,0,0,.15);
}
.btn-white:hover { background: var(--charcoal); color: #fff; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(245,245,240,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,.05);
  transition: background var(--transition);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.logo-mark {
  width: 34px; height: 34px;
  background: var(--green);
  border-radius: 9px;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  transform: skew(-6deg);
}
.logo-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: .5px;
}
.nav-links {
  display: flex;
  gap: 32px;
  font-size: .9rem;
  font-weight: 600;
  flex: 1;
  justify-content: center;
}
.nav-links a { color: var(--gray); transition: color var(--transition); }
.nav-links a:hover { color: var(--green); }
.nav-cta { flex-shrink: 0; }
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px; height: 32px;
  background: none; border: none; cursor: pointer;
}
.nav-burger span { height: 2px; background: var(--charcoal); border-radius: 2px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--charcoal) 0%, var(--charcoal-light) 100%);
  padding: 140px 24px 100px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(29,158,117,.5) 1.5px, transparent 1.5px);
  background-size: 32px 32px;
  opacity: .25;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 30%, black, transparent);
}
.hero-inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
}
.badge {
  display: inline-block;
  background: rgba(29,158,117,.15);
  color: var(--green-light);
  border: 1px solid rgba(29,158,117,.35);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  margin-bottom: 24px;
}
.hero-text h1 {
  font-size: 2.7rem;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 20px;
}
.hero-sub {
  color: rgba(255,255,255,.7);
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-actions .btn-outline { color: #fff; border-color: rgba(255,255,255,.25); }
.hero-actions .btn-outline:hover { border-color: var(--green); color: var(--green-light); }

/* ---- Phone mockup ---- */
.hero-mockup { position: relative; display: flex; justify-content: center; }
.phone-glow {
  position: absolute;
  width: 320px; height: 320px;
  background: var(--green);
  filter: blur(90px);
  opacity: .35;
  border-radius: 50%;
  z-index: 0;
}
.phone-frame {
  position: relative;
  z-index: 1;
  width: 260px;
  background: #0c0c14;
  border-radius: 38px;
  padding: 12px;
  box-shadow: 0 30px 70px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.06);
}
.phone-notch {
  position: absolute;
  top: 12px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 22px;
  background: #0c0c14;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}
.phone-screen {
  background: var(--ivory);
  border-radius: 28px;
  overflow: hidden;
  padding-top: 30px;
  min-height: 480px;
}
.mock-topbar {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  padding: 10px 14px 14px;
  display: flex; justify-content: space-between; align-items: center;
}
.mock-title { color: #fff; font-size: .68rem; font-weight: 700; }
.mock-sub { color: rgba(255,255,255,.75); font-size: .55rem; }
.mock-logo { width: 20px; height: 20px; border-radius: 50%; background: rgba(255,255,255,.3); }
.mock-card {
  background: #fff;
  border-radius: 12px;
  margin: 10px 10px 0;
  padding: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.mock-live { background: linear-gradient(135deg, #0d2e1a, #1a7a3c); }
.mock-live-badge { color: #fff; font-size: .55rem; font-weight: 800; margin-bottom: 6px; }
.mock-teams-row { display: flex; align-items: center; justify-content: space-between; }
.mock-team { color: #fff; font-size: .55rem; font-weight: 700; display: flex; align-items: center; gap: 4px; }
.mock-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.mock-score { color: #f4b400; font-size: .85rem; font-weight: 900; }
.mock-chrono { color: rgba(255,255,255,.85); font-size: .5rem; text-align: center; margin-top: 6px; }
.mock-card-title { font-size: .62rem; font-weight: 700; margin-bottom: 6px; color: var(--charcoal); }
.mock-row { display: flex; justify-content: space-between; font-size: .55rem; color: var(--gray); padding: 3px 0; }
.mock-shop-grid { display: flex; gap: 6px; }
.mock-shop-item { flex: 1; aspect-ratio: 1; background: var(--gray-light); border-radius: 8px; }
.mock-nav {
  display: flex; justify-content: space-around;
  margin-top: 14px; padding: 10px 0;
  border-top: 1px solid var(--gray-light);
  font-size: .8rem;
}
.mock-nav .active { filter: drop-shadow(0 0 4px var(--green)); }

/* ============================================================
   TRUST BAND
   ============================================================ */
.trust { padding: 50px 24px; text-align: center; }
.trust-label { font-size: .8rem; color: var(--gray); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 24px; }
.trust-logos { display: flex; justify-content: center; align-items: center; gap: 40px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--charcoal); font-size: .95rem; }
.trust-item img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.trust-more { color: var(--gray); font-weight: 500; font-style: italic; }

/* ============================================================
   SECTION HEAD (shared)
   ============================================================ */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; padding: 0 24px; }
.section-head h2 { font-size: 2.1rem; margin-bottom: 12px; }
.section-sub { color: var(--gray); font-size: 1.02rem; }

/* ============================================================
   FEATURES
   ============================================================ */
.features { padding: 100px 24px; max-width: 1180px; margin: 0 auto; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature-icon { font-size: 2rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature-card p { color: var(--gray); font-size: .9rem; }
.feature-highlight { background: linear-gradient(135deg, var(--green-dark), var(--green)); }
.feature-highlight h3, .feature-highlight p { color: #fff; }
.feature-highlight p { color: rgba(255,255,255,.85); }

/* ============================================================
   DEMO
   ============================================================ */
.demo { padding: 100px 24px; background: #fff; }
.demo-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  max-width: 1180px;
  margin: 0 auto;
  padding-bottom: 12px;
  scrollbar-width: thin;
}
.demo-shot { flex: 0 0 220px; }
.demo-shot-label { text-align: center; font-weight: 700; font-size: .85rem; margin-bottom: 10px; color: var(--gray); }
.demo-shot-mock {
  height: 380px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(160deg, var(--green-dark), var(--charcoal));
}
.demo-home { background: linear-gradient(160deg, #1a7a3c, #0d2e1a); }
.demo-standings { background: linear-gradient(160deg, #f4f5f7, #e4e4e0); }
.demo-shop { background: linear-gradient(160deg, var(--green), var(--charcoal)); }

/* ============================================================
   PRICING
   ============================================================ */
.pricing { padding: 100px 24px; max-width: 1180px; margin: 0 auto; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.price-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  border: 1.5px solid var(--gray-light);
}
.price-featured {
  background: var(--charcoal);
  border-color: var(--charcoal);
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}
.price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--green);
  color: #fff;
  font-size: .72rem; font-weight: 800;
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.price-name { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1rem; letter-spacing: 1px; color: var(--gray); margin-bottom: 12px; }
.price-featured .price-name { color: rgba(255,255,255,.7); }
.price-amount { font-size: 1.9rem; font-weight: 900; margin-bottom: 24px; color: var(--charcoal); }
.price-amount span { font-size: .85rem; font-weight: 600; color: var(--gray); }
.price-featured .price-amount { color: #fff; }
.price-featured .price-amount span { color: rgba(255,255,255,.6); }
.price-list { flex: 1; margin-bottom: 28px; }
.price-list li {
  padding: 9px 0;
  font-size: .88rem;
  border-bottom: 1px solid var(--gray-light);
  display: flex; align-items: center; gap: 8px;
}
.price-featured .price-list li { border-bottom-color: rgba(255,255,255,.1); color: rgba(255,255,255,.85); }
.price-list li::before { font-weight: 800; }
.price-list li.yes::before { content: '✅'; }
.price-list li.no::before { content: '❌'; opacity: .5; }
.price-featured .price-cta { background: var(--green); color: #fff; }

/* ============================================================
   PROCESS
   ============================================================ */
.process { padding: 100px 24px; background: #fff; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
}
.process-step { text-align: center; padding: 0 12px; }
.process-num { font-size: 2rem; margin-bottom: 14px; }
.process-step h3 { font-size: 1rem; margin-bottom: 8px; }
.process-step p { color: var(--gray); font-size: .85rem; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: 100px 24px; max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--gray-light); }
.faq-q {
  width: 100%;
  background: none; border: none;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 4px;
  font-family: 'Inter', sans-serif;
  font-size: .98rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  color: var(--charcoal);
}
.faq-arrow { transition: transform var(--transition); color: var(--green); font-size: 1.2rem; flex-shrink: 0; margin-left: 12px; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--transition); }
.faq-a p { padding: 0 4px 22px; color: var(--gray); font-size: .9rem; max-width: 600px; }
.faq-item.open .faq-a { max-height: 200px; }

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  text-align: center;
  padding: 100px 24px;
}
.cta-final h2 { color: #fff; font-size: 2.2rem; margin-bottom: 12px; }
.cta-final p { color: rgba(255,255,255,.85); font-size: 1.05rem; margin-bottom: 32px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--charcoal); padding: 56px 24px 32px; text-align: center; }
.footer-inner { max-width: 480px; margin: 0 auto; }
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 18px; }
.footer-brand .logo-text { color: #fff; }
.footer-copy { color: rgba(255,255,255,.6); font-size: .85rem; }
.footer-loc { color: rgba(255,255,255,.4); font-size: .8rem; margin-top: 4px; }
.footer-links { display: flex; justify-content: center; gap: 24px; margin: 20px 0; }
.footer-links a { color: rgba(255,255,255,.7); font-size: .85rem; font-weight: 600; transition: color var(--transition); }
.footer-links a:hover { color: var(--green-light); }
.footer-signature { color: rgba(255,255,255,.35); font-size: .72rem; margin-top: 12px; letter-spacing: .3px; }

/* ============================================================
   ANIMATIONS — fade-in au scroll
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-text { display: flex; flex-direction: column; align-items: center; }
  .hero-mockup { order: -1; margin-bottom: 20px; }
  .phone-frame { width: 220px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .price-featured { transform: none; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--gray-light);
    padding: 8px 24px 16px;
    gap: 4px;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
  }
  .nav-links.mobile-open { max-height: 260px; }
  .nav-links a { padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,.05); }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .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); }
  .hero-text h1 { font-size: 2rem; }
  .features-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .section-head h2 { font-size: 1.6rem; }
  .cta-final h2 { font-size: 1.6rem; }
}
