/* ===== Base ===== */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  overflow-x: hidden;
}

/* ===== Navigation ===== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background-color 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

.site-nav.scrolled {
  background-color: rgba(251, 247, 240, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

/* ===== Hero Floating Shapes ===== */
@keyframes float-drift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(12px, -24px) rotate(4deg); }
  50% { transform: translate(-8px, -40px) rotate(-2deg); }
  75% { transform: translate(18px, -16px) rotate(6deg); }
}

@keyframes float-orbit {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(-20px, -30px) rotate(-6deg); }
  66% { transform: translate(14px, -12px) rotate(3deg); }
}

@keyframes float-gentle {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-10px, -20px) scale(1.05); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.shape {
  position: absolute;
  pointer-events: none;
}

.shape-coral-lg {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(224, 90, 51, 0.18) 0%, rgba(224, 90, 51, 0.04) 70%);
  border-radius: 50%;
  top: 5%;
  left: 10%;
  animation: float-drift 9s ease-in-out infinite;
}

.shape-sage-rect {
  width: 220px;
  height: 170px;
  border: 2.5px solid rgba(107, 143, 113, 0.35);
  border-radius: 32px;
  top: 25%;
  right: 5%;
  animation: float-orbit 11s ease-in-out infinite;
}

.shape-gold-sm {
  width: 110px;
  height: 110px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.3) 0%, rgba(201, 168, 76, 0.05) 70%);
  border-radius: 50%;
  bottom: 15%;
  left: 35%;
  animation: float-gentle 7s ease-in-out infinite;
}

.shape-coral-ring {
  width: 180px;
  height: 180px;
  border: 2px solid rgba(224, 90, 51, 0.2);
  border-radius: 50%;
  bottom: 25%;
  right: 15%;
  animation: float-drift 13s ease-in-out infinite reverse;
}

.shape-sage-dot {
  width: 18px;
  height: 18px;
  background: rgba(107, 143, 113, 0.5);
  border-radius: 50%;
  animation: pulse-glow 4s ease-in-out infinite;
}

.shape-coral-dot {
  width: 14px;
  height: 14px;
  background: rgba(224, 90, 51, 0.4);
  border-radius: 50%;
  animation: pulse-glow 5s ease-in-out infinite 1s;
}

.shape-gold-dot {
  width: 10px;
  height: 10px;
  background: rgba(201, 168, 76, 0.6);
  border-radius: 50%;
  animation: pulse-glow 3.5s ease-in-out infinite 0.5s;
}

.shape-ring-dashed {
  width: 260px;
  height: 260px;
  border: 1.5px dashed rgba(201, 168, 76, 0.2);
  border-radius: 50%;
  top: 15%;
  left: 25%;
  animation: spin-slow 60s linear infinite;
}

/* ===== Scroll Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ===== Product Cards ===== */
.product-card {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08), 0 8px 20px rgba(0, 0, 0, 0.04);
}

.product-card .card-accent {
  height: 4px;
  border-radius: 2px 2px 0 0;
  transition: height 0.3s ease;
}

.product-card:hover .card-accent {
  height: 6px;
}

/* ===== Badge Styles ===== */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.badge-free { background: #E05A33; color: white; }
.badge-premium { background: linear-gradient(135deg, #C9A84C, #D4B96A); color: #1e293b; }
.badge-classic { background: #6B8F71; color: white; }
.badge-coming-soon { background: #E8E2D9; color: #64748b; }

/* ===== App Store Buttons ===== */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  background: #1e293b;
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease;
}

.store-btn:hover {
  background: #334155;
  transform: translateY(-1px);
}

.store-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ===== CTA Section ===== */
.cta-section {
  background: linear-gradient(135deg, #E05A33 0%, #C94A28 50%, #B8442A 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  border-radius: 50%;
}

/* ===== Dot Grid Pattern ===== */
.dot-grid {
  background-image: radial-gradient(circle, rgba(201, 168, 76, 0.15) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
}

/* ===== Mobile Menu ===== */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.3s ease;
  opacity: 0;
}

.mobile-menu.open {
  max-height: 320px;
  opacity: 1;
}

/* ===== Form Styles ===== */
.form-input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #E8E2D9;
  border-radius: 12px;
  background: white;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 1rem;
  color: #1e293b;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  outline: none;
}

.form-input:focus {
  border-color: #E05A33;
  box-shadow: 0 0 0 4px rgba(224, 90, 51, 0.1);
}

.form-input::placeholder {
  color: #94a3b8;
}

textarea.form-input {
  resize: vertical;
  min-height: 140px;
}

/* ===== Footer ===== */
.footer-link {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #F0845E;
}

/* ===== About Page Decorative ===== */
.about-shape-cluster {
  position: relative;
  width: 100%;
  height: 400px;
}

/* ===== Feature List ===== */
.feature-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .shape-coral-lg { width: 180px; height: 180px; }
  .shape-sage-rect { width: 140px; height: 110px; }
  .shape-gold-sm { width: 70px; height: 70px; }
  .shape-coral-ring { width: 120px; height: 120px; }
  .shape-ring-dashed { width: 160px; height: 160px; }
}

@media (max-width: 480px) {
  .hero-shapes { opacity: 0.5; }
}

/* ===== Print ===== */
@media print {
  .site-nav, .cta-section, .mobile-menu, footer { display: none; }
  .reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; }
  body { background: white; }
}
