/* ========================================
   Gleetime — Brand Website Styles
   Colors: Purple #5f29e2, Yellow #ffdd41
   Fonts: Quicksand (primary), Rubik (secondary)
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --purple: #5f29e2;
  --purple-light: #b6b3fa;
  --purple-dark: #2c0f71;
  --yellow: #ffdd41;
  --yellow-light: #ffefaf;
  --yellow-dark: #806e1c;
  --red: #f23f3b;
  --orange: #ff653b;
  --pink: #fc75b0;
  --cream: #fefae0;
  --blue: #0066cc;
  --sky: #6dd0f0;
  --green: #a2e07d;
  --teal: #00b487;
  --black: #191919;
  --white: #ffffff;
  --gray-light: #f9f9f9;
  --gray: #6b7280;
  --font-primary: 'Quicksand', sans-serif;
  --font-secondary: 'Rubik', sans-serif;
  --shadow-sm: 0 2px 8px rgba(95, 41, 226, 0.08);
  --shadow-md: 0 8px 30px rgba(95, 41, 226, 0.12);
  --shadow-lg: 0 20px 60px rgba(95, 41, 226, 0.15);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.06);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-secondary);
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

img {
  max-width: 100%;
  height: auto;
}

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

ul {
  list-style: none;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.2;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--purple);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(95, 41, 226, 0.3);
}

.btn-primary:hover {
  background: var(--purple-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(95, 41, 226, 0.4);
}

.btn-secondary {
  background: var(--white);
  color: var(--purple);
  border: 2px solid var(--purple);
}

.btn-secondary:hover {
  background: var(--purple);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--purple);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.btn-lg {
  font-size: 1.05rem;
  padding: 16px 32px;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(95, 41, 226, 0.05);
  transition: all var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-text {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--purple);
}

.logo-highlight {
  color: var(--purple);
  position: relative;
}

.logo-highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--yellow);
  border-radius: 2px;
}

.logo-img {
  height: 32px;
  width: auto;
  max-width: none;
}

.footer-logo-img {
  height: 36px;
  width: auto;
  max-width: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--black);
  transition: color var(--transition);
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--yellow);
  border-radius: 1px;
  transition: width var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.9rem;
  background: var(--purple);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 50px;
  transition: all var(--transition);
}

.nav-cta:hover {
  background: var(--purple-dark);
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--purple);
  border-radius: 2px;
  transition: all var(--transition);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  padding: 140px 0 80px;
  background: linear-gradient(135deg, #f8f4ff 0%, #fffdf0 50%, #f0f8ff 100%);
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-bg-shapes .shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: var(--purple-light);
  top: -100px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.shape-2 {
  width: 200px;
  height: 200px;
  background: var(--yellow);
  bottom: 100px;
  left: -50px;
  animation: float 6s ease-in-out infinite reverse;
}

.shape-3 {
  width: 120px;
  height: 120px;
  background: var(--pink);
  top: 200px;
  left: 15%;
  animation: float 10s ease-in-out infinite;
}

.shape-4 {
  width: 80px;
  height: 80px;
  background: var(--green);
  bottom: 200px;
  right: 20%;
  animation: float 7s ease-in-out infinite reverse;
}

.shape-5 {
  width: 150px;
  height: 150px;
  background: var(--sky);
  top: 50%;
  right: 40%;
  animation: float 9s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--purple);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  animation: slideUp 0.6s ease-out;
}

.badge-star {
  font-size: 1.1rem;
}

.hero-title {
  font-size: 3.4rem;
  line-height: 1.12;
  margin-bottom: 20px;
  color: var(--black);
  animation: slideUp 0.6s ease-out 0.1s backwards;
}

.highlight-text {
  color: var(--purple);
  position: relative;
  display: inline;
}

.highlight-text::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--yellow);
  opacity: 0.4;
  border-radius: 4px;
  z-index: -1;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
  animation: slideUp 0.6s ease-out 0.2s backwards;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  margin-bottom: 36px;
  animation: slideUp 0.6s ease-out 0.3s backwards;
}

.hero-trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  animation: slideUp 0.6s ease-out 0.4s backwards;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--black);
}

.trust-icon {
  width: 20px;
  height: 20px;
  background: var(--teal);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  flex-shrink: 0;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Visual — Fixed height container (matches gleetime.com) */
.hero-visual {
  position: relative;
  height: 500px;
  right: -50px;
  animation: slideUp 0.8s ease-out 0.3s backwards;
  overflow: visible;
}

/* Bear layer — absolute, fixed size, only position changes per breakpoint */
.hero-visual model-viewer {
  position: absolute;
     top: -220px;
    right: -135px;
  width: 550px;
  height: 550px;
  z-index: 0;
  visibility: hidden;
  pointer-events: none;
}

.hero-visual model-viewer.is-ready {
  visibility: visible;
}

.hero-visual model-viewer::part(default-progress-bar) {
  display: none;
}

.hero-visual model-viewer::part(default-ar-button) {
  display: none;
}

/* Image layer — absolute, shifts vertically per breakpoint */
.hero-image-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: auto;
}

.hero-child-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  object-fit: cover;
  transform: scale(1.25);
}

.phone-mockup {
  position: relative;
}

.phone-frame {
  width: 280px;
  height: 580px;
  background: var(--black);
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-lg), 0 0 0 2px rgba(255, 255, 255, 0.1);
  position: relative;
}

.phone-frame.small {
  width: 240px;
  height: 500px;
  border-radius: 36px;
}

.phone-notch {
  width: 120px;
  height: 28px;
  background: var(--black);
  border-radius: 0 0 20px 20px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

.phone-screen {
  width: 100%;
  height: calc(100% - 10px);
  background: linear-gradient(180deg, #f8f4ff 0%, var(--white) 100%);
  border-radius: 32px;
  padding: 40px 16px 20px;
  overflow: hidden;
  position: relative;
  margin-top: -14px;
}

.app-header-mock {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--purple);
}

.app-logo-small {
  width: 28px;
  height: 28px;
  background: var(--purple);
  color: var(--white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.8rem;
}

.app-greeting {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--black);
  margin-bottom: 4px;
}

.app-prompt {
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 20px;
}

.activity-card-mock {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

.activity-card-mock:hover {
  transform: scale(1.02);
}

.activity-card-mock.card-2 {
  animation: cardSlide 0.6s ease-out 0.5s backwards;
}

.activity-card-mock.card-3 {
  animation: cardSlide 0.6s ease-out 0.7s backwards;
}

@keyframes cardSlide {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.activity-emoji {
  font-size: 1.6rem;
  width: 44px;
  height: 44px;
  background: var(--cream);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.activity-info {
  min-width: 0;
}

.activity-title {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--black);
  margin-bottom: 2px;
}

.activity-meta {
  font-size: 0.7rem;
  color: var(--gray);
}

.app-cta-mock {
  background: var(--purple);
  color: var(--white);
  text-align: center;
  padding: 12px;
  border-radius: 14px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.85rem;
  margin-top: 16px;
}

.phone-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(95, 41, 226, 0.15) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

/* Floating Emojis */
.floating-emoji {
  position: absolute;
  font-size: 2rem;
  animation: floatEmoji 4s ease-in-out infinite;
  z-index: 3;
}

.emoji-1 {
  top: 10%;
  right: -10px;
  animation-delay: 0s;
}

.emoji-2 {
  top: 30%;
  left: -20px;
  animation-delay: 1s;
}

.emoji-3 {
  bottom: 20%;
  right: -15px;
  animation-delay: 2s;
}

.emoji-4 {
  bottom: 10%;
  left: -10px;
  animation-delay: 3s;
}

@keyframes floatEmoji {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-15px) scale(1.1); }
}

.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  z-index: 2;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* --- Emotional Pillars --- */
.emotional-pillars {
  padding: 48px 0;
  background: var(--white);
}

.pillars-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.pillar-item {
  text-align: center;
}

.pillar-text {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--purple-dark);
  font-style: italic;
  letter-spacing: -0.01em;
}

.pillar-divider {
  width: 6px;
  height: 6px;
  background: var(--yellow);
  border-radius: 50%;
  flex-shrink: 0;
}

/* --- Section Shared Styles --- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--purple);
  background: rgba(95, 41, 226, 0.08);
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.6rem;
  margin-bottom: 16px;
  color: var(--black);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray);
  line-height: 1.7;
}

/* --- How It Works --- */
.how-it-works {
  padding: 80px 0 40px;
  background: var(--white);
}

.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.step-card {
  text-align: center;
  padding: 40px 32px;
  max-width: 320px;
  position: relative;
}

.step-number {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--white);
  background: var(--purple);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step-icon-wrap {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--cream), var(--yellow-light));
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: transform var(--transition);
}

.step-card:hover .step-icon-wrap {
  transform: scale(1.08) rotate(-3deg);
}

.step-icon {
  font-size: 2.4rem;
}

.step-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--black);
}

.step-desc {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.6;
}

.step-connector {
  display: flex;
  align-items: center;
  padding-top: 80px;
}

/* --- Features --- */
.features {
  padding: 100px 0;
  background: var(--gray-light);
  position: relative;
  overflow: hidden;
}

.features-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.features-shape-1 {
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(95, 41, 226, 0.03);
  border-radius: 50%;
  top: -100px;
  left: -100px;
}

.features-shape-2 {
  position: absolute;
  width: 250px;
  height: 250px;
  background: rgba(255, 221, 65, 0.06);
  border-radius: 50%;
  bottom: -80px;
  right: -80px;
}

.features .container {
  position: relative;
  z-index: 1;
}

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

.feature-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
  border: 1px solid rgba(95, 41, 226, 0.04);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(95, 41, 226, 0.1);
}

.feature-icon-wrap {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(95, 41, 226, 0.08), rgba(182, 179, 250, 0.2));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform var(--transition);
}

.feature-card:hover .feature-icon-wrap {
  transform: scale(1.1) rotate(-5deg);
}

.feature-icon {
  font-size: 1.6rem;
}

.feature-title {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--black);
}

.feature-desc {
  font-size: 0.92rem;
  color: var(--gray);
  line-height: 1.6;
}

/* --- Moments Section --- */
.moments {
  padding: 40px 0 80px;
  background: var(--white);
}

.moments-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.moment-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(95, 41, 226, 0.06);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.moment-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.moment-visual {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.moment-time {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--white);
}

.moment-scene {
  font-size: 2rem;
  opacity: 0.8;
}

.moment-card:nth-child(2) .moment-visual {
  background: linear-gradient(135deg, var(--orange) 0%, var(--red) 100%);
}

.moment-card:nth-child(3) .moment-visual {
  background: linear-gradient(135deg, var(--teal) 0%, var(--blue) 100%);
}

.moment-card:nth-child(4) .moment-visual {
  background: linear-gradient(135deg, var(--pink) 0%, var(--purple) 100%);
}

.moment-content {
  padding: 28px;
  flex: 1;
}

.moment-title {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--black);
}

.moment-quote {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--gray);
  margin-bottom: 14px;
  line-height: 1.6;
  padding-left: 14px;
  border-left: 3px solid var(--yellow);
}

.moment-help {
  font-size: 0.9rem;
  color: var(--purple);
  font-weight: 500;
  line-height: 1.5;
}

/* --- App Preview --- */
.app-preview {
  padding: 80px 0;
  background: var(--gray-light);
}

.preview-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.preview-text .section-tag {
  display: inline-block;
  margin-bottom: 16px;
}

.preview-text .section-title {
  text-align: left;
  margin-bottom: 28px;
}

.preview-features {
  margin-bottom: 36px;
}

.preview-features li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  font-size: 1rem;
  color: var(--black);
  font-weight: 400;
}

.check-icon {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--green), var(--teal));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.preview-phones {
  position: relative;
  display: flex;
  justify-content: center;
}

.app-preview-img {
  max-width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.preview-phone {
  position: absolute;
}

.phone-back {
  left: 10%;
  top: 20px;
  transform: rotate(-5deg);
  z-index: 1;
  opacity: 0.7;
}

.phone-front {
  right: 10%;
  top: 0;
  z-index: 2;
}

.preview-screen-1, .preview-screen-2 {
  padding: 40px 14px 16px;
}

.screen-content-mock {
  height: 100%;
}

.mock-category {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--teal);
  margin-bottom: 12px;
}

.mock-activity-big {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--black);
  margin-bottom: 6px;
}

.mock-meta {
  font-size: 0.65rem;
  color: var(--gray);
  margin-bottom: 16px;
}

.mock-desc-lines {
  margin-bottom: 20px;
}

.mock-line {
  height: 8px;
  background: #eee;
  border-radius: 4px;
  margin-bottom: 6px;
}

.mock-line.short {
  width: 60%;
}

.mock-btn {
  background: var(--purple);
  color: var(--white);
  text-align: center;
  padding: 10px;
  border-radius: 12px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.8rem;
}

.mock-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.mock-avatar {
  width: 36px;
  height: 36px;
  background: var(--purple);
  color: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.9rem;
}

.mock-greeting {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--black);
}

.mock-sub {
  font-size: 0.7rem;
  color: var(--gray);
}

.mock-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mock-card {
  padding: 16px 10px;
  border-radius: 14px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.7rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.mock-card span {
  font-size: 1.4rem;
}

.mock-card.purple {
  background: rgba(95, 41, 226, 0.08);
  color: var(--purple);
}

.mock-card.yellow {
  background: rgba(255, 221, 65, 0.15);
  color: var(--yellow-dark);
}

.mock-card.pink {
  background: rgba(252, 117, 176, 0.12);
  color: var(--pink);
}

.mock-card.green {
  background: rgba(162, 224, 125, 0.15);
  color: #4a7a2e;
}

/* --- Right Now Counts --- */
.rnc-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  position: relative;
  overflow: hidden;
}

.rnc-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 221, 65, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.rnc-content {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 650px;
  margin: 0 auto;
}

.rnc-quote {
  font-family: var(--font-secondary);
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 32px;
}

.rnc-line {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 3rem;
  color: var(--yellow);
  margin-bottom: 40px;
  letter-spacing: -0.5px;
}

/* --- FAQ --- */
.faq {
  padding: 80px 0;
  background: var(--white);
}

.faq-grid {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(95, 41, 226, 0.08);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--black);
  text-align: left;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--purple);
}

.faq-toggle {
  font-size: 1.4rem;
  color: var(--purple);
  transition: transform var(--transition);
  font-weight: 300;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 20px;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.7;
}

/* --- Download Section --- */
.download {
  padding: 80px 0;
  background: linear-gradient(135deg, #fffdf0 0%, #f8f4ff 50%, #f0faff 100%);
  position: relative;
  overflow: hidden;
}

.download-shapes .dl-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
}

.dl-shape-1 {
  width: 250px;
  height: 250px;
  background: var(--purple);
  top: -60px;
  left: -60px;
}

.dl-shape-2 {
  width: 180px;
  height: 180px;
  background: var(--yellow);
  bottom: -40px;
  right: -40px;
}

.dl-shape-3 {
  width: 100px;
  height: 100px;
  background: var(--pink);
  top: 40%;
  right: 15%;
}

.download-content {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.download-title {
  font-size: 2.4rem;
  margin-bottom: 16px;
  color: var(--black);
}

.download-subtitle {
  font-size: 1.1rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 40px;
}

.download-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.store-button {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--black);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 10px;
  transition: all var(--transition);
}

.store-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.store-button svg {
  flex-shrink: 0;
}

.store-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.store-small {
  font-size: 0.6rem;
  opacity: 0.8;
  font-weight: 400;
  line-height: 1.2;
}

.store-name {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
}

.download-note {
  font-size: 0.85rem;
  color: var(--gray);
}

/* --- Contact Page --- */
.contact-hero {
  padding: 140px 0 60px;
  text-align: center;
  background: var(--white);
}

.contact-title {
  font-family: var(--font-primary);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 16px;
}

.contact-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.contact-content {
  padding: 0 0 80px;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: start;
}

.contact-form-card,
.contact-info-card,
.contact-faq-card {
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-md);
  padding: 36px;
}

.contact-card-title {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--black);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-family: var(--font-secondary);
  font-size: 0.95rem;
  color: var(--black);
  background: var(--white);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(95, 41, 226, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9ca3af;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-submit {
  width: auto;
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff7ed;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #f97316;
}

.contact-info-item strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 2px;
}

.contact-info-item p {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.5;
  margin: 0;
}

.contact-faq-item {
  margin-bottom: 16px;
}

.contact-faq-item:last-child {
  margin-bottom: 0;
}

.contact-faq-item strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 4px;
}

.contact-faq-item p {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-title {
    font-size: 2rem;
  }

  .contact-hero {
    padding: 100px 0 40px;
  }
}

/* --- Legal Pages (Privacy Policy & Terms of Service) --- */
.legal-hero {
  padding: 140px 0 40px;
  text-align: center;
  background: linear-gradient(135deg, #f8f4ff 0%, #fffdf0 50%, #f0f8ff 100%);
}

.legal-title {
  font-family: var(--font-primary);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}

.legal-effective {
  font-size: 0.95rem;
  color: var(--gray);
  margin-top: 8px;
}

.legal-content {
  padding: 60px 0 80px;
  background: var(--white);
}

.legal-body {
  max-width: 780px;
  margin: 0 auto;
}

.legal-section {
  margin-bottom: 40px;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h2 {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(95, 41, 226, 0.08);
}

.legal-section h3 {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--purple);
  margin-top: 20px;
  margin-bottom: 10px;
}

.legal-section p {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-section ul {
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
}

.legal-section ul li {
  position: relative;
  padding-left: 24px;
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 8px;
}

.legal-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  background: var(--purple);
  border-radius: 50%;
  opacity: 0.4;
}

.legal-section a {
  color: var(--purple);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition);
}

.legal-section a:hover {
  color: var(--purple-dark);
}

.legal-highlight {
  font-weight: 600;
  color: var(--purple) !important;
  font-size: 1rem !important;
}

.legal-contact-info {
  background: rgba(95, 41, 226, 0.04);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-top: 12px;
}

.legal-contact-info p {
  margin-bottom: 4px;
  color: var(--black);
}

.legal-contact-info p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .legal-hero {
    padding: 100px 0 30px;
  }

  .legal-title {
    font-size: 2rem;
  }

  .legal-content {
    padding: 40px 0 60px;
  }

  .legal-section h2 {
    font-size: 1.3rem;
  }
}

/* --- Blog Pages --- */

/* Blog Hero (listing page) */
.blog-hero {
  padding: 140px 0 40px;
  text-align: center;
  background: linear-gradient(135deg, #f8f4ff 0%, #fffdf0 50%, #f0f8ff 100%);
}

.blog-hero-title {
  font-family: var(--font-primary);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 12px;
}

.blog-hero-subtitle {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Blog Grid (listing page) */
.blog-listing {
  padding: 60px 0 80px;
  background: var(--white);
}

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

.blog-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.blog-card-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--gray-light);
}

.blog-card-image-placeholder {
  background: linear-gradient(135deg, #f8f4ff 0%, #fffdf0 100%);
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.blog-tag {
  display: inline-block;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--purple);
  background: rgba(95, 41, 226, 0.08);
  padding: 4px 12px;
  border-radius: 50px;
}

.blog-card-title {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
  line-height: 1.4;
}

.blog-card-excerpt {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-meta {
  font-size: 0.82rem;
  color: var(--gray);
}

.blog-empty {
  text-align: center;
  padding: 80px 0;
  color: var(--gray);
  font-size: 1.1rem;
}

/* Blog Post (individual article page) */
.blog-post-hero {
  padding: 140px 0 40px;
  text-align: center;
  background: linear-gradient(135deg, #f8f4ff 0%, #fffdf0 50%, #f0f8ff 100%);
}

.blog-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--purple);
  margin-bottom: 24px;
  transition: color 0.3s ease;
  text-decoration: none;
}

.blog-back-link:hover {
  color: var(--purple-dark);
}

.blog-post-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.blog-post-title {
  font-family: var(--font-primary);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.3;
  max-width: 780px;
  margin: 0 auto 16px;
}

.blog-post-meta {
  font-size: 0.95rem;
  color: var(--gray);
}

.blog-post-image {
  padding: 0 0 40px;
  background: var(--white);
}

.blog-post-image img {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  display: block;
  border-radius: var(--radius-md);
}

.blog-post-content {
  padding: 0 0 80px;
  background: var(--white);
}

.blog-post-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Style Outrank HTML content within blog posts */
.blog-post-body h1 { font-family: var(--font-primary); font-size: 2rem; font-weight: 700; color: var(--black); margin: 40px 0 16px; }
.blog-post-body h2 { font-family: var(--font-primary); font-size: 1.5rem; font-weight: 700; color: var(--black); margin: 36px 0 14px; padding-bottom: 10px; border-bottom: 2px solid rgba(95, 41, 226, 0.08); }
.blog-post-body h3 { font-family: var(--font-primary); font-size: 1.2rem; font-weight: 600; color: var(--purple); margin: 28px 0 12px; }
.blog-post-body h4 { font-family: var(--font-primary); font-size: 1.05rem; font-weight: 600; color: var(--black); margin: 24px 0 10px; }
.blog-post-body p { font-size: 1rem; color: #4b5563; line-height: 1.9; margin-bottom: 16px; }
.blog-post-body ul, .blog-post-body ol { margin: 16px 0; padding-left: 28px; }
.blog-post-body li { font-size: 1rem; color: #4b5563; line-height: 1.8; margin-bottom: 8px; }
.blog-post-body img { max-width: 100%; border-radius: var(--radius-sm); margin: 24px 0; }
.blog-post-body a { color: var(--purple); text-decoration: underline; text-underline-offset: 2px; }
.blog-post-body a:hover { color: var(--purple-dark); }
.blog-post-body blockquote { border-left: 4px solid var(--purple); padding: 16px 24px; margin: 24px 0; background: rgba(95, 41, 226, 0.04); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.blog-post-body blockquote p { color: var(--black); font-style: italic; }
.blog-post-body code { background: rgba(95, 41, 226, 0.06); padding: 2px 6px; border-radius: 4px; font-size: 0.9em; }
.blog-post-body pre { background: var(--black); color: #e2e8f0; padding: 20px 24px; border-radius: var(--radius-sm); overflow-x: auto; margin: 24px 0; }
.blog-post-body pre code { background: none; padding: 0; color: inherit; }
.blog-post-body table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.blog-post-body th, .blog-post-body td { padding: 12px 16px; border: 1px solid #e5e7eb; text-align: left; font-size: 0.95rem; }
.blog-post-body th { background: var(--gray-light); font-weight: 600; color: var(--black); }

/* Blog responsive */
@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .blog-hero { padding: 100px 0 30px; }
  .blog-hero-title { font-size: 2rem; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-post-hero { padding: 100px 0 30px; }
  .blog-post-title { font-size: 1.8rem; }
  .blog-post-content { padding: 0 0 60px; }
}

@media (max-width: 480px) {
  .blog-hero-title { font-size: 1.7rem; }
  .blog-post-title { font-size: 1.5rem; }
  .blog-card-title { font-size: 1.1rem; }
}

/* --- Footer --- */
.footer {
  background: var(--purple);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo-text {
  color: var(--white);
  font-size: 1.5rem;
  display: block;
  margin-bottom: 8px;
}

.footer-brand .logo-highlight {
  color: var(--white);
}

.footer-brand .logo-highlight::after {
  background: var(--yellow);
}

.footer-tagline {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--yellow);
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  max-width: 300px;
}

.footer-links-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-col h4 {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 16px;
}

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

.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--yellow);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-social {
  display: flex;
  gap: 14px;
}

.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--purple);
  color: var(--white);
  transform: translateY(-2px);
}

/* --- Scroll Animations --- */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

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

  .preview-content {
    gap: 40px;
  }
}

/* Hero visual + bear + image responsive — matching gleetime.com breakpoint approach */
/* @media (max-width: 1280px) {
  .hero-visual { height: 400px; }
  .hero-visual model-viewer { top: -208px; right: -260px; }
} */

/* @media (max-width: 1180px) {
  .hero-visual model-viewer { right: -260px; }
} */

/* @media (max-width: 1125px) {
  .hero-visual model-viewer { top: -218px; right: -220px; }
} */

@media (max-width: 1065px) {
  .hero-visual model-viewer { top: -230px; }
}

@media (max-width: 1023px) {
  .hero-visual model-viewer {   
          top: -210px;
        right: -105px; }
  .hero-child-img { transform: scale(1); }
}

@media (max-width: 992px) {
  .hero-visual model-viewer {         top: -162px;
        right: -85px;
          width: 450px;
    height: 450px; }
    
}

/* @media (max-width: 900px) {
  .hero-visual model-viewer { right: -230px; }
} */

/* @media (max-width: 850px) {
  .hero-visual model-viewer { top: -240px; }
} */

@media (max-width: 800px) {
  .hero-visual model-viewer {         top: -178px;
        right: -95px; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    box-shadow: var(--shadow-md);
    border-radius: 0 0 20px 20px;
  }

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

  .nav-cta {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .hero-bg-shapes .shape {
    opacity: 0.06;
  }

  .hero-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }

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

  .hero-subtitle {
    margin: 0 auto 24px;
    font-size: 1.05rem;
  }

  .hero-cta-group {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 10px;
    width: 100%;
  }

  .hero-cta-group .btn {
    padding: 12px 0;
    font-size: 0.85rem;
    flex: 1;
    max-width: 160px;
    justify-content: center;
    gap: 8px;
  }

  .hero-trust {
    display: flex;
    justify-content: center;
    gap: 6px 16px;
    flex-wrap: wrap;
  }

  .trust-item {
    font-size: 0.78rem;
    gap: 5px;
  }

  .hero-visual {
    order: 2;
    overflow: hidden;
    right: 0;
    width: 100%;
  }

  .hero-visual model-viewer {
           top: -138px;
        right: -50px;
  }

  .hero-child-img {
    transform: scale(1);
    max-width: 550px;
    margin: 0 auto;
    display: block;
  }

  .hero-content {
    order: 1;
  }

  .phone-frame {
    width: 200px;
    height: 420px;
    border-radius: 32px;
  }

  .floating-emoji {
    font-size: 1.4rem;
  }

  .steps-grid {
    flex-direction: column;
    align-items: center;
  }

  .step-connector {
    padding-top: 0;
    transform: rotate(90deg);
  }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .moments-grid {
    grid-template-columns: 1fr;
  }

  .how-it-works {
    padding: 60px 0 30px;
  }

  .moments {
    padding: 30px 0 60px;
  }

  .features,
  .app-preview {
    padding: 60px 0;
  }

  .app-preview .section-header {
    margin-bottom: 32px;
  }

  .preview-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .preview-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .preview-features {
    text-align: left;
    width: auto;
  }

  .preview-features li {
    font-size: 0.95rem;
    padding: 7px 0;
  }

  .preview-text .section-title {
    text-align: center;
  }

  .preview-phones {
    height: 340px;
    overflow: hidden;
  }

  .phone-back {
    left: 2%;
  }

  .phone-front {
    right: 2%;
  }

  .preview-phone .phone-frame {
    width: 170px;
    height: 360px;
    border-radius: 28px;
  }

  .rnc-line {
    font-size: 2.2rem;
  }

  .rnc-quote {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .pillars-grid {
    flex-direction: column;
    gap: 20px;
  }

  .pillar-divider {
    display: none;
  }

  .pillar-text {
    font-size: 1.05rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-links-group {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .download-title {
    font-size: 2rem;
  }
}

/* Hero + bear + image — smaller mobile breakpoints */
@media (max-width: 575px) {
  .hero-visual model-viewer {        top: -156px;
        right: -75px; }
  .hero-child-img { transform: scale(1.15); }
}

@media (max-width: 535px) {
  .hero-visual model-viewer {top: -166px;
        right: -75px; }
}

@media (max-width: 480px) {
  .hero-visual{
            overflow: visible;
                    margin-top: 30px;
  }
  .hero-visual model-viewer {         top: -176px;
        right: -95px;
 }

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

  .hero-subtitle {
    font-size: 1rem;
  }

  .btn-lg {
    font-size: 0.95rem;
    padding: 14px 24px;
  }

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

  .section-subtitle {
    font-size: 0.95rem;
  }

  .phone-frame {
    width: 220px;
    height: 460px;
  }

  .phone-frame.small {
    width: 200px;
    height: 420px;
  }

  .preview-phones {
    height: 320px;
  }

  .preview-phone .phone-frame {
    width: 160px;
    height: 340px;
    border-radius: 24px;
  }

  .phone-back {
    left: 5%;
  }

  .phone-front {
    right: 5%;
  }

  .rnc-line {
    font-size: 1.8rem;
  }

  .store-button {
    min-width: 170px;
    padding: 12px 20px;
  }

  .footer-links-group {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

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

  .download-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 475px) {
  .hero-visual { height: 300px; }
}

/* @media (max-width: 420px) {
  .hero-visual model-viewer { right: -160px; }
} */

@media (max-width: 390px) {
  .hero-visual model-viewer { right: -110px;        top: -194px; }
}

/* @media (max-width: 360px) {
  .hero-visual { height: 240px; }
  .hero-visual model-viewer { top: -125px; right: -135px; }
} */

@media (max-width: 340px) {
  .hero-visual model-viewer { top: -205px;
        right: -120px; }
}
