@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  /* Light Theme */
  --primary: #135B61;
  --on-primary: #FFFFFF;
  --primary-container: #9CF1EA;
  --on-primary-container: #002022;
  --secondary: #458B86;
  --on-secondary: #FFFFFF;
  --secondary-container: #C7EAE5;
  --on-secondary-container: #00201D;
  --tertiary-container: #73F8F1;
  --on-tertiary-container: #00201F;
  --background: #F8FAF9;
  --on-background: #191C1B;
  --surface: #FFFFFF;
  --on-surface: #191C1B;
  --surface-variant: #EAF4F2;
  --on-surface-variant: #3F4947;
  --border: #BEC9C6;
  --shadow: rgba(0, 0, 0, 0.05);
}

@media (prefers-color-scheme: dark) {
  :root {
    /* Dark Theme */
    --primary: #8DC4B9;
    --on-primary: #003732;
    --primary-container: #005049;
    --on-primary-container: #A8E0D5;
    --secondary: #A0CDC4;
    --on-secondary: #053730;
    --secondary-container: #204E47;
    --on-secondary-container: #BCE9DF;
    --tertiary-container: #00504C;
    --on-tertiary-container: #83C6C1;
    --background: #101413;
    --on-background: #E0E3E1;
    --surface: #192422;
    --on-surface: #E0E3E1;
    --surface-variant: #1E2B29;
    --on-surface-variant: #BFC9C6;
    --border: #3F4947;
    --shadow: rgba(0, 0, 0, 0.3);
  }
}

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

::selection {
  background-color: var(--primary-container);
  color: var(--on-primary-container);
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--background);
  color: var(--on-background);
  line-height: 1.6;
  transition: background-color 0.3s, color 0.3s;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--on-background);
  font-weight: 700;
}

/* Navigation */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  background: var(--background);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  background-color: color-mix(in srgb, var(--background) 80%, transparent);
}

.logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-block;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--on-background);
  font-weight: 500;
  transition: color 0.2s;
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
  cursor: pointer;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--on-primary);
  box-shadow: 0 4px 14px var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--shadow);
  filter: brightness(1.1);
}

.btn-secondary {
  background-color: var(--primary-container);
  color: var(--on-primary-container);
}

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

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  padding: 6rem 5% 4rem;
  min-height: 60vh;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content {
  flex: 1;
  text-align: left;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--on-background);
  opacity: 0.8;
  margin-bottom: 2.5rem;
}

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

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-image img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 20%;
  box-shadow: 0 30px 60px var(--shadow);
  animation: float 6s ease-in-out infinite;
  position: relative;
  z-index: 2;
  --float-scale: 1;
}

.hero-image::before {
  content: '';
  position: absolute;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  background: url('assets/icon.8a0b293c.svg') center/cover no-repeat;
  border-radius: 20%;
  filter: blur(45px) saturate(150%);
  opacity: 0.6;
  z-index: 1;
  animation: float 6s ease-in-out infinite;
  --float-scale: 1.05;
}

@keyframes float {
  0% { transform: translateY(0px) scale(var(--float-scale)); }
  50% { transform: translateY(-20px) scale(var(--float-scale)); }
  100% { transform: translateY(0px) scale(var(--float-scale)); }
}

/* How It Works Section with Stepper */
.how-it-works {
  padding: 6rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--on-background);
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
}

.stepper-container {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
  margin-top: 4rem;
}

.steps {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 28px;
  width: 2px;
  background: var(--border);
  z-index: -1;
}

.step {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  cursor: pointer;
}

.step.active {
}



.step-number {
  width: 58px;
  height: 58px;
  background: var(--surface-variant);
  color: var(--on-surface-variant);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: 'Outfit';
  flex-shrink: 0;
  box-shadow: 0 0 0 8px var(--background);
  transition: background-color 0.3s, color 0.3s, transform 0.3s;
}

.step.active .step-number {
  background: var(--primary);
  color: var(--on-primary);
  transform: scale(1.1);
}

.step-content {
  transition: transform 0.3s;
}

.step.active .step-content {
  transform: translateX(10px);
}

.step-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
  transition: color 0.3s;
}

.step.active .step-content h3 {
  color: var(--primary);
}

.step-content p {
  opacity: 0.8;
}

.stepper-image-container {
  flex: 1;
  position: sticky;
  top: 120px;
  height: 80vh;
  max-height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stepper-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.screenshot, .screenshot-blur {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screenshot img, .screenshot-blur img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 24px;
}

.screenshot img {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  z-index: 2;
  position: relative;
}

.screenshot-blur img {
  filter: blur(45px) saturate(150%);
  opacity: 0.6;
  z-index: 1;
  transform: scale(1.05);
  position: relative;
}

.stepper-image.active {
  opacity: 1;
}

/* Footer */
footer {
  background: var(--surface-variant);
  padding: 4rem 5% 2rem;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

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

.footer-links a {
  color: var(--on-surface-variant);
  text-decoration: none;
  font-weight: 500;
}

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

.copyright {
  opacity: 0.6;
  font-size: 0.875rem;
}

/* Privacy Policy Page */
.page-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 5%;
  min-height: calc(100vh - 80px - 200px);
}

.page-header {
  margin-bottom: 3rem;
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.page-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.page-content p {
  margin-bottom: 1rem;
  opacity: 0.8;
}

.page-content ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  opacity: 0.8;
}

.page-content li {
  margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 4rem;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }

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

  .hero-image img {
    max-width: 200px;
  }
  
  .nav-links {
    display: none;
  }
  
  .stepper-container {
    flex-direction: column;
    margin-top: 2rem;
  }
  
  /* Hide the image container entirely on mobile */
  .stepper-image-container {
    display: none;
  }
  
  .steps::before {
    left: 24px;
  }
  
  /* Make all steps look active/normal on mobile */
  .step {
    transform: none;
    cursor: default;
  }

  .step-number {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
    background: var(--primary);
    color: var(--on-primary);
  }

  .step-content h3 {
    color: var(--on-background);
  }
}
