/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green: #239B56;
  --green-dark: #1a7a43;
  --green-light: #2ebd69;
  --green-pale: #e8f5ef;
  --bg: #F8F9FA;
  --white: #ffffff;
  --grey: #545454;
  --grey-light: #9ca3af;
  --grey-border: #e5e7eb;
  --text: #1a1a2e;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.14);
  --transition: .25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Figtree', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; outline: none; }

/* ─── NAV ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--grey-border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  height: 68px;
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.08); }

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.25rem; color: var(--green);
  cursor: pointer;
}
.nav-logo svg { width: 34px; height: 34px; }

.nav-tabs { display: flex; gap: 4px; }

.nav-tab {
  padding: 8px 16px;
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--grey);
  background: transparent;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
}
.nav-tab:hover { color: var(--green); background: var(--green-pale); }
.nav-tab.active { color: var(--white); background: var(--green); }

.nav-cta {
  padding: 10px 22px;
  border-radius: 50px;
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  font-size: .9rem;
  transition: all var(--transition);
  cursor: pointer;
}
.nav-cta:hover { background: var(--green-dark); transform: translateY(-1px); }

/* ─── LANGUAGE SWITCHER ─── */
.nav-right {
  display: flex; align-items: center; gap: 12px;
}

.lang-switcher {
  display: flex; align-items: center; gap: 4px;
  background: var(--bg); border: 1.5px solid var(--grey-border);
  border-radius: 50px; padding: 3px 6px;
}
.lang-sep { color: var(--grey-border); font-size: .8rem; user-select: none; }

.lang-btn {
  background: transparent; border: none; cursor: pointer;
  font-family: inherit; font-size: .8rem; font-weight: 700;
  color: var(--grey-light); padding: 4px 8px; border-radius: 50px;
  transition: all var(--transition);
}
.lang-btn.active {
  background: var(--green); color: var(--white);
}
.lang-btn:hover:not(.active) { color: var(--green); }

/* Mobile lang switcher */
.mobile-lang {
  display: flex; gap: 8px; padding: 8px 0 4px;
  border-top: 1px solid var(--grey-border); margin-top: 4px;
}
.mobile-lang .lang-btn {
  flex: 1; text-align: center; padding: 10px;
  border-radius: var(--radius-sm); background: var(--bg);
  color: var(--grey); font-size: .9rem;
}
.mobile-lang .lang-btn.active { background: var(--green); color: var(--white); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all var(--transition); }

.mobile-menu {
  display: none; position: fixed; top: 68px; left: 0; right: 0;
  background: var(--white); padding: 16px; z-index: 999;
  border-bottom: 1px solid var(--grey-border);
  flex-direction: column; gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu .nav-tab { width: 100%; text-align: left; border-radius: var(--radius-sm); padding: 12px 16px; }

/* ─── PAGE LOADER ─── */
#content {
  padding-top: 68px;
  min-height: calc(100vh - 68px);
}

.page-loader {
  display: flex; align-items: center; justify-content: center;
  height: 40vh;
  font-size: 1.5rem;
  color: var(--grey-light);
}

/* ─── HERO ─── */
.hero {
  min-height: calc(100vh - 68px);
  background: linear-gradient(135deg, #0f2027 0%, #1a3a2a 45%, #239B56 100%);
  display: flex; align-items: center;
  padding: 0 5%;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23239B56' fill-opacity='0.08'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 1; max-width: 560px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(35,155,86,.2); border: 1px solid rgba(35,155,86,.4);
  color: #6ee7a8; padding: 6px 16px; border-radius: 50px;
  font-size: .85rem; font-weight: 600; margin-bottom: 28px;
}
.hero-badge::before { content: '●'; font-size: .5rem; animation: pulse 2s infinite; }

@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900; color: var(--white); line-height: 1.1; margin-bottom: 20px;
}
.hero h1 span { color: #6ee7a8; }
.hero p { font-size: 1.15rem; color: rgba(255,255,255,.75); margin-bottom: 36px; max-width: 480px; }

.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }

.btn-store {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 14px;
  background: var(--white); color: var(--text);
  font-weight: 700; font-size: .95rem;
  transition: all var(--transition);
}
.btn-store:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.btn-store small { display: block; font-weight: 400; font-size: .75rem; color: var(--grey); }

.hero-stats { display: flex; gap: 32px; }
.hero-stat { color: var(--white); }
.hero-stat strong { display: block; font-size: 1.8rem; font-weight: 900; color: #6ee7a8; }
.hero-stat span { font-size: .85rem; color: rgba(255,255,255,.6); }

.hero-phones {
  position: absolute; right: 5%; bottom: 0;
  display: flex; align-items: flex-end;
}
.phone-mockup {
  width: 240px; height: 500px;
  background: linear-gradient(180deg, #1a1a2e 0%, #0d0d1a 100%);
  border-radius: 40px;
  border: 2px solid rgba(255,255,255,.15);
  box-shadow: 0 32px 64px rgba(0,0,0,.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
  position: relative; overflow: hidden;
}
.phone-mockup::before {
  content: '';
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 8px;
  background: rgba(255,255,255,.1);
  border-radius: 4px;
}
.phone-mockup-2 { transform: translateX(-30px) translateY(40px) rotate(4deg); opacity: .7; }

/* ─── SHARED SECTION STYLES ─── */
.section-label {
  display: flex; align-items: center; gap: 10px;
  color: var(--green); font-weight: 700; font-size: .85rem;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px;
}
.section-label::after { content: ''; flex: 1; height: 1px; background: var(--green-pale); }

.section-title { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; margin-bottom: 16px; }
.section-sub { color: var(--grey); font-size: 1.05rem; max-width: 560px; }

/* ─── FEATURES ─── */
.features { padding: 100px 5%; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px; margin-top: 56px;
}

.feature-card {
  background: var(--white); border-radius: var(--radius);
  padding: 32px; border: 1px solid var(--grey-border);
  transition: all var(--transition);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--green); }

.feature-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--green-pale); display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin-bottom: 20px;
}
.feature-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--grey); font-size: .95rem; }

/* ─── SPORTS TICKER ─── */
.sports-ticker { background: var(--green); padding: 20px 0; overflow: hidden; }
.ticker-track { display: flex; gap: 32px; animation: ticker 30s linear infinite; width: max-content; }
@keyframes ticker { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.ticker-item { display: flex; align-items: center; gap: 10px; color: var(--white); font-weight: 600; white-space: nowrap; }
.ticker-item span { font-size: 1.3rem; }

/* ─── SCREENSHOTS ─── */
.screenshots {
  padding: 100px 5%;
  background: linear-gradient(180deg, var(--bg) 0%, var(--green-pale) 100%);
}

.screenshots-carousel { position: relative; margin-top: 56px; overflow: hidden; }
.screenshots-track { display: flex; gap: 20px; transition: transform .4s ease; }

.screenshot-card {
  flex: 0 0 260px;
  background: #1a1a2e;
  border-radius: 32px;
  height: 520px;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
  border: 2px solid rgba(255,255,255,.1);
  position: relative; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
}
.screenshot-label {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  background: rgba(255,255,255,.1); backdrop-filter: blur(8px);
  color: var(--white); padding: 6px 16px; border-radius: 50px;
  font-size: .8rem; font-weight: 600; white-space: nowrap;
}

.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--white); box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; z-index: 10; transition: all var(--transition);
}
.carousel-btn:hover { background: var(--green); color: var(--white); }
.carousel-prev { left: 0; }
.carousel-next { right: 0; }

.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--grey-border); transition: all var(--transition); cursor: pointer; border: none;
}
.carousel-dot.active { width: 24px; border-radius: 4px; background: var(--green); }

/* ─── DOWNLOAD ─── */
.download { padding: 100px 5%; text-align: center; }
.download-card {
  max-width: 700px; margin: 0 auto;
  background: linear-gradient(135deg, #0f2027 0%, #1a3a2a 50%, #239B56 100%);
  border-radius: 32px; padding: 64px 48px;
  color: var(--white); position: relative; overflow: hidden;
}
.download-card::before {
  content: ''; position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  background: rgba(35,155,86,.2);
  border-radius: 50%;
}
.download-card h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 16px; }
.download-card p { color: rgba(255,255,255,.75); margin-bottom: 36px; font-size: 1.05rem; }

.download-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.btn-download {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 28px; border-radius: 16px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  color: var(--white); font-weight: 700;
  transition: all var(--transition); backdrop-filter: blur(8px);
}
.btn-download:hover { background: rgba(255,255,255,.22); transform: translateY(-3px); }
.btn-download small { display: block; font-weight: 400; font-size: .75rem; opacity: .7; }

/* ─── ORGANIZERS ─── */
.organizers-hero {
  background: linear-gradient(135deg, #0f2027 0%, #1a3a2a 45%, #239B56 100%);
  padding: 100px 5% 80px;
  color: var(--white);
}
.organizers-hero-inner { max-width: 700px; }
.organizers-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; margin-bottom: 16px; }
.organizers-hero p { font-size: 1.15rem; color: rgba(255,255,255,.8); }

.organizers-content { padding: 80px 5%; }

.benefits-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px; margin-bottom: 80px;
}
.benefit-card {
  background: var(--white); border-radius: var(--radius);
  padding: 28px; border: 1px solid var(--grey-border);
  transition: all var(--transition);
}
.benefit-card:hover { border-color: var(--green); box-shadow: var(--shadow); }
.benefit-icon { font-size: 2.4rem; margin-bottom: 16px; }
.benefit-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.benefit-card p { color: var(--grey); font-size: .9rem; }

/* ─── PRICING ─── */
.pricing { padding: 80px 5%; background: var(--green-pale); }
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px; margin-top: 48px; max-width: 900px; margin-left: auto; margin-right: auto;
}
.plan-card {
  background: var(--white); border-radius: var(--radius);
  padding: 36px 28px; border: 2px solid var(--grey-border);
  transition: all var(--transition); position: relative;
}
.plan-card.featured { border-color: var(--green); box-shadow: 0 0 0 4px rgba(35,155,86,.1); }

.plan-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--green); color: var(--white);
  padding: 4px 16px; border-radius: 50px;
  font-size: .8rem; font-weight: 700; white-space: nowrap;
}
.plan-name { font-size: 1rem; font-weight: 600; color: var(--grey); margin-bottom: 8px; }
.plan-price { font-size: 2.6rem; font-weight: 900; color: var(--text); margin-bottom: 4px; }
.plan-price small { font-size: 1rem; font-weight: 400; color: var(--grey); }
.plan-period { color: var(--grey); font-size: .85rem; margin-bottom: 24px; }

.plan-features { list-style: none; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.plan-features li { display: flex; align-items: center; gap: 10px; font-size: .95rem; }
.plan-features li::before { content: '✓'; font-weight: 700; color: var(--green); flex-shrink: 0; }
.plan-features li.disabled { opacity: .4; }
.plan-features li.disabled::before { content: '✗'; color: var(--grey); }

.btn-plan { width: 100%; padding: 14px; border-radius: 12px; font-weight: 700; font-size: 1rem; transition: all var(--transition); }
.btn-plan-outline { border: 2px solid var(--green); color: var(--green); background: transparent; }
.btn-plan-outline:hover { background: var(--green); color: var(--white); }
.btn-plan-solid { background: var(--green); color: var(--white); }
.btn-plan-solid:hover { background: var(--green-dark); transform: translateY(-2px); }

.organizers-cta { text-align: center; padding: 64px 0 0; }

/* ─── LEGAL ─── */
.legal-page { max-width: 840px; margin: 0 auto; padding: 80px 5%; }
.legal-page h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 8px; }
.legal-date { color: var(--grey); font-size: .9rem; margin-bottom: 48px; }
.legal-page h2 { font-size: 1.3rem; font-weight: 700; margin: 36px 0 12px; color: var(--green); }
.legal-page h3 { font-size: 1.05rem; font-weight: 700; margin: 20px 0 8px; }
.legal-page p { color: var(--grey); line-height: 1.8; margin-bottom: 14px; }
.legal-page ul { color: var(--grey); line-height: 1.8; margin-bottom: 14px; padding-left: 24px; }
.legal-page ul li { margin-bottom: 6px; }
.legal-page a { color: var(--green); text-decoration: underline; }

/* ─── CONTACT ─── */
.contact-page { padding: 80px 5%; }
.contact-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; max-width: 1000px; margin: 0 auto; align-items: start;
}
.contact-info h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.contact-info > p { color: var(--grey); margin-bottom: 32px; }

.contact-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.contact-item-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--green-pale); display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.contact-item-text strong { display: block; font-weight: 700; margin-bottom: 2px; }
.contact-item-text span { color: var(--grey); font-size: .9rem; }

.contact-tip {
  margin-top: 40px; padding: 24px;
  background: var(--green-pale); border-radius: var(--radius);
  border-left: 4px solid var(--green);
}
.contact-tip strong { color: var(--green-dark); }
.contact-tip p { color: var(--grey); font-size: .9rem; margin-top: 6px; margin-bottom: 0; }

.contact-form {
  background: var(--white); border-radius: var(--radius);
  padding: 40px; border: 1px solid var(--grey-border);
}
.contact-form h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 24px; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 8px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--grey-border); border-radius: 10px;
  font-family: inherit; font-size: .95rem; color: var(--text);
  background: var(--bg); transition: border-color var(--transition); outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--green); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 120px; }

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

.form-checkbox { display: flex; align-items: flex-start; gap: 10px; }
.form-checkbox input { width: auto; margin-top: 3px; flex-shrink: 0; }
.form-checkbox label { font-weight: 400; font-size: .85rem; color: var(--grey); cursor: pointer; }
.form-checkbox a { color: var(--green); text-decoration: underline; cursor: pointer; }

.btn-submit {
  width: 100%; padding: 15px; border-radius: 12px;
  background: var(--green); color: var(--white);
  font-weight: 700; font-size: 1rem;
  transition: all var(--transition);
}
.btn-submit:hover { background: var(--green-dark); transform: translateY(-2px); }
.btn-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.form-alert {
  padding: 14px 16px; border-radius: 10px;
  font-weight: 600; font-size: .9rem;
  margin-top: 16px;
}
.form-alert.success { background: var(--green-pale); color: var(--green-dark); }
.form-alert.error { background: #fef2f2; color: #dc2626; }

/* ─── FOOTER ─── */
footer {
  background: #0f2027; color: rgba(255,255,255,.6);
  padding: 48px 5% 24px;
}
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { color: rgba(255,255,255,.5); font-size: .9rem; margin-top: 12px; max-width: 300px; }
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.15rem; color: var(--white);
  margin-bottom: 12px; cursor: pointer;
}
.footer-col h4 { font-weight: 700; color: var(--white); margin-bottom: 16px; }
.footer-col a {
  display: block; color: rgba(255,255,255,.5); font-size: .9rem;
  margin-bottom: 8px; transition: color var(--transition); cursor: pointer;
}
.footer-col a:hover { color: var(--green-light); }
footer hr { border: none; border-top: 1px solid rgba(255,255,255,.1); margin-bottom: 20px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; font-size: .85rem;
}
.footer-bottom a { color: rgba(255,255,255,.4); transition: color var(--transition); cursor: pointer; }
.footer-bottom a:hover { color: var(--white); }
.footer-links { display: flex; gap: 16px; }

/* ─── SCROLL TO TOP ─── */
.scroll-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--green); color: var(--white);
  display: none; align-items: center; justify-content: center;
  font-size: 1.2rem; box-shadow: var(--shadow);
  transition: all var(--transition); z-index: 999;
}
.scroll-top.visible { display: flex; }
.scroll-top:hover { background: var(--green-dark); transform: translateY(-3px); }

/* ─── ANIMATIONS ─── */
.animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .5s ease, transform .5s ease;
}
.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .hero-phones { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-tabs, .nav-cta, .nav-right { display: none; }
  .hamburger { display: flex; }
  .hero h1 { font-size: 2.2rem; }
  .hero-stats { gap: 20px; }
  .contact-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .download-card { padding: 40px 24px; }
}
@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
}
