/* ==========================================================================
   تمومه! Landing Page — Premium Productivity Brand
   Pure CSS · Mobile-first · RTL
   ========================================================================== */

:root {
  /* Brand */
  --brand-navy: #0f172a;
  --brand-blue: #0284c7;
  --brand-cyan: #06b6d4;
  --brand-teal: #14b8a6;
  --brand-dark: #111827;
  --brand-white: #ffffff;

  /* Surfaces */
  --paper: #f8fafc;
  --paper-card: #ffffff;
  --paper-muted: #f1f5f9;
  --ink: #111827;
  --ink-muted: #475569;
  --ink-faint: #94a3b8;
  --line: #e2e8f0;
  --line-subtle: #f1f5f9;

  /* Semantic */
  --accent: var(--brand-blue);
  --accent-soft: #e0f2fe;
  --success: var(--brand-teal);
  --success-soft: #ccfbf1;

  /* Gradient */
  --gradient-brand: linear-gradient(135deg, #0f172a 0%, #0284c7 50%, #14b8a6 100%);
  --gradient-hero: linear-gradient(160deg, #f8fafc 0%, #e0f2fe 45%, #ecfeff 100%);

  /* Layout */
  --container: 72rem;
  --header-h: 4.25rem;
  --radius-sm: 0.625rem;
  --radius: 1rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.1);
  --shadow-glow: 0 8px 32px rgba(2, 132, 199, 0.22);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: 'Tamomeh', system-ui, sans-serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; font-synthesis: none; }
html {
  scroll-behavior: smooth;
  font-family: var(--font);
  font-style: normal;
}
body {
  font-family: var(--font);
  font-style: normal;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
}
button, input, textarea, select {
  font-family: var(--font);
  font-style: normal;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; }

/* Utilities */
.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), opacity 0.2s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn--primary {
  background: var(--gradient-brand);
  color: var(--brand-white);
  padding: 0.75rem 1.5rem;
  box-shadow: var(--shadow-glow);
}
.btn--primary:hover { box-shadow: 0 12px 36px rgba(2, 132, 199, 0.32); }
.btn--secondary {
  background: var(--paper-card);
  color: var(--ink);
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--line);
}
.btn--secondary:hover { background: var(--paper-muted); }
.btn--lg { padding: 0.875rem 1.75rem; font-size: 1rem; }
.btn--sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn__icon { width: 1.125rem; height: 1.125rem; flex-shrink: 0; }

/* Section headings */
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}
.section-desc {
  font-size: 1.0625rem;
  color: var(--ink-muted);
  max-width: 36rem;
  line-height: 1.75;
}
.section-head {
  text-align: center;
  margin-bottom: 3rem;
}
.section-head .section-desc { margin-inline: auto; }

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--delay { transition-delay: 0.12s; }
.reveal--delay-2 { transition-delay: 0.24s; }

/* Background orbs */
.bg-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}
.bg-orb--1 {
  width: 28rem; height: 28rem;
  background: rgba(2, 132, 199, 0.15);
  top: -8rem; right: -6rem;
}
.bg-orb--2 {
  width: 22rem; height: 22rem;
  background: rgba(20, 184, 166, 0.12);
  bottom: 20%; left: -5rem;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.3s, box-shadow 0.3s;
}
.header.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--line-subtle);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}
.logo__img { width: 2.25rem; height: 2.25rem; object-fit: contain; }
.nav__links {
  display: none;
  align-items: center;
  gap: 2rem;
}
.nav__links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--accent); }
.nav__actions { display: none; align-items: center; gap: 0.75rem; }
.nav__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}
.nav__toggle span {
  display: block;
  width: 1.375rem;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--paper-card);
  border-bottom: 1px solid var(--line);
  padding: 1rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transform: translateY(-110%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s var(--ease), opacity 0.35s, visibility 0.35s;
  z-index: 99;
  box-shadow: var(--shadow-lg);
}
.mobile-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu a {
  padding: 0.75rem 0;
  font-weight: 500;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--line-subtle);
}
.mobile-menu a:last-child { border: none; margin-top: 0.5rem; }
.mobile-menu .btn { width: 100%; }

@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav__actions { display: flex; }
  .nav__toggle { display: none; }
  .mobile-menu { display: none !important; }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  z-index: 1;
  padding: calc(var(--header-h) + 2.5rem) 0 4rem;
  background: var(--gradient-hero);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1rem;
}
.hero__dot {
  width: 0.5rem; height: 0.5rem;
  background: var(--brand-teal);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.15); }
}
.hero__title {
  font-size: clamp(2rem, 6vw, 3.25rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.hero__title .highlight {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__subtitle {
  font-size: 1.0625rem;
  color: var(--ink-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 32rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}
.trust-item strong {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
}
.trust-item span {
  font-size: 0.75rem;
  color: var(--ink-faint);
}

/* Phone mockup */
.phone-wrap {
  display: flex;
  justify-content: center;
  perspective: 1200px;
}
.phone {
  width: min(100%, 17.5rem);
  background: var(--brand-navy);
  border-radius: 2.25rem;
  padding: 0.625rem;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.08) inset;
  transform: rotateY(-8deg) rotateX(4deg);
  animation: floatPhone 6s ease-in-out infinite;
}
@keyframes floatPhone {
  0%, 100% { transform: rotateY(-8deg) rotateX(4deg) translateY(0); }
  50% { transform: rotateY(-8deg) rotateX(4deg) translateY(-12px); }
}
.phone__screen {
  background: var(--paper);
  border-radius: 1.75rem;
  overflow: hidden;
  min-height: 22rem;
}
.phone__status {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 1rem 0;
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--ink);
}
.phone__header {
  padding: 0.75rem 1rem;
  text-align: center;
}
.phone__date {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--ink);
}
.phone__badge {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  margin-top: 0.25rem;
}
.phone__banner {
  margin: 0 0.75rem 0.75rem;
  padding: 0.625rem 0.75rem;
  background: linear-gradient(135deg, rgba(224,242,254,0.9), rgba(255,255,255,0.9));
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius);
  font-size: 0.6875rem;
  color: var(--ink-muted);
  line-height: 1.5;
}
.phone__section {
  margin: 0 0.75rem 0.5rem;
  background: var(--paper-card);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius);
  overflow: hidden;
}
.phone__section-head {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.625rem;
  background: var(--paper-muted);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--ink);
}
.phone__dot-accent {
  width: 0.375rem; height: 0.375rem;
  border-radius: 50%;
  background: var(--accent);
}
.phone__task {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.625rem;
  font-size: 0.6875rem;
  border-top: 1px solid var(--line-subtle);
}
.phone__check {
  width: 0.875rem; height: 0.875rem;
  border: 2px solid var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}
.phone__check--done {
  background: var(--success-soft);
  border-color: var(--success);
  position: relative;
}
.phone__check--done::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5rem;
  color: var(--success);
}
.phone__task--done { opacity: 0.55; text-decoration: line-through; }
.phone__nav {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  padding: 0.5rem 0.25rem 0.75rem;
  background: rgba(255,255,255,0.95);
  border-top: 1px solid var(--line-subtle);
  margin-top: 0.5rem;
}
.phone__nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.125rem;
  font-size: 0.5rem;
  color: var(--ink-faint);
  font-weight: 600;
}
.phone__nav-fab {
  width: 2rem; height: 2rem;
  background: var(--gradient-brand);
  border-radius: 0.625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -0.5rem;
  box-shadow: var(--shadow-glow);
}
.phone__nav-fab img { width: 1.125rem; height: 1.125rem; object-fit: contain; }
.phone__nav-item--active { color: var(--accent); }

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .hero { padding: calc(var(--header-h) + 4rem) 0 5rem; }
}

/* ===== PROBLEM ===== */
.problems {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
  background: var(--paper-card);
}
.problems__grid {
  display: grid;
  gap: 1.25rem;
}
.problem-card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.problem-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.problem-card__icon {
  width: 2.5rem; height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fef2f2;
  color: #dc2626;
  border-radius: var(--radius);
  font-size: 1.125rem;
  margin-bottom: 1rem;
}
.problem-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.problem-card p {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  line-height: 1.7;
}
@media (min-width: 640px) { .problems__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .problems__grid { grid-template-columns: repeat(4, 1fr); } }

/* ===== SOLUTION ===== */
.solution {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
}
.solution__grid {
  display: grid;
  gap: 1.25rem;
}
.solution-card {
  padding: 1.75rem;
  background: var(--paper-card);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.solution-card__icon {
  width: 3rem; height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  color: var(--accent);
}
.solution-card__icon svg { width: 1.5rem; height: 1.5rem; }
.solution-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.solution-card p {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  line-height: 1.7;
}
@media (min-width: 640px) { .solution__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .solution__grid { grid-template-columns: repeat(3, 1fr); } }

/* ===== SHOWCASE ===== */
.showcase {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
  background: var(--brand-navy);
  color: var(--brand-white);
  overflow: hidden;
}
.showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(2,132,199,0.25), transparent);
  pointer-events: none;
}
.showcase .section-tag { background: rgba(255,255,255,0.1); color: var(--brand-cyan); }
.showcase .section-title { color: var(--brand-white); }
.showcase .section-desc { color: rgba(255,255,255,0.7); }
.showcase__inner {
  display: grid;
  gap: 3rem;
  align-items: center;
}
.showcase__screens {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: end;
}
.showcase-screen {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 1rem;
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s var(--ease);
}
.showcase-screen:nth-child(2) { transform: translateY(-1.5rem); }
.showcase-screen:hover { transform: translateY(-0.5rem); }
.showcase-screen:nth-child(2):hover { transform: translateY(-2rem); }
.showcase-screen__label {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.showcase-screen__bar {
  height: 0.375rem;
  background: var(--paper-muted);
  border-radius: 999px;
  margin-bottom: 0.5rem;
  overflow: hidden;
}
.showcase-screen__bar span {
  display: block;
  height: 100%;
  background: var(--gradient-brand);
  border-radius: 999px;
}
.showcase-screen__row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0;
  font-size: 0.75rem;
  border-bottom: 1px solid var(--line-subtle);
}
.showcase-screen__row:last-child { border: none; }
.showcase__points {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.showcase-point {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.showcase-point__num {
  flex-shrink: 0;
  width: 2rem; height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  font-size: 0.875rem;
  font-weight: 700;
}
.showcase-point h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.25rem; }
.showcase-point p { font-size: 0.875rem; color: rgba(255,255,255,0.65); line-height: 1.6; }
@media (min-width: 900px) {
  .showcase__inner { grid-template-columns: 1fr 1fr; }
}

/* ===== FEATURES DETAIL ===== */
.features {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
}
.feature-block {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--line-subtle);
}
.feature-block:last-child { border: none; }
.feature-block__content h3 {
  font-size: 1.375rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.feature-block__content p {
  color: var(--ink-muted);
  margin-bottom: 1rem;
  line-height: 1.75;
}
.feature-block__list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--ink-muted);
  padding: 0.375rem 0;
}
.feature-block__list li::before {
  content: '';
  width: 0.375rem; height: 0.375rem;
  background: var(--brand-teal);
  border-radius: 50%;
  flex-shrink: 0;
}
.feature-block__visual {
  background: var(--paper-card);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
@media (min-width: 768px) {
  .feature-block { grid-template-columns: 1fr 1fr; }
  .feature-block--reverse .feature-block__content { order: 2; }
  .feature-block--reverse .feature-block__visual { order: 1; }
}

/* ===== REPORTS ===== */
.reports {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--accent-soft) 0%, var(--paper) 100%);
}
.reports__inner {
  display: grid;
  gap: 3rem;
  align-items: center;
}
.reports-card {
  background: var(--paper-card);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.reports-card__insight {
  display: flex;
  gap: 0.75rem;
  padding: 1rem;
  background: linear-gradient(135deg, var(--accent-soft), var(--paper-card));
  border: 1px solid rgba(2,132,199,0.15);
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
}
.reports-card__insight-icon {
  width: 2rem; height: 2rem;
  background: var(--gradient-brand);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
  font-size: 0.875rem;
}
.reports-card__insight p {
  font-size: 0.8125rem;
  color: var(--ink-muted);
  line-height: 1.6;
}
.reports-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.reports-stat {
  padding: 1rem;
  background: var(--paper-muted);
  border-radius: var(--radius);
  text-align: center;
}
.reports-stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
}
.reports-stat span {
  font-size: 0.6875rem;
  color: var(--ink-faint);
}
.reports-ring {
  display: flex;
  justify-content: center;
  margin: 1rem 0;
}
.reports-ring svg { width: 7rem; height: 7rem; }
@media (min-width: 900px) {
  .reports__inner { grid-template-columns: 1fr 1fr; }
}

/* ===== ROUTINES ===== */
.routines {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
}
.routines__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.routine-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 1.5rem;
}
.routine-pill {
  padding: 0.5rem 1rem;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.875rem;
  color: var(--ink-muted);
}
.routine-visual {
  display: grid;
  gap: 0.75rem;
}
.routine-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--paper-card);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.routine-item__icon {
  width: 2.5rem; height: 2.5rem;
  background: var(--success-soft);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
}
.routine-item__info h4 { font-size: 0.9375rem; font-weight: 700; }
.routine-item__info p { font-size: 0.75rem; color: var(--ink-faint); }
.routine-item__streak {
  margin-right: auto;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--success);
}
@media (min-width: 900px) {
  .routines__grid { grid-template-columns: 1fr 1fr; }
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
  background: var(--paper-card);
}
.testimonials__grid {
  display: grid;
  gap: 1.25rem;
}
.testimonial {
  padding: 1.75rem;
  background: var(--paper);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-lg);
}
.testimonial__stars {
  color: #f59e0b;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.testimonial__text {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.testimonial__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.testimonial__avatar {
  width: 2.5rem; height: 2.5rem;
  background: var(--accent-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--accent);
  font-size: 0.875rem;
}
.testimonial__name { font-size: 0.875rem; font-weight: 700; }
.testimonial__role { font-size: 0.75rem; color: var(--ink-faint); }
.testimonial__placeholder {
  font-size: 0.6875rem;
  color: var(--ink-faint);
  margin-top: 0.5rem;
  font-style: italic;
}
@media (min-width: 768px) { .testimonials__grid { grid-template-columns: repeat(3, 1fr); } }

/* ===== FINAL CTA ===== */
.cta-final {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
}
.cta-final__box {
  text-align: center;
  padding: 3.5rem 2rem;
  background: var(--gradient-brand);
  border-radius: var(--radius-xl);
  color: var(--brand-white);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.cta-final__box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.08), transparent 50%);
  pointer-events: none;
}
.cta-final__logo {
  width: 4rem;
  height: auto;
  margin: 0 auto 1.5rem;
  opacity: 0.95;
}
.cta-final h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.cta-final p {
  font-size: 1.0625rem;
  opacity: 0.9;
  max-width: 28rem;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.cta-final__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
.cta-final .btn--primary {
  background: var(--brand-white);
  color: var(--brand-navy);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.cta-final .btn--secondary {
  background: transparent;
  color: var(--brand-white);
  border-color: rgba(255,255,255,0.35);
}
.cta-final .btn--secondary:hover { background: rgba(255,255,255,0.1); }
.cta-final__note {
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  opacity: 0.75;
}

/* ===== FOOTER ===== */
.footer {
  position: relative;
  z-index: 1;
  padding: 3rem 0 2rem;
  background: var(--brand-navy);
  color: rgba(255,255,255,0.7);
}
.footer__grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer__brand p {
  font-size: 0.875rem;
  margin-top: 0.75rem;
  line-height: 1.7;
  max-width: 20rem;
}
.footer__links h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--brand-white);
  margin-bottom: 0.75rem;
}
.footer__links a {
  display: block;
  font-size: 0.875rem;
  padding: 0.25rem 0;
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--brand-cyan); }
.footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}
.footer__social a {
  width: 2.25rem; height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  transition: background 0.2s;
}
.footer__social a:hover { background: rgba(255,255,255,0.15); }
.footer__bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.8125rem;
}
@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr; }
}
