/* ============================================
   SkipForDream Landing Page — styles.css
   ============================================ */

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

:root {
  --bg: #F0EFEA;
  --bg-dark: #E8E7E1;
  --card: #FFFFFF;
  --text: #18181B;
  --text-secondary: #52525B;
  --text-muted: #71717A;
  --purple: #A793AC;
  --purple-light: #DBD4DC;
  --purple-deep: #8B7A90;
  --blue: #D4E4F1;
  --blue-deep: #A8C4DC;
  --green: #C9D3C0;
  --green-deep: #9AAE8D;
  --border: #E4E4E7;
  --warm: #E8D5C4;
  --rose: #DCACAC;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .04), 0 1px 2px rgba(0, 0, 0, .06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, .06), 0 2px 4px rgba(0, 0, 0, .04);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, .08), 0 4px 12px rgba(0, 0, 0, .04);
  --shadow-xl: 0 24px 64px rgba(0, 0, 0, .1), 0 8px 20px rgba(0, 0, 0, .06);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

h1,
h2,
h3 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

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

img {
  max-width: 100%;
  display: block;
}

/* --- Gradient Text --- */
.gradient-text {
  background: linear-gradient(135deg, var(--purple) 0%, var(--blue-deep) 50%, var(--purple-deep) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--purple);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn:hover {
  background: var(--purple-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}

.btn-outline:hover {
  background: var(--card);
  border-color: var(--purple-light);
  color: var(--purple-deep);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.85rem;
}

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

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(240, 239, 234, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(228, 228, 231, 0.5);
  padding: 10px 0;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.25rem;
}

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

.nav-links a:not(.btn) {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}

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

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

.nav-links a:not(.btn):hover::after {
  width: 100%;
}

/* Mobile menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

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

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

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

.mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: rgba(240, 239, 234, 0.98);
  backdrop-filter: blur(20px);
  padding: 24px;
  flex-direction: column;
  gap: 16px;
  z-index: 99;
  border-bottom: 1px solid var(--border);
  transform: translateY(-10px);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.mobile-link {
  font-size: 1.1rem;
  font-weight: 500;
  padding: 8px 0;
  color: var(--text-secondary);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}

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

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

.shape-3 {
  width: 300px;
  height: 300px;
  background: var(--green);
  top: 50%;
  left: 40%;
  animation: float 18s ease-in-out infinite 5s;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -30px) scale(1.05);
  }

  66% {
    transform: translate(-20px, 20px) scale(0.95);
  }
}

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

.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--text);
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 500px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Phone mockup */
.hero-phone {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-promo-image {
  max-width: 380px;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
  position: relative;
  z-index: 2;
}

.hero-glow {
  position: absolute;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, var(--purple-light) 0%, transparent 70%);
  opacity: 0.5;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  filter: blur(40px);
  animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {

  0%,
  100% {
    opacity: 0.4;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

/* --- Sections Common --- */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 550px;
  margin: 0 auto;
}

/* --- Features --- */
.features {
  padding: 100px 0;
}

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

.feature-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--purple-light);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--purple-light);
  color: var(--purple-deep);
  margin-bottom: 20px;
}

.feature-icon.icon-blue {
  background: var(--blue);
  color: #5B8DB8;
}

.feature-icon.icon-green {
  background: var(--green);
  color: #6A8A5C;
}

.feature-icon.icon-warm {
  background: var(--warm);
  color: #A67C5B;
}

.feature-icon.icon-purple {
  background: var(--purple-light);
  color: var(--purple-deep);
}

.feature-icon.icon-rose {
  background: #F0D4D4;
  color: #B07070;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- How It Works --- */
.how-it-works {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-dark) 100%);
}

.steps {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  width: 100%;
}

.step-number {
  width: 56px;
  height: 56px;
  min-width: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--purple);
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(167, 147, 172, 0.3);
}

.step-content {
  padding-top: 6px;
}

.step-content h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

.step-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.step-connector {
  width: 2px;
  height: 48px;
  background: linear-gradient(180deg, var(--purple-light), transparent);
  margin-left: 27px;
}

/* --- Screenshots --- */
.screenshots {
  padding: 100px 0;
}

.screenshots-carousel {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
}

.screenshot-card {
  text-align: center;
  transition: var(--transition);
}

.promo-image {
  max-height: 580px;
  width: auto;
  border-radius: var(--radius);
  filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.08));
  transition: var(--transition);
}

.screenshot-card:hover .promo-image {
  transform: translateY(-6px);
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.12));
}

.screenshot-card.featured .promo-image {
  max-height: 640px;
}

/* --- Social Proof --- */
.social-proof {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-dark) 100%);
}

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

.proof-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

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

.proof-quote {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 16px;
  font-style: italic;
}

.proof-author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--purple);
}

/* --- CTA --- */
.cta {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  text-align: center;
}

.cta-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape-4 {
  width: 500px;
  height: 500px;
  background: var(--purple-light);
  top: -150px;
  left: -100px;
  animation: float 22s ease-in-out infinite;
}

.shape-5 {
  width: 400px;
  height: 400px;
  background: var(--blue);
  bottom: -100px;
  right: -100px;
  animation: float 28s ease-in-out infinite reverse;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.cta p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 550px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

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

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: var(--text);
  color: #fff;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.store-badge:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  background: #2a2a2d;
}

.store-badge small {
  font-size: 0.7rem;
  opacity: 0.8;
  display: block;
  text-align: left;
}

.store-badge strong {
  font-size: 1.05rem;
  display: block;
  text-align: left;
}

/* --- Footer --- */
.footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.footer-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.1rem;
}

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

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

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: var(--transition);
}

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

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

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

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

.feature-card.animate-in:nth-child(2) {
  transition-delay: 0.1s;
}

.feature-card.animate-in:nth-child(3) {
  transition-delay: 0.2s;
}

.feature-card.animate-in:nth-child(4) {
  transition-delay: 0.3s;
}

.feature-card.animate-in:nth-child(5) {
  transition-delay: 0.4s;
}

.feature-card.animate-in:nth-child(6) {
  transition-delay: 0.5s;
}

.screenshot-card.animate-in:nth-child(2) {
  transition-delay: 0.15s;
}

.screenshot-card.animate-in:nth-child(3) {
  transition-delay: 0.3s;
}

.proof-card.animate-in:nth-child(2) {
  transition-delay: 0.1s;
}

.proof-card.animate-in:nth-child(3) {
  transition-delay: 0.2s;
}

/* --- Responsive --- */
@media (max-width: 968px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

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

  .hero h1 {
    font-size: 2.75rem;
  }

  .hero-description {
    margin: 0 auto 36px;
  }

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

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

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

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

  .section-header h2 {
    font-size: 2.25rem;
  }

  .screenshots-carousel {
    gap: 16px;
  }

  .promo-image {
    max-height: 480px;
  }

  .screenshot-card.featured .promo-image {
    max-height: 520px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 120px 0 60px;
    min-height: auto;
  }

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

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

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

  .section-header h2 {
    font-size: 1.9rem;
  }

  .cta h2 {
    font-size: 2.2rem;
  }

  .screenshots-carousel {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .promo-image {
    max-height: 520px;
    max-width: 100%;
  }

  .screenshot-card.featured .promo-image {
    max-height: 560px;
  }

  .hero-promo-image {
    max-width: 320px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }

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

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

  .step {
    gap: 16px;
  }

  .step-number {
    width: 44px;
    height: 44px;
    min-width: 44px;
    font-size: 1.1rem;
  }

  .step-connector {
    margin-left: 21px;
  }
}
