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

html {
  scroll-behavior: smooth;
}

/* ===== Hero background ===== */
.hero-bg {
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(61, 90, 128, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(107, 143, 113, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(201, 169, 110, 0.05) 0%, transparent 50%);
}

/* ===== Navbar ===== */
#navbar {
  background: rgba(248, 246, 242, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

#navbar.scrolled {
  background: rgba(248, 246, 242, 0.95);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* ===== Phone mockup ===== */
.phone-mockup {
  position: relative;
  width: 280px;
  height: 580px;
  background: #1B1B1F;
  border-radius: 40px;
  padding: 12px;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(0, 0, 0, 0.05),
    inset 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #1B1B1F;
  border-radius: 0 0 16px 16px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #F8F6F2;
  border-radius: 30px;
  overflow: hidden;
  overflow-y: auto;
}

.phone-screen::-webkit-scrollbar {
  display: none;
}

/* ===== Feature cards ===== */
.feature-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -8px rgba(61, 90, 128, 0.12);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

/* ===== Social cards ===== */
.social-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.social-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

/* ===== Screenshot frames ===== */
.screenshot-frame {
  background: #1B1B1F;
  border-radius: 24px;
  padding: 8px;
  box-shadow:
    0 20px 40px -12px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-frame:hover {
  transform: translateY(-4px);
  box-shadow:
    0 24px 48px -12px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(0, 0, 0, 0.05);
}

.screenshot-frame img {
  border-radius: 18px;
}

/* ===== Store badges ===== */
.store-badge {
  transition: all 0.2s ease;
}

.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* ===== Scroll animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in.delay-200 {
  transition-delay: 0.2s;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .phone-mockup {
    width: 240px;
    height: 500px;
    border-radius: 32px;
    padding: 10px;
  }

  .phone-mockup::before {
    width: 80px;
    height: 24px;
    top: 10px;
  }

  .phone-screen {
    border-radius: 24px;
  }
}
