/* Wild Animals Safari — Promo Website Styles
 * Theme: Midnight-blue storybook with golden amber accents
 * Typography: Fraunces (display serif) + Nunito (body) + Caveat Brush (decor accent)
 */

@import url('https://fonts.googleapis.com/css2?family=Caveat+Brush&family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700;9..144,800&family=Nunito:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #0E1628;
  --bg-elevated: #15203A;
  --surface: #1B2848;
  --surface-2: #243466;
  --brand-amber: #F2B544;
  --brand-amber-deep: #C8881C;
  --brand-amber-glow: #FFD37A;
  --brand-moon: #7FB6E6;
  --brand-moon-deep: #3A6CA0;
  --brand-fur: #A24E2A;
  --brand-leaf: #3F7A4A;
  --text-primary: #F4ECDC;
  --text-secondary: #C2B6A2;
  --text-tertiary: #8C826F;
  --text-on-amber: #1A0E00;
  --grad-night-sky: linear-gradient(180deg, #0E1628 0%, #15203A 40%, #1B2848 100%);
  --grad-amber-button: linear-gradient(180deg, #F2B544 0%, #C8881C 100%);
  --grad-amber-text: linear-gradient(180deg, #FFD37A 0%, #F2B544 50%, #C8881C 100%);
  --grad-hero-overlay: linear-gradient(180deg, rgba(14,22,40,0.05) 0%, rgba(14,22,40,0.55) 55%, rgba(14,22,40,0.95) 100%);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.45);
  --shadow-amber-glow: 0 0 28px rgba(255, 211, 122, 0.35);
  --shadow-button: 0 6px 18px rgba(242,181,68,0.4);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', system-ui, -apple-system, sans-serif;
  color: var(--text-primary);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  overflow-x: hidden;
}

/* ---------- Typography ---------- */
.font-display { font-family: 'Fraunces', serif; }
.font-decor { font-family: 'Caveat Brush', cursive; }

.heading-hero {
  font-family: 'Fraunces', serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.heading-hero .accent {
  font-family: 'Caveat Brush', cursive;
  font-weight: 400;
  background: var(--grad-amber-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.05em;
  display: inline-block;
  transform: rotate(-2deg);
  padding: 0 0.05em;
}
.heading-hero .italic-accent {
  font-style: italic;
  font-weight: 500;
  color: var(--brand-amber-glow);
}

.heading-section {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: clamp(1.875rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.heading-section .accent {
  font-family: 'Caveat Brush', cursive;
  font-weight: 400;
  color: var(--brand-amber);
  font-size: 1.1em;
  display: inline-block;
  transform: rotate(-1deg);
}

.eyebrow {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brand-amber);
}

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 56px;
  padding: 0 28px;
  border-radius: 12px;
  background: var(--grad-amber-button);
  color: var(--text-on-amber);
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  box-shadow: var(--shadow-button);
  transition: transform 120ms ease, box-shadow 200ms ease;
  white-space: nowrap;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(242,181,68,0.5);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 56px;
  padding: 0 28px;
  border-radius: 12px;
  background: transparent;
  color: var(--brand-moon);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 1.5px solid var(--brand-moon);
  cursor: pointer;
  transition: border-color 200ms ease, color 200ms ease;
  white-space: nowrap;
}
.btn-secondary:hover {
  border-color: var(--brand-amber);
  color: var(--brand-amber);
}

.btn-text {
  color: var(--brand-moon);
  font-weight: 700;
  text-decoration: none;
  transition: color 200ms ease;
}
.btn-text:hover { color: var(--brand-amber); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(14, 22, 40, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(127, 182, 230, 0.08);
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-logo img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}
.brand-logo .name {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 200ms ease;
}
.nav-link:hover { color: var(--brand-amber); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--grad-night-sky);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/hero_bg.webp'), var(--grad-night-sky);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0.95;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--grad-hero-overlay);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Star sparkle decoration */
.sparkle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-amber-glow);
  box-shadow: 0 0 12px var(--brand-amber-glow);
  animation: twinkle 3s ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.2; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* ---------- Section dividers ---------- */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 16px;
}
.section-divider .line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-amber), transparent);
}
.section-divider .dot {
  width: 6px;
  height: 6px;
  background: var(--brand-amber);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--brand-amber);
}

/* ---------- Feature cards ---------- */
.feature-card {
  background: linear-gradient(180deg, rgba(36, 52, 102, 0.6) 0%, rgba(27, 40, 72, 0.45) 100%);
  border: 1px solid rgba(127, 182, 230, 0.15);
  border-radius: 20px;
  padding: 28px 24px;
  transition: transform 280ms ease, border-color 280ms ease, box-shadow 280ms ease;
  position: relative;
  overflow: hidden;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(242, 181, 68, 0.4);
  box-shadow: var(--shadow-card), 0 0 32px rgba(242, 181, 68, 0.15);
}
.feature-card .feat-img {
  width: 96px;
  height: 96px;
  border-radius: 16px;
  object-fit: cover;
  margin-bottom: 18px;
  box-shadow: var(--shadow-card);
}
.feature-card h3 {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.4rem;
  margin: 0 0 8px;
  color: var(--text-primary);
  line-height: 1.2;
}
.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
  text-align: left;
}

/* ---------- Device frame for screenshots ---------- */
.device-frame {
  position: relative;
  width: 280px;
  margin: 0 auto;
  background: #0a0e18;
  border-radius: 36px;
  padding: 12px;
  box-shadow:
    0 0 0 2px #1a2440,
    0 0 0 3px #2a345a,
    0 24px 48px rgba(0,0,0,0.5),
    0 0 60px rgba(127, 182, 230, 0.1);
}
.device-frame::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: #0a0e18;
  border-radius: 0 0 12px 12px;
  z-index: 2;
}
.device-frame img {
  width: 100%;
  height: auto;
  border-radius: 26px;
  display: block;
}

/* Swiper customizations */
.screenshots-swiper {
  padding: 30px 10px 60px !important;
  overflow: hidden !important;
  width: 100%;
  max-width: 100%;
}
.screenshots-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  transition: transform 350ms ease, opacity 350ms ease;
  opacity: 0.45;
}
.screenshots-swiper .swiper-slide-active,
.screenshots-swiper .swiper-slide-next,
.screenshots-swiper .swiper-slide-prev {
  opacity: 1;
}
.screenshots-swiper .swiper-pagination-bullet {
  background: var(--text-tertiary);
  opacity: 0.5;
}
.screenshots-swiper .swiper-pagination-bullet-active {
  background: var(--brand-amber);
  opacity: 1;
  width: 24px;
  border-radius: 4px;
}
.screenshots-swiper .swiper-button-next,
.screenshots-swiper .swiper-button-prev {
  color: var(--brand-amber);
}
.screenshots-swiper .swiper-button-next::after,
.screenshots-swiper .swiper-button-prev::after {
  font-size: 1.5rem;
  font-weight: 800;
}

/* ---------- CTA section ---------- */
.cta-section {
  position: relative;
  overflow: hidden;
  background: var(--grad-night-sky);
}
.cta-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/cta_bg.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.4;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,22,40,0.65), rgba(14,22,40,0.85));
}
.cta-content { position: relative; z-index: 2; }

/* ---------- Footer ---------- */
.site-footer {
  background: #07101f;
  border-top: 1px solid rgba(127, 182, 230, 0.08);
  padding: 40px 0 28px;
  color: var(--text-tertiary);
}
.footer-link {
  color: var(--text-secondary);
  font-weight: 600;
  text-decoration: none;
  transition: color 200ms ease;
}
.footer-link:hover { color: var(--brand-amber); }

/* ---------- Legal page content ---------- */
.legal-content {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
}
.legal-content h1 {
  font-family: 'Fraunces', serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-primary);
  margin: 0 0 12px;
  letter-spacing: -0.015em;
}
.legal-content h2 {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--brand-amber);
  margin: 36px 0 14px;
  letter-spacing: -0.01em;
}
.legal-content h3 {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-primary);
  margin: 24px 0 8px;
}
.legal-content p { margin: 0 0 14px; text-align: left; }
.legal-content ul { margin: 0 0 14px; padding-left: 22px; }
.legal-content ul li { margin-bottom: 6px; text-align: left; }
.legal-content a {
  color: var(--brand-moon);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 200ms ease;
}
.legal-content a:hover { color: var(--brand-amber); }
.legal-content strong { color: var(--text-primary); font-weight: 700; }

.legal-meta {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin-bottom: 24px;
}

/* ---------- Contact form ---------- */
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.form-field label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
  text-align: left;
}
.form-field input,
.form-field textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid rgba(127, 182, 230, 0.2);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--text-primary);
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--brand-amber);
  box-shadow: 0 0 0 3px rgba(242, 181, 68, 0.15);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-tertiary); }
.form-field textarea { resize: vertical; min-height: 140px; }
.form-field input[type="file"] {
  padding: 10px;
  cursor: pointer;
}

/* ---------- Mobile menu ---------- */
.mobile-menu {
  display: none;
  background: rgba(14, 22, 40, 0.95);
  border-top: 1px solid rgba(127, 182, 230, 0.08);
  padding: 12px 24px 18px;
}
.mobile-menu.open { display: flex; flex-direction: column; gap: 12px; }
.mobile-menu .nav-link {
  padding: 8px 0;
  border-bottom: 1px solid rgba(127, 182, 230, 0.05);
}

/* ---------- Privacy acceptance button ---------- */
.privacy-accept-btn {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 24px 16px 20px;
  background: linear-gradient(180deg, rgba(14,22,40,0) 0%, rgba(14,22,40,0.92) 35%, rgba(14,22,40,1) 100%);
  pointer-events: none;
}
.privacy-accept-btn .accept-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 56px;
  min-width: 280px;
  padding: 0 36px;
  border-radius: 12px;
  background: var(--grad-amber-button);
  color: var(--text-on-amber);
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.04em;
  border: 0;
  cursor: pointer;
  box-shadow: var(--shadow-button);
}
.privacy-accept-btn.hidden { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .hero { min-height: 78vh; }
  .device-frame { width: 240px; }
  .feature-card { padding: 22px 18px; }
  .feature-card .feat-img { width: 80px; height: 80px; }
}

@media (orientation: landscape) and (max-height: 500px) {
  .hero { min-height: 100vh; }
}
