/*
Theme Name: Study More
Theme URI: https://studymoreofficial.com/
Author: Study More
Author URI: https://studymoreofficial.com/
Description: Offline-first student focus timer with Pomodoro, syllabus tracker, and distraction shield for Android.
Version: 1.0.3
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: studymore
*/

:root {
  --bg-page: #f7f7f2;
  --bg-surface: #ffffff;
  --bg-sage-subtle: #edf2e8;
  --sage-container: #dce6d2;
  --border-dark: #18181b;
  --text-main: #141c14;
  --text-muted: #52604d;
  --olive-primary: #4d5d3c;
  --olive-hover: #3e4b30;
  --accent-gold: #d4a32c;
  --playstore-dark: #1e293b;
  --shadow-tactile: 3px 3px 0px #18181b;
  --shadow-tactile-sm: 2px 2px 0px #18181b;
  --shadow-tactile-lg: 5px 5px 0px #18181b;
  --shadow-tactile-press: 1px 1px 0px #18181b;
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  overflow-x: clip;
  scrollbar-gutter: stable;
}

body {
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-main);
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--olive-primary);
  outline-offset: 3px;
}

.tactile-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(247, 247, 242, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--border-dark);
}

.header-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 50% !important;
  border: 2px solid var(--border-dark);
  box-shadow: 2px 2px 0px var(--border-dark);
  display: block;
}

.brand-icon-sm {
  width: 28px;
  height: 28px;
  border-radius: 50% !important;
  border: 1.5px solid var(--border-dark);
  display: block;
}

.brand-logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
}

.logo-accent {
  color: var(--olive-primary);
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 120ms ease;
}

.nav-link:hover {
  color: var(--olive-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tactile-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background-color: var(--bg-surface);
  border: 2px solid var(--border-dark);
  border-radius: 999px;
  box-shadow: var(--shadow-tactile-sm);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
}

.badge-offline {
  background-color: var(--bg-sage-subtle);
  color: var(--olive-primary);
  border-color: var(--border-dark);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--olive-primary);
}

.btn-tactile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 20px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  border: 2px solid var(--border-dark);
  border-radius: 10px;
  box-shadow: var(--shadow-tactile);
  cursor: pointer;
  user-select: none;
  transition: transform 120ms cubic-bezier(0.2, 0.8, 0.4, 1.2), box-shadow 120ms cubic-bezier(0.2, 0.8, 0.4, 1.2), background-color 120ms ease;
}

.btn-tactile:active {
  transform: translate(2px, 2px);
  box-shadow: var(--shadow-tactile-press);
}

.btn-header-cta {
  padding: 6px 16px;
  font-size: 0.88rem;
  background-color: var(--olive-primary);
  color: #ffffff;
}

.btn-header-cta:hover {
  background-color: var(--olive-hover);
}

.hero-section {
  padding: 64px 20px 48px;
  max-width: 1140px;
  margin: 0 auto;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-title {
  font-size: 2.85rem;
  line-height: 1.15;
  margin-bottom: 18px;
}

.hero-highlight {
  color: var(--olive-primary);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 540px;
}

.download-box-tactile {
  background-color: var(--bg-surface);
  border: 2px solid var(--border-dark);
  border-radius: 14px;
  box-shadow: var(--shadow-tactile-lg);
  padding: 20px;
  max-width: 520px;
  scroll-margin-top: 96px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.download-box-tactile.highlight-pulse {
  animation: downloadPulse 1.4s ease-out;
}

@keyframes downloadPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(77, 93, 60, 0.45), var(--shadow-tactile-lg);
    transform: scale(1);
  }
  30% {
    box-shadow: 0 0 0 10px rgba(77, 93, 60, 0.22), var(--shadow-tactile-lg);
    transform: scale(1.02);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(77, 93, 60, 0), var(--shadow-tactile-lg);
    transform: scale(1);
  }
}

.download-split-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.btn-playstore {
  background-color: #ffffff;
  color: var(--text-main);
  padding: 12px 16px;
}

.btn-playstore:hover {
  background-color: #f8fafc;
}

.btn-coming-soon {
  background-color: #f3f4ee;
  color: #3f4a3c;
  border-color: #52525b;
  box-shadow: 2px 2px 0px #52525b;
  cursor: not-allowed;
}

.btn-coming-soon:hover {
  background-color: #f3f4ee;
}

.btn-coming-soon:active {
  transform: none;
  box-shadow: 2px 2px 0px #52525b;
}

.btn-coming-soon .btn-svg {
  opacity: 0.78;
}

.btn-apk {
  background-color: var(--olive-primary);
  color: #ffffff;
  padding: 12px 16px;
}

.btn-apk:hover {
  background-color: var(--olive-hover);
}

.btn-svg {
  flex-shrink: 0;
}

.btn-stacked-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.btn-small-hint {
  font-size: 0.68rem;
  font-weight: 600;
  opacity: 0.8;
  letter-spacing: 0.04em;
}

.btn-main-label {
  font-size: 1.02rem;
  font-weight: 700;
}

.download-specs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 600;
  flex-wrap: wrap;
}

.safe-tag {
  color: #166534;
  font-weight: 700;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-frame-tactile {
  width: 290px;
  background-color: #ffffff;
  border: 3px solid var(--border-dark);
  border-radius: 36px;
  box-shadow: 6px 6px 0px var(--border-dark);
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.phone-speaker-notch {
  width: 60px;
  height: 5px;
  background-color: var(--border-dark);
  border-radius: 999px;
  margin-bottom: 10px;
}

.phone-screen-container {
  position: relative;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  border: 1.5px solid var(--border-dark);
}

.phone-screen-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1080 / 2400;
  display: block;
  transition: opacity 0.34s cubic-bezier(0.19, 1, 0.22, 1), transform 0.34s cubic-bezier(0.19, 1, 0.22, 1);
  transform: scale(1);
  opacity: 1;
}

.phone-screen-img.switching {
  opacity: 0.2;
  transform: scale(0.975);
}

.phone-nav-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 9%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  z-index: 10;
  background: transparent;
  -webkit-tap-highlight-color: transparent;
}

.nav-hotspot {
  position: relative;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.nav-hotspot:hover,
.nav-hotspot:active,
.nav-hotspot:focus {
  background: transparent;
  outline: none;
}

.nav-hotspot:focus-visible {
  outline: 2px solid var(--olive-primary);
  outline-offset: -2px;
  border-radius: 6px;
}

.privacy-strip-section {
  padding: 40px 20px;
  max-width: 1140px;
  margin: 0 auto;
}

.section-container {
  max-width: 1140px;
  margin: 0 auto;
}

.tactile-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tactile-card {
  background-color: var(--bg-surface);
  border: 2px solid var(--border-dark);
  border-radius: 14px;
  box-shadow: var(--shadow-tactile);
  padding: 24px;
}

@media (hover: hover) and (pointer: fine) {
  .tactile-card.hover-ready,
  .tactile-card:not(.reveal-on-scroll) {
    transition: transform 0.35s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.35s cubic-bezier(0.19, 1, 0.22, 1);
  }

  .tactile-card.hover-ready:hover,
  .tactile-card:not(.reveal-on-scroll):hover {
    transform: translateY(-4px);
    box-shadow: 5px 5px 0px var(--border-dark);
  }
}

.feature-mini-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 24px;
}

@keyframes float-icon {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.feature-floating-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  color: var(--border-dark);
  margin-bottom: 2px;
}

.feature-mini-card:nth-child(1) .feature-floating-icon {
  animation: float-icon 3.6s ease-in-out infinite;
}

.feature-mini-card:nth-child(2) .feature-floating-icon {
  animation: float-icon 3.6s ease-in-out 1.2s infinite;
}

.feature-mini-card:nth-child(3) .feature-floating-icon {
  animation: float-icon 3.6s ease-in-out 2.4s infinite;
}

.feature-floating-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--border-dark);
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-main);
}

.card-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.walkthrough-section {
  padding: 64px 20px;
  max-width: 1140px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-kicker {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--olive-primary);
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.3rem;
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.guide-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.guide-step-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: center;
  padding: 28px;
}

.guide-step-card.reverse {
  grid-template-columns: 1fr 280px;
}

.guide-step-card.reverse .step-media {
  order: 2;
}

.guide-step-card.reverse .step-content {
  order: 1;
}

.step-media {
  display: flex;
  justify-content: center;
}

.step-screenshot {
  width: 100%;
  height: auto;
  display: block;
  max-width: 250px;
  border-radius: 16px;
  border: 2px solid var(--border-dark);
  box-shadow: var(--shadow-tactile-sm);
  cursor: zoom-in;
  transition: transform 120ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .step-screenshot:hover {
    transform: scale(1.02);
  }
}

.guide-step-card.annotated-step {
  grid-template-columns: 1.35fr 1fr;
  gap: 32px;
}

.guide-step-card.annotated-step .step-media {
  order: 1;
  width: 100%;
}

.guide-step-card.annotated-step .step-content {
  order: 2;
}

.guide-step-card.annotated-step.reverse {
  grid-template-columns: 1fr 1.35fr;
}

.guide-step-card.annotated-step.reverse .step-media {
  order: 2;
  width: 100%;
}

.guide-step-card.annotated-step.reverse .step-content {
  order: 1;
}

.annotated-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 860;
  display: block;
  max-width: 600px;
  border-radius: 16px;
  border: 2px solid var(--border-dark);
  box-shadow: var(--shadow-tactile);
}

.step-number-badge {
  display: inline-block;
  background-color: var(--bg-sage-subtle);
  color: var(--olive-primary);
  border: 1.5px solid var(--border-dark);
  border-radius: 6px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 10px;
  margin-bottom: 10px;
}

.step-title {
  font-size: 1.45rem;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.step-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step-feature-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-main);
}

.step-feature-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--olive-primary);
  font-weight: 700;
}

.install-guide-section {
  padding: 48px 20px 80px;
  max-width: 1140px;
  margin: 0 auto;
}

.install-timeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.timeline-step-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  min-height: 180px;
}

.timeline-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}

.timeline-step-badge {
  display: inline-block;
  background-color: var(--bg-sage-subtle);
  color: var(--olive-primary);
  border: 1.5px solid var(--border-dark);
  border-radius: 6px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 10px;
}

.timeline-connector {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background-color: var(--bg-surface);
  border: 2px solid var(--border-dark);
  border-radius: 50%;
  box-shadow: var(--shadow-tactile-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--olive-primary);
}

@keyframes chevron-nudge {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(3px);
  }
}

@keyframes chevron-nudge-down {
  0%, 100% {
    transform: rotate(90deg) translateX(0);
  }
  50% {
    transform: rotate(90deg) translateX(3px);
  }
}

.chevron-icon {
  width: 20px;
  height: 20px;
  animation: chevron-nudge 1.8s ease-in-out infinite;
}

.tactile-footer {
  border-top: 2px solid var(--border-dark);
  background-color: #ffffff;
  padding: 40px 20px 32px;
}

.footer-container {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-subtext {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-link {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 120ms ease;
}

.footer-link:hover {
  color: var(--olive-primary);
}

.footer-copyright {
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid #e2e8f0;
  padding-top: 16px;
}

.image-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.32s cubic-bezier(0.19, 1, 0.22, 1), visibility 0s linear 0s;
}

.image-modal-card {
  position: relative;
  background-color: #ffffff;
  border: 3px solid var(--border-dark);
  border-radius: 20px;
  box-shadow: 6px 6px 0px var(--border-dark);
  padding: 16px;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(1) translateY(0);
  transition: transform 0.32s cubic-bezier(0.19, 1, 0.22, 1);
}

.image-modal-backdrop.hidden {
  display: flex !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.32s cubic-bezier(0.19, 1, 0.22, 1), visibility 0s linear 0.32s;
}

.image-modal-backdrop.hidden .image-modal-card {
  transform: scale(0.94) translateY(10px);
}

.image-modal-card img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: 12px;
  border: 1.5px solid var(--border-dark);
}

.lightbox-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 36px;
  height: 36px;
  background-color: #ef4444;
  color: #ffffff;
  border: 2px solid var(--border-dark);
  border-radius: 50%;
  box-shadow: 2px 2px 0px var(--border-dark);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
}

.lightbox-close:hover {
  background-color: #dc2626;
}

.privacy-main {
  padding: 56px 20px 80px;
}

.privacy-container {
  max-width: 820px;
  margin: 0 auto;
}

.back-home-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--olive-primary);
  margin-bottom: 20px;
  transition: color 120ms ease;
}

.back-home-link:hover {
  color: var(--olive-hover);
}

.privacy-card {
  background-color: var(--bg-surface);
  border: 2px solid var(--border-dark);
  border-radius: 16px;
  box-shadow: var(--shadow-tactile-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.privacy-header {
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.privacy-title {
  font-size: 2.1rem;
  line-height: 1.15;
}

.privacy-meta {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.privacy-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.privacy-section h2 {
  font-size: 1.25rem;
}

.privacy-section p {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.privacy-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.privacy-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.privacy-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--olive-primary);
}

@media (max-width: 520px) {
  .privacy-card {
    padding: 24px 20px;
  }

  .privacy-title {
    font-size: 1.7rem;
  }
}

.hidden {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 860px) {
  .hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 28px;
  }

  .hero-copy {
    display: contents;
  }

  .hero-title {
    order: 1;
    margin-bottom: 8px;
  }

  .hero-desc,
  .hero-subtitle {
    order: 2;
    margin: 0 auto;
  }

  .hero-visual {
    order: 3;
    width: 100%;
  }

  .download-box-tactile {
    order: 4;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    scroll-margin-top: 84px;
  }

  .tactile-grid-3 {
    grid-template-columns: 1fr;
  }

  .guide-step-card,
  .guide-step-card.reverse,
  .guide-step-card.annotated-step,
  .guide-step-card.annotated-step.reverse {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }

  .guide-step-card .step-media,
  .guide-step-card.reverse .step-media,
  .guide-step-card.annotated-step .step-media,
  .guide-step-card.annotated-step.reverse .step-media {
    order: 1;
  }

  .guide-step-card .step-content,
  .guide-step-card.reverse .step-content,
  .guide-step-card.annotated-step .step-content,
  .guide-step-card.annotated-step.reverse .step-content {
    order: 2;
  }

  .step-feature-list {
    align-items: flex-start;
    max-width: 360px;
    margin: 0 auto;
    text-align: left;
  }

  .nav-links {
    display: none;
  }

  .install-timeline {
    flex-direction: column;
    gap: 14px;
  }

  .timeline-step-card {
    width: 100%;
    min-height: auto;
  }

  .timeline-connector .chevron-icon {
    animation: chevron-nudge-down 1.8s ease-in-out infinite;
  }
}

@media (max-width: 520px) {
  .hero-title {
    font-size: 2.1rem;
  }

  .download-split-buttons {
    grid-template-columns: 1fr;
  }

  .phone-frame-tactile {
    width: 250px;
  }
}

.no-transition {
  transition: none !important;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition: opacity 1.3s cubic-bezier(0.19, 1, 0.22, 1), transform 1.3s cubic-bezier(0.19, 1, 0.22, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
  will-change: auto;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.93) translateY(24px);
  transition: opacity 1.4s cubic-bezier(0.19, 1, 0.22, 1), transform 1.4s cubic-bezier(0.19, 1, 0.22, 1);
  will-change: opacity, transform;
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1) translateY(0);
  will-change: auto;
}

.stagger-1 {
  transition-delay: 0.12s;
}

.stagger-2 {
  transition-delay: 0.26s;
}

.stagger-3 {
  transition-delay: 0.4s;
}

@media (max-width: 860px) {
  .reveal-on-scroll {
    transform: translateY(28px) scale(0.98);
    transition: opacity 1s cubic-bezier(0.19, 1, 0.22, 1), transform 1s cubic-bezier(0.19, 1, 0.22, 1);
  }

  .reveal-scale {
    transform: scale(0.95) translateY(20px);
    transition: opacity 1.1s cubic-bezier(0.19, 1, 0.22, 1), transform 1.1s cubic-bezier(0.19, 1, 0.22, 1);
  }

  .stagger-1,
  .stagger-2,
  .stagger-3 {
    transition-delay: 0s;
  }
}

.guide-step-card.revealed .step-number-badge {
  animation: badge-pop 0.9s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes badge-pop {
  0% {
    transform: scale(0.92);
  }
  100% {
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal-on-scroll,
  .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .feature-floating-icon,
  .chevron-icon,
  .step-number-badge {
    animation: none !important;
  }

  .phone-screen-img,
  .btn-tactile,
  .tactile-card,
  .image-modal-backdrop,
  .image-modal-card {
    transition: none !important;
  }
}
