/* ==========================================================================
   SORTLID DESIGN SYSTEM & VISUAL TOKENS (SRS v1.0 Section 19)
   Primary domain: sortlid.com
   ========================================================================== */
:root {
  --primary-coral: #FF6B70;
  --primary-coral-hover: #f2575c;
  --secondary-peach: #FFC9AE;
  --highlight-amber: #FFD66E;
  --accent-lavender: #B99AEF;
  --surface-white: #FFFFFF;
  --surface-cream: #FFF8F1;
  --surface-card: #FFF6EE;
  --text-navy: #17234B;
  --text-muted: #59627A;
  --border-warm: #E9DFDA;
  --footer-navy: #17234B;
  --shadow-soft: 0 10px 30px -5px rgba(23, 35, 75, 0.06), 0 4px 12px -2px rgba(23, 35, 75, 0.04);
  --shadow-float: 0 20px 45px -10px rgba(23, 35, 75, 0.14), 0 8px 20px -4px rgba(23, 35, 75, 0.08);
  --radius-card: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
}

html.dark-theme {
  --surface-white: #121829;
  --surface-cream: #182036;
  --surface-card: #1E2942;
  --text-navy: #F8FAFC;
  --text-muted: #94A3B8;
  --border-warm: #2E3A59;
  --shadow-soft: 0 10px 30px -5px rgba(0, 0, 0, 0.35);
  --shadow-float: 0 20px 45px -10px rgba(0, 0, 0, 0.55);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--surface-white);
  color: var(--text-navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.25s ease, color 0.25s ease;
}

/* Gradients matching video recording */
.hero-home-gradient {
  background: linear-gradient(135deg, #FF6B70 0%, #FF8E7F 36%, #FFC9AE 74%, #FFF3E6 100%);
}

.hero-subpage-gradient {
  background: linear-gradient(180deg, #FFE4DF 0%, #FFF3EB 55%, var(--surface-white) 100%);
}

html.dark-theme .hero-subpage-gradient {
  background: linear-gradient(180deg, #2A1F3D 0%, #1A2238 60%, var(--surface-white) 100%);
}

.cta-banner-gradient {
  background: linear-gradient(125deg, #FF6B70 0%, #FF9482 48%, #FFC9AE 82%, #D4B5F7 100%);
}

.popular-plan-gradient {
  background: linear-gradient(180deg, #FF6B70 0%, #FF8379 100%);
  color: #FFFFFF;
}

.soft-card {
  background-color: var(--surface-card);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.soft-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-float);
}

.white-card {
  background-color: var(--surface-white);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}

.btn-coral {
  background-color: var(--primary-coral);
  color: #FFFFFF;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-coral:hover {
  background-color: var(--primary-coral-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -4px rgba(255, 107, 112, 0.45);
}

.btn-store {
  background-color: #17234B;
  color: #FFFFFF;
  border-radius: 12px;
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,0.14);
  transition: all 0.2s ease;
  cursor: pointer;
}

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

.nav-link-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 8px;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.nav-link-btn:hover {
  color: var(--text-navy);
}

.nav-link-btn.active {
  color: var(--primary-coral);
  font-weight: 600;
}

.feature-icon-box {
  background: linear-gradient(145deg, rgba(255, 107, 112, 0.12), rgba(255, 201, 174, 0.22));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Custom scrollbar for PWA workspace */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--surface-cream);
}
::-webkit-scrollbar-thumb {
  background: #D5C7C0;
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-coral);
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}

.float-card-1 {
  animation: floatSlow 5s ease-in-out infinite;
}

.float-card-2 {
  animation: floatSlow 6s ease-in-out 1.2s infinite;
}

@media (prefers-reduced-motion: reduce) {
  .float-card-1, .float-card-2 {
    animation: none;
  }
}
