:root {
  --bg-light: #F8FAFC;
  --bg-white: #FFFFFF;
  --bg-dark: #0B1528;
  --bg-emerald-dark: #062C21;
  --primary: #10B981;
  --primary-dark: #059669;
  --primary-soft: #ECFDF5;
  --accent-sky: #0EA5E9;
  --accent-amber: #F59E0B;
  --text-main: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --border-light: #E2E8F0;
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 14px 34px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 54px rgba(15, 23, 42, 0.14);
}

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

html {
  scroll-behavior: smooth;
}

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

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

/* Sticky Modern Glass Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: contain;
}

.brand-name {
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text-main);
  line-height: 1.1;
}

.brand-tag {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}

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

.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #FFFFFF;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.28);
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(16, 185, 129, 0.38);
}

/* Fresh Hero Section */
.hero-wrap {
  background: radial-gradient(circle at 85% 15%, #D1FAE5 0%, #EFF6FF 45%, #F8FAFC 100%);
  padding: 64px 0 80px;
  border-bottom: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 56px;
  align-items: center;
}

.launch-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid #A7F3D0;
  color: var(--primary-dark);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

.hero-title {
  font-size: clamp(2.3rem, 4.2vw, 3.65rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text-main);
  margin-bottom: 18px;
}

.hero-title span {
  background: linear-gradient(135deg, #059669 0%, #0EA5E9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.12rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 580px;
}

/* Countdown Row */
.countdown-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(72px, 110px));
  gap: 12px;
  margin-bottom: 30px;
}

.cd-item {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 14px 10px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.cd-number {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--primary-dark);
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}

.cd-unit {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Modern Waitlist Card */
.signup-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-md);
  max-width: 560px;
}

.signup-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 14px;
}

.signup-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.input-modern {
  width: 100%;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1.5px solid var(--border-light);
  background: #F8FAFC;
  color: var(--text-main);
  font-size: 0.94rem;
  font-weight: 500;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.input-modern:focus {
  border-color: var(--primary);
  background: #FFFFFF;
}

.signup-form .span-2 {
  grid-column: 1 / -1;
}

.btn-submit {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  padding: 14px 22px;
  font-size: 0.98rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.28);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(16, 185, 129, 0.36);
}

.signup-success {
  display: none;
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.9rem;
}

/* Right Hero: Clean Frameless App Screenshot + Floating Real Bird/Animal Cards */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.app-screenshot-card {
  width: 320px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: #FFFFFF;
  position: relative;
  z-index: 2;
}

.app-screenshot-card img {
  width: 100%;
  height: auto;
  display: block;
}

.floating-photo-card {
  position: absolute;
  background: #FFFFFF;
  padding: 8px;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
  z-index: 3;
  width: 145px;
  border: 1px solid var(--border-light);
}

.floating-photo-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.floating-photo-card span {
  display: block;
  text-align: center;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 6px;
}

.float-top-left {
  top: 28px;
  left: 0px;
}

.float-bottom-right {
  bottom: 34px;
  right: 0px;
}

/* Section Generic */
.section {
  padding: 76px 0;
}

.section-white {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-dark);
  background: var(--primary-soft);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 10px;
}

.section-head p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* Filter Tabs */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.tab-btn {
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  color: var(--text-secondary);
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
}

.tab-btn.active {
  background: var(--text-main);
  border-color: var(--text-main);
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
}

/* 1:1 Square Photo Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 24px;
}

.animal-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.animal-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.animal-img-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #F1F5F9;
  overflow: hidden;
}

.animal-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.animal-card:hover .animal-img-box img {
  transform: scale(1.04);
}

.tag-verified {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(16, 185, 129, 0.95);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.tag-category {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
}

.animal-info {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.animal-title {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.animal-meta {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
  flex: 1;
}

.animal-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

.animal-price {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--primary-dark);
}

.animal-city {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* Highlights / Ecosystem Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.94rem;
}

/* Modern Dark Footer */
.footer {
  background: var(--bg-dark);
  color: #94A3B8;
  padding: 48px 0;
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: #FFFFFF;
  font-size: 1.35rem;
  font-weight: 900;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.footer p {
  font-size: 0.92rem;
  max-width: 540px;
  margin: 0 auto;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .countdown-row {
    justify-content: center;
  }
  .signup-card {
    margin: 0 auto;
    text-align: left;
  }
  .nav-links {
    display: none;
  }
  .floating-photo-card {
    display: none;
  }
}

@media (max-width: 540px) {
  .signup-form {
    grid-template-columns: 1fr;
  }
  .countdown-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
