/* FS26 Download Site — Styles */

:root {
  --color-primary: #2d6a2e;
  --color-primary-dark: #1e4a1f;
  --color-primary-light: #4a9a4c;
  --color-accent: #f5a623;
  --color-accent-dark: #d4891a;
  --color-bg: #f8faf5;
  --color-bg-card: #ffffff;
  --color-text: #1a1a1a;
  --color-text-muted: #5a5a5a;
  --color-border: #e0e8dc;
  --color-badge-bg: #e8f5e9;
  --color-badge-text: #2d6a2e;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --max-width: 960px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  font-size: 16px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ─── Header ─────────────────────────────────────────────────────── */

.site-header {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 60%, var(--color-primary-light) 100%);
  color: #fff;
  padding: 0 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-md);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 1rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Language switcher */
.lang-switcher {
  position: relative;
}

.lang-switcher-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
  white-space: nowrap;
  transition: background 0.15s;
}

.lang-switcher-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lang-switcher-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 160px;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  list-style: none;
  padding: 0.35rem 0;
  margin: 0;
  z-index: 300;
  border: 1px solid var(--color-border);
}

.lang-switcher.open .lang-switcher-menu {
  display: block;
}

.lang-switcher-menu a {
  display: block;
  padding: 0.55rem 1.1rem;
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.12s, color 0.12s;
}

.lang-switcher-menu a:hover {
  background: #f4f8f2;
  text-decoration: none;
}

.lang-switcher-menu a.active {
  color: var(--color-primary);
  font-weight: 700;
  background: #e8f5e9;
}

.site-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.site-logo:hover {
  text-decoration: none;
  opacity: 0.9;
}

.header-download-btn {
  background: var(--color-accent);
  color: #1a1a1a;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.header-download-btn:hover {
  background: var(--color-accent-dark);
  text-decoration: none;
  transform: translateY(-1px);
}

/* ─── Hero ───────────────────────────────────────────────────────── */

.hero {
  background: linear-gradient(160deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, #3d7a3f 100%);
  color: #fff;
  padding: 3rem 1.5rem 4rem;
  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='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.hero-content {
  min-width: 0;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.badge svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.hero-subtitle {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
  max-width: 560px;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.highlight-pill {
  background: rgba(245, 166, 35, 0.2);
  border: 1px solid rgba(245, 166, 35, 0.4);
  color: #ffe082;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
}

.mod-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.mod-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.85);
}

.mod-tag-featured {
  background: linear-gradient(135deg, #f5a623 0%, #ffd54f 100%);
  border: 1px solid #ffe082;
  color: #3e2723;
  box-shadow: 0 2px 8px rgba(245, 166, 35, 0.45);
  animation: mod-pulse 2.5s ease-in-out infinite;
}

@keyframes mod-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.mod-comparison-table td.mod-yes {
  color: var(--color-primary-dark);
  font-weight: 700;
}

.mod-comparison-table th:last-child {
  background: var(--color-primary-dark);
  color: #fff;
}

.mod-comparison-table td:last-child {
  background: #dcebdd;
  color: var(--color-text);
  font-weight: 600;
}

.mod-comparison-table td:last-child.mod-yes {
  color: #1a5c1c;
  font-weight: 700;
}

.download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
  cursor: pointer;
  border: none;
}

.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.btn-download svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--color-accent);
  color: #1a1a1a;
}

.btn-primary:hover {
  background: var(--color-accent-dark);
  color: #1a1a1a;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.btn-disabled {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  cursor: not-allowed;
  pointer-events: none;
}

.hero-icon-wrap {
  flex-shrink: 0;
}

.app-icon {
  width: 140px;
  height: 140px;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  background: rgba(255, 255, 255, 0.1);
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.app-icon-placeholder {
  width: 140px;
  height: 140px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.1);
  border: 3px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  box-shadow: var(--shadow-lg);
}

/* ─── Main Content ───────────────────────────────────────────────── */

.main-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.intro-text {
  background: var(--color-bg-card);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  margin-bottom: 2.5rem;
}

.intro-text p {
  margin-bottom: 1rem;
  color: var(--color-text-muted);
}

.intro-text p:last-child {
  margin-bottom: 0;
}

/* ─── Section Titles ─────────────────────────────────────────────── */

.section {
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--color-accent);
  display: inline-block;
}

.section-subtitle {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* ─── Info Table ─────────────────────────────────────────────────── */

.info-table-wrap {
  background: var(--color-bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  margin-bottom: 2.5rem;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table > caption:first-of-type {
  caption-side: top;
  text-align: left;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 1.25rem 1.5rem 0.75rem;
  color: var(--color-primary-dark);
}

.info-table caption.sync-note {
  caption-side: bottom;
  text-align: left;
  font-weight: 400;
  font-size: 0.8rem;
  padding: 0.75rem 1.5rem 1.25rem;
  color: var(--color-text-muted);
}

.info-table tr:nth-child(even) {
  background: #f4f8f2;
}

.info-table td {
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
}

.info-table tr:last-child td {
  border-bottom: none;
}

.info-table td:first-child {
  font-weight: 600;
  color: var(--color-text);
  width: 40%;
}

.info-table td:last-child {
  color: var(--color-text-muted);
}

/* ─── Features ───────────────────────────────────────────────────── */

.feature-list {
  display: grid;
  gap: 1.25rem;
}

.feature-item {
  background: var(--color-bg-card);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  transition: box-shadow 0.2s;
}

.feature-item:hover {
  box-shadow: var(--shadow-md);
}

.feature-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 0.5rem;
}

.feature-item p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ─── Why Choose / Bullet List ───────────────────────────────────── */

.bullet-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--color-bg-card);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.bullet-list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--color-badge-bg);
  color: var(--color-badge-text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 1px;
}

/* ─── Requirements Table ─────────────────────────────────────────── */

.req-table-wrap {
  overflow-x: auto;
  margin-bottom: 1.25rem;
}

.req-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.req-table th,
.req-table td {
  padding: 0.85rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
}

.req-table th {
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
}

.req-table tr:last-child td {
  border-bottom: none;
}

.tips-list {
  list-style: disc;
  padding-left: 1.5rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.tips-list li {
  margin-bottom: 0.4rem;
}

/* ─── Install Steps ──────────────────────────────────────────────── */

.steps-list {
  counter-reset: step;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.steps-list li {
  counter-increment: step;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--color-bg-card);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.steps-list li::before {
  content: counter(step);
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

/* ─── What's New ─────────────────────────────────────────────────── */

.whats-new-list {
  list-style: none;
  background: var(--color-bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.whats-new-list li {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.whats-new-list li:last-child {
  border-bottom: none;
}

.whats-new-list li::before {
  content: "•";
  color: var(--color-accent);
  font-size: 1.25rem;
  line-height: 1;
}

/* ─── FAQ ────────────────────────────────────────────────────────── */

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  background: var(--color-bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--font);
  transition: background 0.15s;
}

.faq-question:hover {
  background: #f4f8f2;
}

.faq-question svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.2s;
  color: var(--color-primary);
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 1.25rem 1rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ─── Sticky Download Bar (mobile) ──────────────────────────────── */

.sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-bg-card);
  border-top: 1px solid var(--color-border);
  padding: 0.75rem 1rem;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
  z-index: 200;
  gap: 0.75rem;
}

.sticky-bar.visible {
  display: flex;
}

.sticky-bar .btn-download {
  flex: 1;
  justify-content: center;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
}

.sticky-bar .btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.sticky-bar .btn-secondary {
  background: var(--color-accent);
  color: #1a1a1a;
  border: none;
}

/* ─── Footer ─────────────────────────────────────────────────────── */

.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 2rem 1.5rem;
  font-size: 0.875rem;
  text-align: center;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-disclaimer {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
}

.footer-links a:hover {
  color: #fff;
}

.footer-copy {
  opacity: 0.6;
  font-size: 0.8rem;
}

/* ─── Responsive ─────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .header-actions {
    gap: 0.5rem;
  }

  .lang-switcher-btn {
    padding: 0.4rem 0.6rem;
    font-size: 0.78rem;
  }

  .header-download-btn {
    padding: 0.45rem 0.85rem;
    font-size: 0.78rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-badges,
  .mod-tags,
  .hero-highlights,
  .download-buttons {
    justify-content: center;
  }

  .hero-icon-wrap {
    display: flex;
    justify-content: center;
  }

  .app-icon,
  .app-icon-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 20px;
  }

  .sticky-bar.visible {
    display: flex;
  }

  body {
    padding-bottom: 70px;
  }
}

@media (max-width: 480px) {
  .download-buttons {
    flex-direction: column;
  }

  .btn-download {
    width: 100%;
    justify-content: center;
  }
}

/* ─── Download Page ──────────────────────────────────────────────── */

.download-page-body {
  min-height: 100vh;
}

.download-hero {
  background: linear-gradient(160deg, var(--color-primary-dark) 0%, var(--color-primary) 55%, #3d7a3f 100%);
  color: #fff;
  padding: 3rem 1.5rem 2.5rem;
  text-align: center;
}

.download-hero-inner {
  max-width: 560px;
  margin: 0 auto;
}

.download-app-icon-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.download-app-icon-wrap .app-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  border: 3px solid rgba(255, 255, 255, 0.25);
}

.download-app-icon-wrap .app-icon-placeholder {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  font-size: 2.5rem;
}

.download-hero h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.download-subtitle {
  opacity: 0.9;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.download-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.download-meta-chip {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
}

.download-meta-chip strong {
  font-weight: 700;
}

.download-countdown-wrap {
  margin: 1.5rem 0;
}

.download-preparing {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-bottom: 0.75rem;
}

.download-countdown {
  width: 64px;
  height: 64px;
  margin: 0 auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 3px solid var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-accent);
}

.download-action {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1rem;
}

.btn-download-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
  min-width: 280px;
  justify-content: center;
}

.download-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  opacity: 0.8;
}

.download-main {
  padding-top: 2rem;
}

.download-back {
  text-align: center;
  margin-top: 1rem;
}

.download-back a {
  color: var(--color-primary);
  font-weight: 600;
}
