/* Etymed landing — custom styles */

:root {
  --primary: #0D9488;
  --primary-light: #14B8A6;
  --primary-bg: #CCFBF1;
  --primary-surface: #F0FDFA;
  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;
  --text-primary: #0F172A;
  --text-secondary: #334155;
  --text-tertiary: #94A3B8;
  --border: #E2E8F0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', system-ui, -apple-system, sans-serif;
  color: var(--text-primary);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.font-display {
  font-family: 'Comfortaa', 'Nunito', system-ui, sans-serif;
  font-weight: 700;
}

/* Hero gradient background */
.hero-bg {
  background:
    radial-gradient(circle at 85% 20%, rgba(20, 184, 166, 0.12) 0%, transparent 55%),
    radial-gradient(circle at 15% 80%, rgba(13, 148, 136, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #F0FDFA 0%, #ffffff 100%);
}

/* DNA hero orb */
.hero-orb {
  background: radial-gradient(circle at 30% 30%, #14B8A6 0%, #0D9488 70%, #0F766E 100%);
  box-shadow:
    0 30px 60px -15px rgba(13, 148, 136, 0.45),
    0 10px 20px -5px rgba(13, 148, 136, 0.3),
    inset 0 -10px 30px rgba(15, 118, 110, 0.4);
}

.hero-orb-float {
  animation: floaty 6s ease-in-out infinite;
}

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

/* Button base */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px -2px rgba(13, 148, 136, 0.4);
}

.btn-primary:hover {
  background: #0F766E;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -2px rgba(13, 148, 136, 0.5);
}

.btn-store {
  background: #0F172A;
  color: #ffffff;
  padding: 0.85rem 1.5rem;
  font-size: 0.95rem;
}

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

.btn-store .btn-store-sub {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 2px;
  color: #CBD5E1;
}

.btn-store .btn-store-main {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
}

/* Feature card */
.feature-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.75rem;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-light);
  box-shadow: 0 12px 24px -8px rgba(13, 148, 136, 0.15);
}

.feature-icon {
  font-size: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  background: var(--primary-surface);
  border-radius: 0.875rem;
  margin-bottom: 1rem;
}

/* Step number circle */
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: var(--primary);
  color: #ffffff;
  border-radius: 999px;
  font-family: 'Comfortaa', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* Final CTA band */
.cta-band {
  background: linear-gradient(135deg, #0D9488 0%, #14B8A6 100%);
  box-shadow: 0 20px 40px -15px rgba(13, 148, 136, 0.5);
}

/* Nav sticky blur */
.nav-blur {
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  background: rgba(255, 255, 255, 0.85);
}

/* Legal pages */
.legal-prose {
  max-width: 680px;
  margin: 0 auto;
  color: var(--text-secondary);
  line-height: 1.75;
}

.legal-prose h1 {
  font-family: 'Comfortaa', sans-serif;
  font-weight: 700;
  font-size: 2.25rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.legal-prose h2 {
  font-family: 'Comfortaa', sans-serif;
  font-weight: 700;
  font-size: 1.375rem;
  color: var(--text-primary);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.legal-prose p {
  margin-bottom: 1rem;
}

.legal-prose ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-prose li {
  margin-bottom: 0.5rem;
}

.legal-prose a {
  color: var(--primary);
  text-decoration: underline;
}

.legal-prose a:hover {
  color: #0F766E;
}

.legal-prose .meta {
  color: var(--text-tertiary);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

/* Subtle section dividers */
section {
  scroll-margin-top: 80px;
}

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 0.5rem;
}
