/* ========================================
   GlowDesk — Custom Theme
   ======================================== */

:root {
  --bg: #FBF7F4;
  --bg-alt: #F5EDE7;
  --fg: #1C1C1A;
  --fg-muted: #6B6560;
  --accent: #2D4A3E;
  --accent-light: #3D6455;
  --rose: #C4847A;
  --rose-light: #D4A09A;
  --cream: #FDF6F0;
  --border: #E8D5C4;
  --card-bg: #FFFFFF;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Navigation ────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 700;
}

.brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
}

.nav-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── Hero ───────────────────────────────── */
.hero {
  padding: 80px 48px 64px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 64px;
}

.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 600;
  margin-bottom: 16px;
}

.hero-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 600;
  line-height: 1.05;
  color: var(--fg);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-headline em {
  font-style: italic;
  color: var(--rose);
}

.hero-sub {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 460px;
}

/* Profile Card */
.hero-visual {
  position: relative;
}

.profile-card {
  background: white;
  border-radius: 20px;
  border: 1px solid var(--border);
  padding: 24px;
  box-shadow: 0 4px 32px rgba(45,74,62,0.08), 0 1px 4px rgba(0,0,0,0.04);
  position: relative;
  z-index: 2;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.card-avatar svg {
  width: 40px;
  height: 40px;
}

.card-meta {
  flex: 1;
}

.card-name {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--fg);
}

.card-label {
  font-size: 11px;
  color: var(--accent);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.card-status {
  display: flex;
  align-items: center;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(45,74,62,0.15);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(45,74,62,0.15); }
  50% { box-shadow: 0 0 0 5px rgba(45,74,62,0.08); }
}

.card-body {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  margin-bottom: 20px;
}

.card-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 13px;
}

.row-label {
  color: var(--fg-muted);
}

.row-val {
  font-weight: 500;
  color: var(--fg);
}

.card-routine {
  margin-bottom: 16px;
}

.routine-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 12px;
  font-weight: 600;
}

.routine-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.step-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step.done span { color: var(--fg-muted); text-decoration: line-through; }

.step.active .step-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--rose);
  background: rgba(196,132,122,0.15);
  flex-shrink: 0;
}

.step.active span { color: var(--fg); font-weight: 500; }

.step.upcoming .step-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
}

.step.upcoming span { color: var(--fg-muted); }

.card-reminder {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: var(--cream);
  border-radius: 10px;
  font-size: 12px;
  color: var(--fg-muted);
}

/* Decorative shapes */
.hero-shapes {
  position: absolute;
  top: -30px;
  right: -40px;
  width: 200px;
  height: 200px;
  pointer-events: none;
  z-index: 1;
}

.shape {
  position: absolute;
  border-radius: 50%;
}

.shape-1 {
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(196,132,122,0.15) 0%, transparent 70%);
  top: 0;
  right: 0;
}

.shape-2 {
  width: 80px;
  height: 80px;
  border: 2px solid rgba(45,74,62,0.12);
  top: 80px;
  right: 60px;
}

.shape-3 {
  width: 40px;
  height: 40px;
  background: rgba(196,132,122,0.2);
  bottom: 40px;
  right: 20px;
}

/* Stats row */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 32px 40px;
  background: var(--accent);
  border-radius: 16px;
  color: white;
}

.stat {}

.stat-num {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  line-height: 1.4;
  max-width: 120px;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.15);
}

/* ── Features ───────────────────────────── */
.features {
  padding: 96px 48px;
  background: var(--bg-alt);
}

.features-label, .hiw-label, .profile-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 600;
  margin-bottom: 16px;
}

.features-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 56px;
  letter-spacing: -0.02em;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1000px;
}

.feature-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(45,74,62,0.08);
}

.feature-primary {
  background: var(--accent);
  color: white;
}

.feature-primary .feature-icon svg path,
.feature-primary .feature-icon svg circle {
  fill: white;
  stroke: white;
}

.feature-primary .feature-title { color: white; }
.feature-primary .feature-desc { color: rgba(255,255,255,0.75); }
.feature-primary .tag { background: rgba(255,255,255,0.12); color: white; }

.feature-icon {
  margin-bottom: 20px;
}

.feature-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--fg);
}

.feature-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--bg-alt);
  color: var(--fg-muted);
  font-weight: 500;
}

/* ── How it Works ───────────────────────── */
.how-it-works {
  padding: 96px 48px;
}

.hiw-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 64px;
  letter-spacing: -0.02em;
}

.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 900px;
}

.step-item {
  flex: 1;
}

.step-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px;
  font-weight: 600;
  color: var(--rose-light);
  line-height: 1;
  margin-bottom: 16px;
}

.step-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.7;
}

.step-connector {
  width: 48px;
  height: 1px;
  background: var(--border);
  margin-top: 28px;
  flex-shrink: 0;
}

/* ── Profile Section ─────────────────────── */
.profile-section {
  padding: 96px 48px;
  background: var(--bg-alt);
}

.profile-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.profile-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.profile-body {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.8;
  margin-bottom: 28px;
}

.profile-body em {
  font-style: italic;
  color: var(--fg);
}

.profile-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--fg);
}

.list-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Dashboard mock */
.dashboard-mock {
  background: white;
  border-radius: 20px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 8px 48px rgba(45,74,62,0.1);
}

.mock-header {
  background: var(--accent);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mock-dots {
  display: flex;
  gap: 5px;
}

.mock-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
}

.mock-title {
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}

.mock-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  padding: 1px;
}

.mock-widget {
  background: white;
  padding: 20px;
}

.widget-label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  margin-bottom: 10px;
  font-weight: 600;
}

.widget-goals {}

.goal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.gtag {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--bg-alt);
  color: var(--fg-muted);
  font-weight: 500;
}

.gtag-active {
  background: var(--accent);
  color: white;
}

.widget-streak {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.streak-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--rose);
  line-height: 1;
}

.streak-label {
  font-size: 11px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.provider-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.provider-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.prov-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  flex-shrink: 0;
}

.prov-info {
  flex: 1;
}

.prov-name {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--fg);
}

.prov-dist {
  font-size: 10px;
  color: var(--fg-muted);
}

.prov-rating {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
}

.product-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.prod-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.prod-name {
  font-size: 12px;
  color: var(--fg);
}

/* ── Closing ─────────────────────────────── */
.closing {
  padding: 120px 48px;
  position: relative;
  overflow: hidden;
}

.closing-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.closing-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(196,132,122,0.12) 0%, transparent 70%);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
}

.orb-2 {
  width: 200px;
  height: 200px;
  border: 1px solid var(--border);
  bottom: -100px;
  left: 10%;
}

.orb-3 {
  width: 120px;
  height: 120px;
  background: rgba(45,74,62,0.06);
  bottom: -60px;
  right: 10%;
}

.closing-eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 600;
  margin-bottom: 20px;
}

.closing-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.closing-heading em {
  font-style: italic;
  color: var(--rose);
}

.closing-body {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.8;
}

/* ── Footer ──────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 48px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.footer-mark {
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: white;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-weight: 700;
}

.footer-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
}

.footer-tagline {
  font-size: 13px;
  color: var(--fg-muted);
}

.footer-legal {
  font-size: 12px;
  color: var(--fg-muted);
  margin-top: 8px;
}

/* ── Responsive ──────────────────────────── */
@media (max-width: 900px) {
  .nav { padding: 20px 24px; }
  .hero { padding: 48px 24px 40px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .hero-stats { gap: 24px; padding: 24px 28px; }
  .stat-num { font-size: 28px; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; gap: 40px; }
  .step-connector { width: 40px; height: 1px; }
  .profile-inner { grid-template-columns: 1fr; gap: 48px; }
  .profile-visual { display: none; }
  .features, .how-it-works, .profile-section, .closing { padding: 64px 24px; }
}

@media (max-width: 600px) {
  .hero-headline { font-size: 40px; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .stat-divider { width: 40px; height: 1px; }
  .footer { padding: 32px 24px; }
}