/* =========================================================
   LOGO
========================================================= */

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--card) 92%, transparent),
    color-mix(in srgb, var(--card) 75%, transparent)
  );
  border: 1px solid var(--border);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.logo img {
  height: 26px;
  display: block;
}

.logo:hover {
  transform: translateY(-1px);
}

.logo:active {
  transform: translateY(0);
}

/* =========================================================
   BUTTONS
========================================================= */

.auth-buttons {
  display: flex;
  gap: 12px;
}

.btn-outline {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-outline:hover {
  background: color-mix(in srgb, var(--primary) 10%, transparent);
}

.btn-primary {
  padding: 8px 18px;
  border-radius: 20px;
  border: none;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}






/* =========================================================
   BADGE / PILL
========================================================= */

.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  background: var(--card);
  color: var(--primary);
}


/* =========================================================
   STORE BUTTONS
========================================================= */

.store-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.store-buttons img {
  height: 48px;
}

.store-link {
  display: inline-flex;
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  transition:
    opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.2s ease;
}

.store-link.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.store-link:hover {
  transform: translateY(-2px) scale(1.02);
}

.store-link:active {
  transform: scale(0.98);
}

@media (prefers-reduced-motion: reduce) {
  .store-link {
    opacity: 1;
    transform: none;
    transition: none;
  }
}






/* =========================================================
   FEATURE CARD
========================================================= */

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  min-height: 214px;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;

  opacity: 0;
  transform: translateX(-80px);

  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);

  will-change: opacity, transform;
}

.feature-card.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.feature-card.is-visible:hover {
  transform: translateX(0) translateY(-6px) scale(1.02);
}

.feature-card img {
  width: 32px;
  height: 32px;
}

.feature-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.feature-card p {
  font-size: 14px;
  line-height: 160%;
  color: var(--muted);
}


/* =========================================================
   WORD BY WORD TEXT ANIMATION
========================================================= */

[data-animate="words"] {
  overflow: hidden;
}

.word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);

  transition:
    opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.word.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* =========================================================
   STATS NUMBERS
========================================================= */

.stat-number {
  font-size: clamp(40px, 6vw, 56px);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;

  opacity: 0;
  transform: translateY(20px);

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

.stat-number.is-visible {
  opacity: 1;
  transform: translateY(0);
}






/* =========================================================
   PROCRASTINATORS – COMPONENTS
========================================================= */
/* Pill / badge */
.pro-left .pill {
  display: inline-block;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--primary);
  background: var(--card);
  border-radius: 20px;
  margin-bottom: 16px;
}

/* Individual point */
.point {
  padding: 16px 16px 16px 24px;
  border-left: 3px solid var(--border);
  cursor: pointer;

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

.point:hover {
  background: color-mix(in srgb, var(--primary) 6%, transparent);
}

.point.active {
  border-left-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  transform: translateX(4px);
}

.point h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.point p {
  font-size: 14px;
  line-height: 160%;
  color: var(--muted);
}





/* =========================================================
   PROCRASTINATORS – COMPONENTS
========================================================= */



.point:hover {
  background: color-mix(in srgb, var(--primary) 6%, transparent);
}

.point.active {
  border-left-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  transform: translateX(4px);
}

.point h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.point p {
  font-size: 14px;
  line-height: 160%;
  color: var(--muted);
}





/* =========================================================
   PROCRASTINATORS – IMAGE PREVIEW
========================================================= */

.pro-right {
  display: flex;
  justify-content: center;
}

.pro-right img {
  width: 100%;
  max-width: 520px;
  border-radius: 32px;
  box-shadow: 0 40px 80px rgba(15, 23, 42, 0.15);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.pro-right img.fade {
  opacity: 0;
  transform: translateY(10px);
}



/* =========================================================
   PILLS / BADGES
========================================================= */

.testimonials .pill,
.office .pill {
  display: inline-block;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--primary);
  background: var(--card);
  border-radius: 20px;
  margin-bottom: 16px;
}


/* =========================================================
   TESTIMONIAL CARD
========================================================= */

.testimonial-card {
  background: var(--card);
  padding: 24px;
  border-radius: 20px;
  text-align: left;
  border: 1px solid var(--border);

  opacity: 0;
  transform: translateX(-80px);

  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);

  will-change: opacity, transform;
}

.testimonial-card.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.testimonial-card.is-visible:hover {
  transform: translateX(0) translateY(-6px);
}

/* Stars */
.stars {
  color: #f59e0b;
  font-size: 18px;
  margin-bottom: 12px;
}

/* Testimonial text */
.testimonial-card .text {
  font-size: 14px;
  line-height: 160%;
  color: var(--muted);
  margin-bottom: 24px;
}

/* User info */
.user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.user strong {
  font-size: 14px;
  color: var(--text);
}

.user span {
  font-size: 12px;
  color: var(--muted);
}


/* =========================================================
   OFFICE CARD
========================================================= */

.office-card {
  display: block;
  padding: 24px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  color: inherit;
  text-decoration: none;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.office-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.office-card img {
  width: 24px;
  height: 24px;
  margin-bottom: 16px;
}

.office-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.office-card p {
  font-size: 14px;
  line-height: 160%;
  color: var(--muted);
}

/* Map hint */
.map-hint {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
}



/* =========================================================
   FAQ – ACCORDION COMPONENT
========================================================= */

.faq .pill {
  display: inline-block;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  background: var(--bg);
  border-radius: 20px;
  margin-bottom: 16px;
}

.faq details {
  padding: 20px 0;
  border-bottom: 1px solid #e5e7eb;
}

.faq summary {
  list-style: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);

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

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

.faq summary::after {
  content: "⌄";
  font-size: 20px;
  color: var(--text);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(180deg);
}

.faq details p {
  margin-top: 16px;
  font-size: 14px;
  line-height: 160%;
  color: var(--text);
  max-width: 720px;
}


/* =========================================================
   DOWNLOAD – COMPONENTS
========================================================= */

.download-buttons {
  display: flex;
  gap: 16px;
}

.download-right {
  position: relative;
  display: flex;
  justify-content: center;
}

.download-right .phone {
  width: 260px;
  z-index: 2;
  border-radius: 32px;
  box-shadow: 0 40px 80px rgba(15, 23, 42, 0.2);
}

.download-right .dashboard {
  position: absolute;
  right: -40px;
  width: 300px;
  z-index: 1;
  border-radius: 32px;
  box-shadow: 0 40px 80px rgba(15, 23, 42, 0.15);
}



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

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  position: relative;
  display: inline-block;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  text-decoration: none;

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

/* Hover underline micro-interaction */
.footer-col a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 1px;
  background: var(--primary);
  transition: width 0.25s ease;
}

.footer-col a:hover {
  color: var(--text);
  transform: translateX(2px);
}

.footer-col a:hover::after {
  width: 100%;
}

.footer-col a:focus-visible {
  outline: none;
  color: var(--primary);
}


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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo img {
  height: 28px;
  width: auto;
}

.footer-logo span {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}


/* =========================================================
   COPYRIGHT
========================================================= */

.footer-bottom p {
  font-size: 13px;
  color: var(--muted);
}


/* =========================================================
   BACK TO TOP BUTTON
========================================================= */
.back-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 48px;
  height: 48px;
  border-radius: 50%;

  border: 1px solid var(--border);
  background: var(--card);
  cursor: pointer;

  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);

  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;

  box-shadow:
    0 4px 14px rgba(15, 23, 42, 0.12);
}

/* ⭐ PERFECT CENTER ARROW */
.back-to-top span {
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 18px;
  font-weight: 600;
  line-height: 1;     /* ⭐ this fixes centering */
  color: var(--text);
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: color-mix(in srgb, var(--primary) 10%, var(--card));
  box-shadow:
    0 8px 24px rgba(15, 23, 42, 0.18);
  transform: translateY(-2px);
}

.back-to-top:active {
  transform: scale(0.96);
}
