/* ══════════════════════════════════════════════════════════════
   2153 — Football Team Manager  |  Promo Website Styles
   Extracted from app theme: AppColors + TitilliumWeb
   ══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:wght@400;600;700&display=swap');

:root {
  --color-primary: #E8581C;
  --color-primary-light: #FF8C00;
  --color-primary-dark: #C44010;
  --color-bg: #F2F2F2;
  --color-surface: #FFFFFF;
  --color-surface-alt: #F8F8F8;
  --color-text-primary: #1A1A1A;
  --color-text-secondary: #555555;
  --color-text-hint: #AAAAAA;
  --color-error: #E53935;
  --color-success: #43A047;
  --color-warning: #FFA726;
  --color-divider: #EEEEEE;
  --color-border: #E0E0E0;
  --border-radius: 14px;
  --font-family: 'Titillium Web', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-family);
  background: var(--color-bg);
  color: var(--color-text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--color-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--color-primary-dark); }

img { max-width: 100%; height: auto; display: block; }

/* ── Navigation ────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-primary);
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 64px;
}

.nav-logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-logo span { font-size: 1.1rem; }

.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,.85);
  font-weight: 600;
  font-size: .95rem;
  transition: color .2s;
}
.nav-links a:hover,
.nav-links a.active { color: #fff; }

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  border-radius: 2px;
  transition: .3s;
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-hamburger { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--color-primary);
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
  }
  .nav-links.open { display: flex; }
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  padding: 80px 24px 60px;
  overflow: hidden;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 48px;
}

.hero-content { flex: 1; color: #fff; }
.hero-content h1 {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero-content p {
  font-size: 1.15rem;
  opacity: .9;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-device {
  flex: 0 0 auto;
  position: relative;
  max-width: 280px;
}

.device-frame {
  position: relative;
  background: #1A1A1A;
  border-radius: 32px;
  padding: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.device-frame::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #333;
  border-radius: 4px;
}
.device-frame img {
  border-radius: 22px;
  width: 100%;
  display: block;
}

@media (max-width: 768px) {
  .hero { padding: 48px 20px 48px; }
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-content h1 { font-size: 2rem; }
  .hero-content p { margin: 0 auto 24px; }
  .hero-device { max-width: 200px; margin-bottom: 8px; }
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--border-radius);
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all .25s ease;
}

.btn-primary {
  background: #fff;
  color: var(--color-primary);
}
.btn-primary:hover {
  background: var(--color-surface-alt);
  color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
}

.btn-secondary {
  background: rgba(255,255,255,.15);
  color: #fff;
  border: 2px solid rgba(255,255,255,.4);
}
.btn-secondary:hover {
  background: rgba(255,255,255,.25);
  color: #fff;
  transform: translateY(-2px);
}

.btn-orange {
  background: var(--color-primary);
  color: #fff;
}
.btn-orange:hover {
  background: var(--color-primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,88,28,.3);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 768px) {
  .btn-group { justify-content: center; }
}

/* ── Section Utility ───────────────────────────────────────── */
.section {
  padding: 80px 24px;
}
.section-alt { background: var(--color-surface); }
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text-primary);
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  margin-bottom: 48px;
  max-width: 600px;
}
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ── Feature Rows (alternating) ────────────────────────────── */
.feature-row {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 64px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse { flex-direction: row-reverse; }

.feature-icon {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  box-shadow: 0 8px 24px rgba(232,88,28,.2);
}

.feature-text { flex: 1; text-align: left; }
.feature-text h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-text p {
  color: var(--color-text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .feature-row,
  .feature-row.reverse { flex-direction: column; text-align: center; }
  .feature-text { text-align: center; }
  .feature-icon { margin: 0 auto; }
}

/* ── Screenshots Carousel ──────────────────────────────────── */
.screenshots-section {
  padding: 60px 24px;
  background: var(--color-surface);
  overflow: hidden;
}

.carousel-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.carousel-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 380px;
  position: relative;
}

.carousel-slide {
  display: none;
  justify-content: center;
}
.carousel-slide.active { display: flex; }

.carousel-device {
  position: relative;
  width: 220px;
  flex-shrink: 0;
}
.carousel-device .device-frame {
  background: #222;
  border-radius: 28px;
  padding: 10px;
}
.carousel-device .device-frame img {
  border-radius: 20px;
  width: 100%;
  cursor: pointer;
  transition: filter .3s;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  background: var(--color-surface);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--color-text-secondary);
  transition: all .2s;
}
.carousel-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(232,88,28,.05);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-border);
  border: none;
  cursor: pointer;
  transition: all .2s;
}
.carousel-dot.active {
  background: var(--color-primary);
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .carousel-track { min-height: 300px; }
  .carousel-device { width: 180px; }
}

/* ── Lightbox ──────────────────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,.9);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1001;
}

/* ── CTA Section ───────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  padding: 64px 24px;
  text-align: center;
  color: #fff;
}
.cta-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.cta-section p {
  font-size: 1.1rem;
  opacity: .9;
  margin-bottom: 28px;
}

/* ── Cards ─────────────────────────────────────────────────── */
.card {
  background: var(--color-surface);
  border-radius: var(--border-radius);
  padding: 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: transform .25s, box-shadow .25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,.1);
}

/* ── Page Content (privacy, terms, contact) ────────────────── */
.page-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  padding: 48px 24px;
  color: #fff;
  text-align: center;
}
.page-header h1 {
  font-size: 2.2rem;
  font-weight: 700;
}
.page-header p {
  opacity: .85;
  margin-top: 8px;
  font-size: 1.05rem;
}

.page-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px;
}

.page-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 36px 0 12px;
  color: var(--color-primary);
}
.page-body h2:first-of-type { margin-top: 0; }

.page-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 24px 0 8px;
  color: var(--color-text-primary);
}

.page-body p {
  text-align: left;
  margin-bottom: 14px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.page-body ul {
  text-align: left;
  margin: 0 0 16px 20px;
  color: var(--color-text-secondary);
  line-height: 1.8;
}
.page-body ul li { margin-bottom: 4px; }
.page-body a { color: var(--color-primary); text-decoration: underline; }

/* ── Contact Form ──────────────────────────────────────────── */
.contact-card {
  max-width: 640px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}
.form-group label {
  display: block;
  font-weight: 600;
  font-size: .95rem;
  margin-bottom: 6px;
  color: var(--color-text-primary);
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  font-family: var(--font-family);
  font-size: 1rem;
  background: var(--color-surface-alt);
  color: var(--color-text-primary);
  transition: border-color .2s;
}
.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(232,88,28,.1);
}

textarea.form-control { min-height: 140px; resize: vertical; }

.file-input-wrapper {
  position: relative;
  display: inline-block;
}
.file-input-wrapper input[type="file"] {
  font-family: var(--font-family);
  font-size: .9rem;
  color: var(--color-text-secondary);
}

.form-success {
  display: none;
  background: #E8F5E9;
  color: var(--color-success);
  padding: 16px 20px;
  border-radius: 10px;
  font-weight: 600;
  text-align: center;
  margin-top: 16px;
}

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: var(--color-text-primary);
  color: rgba(255,255,255,.7);
  padding: 32px 24px;
  text-align: center;
  font-size: .9rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  list-style: none;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.footer-links a { color: rgba(255,255,255,.7); }
.footer-links a:hover { color: #fff; }

/* ── Privacy Acceptance Button ─────────────────────────────── */
.privacy-accept-btn {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 500;
  padding: 16px 24px 24px;
  background: linear-gradient(to top, var(--color-bg) 60%, transparent);
  display: flex;
  justify-content: center;
}
.privacy-accept-btn.hidden { display: none; }

.accept-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 400px;
  padding: 16px 32px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--border-radius);
  font-family: var(--font-family);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(232,88,28,.35);
  transition: all .25s;
}
.accept-btn:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,88,28,.4);
}

/* ── Utility ───────────────────────────────────────────────── */
@media (max-width: 480px) {
  .section { padding: 48px 16px; }
  .page-body { padding: 32px 16px; }
  .contact-card.card { padding: 24px 20px; }
}
