/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: #060c1a;
  color: #e2e8f0;
  overflow-x: hidden;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
}
ul {
  list-style: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3000;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--gold);
  color: #0a0e1a;
  font-weight: 700;
  transition: transform var(--transition);
}
.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ===== CSS VARIABLES ===== */
:root {
  --gold: #f5c014;
  --gold-light: #ffd94a;
  --gold-dark: #c89a00;
  --green: #3ddc4a;
  --green-dark: #28a035;
  --navy: #060c1a;
  --navy-mid: #0d1830;
  --navy-light: #1a3a6e;
  --bg-deep: #060c1a;
  --bg-card: rgba(255, 255, 255, 0.04);
  --border: rgba(245, 192, 20, 0.12);
  --text-muted: #94a3b8;
  --radius: 20px;
  --header-h: 70px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== CONTAINER ===== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(6, 11, 24, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition:
    background var(--transition),
    box-shadow var(--transition);
}
.site-header.scrolled {
  background: rgba(6, 12, 26, 0.97);
  box-shadow: 0 4px 30px rgba(245, 192, 20, 0.1);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #fff;
}
.logo-icon {
  font-size: 1.5rem;
}
.logo-accent {
  color: var(--gold);
}

/* Nav */
.header-nav {
  display: flex;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link {
  padding: 8px 16px;
  border-radius: 10px;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 1.1rem;
  transition:
    color var(--transition),
    background var(--transition);
}
.nav-link:hover {
  color: #fff;
  background: var(--bg-card);
}
.nav-link.nav-cta {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #0a0e1a;
  font-weight: 700;
  padding: 8px 20px;
  box-shadow: 0 0 20px rgba(245, 192, 20, 0.3);
}
.nav-link.nav-cta:hover {
  box-shadow: 0 0 30px rgba(245, 192, 20, 0.5);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background var(--transition);
}
.hamburger:hover {
  background: var(--bg-card);
}
.bar {
  width: 24px;
  height: 2.5px;
  border-radius: 2px;
  background: #fff;
  transition: all var(--transition);
}
.hamburger.active .bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.hamburger.active .bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.active .bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: rgba(6, 11, 24, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px 20px;
  transform: translateY(-10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--transition);
}
.mobile-nav.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav-link {
  display: block;
  padding: 12px 16px;
  border-radius: 12px;
  color: var(--text-muted);
  font-size: 1.2rem;
  font-weight: 500;
  transition: all var(--transition);
}
.mobile-nav-link:hover,
.mobile-nav-link.nav-cta {
  color: #fff;
  background: var(--bg-card);
}
.mobile-nav-link.nav-cta {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #0a0e1a;
  font-weight: 700;
  text-align: center;
  margin-top: 6px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0 80px;
  background:
    radial-gradient(
      ellipse 80% 60% at 50% 0%,
      rgba(245, 192, 20, 0.1) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 60% 50% at 80% 100%,
      rgba(61, 220, 74, 0.08) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 40% 40% at 0% 60%,
      rgba(26, 58, 110, 0.15) 0%,
      transparent 60%
    ),
    #060c1a;
}

/* Orbs */
.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(245, 192, 20, 0.13) 0%,
    transparent 70%
  );
  top: -150px;
  left: -150px;
  animation: floatOrb 8s ease-in-out infinite;
}
.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(61, 220, 74, 0.09) 0%,
    transparent 70%
  );
  bottom: -100px;
  right: -100px;
  animation: floatOrb 10s ease-in-out infinite reverse;
}
.orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(26, 58, 110, 0.22) 0%,
    transparent 70%
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 6s ease-in-out infinite;
}
@keyframes floatOrb {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(30px, 20px);
  }
}
@keyframes pulse {
  0%,
  100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.15);
  }
}

/* Field rings */
.field-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.04);
  pointer-events: none;
}
.ring-1 {
  width: 700px;
  height: 700px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.ring-2 {
  width: 500px;
  height: 500px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}

/* App Logo */
.app-logo-wrapper {
  position: relative;
  width: 150px;
  height: 150px;
}
.logo-glow-ring {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: conic-gradient(
    var(--gold),
    var(--green),
    var(--navy-light),
    var(--gold)
  );
  animation: spin 6s linear infinite;
  filter: blur(8px);
  opacity: 0.7;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.app-logo-img {
  position: relative;
  z-index: 1;
  width: 150px;
  height: 150px;
  border-radius: 36px;
  object-fit: cover;
  border: 3px solid rgba(245, 192, 20, 0.3);
  box-shadow:
    0 0 40px rgba(245, 192, 20, 0.35),
    0 20px 60px rgba(0, 0, 0, 0.6);
}
.logo-fallback {
  display: none;
  position: relative;
  z-index: 1;
  width: 150px;
  height: 150px;
  border-radius: 36px;
  background: linear-gradient(135deg, #0d1f3c, #1a3a5c);
  border: 3px solid rgba(245, 192, 20, 0.3);
  box-shadow:
    0 0 40px rgba(245, 192, 20, 0.3),
    0 20px 60px rgba(0, 0, 0, 0.5);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.fallback-icon {
  font-size: 2.5rem;
}
.fallback-letters {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* App Name */
.app-name {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1;
}
.app-name-main {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: clamp(3.5rem, 12vw, 6rem);
  font-weight: 700;
  letter-spacing: 6px;
  background: linear-gradient(135deg, #fff 10%, var(--gold-light) 45%, var(--gold) 70%, var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px rgba(245, 192, 20, 0.45));
}
.app-name-sub {
  font-size: clamp(0.75rem, 3vw, 0.9rem);
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Meta badges */
.app-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.meta-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 192, 20, 0.07);
  border: 1px solid rgba(245, 192, 20, 0.2);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  backdrop-filter: blur(10px);
}
.meta-icon {
  width: 14px;
  height: 14px;
  color: var(--gold);
  flex-shrink: 0;
}

/* Hero Desc */
.hero-desc {
  max-width: 580px;
  font-size: clamp(0.95rem, 3vw, 1.05rem);
  line-height: 1.75;
  color: #94a3b8;
  font-weight: 400;
}
.content-meta {
  color: rgba(226, 232, 240, 0.78);
  font-size: 0.86rem;
  line-height: 1.6;
}
.content-meta a {
  color: var(--gold-light);
  font-weight: 700;
}

/* Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(10px);
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 30px;
  gap: 2px;
}
.stat-number {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Download Button */
.cta-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.btn-download {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 18px 50px;
  border-radius: 60px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  color: #0a0e1a;
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow:
    0 0 40px rgba(245, 192, 20, 0.4),
    0 10px 40px rgba(160, 120, 0, 0.35);
  transition: all var(--transition);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-download:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 0 60px rgba(245, 192, 20, 0.6),
    0 16px 50px rgba(160, 120, 0, 0.5);
}
.btn-download:active {
  transform: translateY(-1px) scale(0.99);
}
.btn-icon {
  width: 22px;
  height: 22px;
}
.btn-text {
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-sub {
  font-size: 0.72rem;
  font-weight: 400;
  opacity: 0.75;
  letter-spacing: 1px;
}
.btn-ripple {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.25) 0%,
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-download:hover .btn-ripple {
  opacity: 1;
}
.btn-download.loading {
  pointer-events: none;
  opacity: 0.9;
}
.btn-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background: var(--green);
  width: 0%;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px var(--green);
}
.cta-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== ABOUT SECTION ===== */
.about-section {
  position: relative;
  padding: 84px 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent),
    #07101f;
  border-top: 1px solid rgba(245, 192, 20, 0.08);
  border-bottom: 1px solid rgba(245, 192, 20, 0.08);
}
.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}
.about-copy {
  max-width: 720px;
}
.about-copy p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.85;
}
.about-copy p + p {
  margin-top: 16px;
}
.about-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.about-item {
  min-height: 132px;
  padding: 20px 18px;
  border-left: 3px solid rgba(245, 192, 20, 0.65);
  background: rgba(255, 255, 255, 0.035);
}
.about-item h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 10px;
}
.about-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}
.author-note {
  grid-column: 1 / -1;
  padding: 22px;
  border-left: 3px solid rgba(61, 220, 74, 0.75);
  background: rgba(255, 255, 255, 0.035);
}
.author-note h3 {
  color: #fff;
  font-size: 1.12rem;
  margin-bottom: 10px;
}
.author-note p {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.75;
}
.author-note p + p {
  margin-top: 10px;
}
@media (min-width: 900px) {
  .about-inner {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }
}
@media (max-width: 767px) {
  .about-section {
    padding: 64px 0;
  }
  .about-list {
    grid-template-columns: 1fr;
  }
  .about-item {
    min-height: auto;
  }
}

/* ===== GUIDELINES SECTION ===== */
.guidelines-section {
  padding: 90px 0;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(255, 255, 255, 0.02) 50%,
    transparent
  );
  position: relative;
}
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-badge {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 50px;
  background: rgba(245, 192, 20, 0.1);
  border: 1px solid rgba(245, 192, 20, 0.3);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-title {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 700;
  background: linear-gradient(135deg, #fff, var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Cards Grid */
.guidelines-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .guidelines-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* Card */
.guideline-card {
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
  overflow: hidden;
}
.guideline-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  border-color: rgba(245, 192, 20, 0.2);
}
.guideline-card:nth-child(1):hover {
  box-shadow: 0 20px 60px rgba(245, 192, 20, 0.12);
  border-color: rgba(245, 192, 20, 0.35);
}
.guideline-card:nth-child(2):hover {
  box-shadow: 0 20px 60px rgba(61, 220, 74, 0.1);
  border-color: rgba(61, 220, 74, 0.3);
}
.guideline-card:nth-child(3):hover {
  box-shadow: 0 20px 60px rgba(245, 192, 20, 0.1);
  border-color: rgba(26, 58, 110, 0.5);
}

.card-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px 24px;
}
.card-icon-wrap {
  position: relative;
  width: 60px;
  height: 60px;
}
.card-icon-bg {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
}
.card-icon {
  width: 60px;
  height: 60px;
  position: relative;
  z-index: 1;
}

.card-body {
  flex: 1;
}
.card-number {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 8px;
}
.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.35;
}
.card-desc {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.card-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 50px;
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--transition);
}
.card-btn svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}
.card-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}
.card-btn:hover svg {
  transform: translateX(4px);
}
.guideline-card:nth-child(1) .card-btn:hover {
  color: var(--gold);
  border-color: rgba(245, 192, 20, 0.5);
}
.guideline-card:nth-child(2) .card-btn:hover {
  color: var(--green);
  border-color: rgba(61, 220, 74, 0.4);
}
.guideline-card:nth-child(3) .card-btn:hover {
  color: var(--gold-light);
  border-color: rgba(26, 58, 110, 0.6);
}

/* ===== FOOTER ===== */
.site-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top center, rgba(245, 192, 20, 0.09), transparent 34%),
    #040912;
  border-top: 1px solid var(--border);
  padding: 64px 0 36px;
}
.footer-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--gold),
    var(--green),
    transparent
  );
}
.footer-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.footer-top {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.footer-brand-panel,
.footer-admin {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 24px;
  backdrop-filter: blur(18px);
  padding: 28px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}
.footer-brand-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
}
.footer-logo-icon {
  font-size: 1.3rem;
}
.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}
.footer-summary {
  max-width: 46ch;
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 0.96rem;
}
.footer-panel-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.footer-badge {
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(245, 192, 20, 0.25);
  background: rgba(245, 192, 20, 0.08);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.footer-panel-title {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}
.footer-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.footer-contact-card {
  min-height: 96px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    background var(--transition);
}
.footer-contact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 192, 20, 0.28);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}
.footer-contact-card-wide {
  grid-column: 1 / -1;
}
.footer-contact-link {
  color: inherit;
}
.footer-contact-link .footer-contact-value {
  color: var(--gold-light);
}
.footer-contact-link:hover .footer-contact-value {
  color: #fff;
}
.footer-contact-link:focus-visible,
.footer-social-link:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}
.footer-contact-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.75);
}
.footer-contact-value {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #fff;
  font-style: normal;
}
.footer-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(245, 192, 20, 0.35),
    rgba(61, 220, 74, 0.35),
    transparent
  );
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  text-align: center;
}
.footer-links a {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
}
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--gold-light);
}
.footer-social-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

/* ===== LEGAL / INFO PAGES ===== */
.info-page {
  background: #060c1a;
}
.legal-main {
  padding: 72px 0 88px;
}
.legal-hero {
  max-width: 760px;
  margin-bottom: 34px;
}
.legal-hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 7vw, 4rem);
  line-height: 1.05;
  margin: 12px 0 14px;
}
.legal-hero p {
  color: var(--text-muted);
  line-height: 1.8;
}
.legal-meta {
  color: rgba(226, 232, 240, 0.76);
  font-size: 0.9rem;
}
.legal-content {
  max-width: 840px;
}
.legal-content section {
  padding: 26px 0;
  border-top: 1px solid rgba(245, 192, 20, 0.12);
}
.legal-content h2 {
  color: #fff;
  font-size: 1.35rem;
  margin-bottom: 12px;
}
.legal-content p,
.legal-content li {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.8;
}
.legal-content ul {
  list-style: disc;
  padding-left: 20px;
}
.legal-content a {
  color: var(--gold-light);
  font-weight: 700;
}
.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.page-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  color: #0a0e1a;
  background: var(--gold);
  font-weight: 700;
}
.footer-social-title {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.footer-social-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.footer-social-link {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition),
    box-shadow var(--transition),
    color var(--transition);
}
.footer-social-link svg {
  width: 22px;
  height: 22px;
}
.footer-social-link:hover {
  transform: translateY(-4px);
  color: var(--gold-light);
  border-color: rgba(245, 192, 20, 0.35);
  background: linear-gradient(135deg, rgba(245, 192, 20, 0.16), rgba(61, 220, 74, 0.08));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}
.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-legal {
  max-width: 620px;
  font-size: 0.82rem;
  line-height: 1.7;
  color: rgba(148, 163, 184, 0.68);
}

@media (min-width: 900px) {
  .footer-top {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }
}

/* ===== SCROLL TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 22px;
  z-index: 900;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(245, 192, 20, 0.4);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all var(--transition);
}
.scroll-top svg {
  width: 20px;
  height: 20px;
  color: #0a0e1a;
}
.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(245, 192, 20, 0.55);
}

/* ===== TUTORIAL OVERLAY ===== */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.overlay.active {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
}
.overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 9, 18, 0.95);
  backdrop-filter: blur(12px);
}
.overlay-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 450px;
  background: var(--navy-mid);
  border: 1px solid rgba(245, 192, 20, 0.2);
  border-radius: 24px;
  padding: 30px 20px 20px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.8);
  transform: scale(0.9) translateY(20px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.overlay.active .overlay-card {
  transform: scale(1) translateY(0);
}
.close-overlay {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.close-overlay:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: rotate(90deg);
}

.step-counter {
  text-align: center;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.step-image-box {
  width: 100%;
  height: 480px;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.step-image-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease, opacity 0.3s ease;
}
.step-image-box img.fade {
  opacity: 0;
  transform: scale(0.95);
}

.overlay-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(245, 192, 20, 0.1);
  border: 1px solid rgba(245, 192, 20, 0.2);
  color: var(--gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.nav-btn:hover {
  background: var(--gold);
  color: #000;
  box-shadow: 0 0 20px rgba(245, 192, 20, 0.3);
}
.nav-btn:disabled {
  opacity: 0.2;
  cursor: not-allowed;
}
.nav-btn svg {
  width: 24px;
  height: 24px;
}

.step-dots {
  display: flex;
  gap: 8px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}
.dot.active {
  background: var(--gold);
  width: 20px;
  border-radius: 4px;
}

/* Responsive Overlay */
@media (max-width: 480px) {
  .overlay-card {
    padding: 25px 15px 15px;
  }
  .step-image-box {
    height: 400px;
  }
  .nav-btn {
    width: 42px;
    height: 42px;
  }
}
@media (max-width: 380px) {
  .step-image-box {
    height: 320px;
  }
}

/* ===== ANIMATIONS ===== */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-up:nth-child(2) {
  transition-delay: 0.1s;
}
.reveal-up:nth-child(3) {
  transition-delay: 0.2s;
}
.reveal-up:nth-child(4) {
  transition-delay: 0.3s;
}
.reveal-up:nth-child(5) {
  transition-delay: 0.4s;
}
.reveal-up:nth-child(6) {
  transition-delay: 0.5s;
}

/* ===== MOBILE ===== */
@media (max-width: 767px) {
  .header-nav {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .mobile-nav {
    display: block;
  }
  .stat-item {
    padding: 14px 18px;
  }
  .stat-number {
    font-size: 1.3rem;
  }
  .hero {
    padding: 40px 0 60px;
  }
  .site-footer {
    padding: 56px 0 30px;
  }
  .footer-brand-panel,
  .footer-admin {
    padding: 22px;
  }
  .footer-contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-contact-card,
  .footer-contact-card-wide {
    min-height: auto;
    grid-column: auto;
  }
}
@media (max-width: 480px) {
  :root {
    --header-h: 62px;
  }
  .header-logo {
    font-size: 1.7rem;
  }
  .app-logo-wrapper {
    width: 120px;
    height: 120px;
  }
  .app-logo-img,
  .logo-fallback {
    width: 120px;
    height: 120px;
    border-radius: 28px;
  }
  .hero-desc {
    font-size: 0.9rem;
  }
  .btn-download {
    padding: 16px 36px;
    font-size: 1rem;
  }
  .hero-stats {
    width: 100%;
  }
  .stat-item {
    padding: 12px 14px;
    flex: 1;
  }
  .card-inner {
    padding: 22px 18px;
  }
  .footer-social-link {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }
  .footer-social-link svg {
    width: 20px;
    height: 20px;
  }
  .footer-panel-title {
    font-size: 1.3rem;
  }
}
@media (max-width: 400px) {
  .header-logo {
    font-size: 1.5rem;
  }
  .app-logo-wrapper {
    width: 105px;
    height: 105px;
  }
  .app-logo-img,
  .logo-fallback {
    width: 105px;
    height: 105px;
    border-radius: 24px;
  }
  .btn-download {
    padding: 14px 28px;
    font-size: 0.95rem;
    width: 100%;
    justify-content: center;
  }
  .meta-badge {
    font-size: 0.75rem;
    padding: 5px 10px;
  }
  .app-meta {
    gap: 8px;
  }
  .stat-item {
    padding: 10px 10px;
  }
  .stat-number {
    font-size: 1.1rem;
  }
}
