@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #0a0a0a;
  --surface: #111111;
  --surface-2: #191919;
  --border: #2a2a2a;
  --text: #f0f0f0;
  --muted: #8a8a8a;
  --dim: #4f4f4f;
  --accent: #e03030;
  --accent-2: #c42828;
  --success: #25d366;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.25rem;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: -140px;
  left: 50%;
  transform: translateX(-50%);
  width: 760px;
  height: 360px;
  background: radial-gradient(ellipse, rgba(224, 48, 48, 0.14) 0%, rgba(224, 48, 48, 0) 72%);
  pointer-events: none;
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.45rem;
}

.brand-name {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-name .pro {
  color: #ffffff;
}

.brand-name .tech {
  color: var(--accent);
}

.brand-tagline {
  color: var(--dim);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 1.9rem;
}

.card {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.9rem 1.55rem 1.35rem;
  text-align: center;
  animation: card-enter 280ms ease-out;
}

.activation-help-card {
  margin-top: 0.95rem;
  padding: 1.35rem 1.35rem 1.2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)), var(--surface);
}

.activation-help-card .card-label,
.activation-help-card .card-title,
.activation-help-card .msg {
  text-align: left;
}

.activation-help-card .card-title {
  font-size: 0.98rem;
  margin-bottom: 0.65rem;
}

.activation-help-card .msg {
  margin-bottom: 0.85rem;
}

.activation-help-points {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.activation-help-point {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: #b8b8b8;
  font-size: 0.79rem;
  line-height: 1.5;
  text-align: left;
}

.activation-help-point::before {
  content: '';
  width: 7px;
  height: 7px;
  margin-top: 0.34rem;
  border-radius: 999px;
  background: var(--accent);
  flex-shrink: 0;
}

@keyframes card-enter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes home-enter {
  from {
    transform: translateY(10px);
  }
  to {
    transform: translateY(0);
  }
}

.card-label {
  font-size: 0.67rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.48rem;
}

h1,
.card-title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 1.2rem;
}
.sub,
.msg {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.65;
  margin-bottom: 1.15rem;
}

.tabs {
  display: flex;
  gap: 0;
  margin-bottom: 1.2rem;
  background: var(--surface-2);
  border-radius: 9px;
  padding: 3px;
}

.tab-btn {
  flex: 1;
  border: 0;
  background: transparent;
  border-radius: 6px;
  padding: 0.54rem 0.55rem;
  color: #676767;
  font-family: inherit;
  font-size: 0.71rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.tab-btn.active {
  background: #242424;
  color: var(--accent);
}

.dl-btn,
.copy-cmd-btn.is-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.46rem;
  width: 100%;
  border: none;
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  padding: 0.86rem 1rem;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.08s ease;
  margin-bottom: 0.62rem;
}

.dl-btn:hover,
.copy-cmd-btn.is-primary:hover {
  background: var(--accent-2);
}

.dl-btn:active,
.copy-cmd-btn.is-primary:active {
  transform: scale(0.985);
}

.dl-btn svg,
.copy-cmd-btn svg {
  width: 15px;
  height: 15px;
}

.copy-cmd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.46rem;
  border: 1px solid #2e2e2e;
  border-radius: 8px;
  background: transparent;
  color: #b8b8b8;
  padding: 0.82rem 1rem;
  width: 100%;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.copy-cmd-btn:hover {
  border-color: #505050;
  color: #d2d2d2;
}

.copy-cmd-btn.copied {
  border-color: rgba(224, 48, 48, 0.36);
}

.copy-cmd-cta {
  margin-bottom: 0.62rem;
}

.video-btn,
.method-switch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 1px solid #2e2e2e;
  border-radius: 8px;
  background: transparent;
  color: #8f8f8f;
  padding: 0.8rem 1rem;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
  margin-bottom: 0.9rem;
}

.video-btn:hover,
.method-switch-btn:hover {
  border-color: #555555;
  color: #c6c6c6;
}

.notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.46rem;
  font-size: 0.7rem;
  color: #666666;
  line-height: 1.45;
  text-align: center;
}

.notice svg {
  width: 14px;
  height: 14px;
  color: #464646;
  flex-shrink: 0;
}

.wa-link {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  margin-top: 1.15rem;
  color: #666666;
  text-decoration: none;
  font-size: 0.76rem;
  transition: color 0.15s ease;
}

.wa-link:hover {
  color: var(--success);
}

.footer {
  margin-top: 1.6rem;
  color: #333333;
  font-size: 0.63rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-align: center;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.86);
  z-index: 9999;
  padding: 1.2rem;
}

.mobile-popup {
  width: 100%;
  max-width: 340px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem 1.25rem;
  text-align: center;
}

.mobile-popup-icon {
  font-size: 2.2rem;
  margin-bottom: 0.55rem;
}

.mobile-popup-title {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.mobile-popup-msg {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.mobile-hidden {
  display: none !important;
}

.lookup-card {
  max-width: 420px;
}

.lookup-form {
  display: flex;
  flex-direction: column;
  gap: 0.58rem;
  margin-bottom: 0.28rem;
}

.lookup-card .card-label,
.lookup-card .card-title {
  text-align: left;
}

.activation-card .card-label,
.activation-card .card-title {
  text-align: left;
}

.error-card .card-label,
.error-card .card-title,
.error-card .msg {
  text-align: left;
}

.error-card .err-ring {
  margin: 0 0 1rem;
}

.error-card .wa-link {
  justify-content: flex-start;
}

.lookup-code-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}

.lookup-digit {
  width: 100%;
  height: 54px;
  border: 1px solid #34373c;
  border-radius: 9px;
  background: #171a1f;
  color: #ffffff;
  text-align: center;
  font-family: inherit;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  appearance: none;
  -webkit-appearance: none;
  caret-color: var(--accent);
  transition: border-color 0.14s ease, background 0.14s ease;
}

.lookup-digit:focus {
  outline: none;
  border-color: #51555d;
  background: #1a1e24;
}

.lookup-digit.filled {
  border-color: #4d525a;
}

.lookup-input {
  display: none;
}

.lookup-submit {
  margin-top: 0.16rem;
}

.lookup-submit svg {
  width: 14px;
  height: 14px;
}

.lookup-error {
  color: #ff6a78;
  font-size: 0.76rem;
  margin-top: 0.12rem;
}

body.home-body {
  justify-content: flex-start;
  padding: 2.1rem 1.2rem 3.2rem;
}

.home-hero,
.home-content > *,
.home-footer {
  animation: home-enter 280ms ease-out;
}

.home-hero {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.2rem 0 1rem;
}

.home-hero .brand {
  margin-bottom: 0.3rem;
}

.home-tagline {
  color: var(--dim);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.9rem;
}

.home-content {
  width: 100%;
  max-width: 720px;
  display: flex;
  flex-direction: column;
}

.home-section-label {
  color: #707070;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.52rem;
}

.home-section-label::before {
  content: '';
  width: 4px;
  height: 12px;
  background: var(--accent);
  border-radius: 4px;
}

.home-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  margin-bottom: 2rem;
}

.home-card {
  background: var(--surface);
  border: 1px solid #242424;
  border-radius: 14px;
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.home-card:hover {
  border-color: #343434;
  transform: translateY(-2px);
}

.home-card {
  padding: 0.95rem 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.home-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.home-card-icon img {
  width: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.home-card-body {
  flex: 1;
  min-width: 0;
}

.home-card-title {
  color: #f2f2f2;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.home-card-desc {
  color: #7d7d7d;
  font-size: 0.73rem;
  line-height: 1.55;
}

.home-dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  border: 1px solid #2f2f2f;
  border-radius: 8px;
  background: transparent;
  color: #b8b8b8;
  text-decoration: none;
  white-space: nowrap;
  padding: 0.5rem 0.82rem;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: border-color 0.14s ease, color 0.14s ease, background 0.14s ease;
}

.home-dl-btn:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
}

.home-dl-btn svg {
  width: 13px;
  height: 13px;
}

.home-unavailable-card {
  border-color: rgba(224, 48, 48, 0.4);
  background: linear-gradient(180deg, #181212 0%, #121212 100%);
}

.home-unavailable-card .home-card-body {
  text-align: center;
}

.home-footer {
  margin-top: 1.9rem;
  width: 100%;
  max-width: 720px;
  text-align: center;
  color: #3a3a3a;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
}

.home-footer-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.72rem;
}

.home-footer-social a {
  color: #555555;
  transition: color 0.15s ease;
}

.home-footer-social svg {
  width: 17px;
  height: 17px;
  display: block;
}

.home-footer-social a[aria-label='Instagram']:hover {
  color: #e1306c;
}

.home-footer-social a[aria-label='Facebook']:hover {
  color: #1877f2;
}

.home-footer-social a[aria-label='TikTok']:hover {
  color: #ffffff;
}

.home-footer-social a[aria-label='WhatsApp']:hover {
  color: #25d366;
}

@media (max-width: 640px) {
  .brand-name {
    font-size: 1.65rem;
  }

  .card {
    padding: 1.55rem 1.15rem 1.2rem;
  }

  .home-grid {
    gap: 0.8rem;
    margin-bottom: 1.6rem;
  }

  .home-card {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: start;
    column-gap: 0.72rem;
    row-gap: 0.62rem;
    padding: 0.88rem 0.92rem;
  }

  .home-unavailable-card {
    grid-template-columns: 1fr;
  }

  .home-unavailable-card .home-card-body {
    grid-column: 1 / -1;
  }

  .home-card-icon {
    width: 44px;
    height: 44px;
  }

  .home-card-title {
    font-size: 0.88rem;
    line-height: 1.25;
  }

  .home-card-desc {
    font-size: 0.75rem;
  }

  .home-dl-btn {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
    margin-left: 0;
    padding: 0.6rem 0.86rem;
  }
}

@media (max-width: 420px) {
  body {
    padding: 1.7rem 0.85rem;
  }

  .home-tagline {
    margin-bottom: 1.4rem;
  }

  .home-card {
    grid-template-columns: 40px minmax(0, 1fr);
    padding: 0.82rem 0.85rem;
    column-gap: 0.66rem;
    row-gap: 0.55rem;
  }

  .home-unavailable-card {
    grid-template-columns: 1fr;
  }

  .home-unavailable-card .home-card-body {
    grid-column: 1 / -1;
  }

  .home-card-icon {
    width: 40px;
    height: 40px;
  }

  .home-dl-btn {
    font-size: 0.7rem;
    letter-spacing: 0.09em;
    padding: 0.56rem 0.8rem;
  }
}
