:root {
  --primary: #FF7A18;
  --primary-dark: #E65A00;
  --primary-gradient: linear-gradient(135deg, #FF9436 0%, #FF6018 100%);
  --gold-gradient: linear-gradient(135deg, #FFD54F 0%, #FFA000 100%);
  --bg-gradient: radial-gradient(circle at 10% 20%, rgba(255, 235, 215, 0.7) 0%, rgba(255, 252, 248, 1) 90%);
  --text-dark: #221A15;
  --text-muted: #72635A;
  --card-bg: rgba(255, 255, 255, 0.88);
  --card-border: rgba(255, 140, 56, 0.18);
  --glass-shadow: 0 16px 40px -10px rgba(255, 122, 24, 0.14), 0 4px 12px rgba(0, 0, 0, 0.04);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  background: #FFFDF9;
  background-image: var(--bg-gradient);
  color: var(--text-dark);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(255, 253, 249, 0.85);
  border-bottom: 1px solid var(--card-border);
}

.nav-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(255, 122, 24, 0.25);
  object-fit: cover;
}

.brand-text {
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-text span {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-muted);
  transition: all 0.2s ease;
  padding: 6px 12px;
  border-radius: 10px;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary);
  background: rgba(255, 122, 24, 0.08);
}

.btn-header-cta {
  background: var(--primary-gradient);
  color: #fff !important;
  font-weight: 800 !important;
  padding: 9px 18px !important;
  border-radius: 20px !important;
  box-shadow: 0 4px 16px rgba(255, 122, 24, 0.35);
  transition: transform 0.2s, box-shadow 0.2s !important;
}

.btn-header-cta:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 6px 20px rgba(255, 122, 24, 0.45);
}

/* Hero Section */
.hero {
  max-width: 1180px;
  margin: 40px auto 60px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 122, 24, 0.12);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 24px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 122, 24, 0.2);
}

.hero-title {
  font-size: 52px;
  font-weight: 950;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.hero-title .gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 520px;
}

.cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-app-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #111;
  color: #fff;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-app-store:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.btn-app-store svg {
  width: 26px;
  height: 26px;
  fill: #fff;
}

.btn-app-store-text {
  text-align: left;
}

.btn-app-store-text small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  opacity: 0.8;
}

.btn-app-store-text strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.1;
}

.rating-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--card-bg);
  border-radius: 16px;
  border: 1px solid var(--card-border);
  box-shadow: var(--glass-shadow);
}

.stars {
  color: #FFB300;
  font-size: 15px;
  letter-spacing: 2px;
}

/* 3D Showcase Mockup Stage */
.stage-3d {
  position: relative;
  perspective: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mockup-card-3d {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 36px;
  padding: 24px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 28px 70px -15px rgba(255, 122, 24, 0.28), 0 8px 24px rgba(0, 0, 0, 0.05);
  transform: rotateY(-8deg) rotateX(6deg);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  width: 100%;
  max-width: 380px;
}

.mockup-card-3d:hover {
  transform: rotateY(0deg) rotateX(0deg) scale(1.02);
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.mockup-pet-avatars {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 12px;
  background: #FFF9F3;
  border-radius: 20px;
  margin-bottom: 20px;
}

.avatar-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
}

.avatar-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mockup-hero-img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  margin: 10px 0;
  filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.12));
  animation: floatPet 4s ease-in-out infinite alternate;
}

@keyframes floatPet {
  0% { transform: translateY(0px) scale(1); }
  100% { transform: translateY(-8px) scale(1.02); }
}

.mic-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.mic-btn-interactive {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--primary-gradient);
  border: none;
  color: #fff;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(255, 122, 24, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}

.mic-btn-interactive:hover {
  transform: scale(1.08);
}

.soundwave-visualizer {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 36px;
}

.wave-bar {
  width: 4px;
  background: var(--primary);
  border-radius: 4px;
  animation: pulseBar 1.2s ease-in-out infinite alternate;
}

.wave-bar:nth-child(1) { height: 12px; animation-delay: 0.1s; }
.wave-bar:nth-child(2) { height: 22px; animation-delay: 0.3s; }
.wave-bar:nth-child(3) { height: 32px; animation-delay: 0.2s; }
.wave-bar:nth-child(4) { height: 18px; animation-delay: 0.4s; }
.wave-bar:nth-child(5) { height: 28px; animation-delay: 0.15s; }
.wave-bar:nth-child(6) { height: 14px; animation-delay: 0.35s; }

@keyframes pulseBar {
  0% { transform: scaleY(0.4); opacity: 0.4; }
  100% { transform: scaleY(1.2); opacity: 1; }
}

/* Features Grid */
.features-section {
  max-width: 1180px;
  margin: 60px auto 80px;
  padding: 0 24px;
}

.section-tag {
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  margin-bottom: 8px;
}

.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -0.8px;
  margin-bottom: 40px;
}

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

.feature-card {
  background: var(--card-bg);
  border-radius: 28px;
  padding: 28px 24px;
  border: 1px solid var(--card-border);
  box-shadow: var(--glass-shadow);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px -10px rgba(255, 122, 24, 0.22);
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: rgba(255, 122, 24, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
}

.feature-title {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.feature-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Legal Pages Styling (Privacy & Terms) */
.legal-wrapper {
  max-width: 860px;
  margin: 40px auto 80px;
  padding: 0 24px;
}

.legal-card {
  background: #fff;
  border-radius: 32px;
  padding: 48px;
  border: 1px solid var(--card-border);
  box-shadow: var(--glass-shadow);
}

.legal-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.legal-tag {
  display: inline-block;
  background: rgba(255, 122, 24, 0.1);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 12px;
  margin-bottom: 12px;
}

.legal-header h1 {
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.legal-meta {
  font-size: 14px;
  color: var(--text-muted);
}

.legal-content h2 {
  font-size: 22px;
  font-weight: 850;
  margin: 32px 0 14px;
  color: var(--text-dark);
}

.legal-content h3 {
  font-size: 17px;
  font-weight: 800;
  margin: 20px 0 8px;
  color: var(--primary-dark);
}

.legal-content p, .legal-content li {
  font-size: 15.5px;
  color: #4A3E37;
  line-height: 1.7;
  margin-bottom: 14px;
}

.legal-content ul {
  padding-left: 22px;
  margin-bottom: 18px;
}

.highlight-box {
  background: #FFF8F1;
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  border-radius: 0 16px 16px 0;
  margin: 20px 0;
}

.highlight-box strong {
  color: var(--primary-dark);
}

/* Footer */
footer {
  background: #FFF6ED;
  border-top: 1px solid var(--card-border);
  padding: 48px 24px 32px;
  margin-top: 60px;
}

.footer-container {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 10px;
  max-width: 360px;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--text-dark);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul a {
  text-decoration: none;
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

.footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 868px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-desc {
    margin: 0 auto 32px;
  }
  .cta-group {
    justify-content: center;
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
  .legal-card {
    padding: 28px 20px;
  }
}

