/* ================================================
   Pairlly Landing Page Styles
   ================================================ */

/* CSS Variables */
:root {
  --color-background: #fff8ef;
  --color-primary: #fe5d34;
  --color-text: #2a3642;
  --color-border: #d4d0c2;
  --font-heading: 'Baloo 2', cursive;
  --font-body: 'Inter', sans-serif;
  --shadow-card: 0px 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-soft: 0px 0px 4px rgba(0, 0, 0, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-background);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Landing Page Container */
.landing-page {
  position: relative;
  min-height: 100vh;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ================================================
   Hero Section
   ================================================ */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 0 100px;
  min-height: 600px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 740px;
  text-align: center;
  z-index: 10;
}

.logo {
  margin-bottom: 20px;
  animation: float 3s ease-in-out infinite;
}

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

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--color-primary);
  animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 30px;
  color: var(--color-text);
  max-width: 410px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* App Store Badges */
.app-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.app-badge {
  display: block;
  width: 150px;
  height: 47px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 8px;
  overflow: hidden;
}

.app-badge:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.app-badge img {
  width: 150px;
  height: 47px;
}

/* Hero Decorations */
.hero-decoration {
  position: absolute;
  z-index: 1;
  animation: float 4s ease-in-out infinite;
}

.hero-decoration img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

.rocket {
  left: 5%;
  top: 80px;
  width: clamp(120px, 15vw, 183px);
  animation-delay: 0s;
}

.astronaut {
  right: 2%;
  top: 150px;
  width: clamp(350px, 18vw, 230px);
  animation-delay: 1s;
}

/* ================================================
   Floating Decorations
   ================================================ */
.floating-decoration {
  position: absolute;
  z-index: 1;
  animation: float 5s ease-in-out infinite;
}

.floating-decoration img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

.moon {
  left: 5%;
  top: 500px;
  width: clamp(200px, 25vw, 326px);
  animation-delay: 0.5s;
}

.skateboard {
  right: 8%;
  top: 650px;
  width: clamp(160px, 20vw, 259px);
  animation-delay: 1.5s;
}

.mountain {
  left: 5%;
  top: 1250px;
  width: clamp(200px, 24vw, 304px);
  animation-delay: 2s;
}

.train {
  right: 8%;
  top: 1350px;
  width: clamp(180px, 22vw, 278px);
  animation-delay: 2.5s;
}

/* ================================================
   Features Section
   ================================================ */
.features {
  position: relative;
  padding: 200px 0 150px;
  z-index: 10;
}

.features-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(60px, 8vw, 109px);
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.features-text {
  flex: 1;
  min-width: 300px;
  max-width: 438px;
}

.features-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.features-description {
  font-size: 18px;
  line-height: 30px;
  color: var(--color-text);
}

.features-description p {
  margin-bottom: 16px;
}

.features-description p:last-child {
  margin-bottom: 0;
}

/* Steps */
.steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
  flex: 1;
  min-width: 300px;
  max-width: 473px;
}

.step {
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
  animation: slideInRight 0.6s ease-out forwards;
}

.step:nth-child(1) { animation-delay: 0.2s; }
.step:nth-child(2) { animation-delay: 0.4s; }
.step:nth-child(3) { animation-delay: 0.6s; }

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  min-width: 68px;
  height: 68px;
  background-color: var(--color-primary);
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  line-height: 36px;
  color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover .step-number {
  transform: scale(1.05);
  box-shadow: var(--shadow-card);
}

.step-content {
  padding-bottom: 8px;
}

.step-content h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  line-height: 36px;
  color: var(--color-text);
  margin-bottom: 2px;
}

.step-content p {
  font-size: 18px;
  line-height: 30px;
  color: var(--color-text);
}

/* ================================================
   CTA Section
   ================================================ */
.cta {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 150px 0 100px;
  z-index: 10;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 50px;
  color: var(--color-primary);
  text-align: center;
}

/* ================================================
   Footer
   ================================================ */
.footer {
  padding: 40px 0 60px;
  z-index: 10;
  position: relative;
}

.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 34px;
  flex-wrap: wrap;
  font-size: 18px;
  line-height: 30px;
  color: var(--color-text);
}

.footer-nav a {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.copyright {
  font-weight: 500;
}

/* ================================================
   Animations
   ================================================ */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

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

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

/* ================================================
   Responsive Design
   ================================================ */
@media (max-width: 1200px) {
  .hero-decoration.rocket {
    left: 2%;
    width: 140px;
  }
  
  .hero-decoration.astronaut {
    right: 2%;
    width: 180px;
  }
  
  .floating-decoration.moon {
    left: 2%;
    width: 250px;
  }
  
  .floating-decoration.skateboard {
    right: 2%;
    width: 200px;
  }
  
  .floating-decoration.mountain {
    left: 2%;
    width: 240px;
  }
  
  .floating-decoration.train {
    right: 2%;
    width: 220px;
  }
}

@media (max-width: 992px) {
  .hero-decoration,
  .floating-decoration {
    display: none;
  }
  
  .features-content {
    flex-direction: column;
    text-align: center;
  }
  
  .features-text {
    max-width: 600px;
  }
  
  .steps {
    max-width: 500px;
  }
  
  .step {
    text-align: left;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 40px 0 60px;
    min-height: auto;
  }
  
  .hero-content {
    gap: 20px;
  }
  
  .logo img {
    height: 80px;
  }
  
  .app-badges {
    flex-direction: column;
    align-items: center;
  }
  
  .features {
    padding: 80px 0;
  }
  
  .step-number {
    width: 56px;
    min-width: 56px;
    height: 56px;
    font-size: 20px;
  }
  
  .step-content h3 {
    font-size: 20px;
  }
  
  .step-content p {
    font-size: 16px;
  }
  
  .cta {
    padding: 80px 0;
  }
  
  .footer-nav {
    gap: 20px;
    font-size: 16px;
  }
}

/* ================================================
   Accessibility
   ================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for keyboard navigation */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ================================================
   Privacy Policy Page
   ================================================ */
.privacy-page {
  position: relative;
  min-height: 100vh;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}

.privacy-header {
  padding: 32px 0 24px;
  z-index: 10;
}

.privacy-header .logo {
  display: inline-block;
  margin: 0;
}

.privacy-header .logo img {
  max-width: 180px;
  height: auto;
}

.privacy-header .logo:hover {
  opacity: 0.9;
}

.privacy-content {
  flex: 1;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
  padding: 0 0 48px;
}

.privacy-content .last-updated {
  font-size: 14px;
  color: var(--color-text);
  opacity: 0.85;
  margin-bottom: 40px;
}

.privacy-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 40px;
  line-height: 1.2;
}

.privacy-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 600;
  color: var(--color-text);
  margin-top: 36px;
  margin-bottom: 12px;
  line-height: 1.3;
}

.privacy-content h2:first-of-type {
  margin-top: 0;
}

.privacy-content h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
  margin-top: 24px;
  margin-bottom: 8px;
  line-height: 1.4;
}

.privacy-content p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 16px;
}

.privacy-content p:last-child {
  margin-bottom: 0;
}

.privacy-content ul {
  margin: 12px 0 16px;
  padding-left: 24px;
}

.privacy-content li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 8px;
}

.privacy-content a {
  color: var(--color-primary);
  text-decoration: none;
}

.privacy-content a:hover {
  text-decoration: underline;
}
