@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Instrument+Serif:ital@0;1&family=Outfit:wght@600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Bright Porcelain White Cream Canvas */
  --bg-canvas: #FAF9F6;
  --bg-card-white: #FFFFFF;
  --bg-card-subtle: #F4EFF5;
  --border-subtle: rgba(215, 206, 190, 0.65);
  --border-hover: rgba(18, 24, 38, 0.18);
  --text-primary: #111827;
  --text-muted: #6B7280;

  /* App Pastel Color Tokens */
  --card-tarefas: #E2F0D9;
  --card-tarefas-text: #2D5A34;
  --card-compras: #FCE4E4;
  --card-compras-text: #8C3333;
  --card-refeicoes: #FEF2D6;
  --card-refeicoes-text: #7C540B;
  --card-eventos: #E8A087;
  --card-eventos-text: #5E2614;
  --card-loja: #D5E4D9;
  --card-loja-text: #285435;
  --card-financas: #D6E8F6;
  --card-financas-text: #194F7B;
  --card-meteo: #CBE5FD;
  --card-meteo-text: #0F4978;
  --card-estudos: #FDEBB8;
  --card-estudos-text: #69500A;

  --font-heading: 'Outfit', sans-serif;
  --font-hero: 'Plus Jakarta Sans', sans-serif;
  --font-serif: 'Instrument Serif', serif;
  --font-body: 'Inter', sans-serif;

  --spring-bounce: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-canvas);
  background-image: url('assets/bg_pattern.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center top;
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Ambient Background Glow Lights */
.bg-glow-container {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.glow-1 {
  position: absolute;
  top: -15%;
  left: 20%;
  width: 750px;
  height: 750px;
  background: radial-gradient(circle, rgba(226, 240, 217, 0.35) 0%, rgba(254, 242, 214, 0) 70%);
  filter: blur(80px);
}

.glow-2 {
  position: absolute;
  top: 35%;
  right: 10%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(214, 232, 246, 0.3) 0%, rgba(252, 228, 228, 0) 70%);
  filter: blur(80px);
}

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(250, 249, 246, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-icon {
  width: 40px;
  height: 40px;
  background: #FFFFFF;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  transition: transform 0.3s var(--ease-smooth);
  flex-shrink: 0;
}

.brand-logo:hover .brand-logo-icon {
  transform: rotate(-6deg) scale(1.06);
}

.brand-logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-logo-name {
  font-family: var(--font-hero);
  font-weight: 800;
  font-size: 1.32rem;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.brand-logo-sub {
  font-family: var(--font-hero);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1;
  margin-top: 3px;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.92rem;
  font-family: var(--font-hero);
  transition: color 0.2s ease;
}

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

/* Language Switcher */
.lang-toggle-box {
  display: flex;
  background: #EBE5DA;
  padding: 3px;
  border-radius: 20px;
  gap: 2px;
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-hero);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s var(--ease-smooth);
}

.lang-btn.active {
  background: #FFFFFF;
  color: var(--text-primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

/* Mobile Toggle */
.mobile-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
}

/* Hero Section */
.hero-wrapper {
  max-width: 1240px;
  margin: 3.5rem auto 5.5rem;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3rem;
  align-items: center;
}

.hero-title {
  font-family: var(--font-hero);
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
}

.serif-italics {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: #4B5563;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Primary & Secondary Buttons */
.btn-solid {
  background: var(--text-primary);
  color: #FFFFFF;
  padding: 0.95rem 2rem;
  border-radius: 16px;
  text-decoration: none;
  font-family: var(--font-hero);
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(17, 24, 39, 0.1);
  transition: all 0.3s var(--ease-smooth);
  cursor: pointer;
  border: none;
}

.btn-solid:hover {
  transform: translateY(-2px);
  background: #000000;
}

.btn-ghost {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 0.95rem 2rem;
  border-radius: 16px;
  text-decoration: none;
  font-family: var(--font-hero);
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.03);
  transition: all 0.3s var(--ease-smooth);
  cursor: pointer;
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
}

.btn-gallery-trigger {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 1.1rem 2rem;
  border-radius: 18px;
  font-family: var(--font-hero);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  margin-top: 1.8rem;
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
}

.btn-gallery-trigger:hover {
  background: #FFFFFF;
  border-color: var(--text-primary);
  transform: translateY(-2px);
}

/* SIDE-BY-SIDE DUAL PHONE MOCKUP SHOWCASE */
.mockup-dual-showcase {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}

.phone-card-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  flex: 1;
  max-width: 255px;
}

.phone-label-badge {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 800;
  font-family: var(--font-hero);
  color: var(--text-primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.phone-container {
  width: 100%;
  background: #FFFFFF;
  border-radius: 26px;
  padding: 8px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.07);
  border: 2px solid rgba(17, 24, 39, 0.12);
  transition: transform 0.3s var(--ease-smooth);
  cursor: pointer;
}

.phone-container:hover {
  transform: translateY(-5px);
  border-color: rgba(17, 24, 39, 0.25);
}

.phone-screen-inner {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg-canvas);
  aspect-ratio: 9/19;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0,0,0,0.04);
}

.phone-screen-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* APP GRID SECTION (2 BY 2 MATCHING APP MAIN SCREEN) */
.app-grid-section {
  max-width: 1100px;
  margin: 6rem auto;
  padding: 0 2rem;
  scroll-margin-top: 100px;
}

.section-title-box {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.section-title-box h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 5.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
  text-align: center;
}

.section-title-box p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.app-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
  max-width: 860px;
  margin: 0 auto;
}

.app-tile-card {
  border-radius: 28px;
  padding: 2.4rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  user-select: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.04);
  
  opacity: 0;
  transform: translateY(35px) scale(0.95);
  transition: transform 0.45s var(--ease-smooth), opacity 0.45s var(--ease-smooth), box-shadow 0.2s ease;
}

.app-tile-card.animated-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.app-tile-card.animated-in:hover {
  transition: transform 0.2s var(--ease-smooth), box-shadow 0.2s ease !important;
  transition-delay: 0s !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06) !important;
}

.app-tile-card:nth-child(1) { transition-delay: 0.04s; }
.app-tile-card:nth-child(2) { transition-delay: 0.09s; }
.app-tile-card:nth-child(3) { transition-delay: 0.14s; }
.app-tile-card:nth-child(4) { transition-delay: 0.19s; }
.app-tile-card:nth-child(5) { transition-delay: 0.24s; }
.app-tile-card:nth-child(6) { transition-delay: 0.29s; }
.app-tile-card:nth-child(7) { transition-delay: 0.34s; }
.app-tile-card:nth-child(8) { transition-delay: 0.39s; }

.tile-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  transition: transform 0.2s var(--ease-smooth);
}

.app-tile-card:hover .tile-icon-wrap {
  transform: scale(1.08);
  background: rgba(255, 255, 255, 0.9);
}

.tile-icon-wrap svg {
  transition: transform 0.3s var(--ease-smooth);
}

/* DISTINCT HOVER MICRO-ANIMATIONS FOR EACH MODULE ICON */
.card-tarefas:hover .tile-icon-wrap svg {
  animation: iconCheckWiggle 0.5s var(--ease-smooth);
}
@keyframes iconCheckWiggle {
  0%, 100% { transform: scale(1) rotate(0deg); }
  30% { transform: scale(1.18) rotate(-12deg); }
  60% { transform: scale(1.15) rotate(10deg); }
}

.card-compras:hover .tile-icon-wrap svg {
  animation: iconCartBounce 0.5s var(--ease-smooth);
}
@keyframes iconCartBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  40% { transform: translateY(-6px) scale(1.1); }
  70% { transform: translateY(2px) scale(0.95); }
}

.card-refeicoes:hover .tile-icon-wrap svg {
  animation: iconBellRing 0.5s ease-in-out;
}
@keyframes iconBellRing {
  0%, 100% { transform: rotate(0deg) scale(1); }
  25% { transform: rotate(-15deg) scale(1.15); }
  50% { transform: rotate(15deg) scale(1.15); }
  75% { transform: rotate(-8deg) scale(1.1); }
}

.card-eventos:hover .tile-icon-wrap svg {
  animation: iconCalendarPulse 0.5s var(--ease-smooth);
}
@keyframes iconCalendarPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.22); }
}

.card-loja:hover .tile-icon-wrap svg {
  animation: iconBagBounce 0.5s var(--ease-smooth);
}
@keyframes iconBagBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  35% { transform: translateY(-7px) scaleX(0.9) scaleY(1.1); }
  70% { transform: translateY(1px) scaleX(1.1) scaleY(0.9); }
}

.card-financas:hover .tile-icon-wrap svg {
  animation: iconCardShimmer 0.5s var(--ease-smooth);
}
@keyframes iconCardShimmer {
  0%, 100% { transform: rotate(0deg) scale(1); }
  40% { transform: rotate(12deg) scale(1.15); }
}

.card-meteo:hover .tile-icon-wrap svg {
  animation: iconCloudFloat 0.6s ease-in-out;
}
@keyframes iconCloudFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1.12); }
}

.card-estudos:hover .tile-icon-wrap svg {
  animation: iconHatTilt 0.5s var(--ease-smooth);
}
@keyframes iconHatTilt {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(-18deg) scale(1.18); }
}

.app-tile-card h3 {
  font-family: var(--font-hero);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.app-tile-card .click-hint {
  font-size: 0.82rem;
  font-weight: 700;
  opacity: 0.75;
  margin-top: 0.4rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Individual Pastel Color Tokens */
.card-tarefas { background: var(--card-tarefas); color: var(--card-tarefas-text); }
.card-compras { background: var(--card-compras); color: var(--card-compras-text); }
.card-refeicoes { background: var(--card-refeicoes); color: var(--card-refeicoes-text); }
.card-eventos { background: var(--card-eventos); color: var(--card-eventos-text); }
.card-loja { background: var(--card-loja); color: var(--card-loja-text); }
.card-financas { background: var(--card-financas); color: var(--card-financas-text); }
.card-meteo { background: var(--card-meteo); color: var(--card-meteo-text); }
.card-estudos { background: var(--card-estudos); color: var(--card-estudos-text); }



/* FULLSCREEN MODAL & MOBILE SLIDE-OVER SCREEN */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(17, 24, 39, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-smooth);
  padding: 2rem;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content-card {
  background: #FFFFFF;
  border-radius: 36px;
  max-width: 820px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.16);
  transform: translateY(30px) scale(0.95);
  transition: transform 0.35s var(--ease-smooth);
  border: 1px solid var(--border-subtle);
  position: relative;
}

.modal-content-card::-webkit-scrollbar {
  width: 8px;
}

.modal-content-card::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.03);
  border-radius: 10px;
}

.modal-content-card::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}

.modal-content-card.theme-tarefas::-webkit-scrollbar-thumb { background: #4D7A58; }
.modal-content-card.theme-compras::-webkit-scrollbar-thumb { background: #C86D6D; }
.modal-content-card.theme-refeicoes::-webkit-scrollbar-thumb { background: #C28B2B; }
.modal-content-card.theme-eventos::-webkit-scrollbar-thumb { background: #AB563D; }
.modal-content-card.theme-loja::-webkit-scrollbar-thumb { background: #3B7A49; }
.modal-content-card.theme-financas::-webkit-scrollbar-thumb { background: #1D6FB8; }
.modal-content-card.theme-meteorologia::-webkit-scrollbar-thumb { background: #155CA0; }
.modal-content-card.theme-estudos::-webkit-scrollbar-thumb { background: #B06900; }

.modal-overlay.active .modal-content-card {
  transform: translateY(0) scale(1);
}

.modal-header-banner {
  padding: 3rem 3rem 2rem;
  border-radius: 36px 36px 0 0;
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.modal-close-btn:hover {
  background: #FFFFFF;
  transform: scale(1.1);
}

.modal-header-banner .modal-badge-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.modal-header-banner h2 {
  font-family: var(--font-hero);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.modal-body {
  padding: 3rem;
}

.modal-body h4 {
  font-family: var(--font-hero);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.modal-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 1.5rem;
}

.modal-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1.02rem;
  color: var(--text-primary);
  line-height: 1.55;
}

.modal-feature-list .bullet-check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-weight: 800;
  font-size: 0.85rem;
  background: var(--bg-card-subtle);
}

/* DEDICATED FULL-PAGE GALLERY & WALKTHROUGH VIEW (STEP 2) */
.gallery-fullpage-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--bg-canvas);
  background-image: url('assets/bg_pattern.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  z-index: 300;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transform: translateX(100%);
  transition: opacity 0.35s var(--ease-smooth), transform 0.4s var(--ease-smooth);
}

.gallery-fullpage-overlay.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.gallery-header-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 249, 246, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-back-link {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 8px 18px;
  border-radius: 14px;
  font-family: var(--font-hero);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-back-link:hover {
  background: var(--text-primary);
  color: #FFFFFF;
  border-color: var(--text-primary);
}

.gallery-container-inner {
  max-width: 1100px;
  margin: 3rem auto 6rem;
  padding: 0 2rem;
}

.gallery-title-box {
  text-align: center;
  margin-bottom: 3.5rem;
}

.gallery-title-box h1 {
  font-family: var(--font-hero);
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.6rem;
}

.gallery-title-box p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.walkthrough-step-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 32px;
  padding: 3rem;
  margin-bottom: 3rem;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3.5rem;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.walkthrough-step-card.reverse {
  grid-template-columns: 1fr 320px;
}

.walkthrough-step-card.reverse .step-phone-frame {
  order: 2;
}

.walkthrough-step-card.reverse .step-explanation {
  order: 1;
}

.step-phone-frame {
  width: 100%;
  background: #FFFFFF;
  border: 2px solid rgba(17, 24, 39, 0.12);
  border-radius: 26px;
  padding: 8px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.step-phone-frame:hover {
  transform: translateY(-3px);
  border-color: rgba(17, 24, 39, 0.25);
}

.step-phone-frame img {
  width: 100%;
  border-radius: 18px;
  display: block;
  object-fit: cover;
  aspect-ratio: 9/19;
}

.step-explanation h3 {
  font-family: var(--font-hero);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.step-explanation p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.8rem;
  line-height: 1.6;
}

.action-bullets-box {
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  padding: 1.6rem;
}

.action-bullets-box h5 {
  font-family: var(--font-hero);
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
}

.action-bullets-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.action-bullets-box li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--text-primary);
}

.action-bullets-box .bullet-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-primary);
  margin-top: 8px;
  flex-shrink: 0;
}

/* LIGHTBOX IMAGE ZOOM OVERLAY */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(17, 24, 39, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 2rem;
}

.lightbox-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-img-wrapper {
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-wrapper img {
  max-width: 100%;
  max-height: 88vh;
  border-radius: 24px;
  box-shadow: 0 25px 80px rgba(0,0,0,0.4);
  transform: scale(0.92);
  transition: transform 0.35s var(--spring-bounce);
  object-fit: contain;
}

.lightbox-overlay.active .lightbox-img-wrapper img {
  transform: scale(1);
}

.lightbox-close-btn {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-close-btn:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
  .hero-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .mockup-dual-showcase {
    flex-direction: row;
  }

  .walkthrough-step-card,
  .walkthrough-step-card.reverse {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
    gap: 2.2rem;
  }

  .walkthrough-step-card.reverse .step-phone-frame {
    order: 1;
  }

  .walkthrough-step-card.reverse .step-explanation {
    order: 2;
  }

  .step-phone-frame {
    max-width: 300px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 1rem 1.5rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(250, 249, 246, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1.2rem;
    border-bottom: 1px solid var(--border-subtle);
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-btn {
    display: block;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .app-grid-section {
    padding: 0 1.5rem;
    margin: 4rem auto;
  }

  .section-title-box {
    margin-bottom: 2.5rem;
    padding: 0 0.5rem;
  }

  .section-title-box h2 {
    font-size: 2.1rem;
    line-height: 1.15;
    letter-spacing: -0.025em;
  }

  .section-title-box p {
    font-size: 1rem;
  }

  .app-cards-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .modal-overlay {
    padding: 0;
    align-items: flex-end;
  }

  .modal-content-card {
    border-radius: 0;
    max-width: 100vw;
    height: 100vh;
    max-height: 100vh;
    transform: translateY(100%);
  }

  .modal-overlay.active .modal-content-card {
    transform: translateY(0);
  }

  .modal-header-banner {
    padding: 4rem 1.8rem 2rem;
    border-radius: 0;
  }

  .modal-body {
    padding: 2rem 1.8rem 4rem;
  }
}

/* Call to Action Section */
.cta-wrapper {
  max-width: 1100px;
  margin: 6rem auto;
  padding: 0 2rem;
}

.cta-box-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 36px;
  padding: 4.5rem 3rem;
  text-align: center;
  box-shadow: 0 16px 45px rgba(0,0,0,0.04);
}

.cta-box-card h2 {
  font-family: var(--font-hero);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.cta-box-card p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2.2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button-group {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* Footer */
footer {
  border-top: 1px solid var(--border-subtle);
  background: #FFFFFF;
  padding: 3rem 2rem;
  margin-top: 5rem;
}

.footer-inner-box {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--text-primary);
}

@media (max-width: 480px) {
  .app-grid-section {
    padding: 0 1rem;
    margin: 3.5rem auto;
  }

  .section-title-box {
    margin-bottom: 2rem;
    padding: 0;
  }

  .section-title-box h2 {
    font-size: 1.75rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
  }

  .section-title-box p {
    font-size: 0.92rem;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .cta-box-card {
    padding: 3rem 1.5rem;
  }

  .cta-box-card h2 {
    font-size: 1.9rem;
  }
}

