/* ========================================
   WakeMeGo - COLORS
======================================== */

:root {
  --primary: #5E2CED;
  --primary-dark: #4D20CE;
  --primary-light: #F1EBFF;
  --primary-soft: #F9F7FF;

  --white: #FFFFFF;
  --on-primary: #FFFFFF;
  --text: #17151F;
  --secondary: #716C7C;
  --muted: #9B97A3;
  --border: #ECE9F2;
  --header-background: rgba(255, 255, 255, 0.92);
  --header-border: rgba(236, 233, 242, 0.8);
  --floating-background: rgba(255, 255, 255, 0.96);
  --primary-hover: #E6DCFF;
}

:root[data-theme="dark"] {
  color-scheme: dark;

  --primary: #A78BFA;
  --primary-dark: #8B5CF6;
  --primary-light: #2A2142;
  --primary-soft: #17131F;

  --white: #100E15;
  --on-primary: #FFFFFF;
  --text: #F5F2FA;
  --secondary: #B9B3C5;
  --muted: #8F899B;
  --border: #302A3A;
  --header-background: rgba(16, 14, 21, 0.9);
  --header-border: rgba(68, 59, 82, 0.8);
  --floating-background: rgba(30, 26, 38, 0.96);
  --primary-hover: #372B55;
}

/* ========================================
   RESET
======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;

  background: var(--white);
  color: var(--text);

  overflow-x: clip;

  transition: background-color 0.2s ease, color 0.2s ease;
}

/* ========================================
   NAVBAR
======================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;

  width: 100%;

  background: var(--header-background);
  border-bottom: 1px solid var(--header-border);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.navbar {
  width: 100%;
  max-width: 1200px;

  margin: auto;
  padding: 18px 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;

  color: var(--text);
  text-decoration: none;

  font-size: 21px;
  font-weight: 800;
}

.brand img {
  width: 48px;
  height: 48px;

  object-fit: contain;
}

.navbar-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 11px 18px;

  border-radius: 12px;

  background: var(--primary-light);
  color: var(--primary);

  text-decoration: none;

  font-size: 14px;
  font-weight: 700;

  transition: 0.2s ease;
}

.navbar-download:hover {
  background: var(--primary-hover);

  transform: translateY(-1px);
}

.navbar-actions,
.nav-links {
  display: flex;
  align-items: center;
}

.navbar-actions {
  gap: 28px;
}

.theme-toggle {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  flex: 0 0 auto;

  border: 1px solid var(--border);
  border-radius: 12px;

  background: var(--primary-soft);
  color: var(--text);

  cursor: pointer;

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.theme-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.theme-toggle:focus-visible {
  outline: 3px solid var(--primary-light);
  outline-offset: 2px;
}

.theme-icon {
  width: 21px;
  height: 21px;

  grid-area: 1 / 1;

  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;

  transition: opacity 0.2s ease, transform 0.2s ease;
}

.theme-icon-sun,
:root[data-theme="dark"] .theme-icon-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.theme-icon-moon,
:root[data-theme="dark"] .theme-icon-sun {
  opacity: 0;
  transform: rotate(-30deg) scale(0.65);
}

.nav-links {
  gap: 22px;
}

.nav-links a {
  padding: 10px 0;

  color: var(--secondary);
  text-decoration: none;

  font-size: 14px;
  font-weight: 650;

  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

/* ========================================
   COMING SOON PAGES
======================================== */

.coming-soon {
  width: 100%;
  max-width: 760px;
  min-height: calc(100vh - 172px);

  margin: auto;
  padding: 100px 24px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
}

.coming-soon-icon {
  width: 64px;
  height: 64px;

  margin-bottom: 22px;

  display: grid;
  place-items: center;

  border-radius: 20px;

  background: var(--primary-light);
  color: var(--primary);

  font-size: 26px;
  font-weight: 800;
}

.coming-soon-label {
  margin-bottom: 14px;

  color: var(--primary);

  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.coming-soon h1 {
  margin-bottom: 18px;

  font-size: clamp(38px, 6vw, 60px);
  line-height: 1.08;
  letter-spacing: -2px;
}

.coming-soon p {
  max-width: 590px;

  margin-bottom: 30px;

  color: var(--secondary);

  font-size: 17px;
  line-height: 1.7;
}

.back-home {
  padding: 12px 18px;

  border-radius: 12px;

  background: var(--primary-light);
  color: var(--primary);

  text-decoration: none;
  font-size: 14px;
  font-weight: 700;

  transition: background 0.2s ease, transform 0.2s ease;
}

.back-home:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

/* ========================================
   FAQ
======================================== */

.faq-page {
  width: 100%;
  max-width: 900px;

  margin: auto;
  padding: 78px 24px 100px;
}

.faq-hero {
  max-width: 720px;

  margin: 0 auto 48px;

  text-align: center;
}

.faq-label {
  display: inline-block;

  margin-bottom: 14px;

  color: var(--primary);

  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.faq-hero h1 {
  margin-bottom: 18px;

  font-size: clamp(40px, 6vw, 58px);
  line-height: 1.08;
  letter-spacing: -2px;
}

.faq-hero p {
  color: var(--secondary);

  font-size: 17px;
  line-height: 1.7;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  overflow: hidden;

  border: 1px solid var(--border);
  border-radius: 18px;

  background: var(--primary-soft);

  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.faq-item[open] {
  border-color: var(--primary);
  background: var(--white);
}

.faq-item summary {
  position: relative;

  padding: 22px 64px 22px 24px;

  list-style: none;

  cursor: pointer;

  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";

  position: absolute;
  top: 50%;
  right: 22px;

  width: 30px;
  height: 30px;

  display: grid;
  place-items: center;

  border-radius: 10px;

  background: var(--primary-light);
  color: var(--primary);

  font-size: 20px;
  font-weight: 500;

  transform: translateY(-50%);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "−";
  transform: translateY(-50%) rotate(180deg);
}

.faq-item summary:hover {
  color: var(--primary);
}

.faq-item summary:focus-visible {
  outline: 3px solid var(--primary-light);
  outline-offset: -3px;
  border-radius: 17px;
}

.faq-item p {
  max-width: 760px;

  padding: 0 64px 24px 24px;

  color: var(--secondary);

  font-size: 15px;
  line-height: 1.75;
}

.not-found-page {
  min-height: 100vh;

  display: grid;
  place-items: center;

  padding: 24px;

  background: var(--primary-soft);
  text-align: center;
}

.not-found-content h1 {
  margin-bottom: 10px;

  font-size: clamp(34px, 6vw, 52px);
}

.not-found-content p {
  margin-bottom: 30px;

  color: var(--secondary);
}

.page-theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
}

/* ========================================
   HERO
======================================== */

.hero {
  width: 100%;
  max-width: 1200px;

  min-height: calc(100vh - 90px);

  margin: auto;

  padding: 60px 24px 90px;

  display: grid;

  grid-template-columns:
    0.95fr 1.05fr;

  align-items: center;

  gap: 75px;
}

/* ========================================
   HERO TEXT
======================================== */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  margin-bottom: 23px;

  padding: 8px 14px;

  border-radius: 100px;

  background: var(--primary-light);
  color: var(--primary);

  font-size: 13px;
  font-weight: 700;
}

.hero h1 {
  max-width: 600px;

  margin-bottom: 24px;

  font-size: clamp(48px, 5.5vw, 74px);

  line-height: 1.04;

  letter-spacing: -3px;
}

.hero h1 span {
  color: var(--primary);
}

.description {
  max-width: 550px;

  margin-bottom: 34px;

  color: var(--secondary);

  font-size: 18px;
  line-height: 1.7;
}

/* ========================================
   DOWNLOAD BUTTON
======================================== */

.download-area {
  display: flex;
  align-items: center;
  gap: 18px;

  flex-wrap: wrap;
}

.download-button {
  display: inline-flex;
  align-items: center;
  gap: 13px;

  padding: 13px 22px 13px 14px;

  border-radius: 16px;

  background: var(--primary);
  color: var(--on-primary);

  text-decoration: none;

  box-shadow:
    0 14px 30px
    rgba(94, 44, 237, 0.25);

  transition: 0.2s ease;
}

.download-button:hover {
  background: var(--primary-dark);

  transform: translateY(-2px);

  box-shadow:
    0 18px 38px
    rgba(94, 44, 237, 0.30);
}

.download-icon {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  flex-shrink: 0;

  border-radius: 12px;

  background:
    rgba(255, 255, 255, 0.15);

  font-size: 21px;
}

.download-text small {
  display: block;

  margin-bottom: 2px;

  font-size: 10px;
  font-weight: 600;

  opacity: 0.75;
}

.download-text strong {
  display: block;

  font-size: 16px;
}

.apk-info {
  color: var(--muted);

  font-size: 13px;
}

/* ========================================
   OFFICIAL APK TEXT
======================================== */

.official {
  display: flex;
  align-items: center;
  gap: 8px;

  margin-top: 22px;

  color: #898490;

  font-size: 12px;
}

.official-check {
  width: 20px;
  height: 20px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: var(--primary-light);
  color: var(--primary);

  font-size: 11px;
  font-weight: 800;
}

/* ========================================
   HERO IMAGE
======================================== */

.hero-image-area {
  position: relative;
}

.image-decoration {
  position: absolute;

  width: 160px;
  height: 160px;

  right: -35px;
  top: -35px;

  z-index: -1;

  border-radius: 50%;

  background: var(--primary-light);
}

.image-decoration-bottom {
  position: absolute;

  width: 100px;
  height: 100px;

  left: -30px;
  bottom: -30px;

  z-index: -1;

  border-radius: 30px;

  background: var(--primary-soft);

  transform: rotate(20deg);
}

.hero-image-wrapper {
  position: relative;

  overflow: hidden;

  border-radius: 32px;

  box-shadow:
    0 30px 70px
    rgba(44, 27, 83, 0.14);
}

.hero-image {
  display: block;

  width: 100%;
  height: 520px;

  object-fit: cover;
}

/* subtle overlay */

.hero-image-wrapper::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      transparent 65%,
      rgba(44, 20, 90, 0.12)
    );

  pointer-events: none;
}

/* ========================================
   FLOATING ALERT
======================================== */

.alert-card {
  position: absolute;

  left: -35px;
  bottom: 30px;

  z-index: 5;

  display: flex;
  align-items: center;
  gap: 12px;

  padding: 14px 18px;

  border:
    1px solid rgba(94, 44, 237, 0.08);

  border-radius: 18px;

  background: var(--floating-background);

  box-shadow:
    0 18px 45px
    rgba(30, 20, 55, 0.16);
}

.alert-icon {
  width: 45px;
  height: 45px;

  display: grid;
  place-items: center;

  flex-shrink: 0;

  border-radius: 14px;

  background: var(--primary);
  color: var(--on-primary);

  font-size: 20px;
}

.alert-text small {
  display: block;

  margin-bottom: 3px;

  color: var(--muted);

  font-size: 10px;
  font-weight: 600;

  letter-spacing: 0.4px;
}

.alert-text strong {
  font-size: 14px;
}

/* ========================================
   FEATURES
======================================== */

.features {
  width: 100%;

  padding: 75px 24px;

  background: var(--primary-soft);
}

.features-container {
  width: 100%;
  max-width: 1200px;

  margin: auto;

  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 32px;
}

.feature {
  text-align: center;
}

.feature-icon {
  width: 56px;
  height: 56px;

  margin: 0 auto 17px;

  display: grid;
  place-items: center;

  border-radius: 17px;

  background: var(--primary-light);
  color: var(--primary);

  font-size: 24px;
}

.feature-icon svg {
  width: 26px;
  height: 26px;

  display: block;

  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature h3 {
  margin-bottom: 8px;

  font-size: 16px;
}

.feature p {
  max-width: 250px;

  margin: auto;

  color: var(--secondary);

  font-size: 13px;
  line-height: 1.6;
}

/* ========================================
   FINAL DOWNLOAD SECTION
======================================== */

.final-section {
  padding: 90px 24px;

  text-align: center;
}

.final-logo {
  width: 90px;
  height: 90px;

  margin-bottom: 15px;

  object-fit: contain;
}

.final-section h2 {
  margin-bottom: 12px;

  font-size: 38px;

  letter-spacing: -1px;
}

.final-section h2 span {
  color: var(--primary);
}

.final-section p {
  max-width: 520px;

  margin: 0 auto 28px;

  color: var(--secondary);

  font-size: 15px;
  line-height: 1.7;
}

.final-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 14px 24px;

  border-radius: 14px;

  background: var(--primary);
  color: white;

  text-decoration: none;

  font-weight: 700;

  box-shadow:
    0 12px 25px
    rgba(94, 44, 237, 0.20);

  transition: 0.2s ease;
}

.final-download:hover {
  background: var(--primary-dark);

  transform: translateY(-2px);
}

/* ========================================
   FOOTER
======================================== */

footer {
  padding: 25px;

  border-top: 1px solid var(--border);

  color: var(--secondary);

  text-align: center;

  font-size: 12px;
}

/* ========================================
   TABLET
======================================== */

@media (max-width: 900px) {

  .features-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    grid-template-columns: 1fr;

    gap: 65px;

    padding-top: 50px;

    text-align: center;
  }

  .description {
    margin-left: auto;
    margin-right: auto;
  }

  .download-area {
    justify-content: center;
  }

  .official {
    justify-content: center;
  }

  .hero-image-area {
    width: 100%;
    max-width: 700px;

    margin: auto;
  }

  .alert-card {
    left: 20px;
  }
}

/* ========================================
   MOBILE
======================================== */

@media (max-width: 600px) {

  .navbar {
    padding: 11px 16px;
  }

  .brand {
    gap: 8px;

    font-size: 18px;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .navbar-download {
    display: none;
  }

  .navbar-actions {
    gap: 12px;
  }

  .nav-links {
    gap: 14px;
  }

  .nav-links a {
    padding: 12px 0;

    font-size: 12px;
  }

  .theme-toggle {
    width: 44px;
    height: 44px;
  }

  .hero {
    min-height: auto;

    padding:
      34px 16px
      54px;

    gap: 38px;
  }

  .badge {
    margin-bottom: 18px;
    padding: 7px 11px;

    font-size: 11px;
  }

  .hero h1 {
    margin-bottom: 18px;

    font-size: clamp(36px, 11.5vw, 42px);
    line-height: 1.06;

    letter-spacing: -1.7px;
  }

  .description {
    margin-bottom: 26px;

    font-size: 15px;
    line-height: 1.6;
  }

  .download-button {
    width: 100%;
    max-width: 290px;

    justify-content: center;
  }

  .apk-info {
    width: 100%;
  }

  .hero-image-wrapper {
    border-radius: 20px;
  }

  .hero-image {
    height: auto;

    aspect-ratio: 1487 / 1060;
  }

  .image-decoration,
  .image-decoration-bottom {
    display: none;
  }

  .alert-card {
    left: 12px;
    bottom: 12px;

    gap: 9px;
    padding: 9px 12px;

    border-radius: 14px;
  }

  .alert-icon {
    width: 36px;
    height: 36px;

    border-radius: 11px;
  }

  .alert-text strong {
    font-size: 12px;
  }

  .features {
    padding:
      50px 18px;
  }

  .features-container {
    grid-template-columns: 1fr;

    gap: 34px;
  }

  .feature-icon {
    width: 52px;
    height: 52px;

    margin-bottom: 14px;
  }

  .feature p {
    max-width: 290px;
  }

  .final-section {
    padding:
      54px 18px;
  }

  .final-section h2 {
    font-size: 30px;
  }

  .final-section p {
    font-size: 14px;
  }

  .coming-soon {
    min-height: calc(100svh - 138px);

    padding: 60px 18px;
  }

  .coming-soon h1 {
    font-size: 36px;
    letter-spacing: -1.3px;
  }

  .coming-soon p {
    font-size: 15px;
  }

  .faq-page {
    padding: 52px 16px 70px;
  }

  .faq-hero {
    margin-bottom: 34px;
  }

  .faq-hero h1 {
    font-size: 36px;
    letter-spacing: -1.3px;
  }

  .faq-hero p {
    font-size: 15px;
  }

  .faq-list {
    gap: 10px;
  }

  .faq-item {
    border-radius: 15px;
  }

  .faq-item summary {
    padding: 19px 56px 19px 18px;

    font-size: 15px;
  }

  .faq-item summary::after {
    right: 16px;

    width: 28px;
    height: 28px;
  }

  .faq-item p {
    padding: 0 18px 20px;

    font-size: 14px;
  }

  footer {
    padding: 22px 16px;

    line-height: 1.5;
  }
}

@media (max-width: 380px) {

  .navbar {
    padding-right: 12px;
    padding-left: 12px;
  }

  .brand {
    gap: 6px;

    font-size: 16px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .nav-links {
    gap: 12px;
  }

  .nav-links a {
    font-size: 11px;
  }

  .navbar-actions {
    gap: 10px;
  }

  .theme-toggle {
    width: 40px;
    height: 40px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .alert-card {
    max-width: calc(100% - 24px);
  }
}
