:root {
  --app-bg: #f5f7fb;
  --app-surface: #ffffff;
  --app-surface-2: rgba(255, 255, 255, 0.72);
  --app-text: #0f172a;
  --app-muted: #475569;
  --app-border: rgba(15, 23, 42, 0.10);
  --app-primary: #16a34a;
  --app-primary-2: #22c55e;
  --app-shadow: 0 10px 35px rgba(15, 23, 42, 0.10);
  --app-shadow-2: 0 18px 60px rgba(15, 23, 42, 0.16);
  --app-radius: 18px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--app-bg);
  color: var(--app-text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

body.app-home {
  background: radial-gradient(1000px 600px at 20% 5%, rgba(34, 197, 94, 0.18), transparent 60%),
    radial-gradient(900px 500px at 95% 15%, rgba(16, 185, 129, 0.14), transparent 55%),
    var(--app-bg);
}

a {
  color: var(--app-primary);
  text-decoration-color: rgba(34, 197, 94, 0.35);
}

.text-muted {
  color: var(--app-muted) !important;
}

.app-container {
  max-width: 1100px;
}

.app-nav {
  background: var(--app-surface-2);
  border-bottom: 1px solid var(--app-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.app-nav .nav-link {
  color: rgba(15, 23, 42, 0.72);
}

.app-nav .nav-link:hover {
  color: rgba(15, 23, 42, 0.95);
}

.app-nav .nav-link.active {
  color: rgba(15, 23, 42, 0.95);
  font-weight: 600;
}

@media (max-width: 991.98px) {
  .app-nav .navbar-collapse {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    padding: 1rem 1.25rem 1.5rem;
    background: radial-gradient(900px 520px at 0% 100%, rgba(34, 197, 94, 0.22), rgba(34, 197, 94, 0) 62%),
      radial-gradient(720px 460px at 100% 0%, rgba(16, 185, 129, 0.18), rgba(16, 185, 129, 0) 60%),
      rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 220ms ease, opacity 220ms ease;
    overflow-y: auto;
    z-index: 1050;
  }

  .app-nav .navbar-collapse.show {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  .app-nav-mobile-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid var(--app-border);
  }

  .app-nav-close {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid var(--app-border);
    background: rgba(34, 197, 94, 0.10);
    color: rgba(15, 23, 42, 0.9);
    font-size: 1.55rem;
    line-height: 1;
    display: inline-grid;
    place-items: center;
  }

  .app-nav-close:hover {
    background: rgba(34, 197, 94, 0.14);
    color: rgba(15, 23, 42, 0.98);
  }

  .app-nav .navbar-nav {
    align-items: stretch;
    gap: 0.25rem;
    padding-top: 0.25rem;
  }

  .app-nav .nav-link {
    padding: 0.85rem 0.75rem;
    border-radius: 12px;
    font-size: 1.05rem;
  }

  .app-nav .nav-link:hover {
    background: rgba(34, 197, 94, 0.10);
  }

  .app-nav .nav-link.active {
    background: rgba(34, 197, 94, 0.12);
  }

  .app-nav .navbar-nav .btn {
    width: 100%;
    justify-content: center;
  }
}

.app-brand {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.app-brand img {
  border-radius: 9px;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.18);
}

.app-pill {
  border: 1px solid var(--app-border);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  color: var(--app-muted);
}

.app-hero {
  border-radius: calc(var(--app-radius) + 8px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.76));
  background: radial-gradient(600px 300px at 20% 20%, rgba(34, 197, 94, 0.24), transparent 60%), radial-gradient(520px 280px at 85% 35%, rgba(16, 185, 129, 0.18), transparent 60%);
  border: 1px solid var(--app-border);
  box-shadow: var(--app-shadow);
  overflow: hidden;
  position: relative;
}

.app-hero.app-hero-last {
  margin-top: 100px;
}

.app-hero::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(600px 300px at 20% 20%, rgba(34, 197, 94, 0.24), transparent 60%),
    radial-gradient(520px 280px at 85% 35%, rgba(16, 185, 129, 0.18), transparent 60%);
  pointer-events: none;
}

.app-hero > * {
  position: relative;
}

.app-hero-copy {
  position: relative;
  border: 1px solid var(--app-border);
  border-radius: var(--app-radius);
  overflow: hidden;
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(10px);
}

.app-hero-copy > * {
  position: relative;
  z-index: 1;
}

.app-hero-card {
  position: relative;
  overflow: hidden;
  background: transparent;
  border-color: rgba(34, 197, 94, 0.18);
}


.app-hero-card > * {
  position: relative;
  z-index: 1;
}

.app-display {
  font-size: clamp(1.9rem, 3.2vw, 2.85rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.app-section {
  padding-top: 100px;
  padding-bottom: 100px;
}

section#hero {
    margin-bottom: 80px;
}

.app-section[id] {
  scroll-margin-top: 96px;
}

.app-band {
  position: relative;
}

.app-band::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  z-index: -1;
}

.app-band-alt::before {
  background: rgba(255, 255, 255, 0.65);
  border-top: 1px solid var(--app-border);
  border-bottom: 1px solid var(--app-border);
}

.app-band-soft::before {
  background: rgba(255, 255, 255, 0.75);
}

.app-kicker {
  color: var(--app-muted);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
}

.app-card {
  border: 1px solid var(--app-border);
  border-radius: var(--app-radius);
  box-shadow: var(--app-shadow);
  background: var(--app-surface);
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(10px);
}

.app-card-social {
  position: relative;
  overflow: hidden;
}

.app-card-social::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
}

.app-card-social > * {
  position: relative;
  z-index: 1;
}

.app-card-social-youtube {
  border-color: rgba(220, 38, 38, 0.28);
  background: rgba(255, 255, 255, 0.86);
}

.app-card-social-youtube::before {
  background: radial-gradient(120% 120% at 100% 100%, rgba(220, 38, 38, 0.18), rgba(220, 38, 38, 0) 60%),
    radial-gradient(90% 90% at 0% 0%, rgba(220, 38, 38, 0.08), rgba(220, 38, 38, 0) 58%);
}

.app-card-social-tiktok {
  border-color: rgba(15, 23, 42, 0.22);
  background: rgba(255, 255, 255, 0.86);
}

.app-card-social-tiktok::before {
  background: radial-gradient(120% 120% at 100% 100%, rgba(15, 23, 42, 0.16), rgba(15, 23, 42, 0) 60%),
    radial-gradient(90% 90% at 0% 0%, rgba(15, 23, 42, 0.06), rgba(15, 23, 42, 0) 58%);
}

.app-card-social-instagram {
  border-color: rgba(225, 48, 108, 0.30);
  background: rgba(255, 255, 255, 0.86);
}

.app-card-social-instagram::before {
  background: radial-gradient(120% 120% at 0% 100%, rgba(225, 48, 108, 0.20), rgba(225, 48, 108, 0) 60%),
    radial-gradient(90% 90% at 100% 0%, rgba(129, 52, 175, 0.12), rgba(129, 52, 175, 0) 58%);
}

.app-card-soft {
  border: 1px solid var(--app-border);
  border-radius: var(--app-radius);
  background: rgba(255, 255, 255, 0.78);
}

.app-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.14), rgba(16, 185, 129, 0.10));
  border: 1px solid rgba(34, 197, 94, 0.16);
  color: #1e293b;
}

.app-hover-lift {
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.app-hover-lift:hover {
  transform: translateY(-2px);
  box-shadow: var(--app-shadow-2);
}

.btn-app-primary {
  border: 0;
  background: linear-gradient(135deg, var(--app-primary), var(--app-primary-2));
  color: #fff;
  box-shadow: 0 10px 25px rgba(34, 197, 94, 0.22);
}

.btn-app-primary:hover {
  color: #fff;
  box-shadow: 0 14px 34px rgba(34, 197, 94, 0.30);
}

.btn-app-ghost {
  border: 1px solid var(--app-border);
  background: rgba(34, 197, 94, 0.08);
  color: rgba(15, 23, 42, 0.92);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.btn-app-ghost:hover {
  background: radial-gradient(140% 140% at 100% 100%, rgba(34, 197, 94, 0.28), rgba(34, 197, 94, 0) 58%),
    rgba(34, 197, 94, 0.12);
  color: rgba(15, 23, 42, 0.98);
  border-color: rgba(34, 197, 94, 0.28);
  box-shadow: 0 14px 34px rgba(34, 197, 94, 0.22);
}

.btn-youtube {
  border: 0;
  background: #dc2626;
  color: #fff;
}

.btn-youtube:hover {
  background: #b91c1c;
  color: #fff;
}

.btn-tiktok {
  border: 0;
  background: #0f172a;
  color: #fff;
}

.btn-tiktok:hover {
  background: #111827;
  color: #fff;
}

.btn-instagram {
  border: 0;
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
  color: #fff;
}

.btn-instagram:hover {
  filter: brightness(0.96);
  color: #fff;
}

.app-progress-fill-youtube {
  background: #dc2626;
}

.app-progress-fill-tiktok {
  background: #0f172a;
}

.app-progress-fill-instagram {
  background: #e1306c;
}

.btn:not([class*="btn-"]) {
  border: 1px solid var(--app-border);
  background: rgba(255, 255, 255, 0.7);
  color: rgba(15, 23, 42, 0.92);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.btn:not([class*="btn-"]):hover {
  background: rgba(255, 255, 255, 0.92);
  color: rgba(15, 23, 42, 0.98);
}

.btn-youtube:disabled,
.btn-tiktok:disabled,
.btn-instagram:disabled {
  opacity: 0.65;
}

.app-log {
  border: 1px solid var(--app-border);
  border-radius: var(--app-radius);
  background: rgba(255, 255, 255, 0.78);
  padding: 0.75rem;
  height: 170px;
  overflow: auto;
  margin-bottom: 0;
}

.app-legal h2 {
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.app-legal h2:first-of-type {
  margin-top: 0;
}

.app-footer {
  border-top: 1px solid var(--app-border);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.accordion.app-faq {
  --bs-accordion-border-color: var(--app-border);
  --bs-accordion-bg: rgba(255, 255, 255, 0.78);
  --bs-accordion-active-bg: rgba(255, 255, 255, 0.95);
  --bs-accordion-btn-focus-box-shadow: none;
}

.accordion.app-faq .accordion-item {
  border-radius: var(--app-radius);
  overflow: hidden;
  box-shadow: var(--app-shadow);
}

.accordion.app-faq .accordion-item + .accordion-item {
  margin-top: 0.75rem;
}

.accordion.app-faq .accordion-button {
  font-weight: 600;
}

.app-footer a {
  color: inherit;
  text-decoration: none;
}

.app-footer a:hover {
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .app-hover-lift,
  .app-hover-lift:hover {
    transition: none;
    transform: none;
  }
}
