/* ============================================================
   FOCARY.CSS — Complete Design System
   Single source of truth. No CSS in .cshtml files.
   ============================================================ */

/* ── 1. GOOGLE FONTS ──────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── 2. CSS CUSTOM PROPERTIES ─────────────────────────────── */
:root {
  /* Colors */
  --green-deep:    #0B3B2F;
  --green-mid:     #1D976C;
  --green-light:   #93F9B9;
  --green-lacoste: #1B4D3E;
  --green-acid:    #B2FF59;
  --dark:          #121212;
  --dark-2:        #1A1A1A;
  --off-white:     #FEF9F2;
  --card-bg:       rgba(255,255,255,0.06);
  --card-border:   rgba(147,249,185,0.18);

  /* Semantic */
  --bg:            #121212;
  --bg-2:          #1A1A1A;
  --text:          #FEF9F2;
  --text-muted:    rgba(254,249,242,0.55);
  --text-faint:    rgba(254,249,242,0.3);
  --border:        rgba(147,249,185,0.18);
  --border-hover:  rgba(147,249,185,0.4);

  /* Gradients */
  --grad-main:   linear-gradient(135deg, #0B3B2F, #1D976C, #93F9B9);
  --grad-text:   linear-gradient(120deg, #B2FF59, #2E7D32);
  --grad-btn:    linear-gradient(135deg, #1D976C, #1B4D3E);
  --grad-acid:   linear-gradient(135deg, #B2FF59, #76c442);
  --grad-card:   linear-gradient(135deg, rgba(29,151,108,0.15), rgba(11,59,47,0.2));

  /* Shape */
  --radius:    16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Shadow */
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.25);
  --shadow:    0 8px 32px rgba(0,0,0,0.35);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.45);
  --shadow-green: 0 0 30px rgba(29,151,108,0.25);
  --shadow-acid:  0 0 20px rgba(178,255,89,0.3);

  /* Transition */
  --t-fast: 0.15s ease;
  --t:      0.25s ease;
  --t-slow: 0.45s ease;

  /* Navbar */
  --navbar-h: 70px;
}

[data-theme="light"] {
  --bg:         #F4F7F2;
  --bg-2:       #EAEDE8;
  --text:       #1A1A1A;
  --text-muted: rgba(26,26,26,0.55);
  --text-faint: rgba(26,26,26,0.3);
  --card-bg:    rgba(0,0,0,0.04);
  --card-border: rgba(29,151,108,0.22);
  --border:     rgba(29,151,108,0.22);
  --border-hover: rgba(29,151,108,0.5);
}

/* ── 3. RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--green-light);
  text-decoration: none;
  transition: color var(--t-fast);
}
a:hover { color: var(--green-acid); }

ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── 4. TYPOGRAPHY ─────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

p { color: var(--text-muted); line-height: 1.7; }

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.display-1 {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -1.5px;
}

.display-2 {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: -1px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.15;
}

.section-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── 5. LAYOUT ─────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-sm {
  padding: 60px 0;
}

/* ── 6. NAVBAR ─────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  height: var(--navbar-h);
  display: flex;
  align-items: center;
  background: rgba(18,18,18,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: background var(--t), border-color var(--t), box-shadow var(--t);
}

.navbar.scrolled {
  background: rgba(18,18,18,0.92);
  border-bottom-color: var(--card-border);
  box-shadow: var(--shadow-sm);
}

.navbar > .container,
.navbar > .container-wide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: -0.5px;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 100px;
  transition: color var(--t-fast), background var(--t-fast);
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: var(--card-bg);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle {
  display: flex;
  align-items: center;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: 100px;
  transition: all var(--t-fast);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
}

.lang-btn:hover { color: var(--text); }
.lang-btn.active {
  background: var(--grad-btn);
  color: var(--off-white);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--navbar-h);
  background: rgba(18,18,18,0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  z-index: 8500;
  padding: 32px 24px;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 12px 24px;
  border-radius: var(--radius);
  transition: color var(--t-fast);
  text-align: center;
  width: 100%;
}
.mobile-menu a:hover { color: var(--text); }

/* ── 7. BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--t);
  white-space: nowrap;
  line-height: 1;
  letter-spacing: 0.01em;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

.btn-primary {
  background: var(--grad-btn);
  color: var(--off-white);
  box-shadow: 0 4px 20px rgba(29,151,108,0.35);
}
.btn-primary:hover {
  color: var(--off-white);
  box-shadow: 0 8px 30px rgba(29,151,108,0.5);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--border-hover);
  background: var(--card-bg);
  box-shadow: var(--shadow-sm);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
}
.btn-ghost:hover {
  color: var(--text);
  background: var(--card-bg);
}

.btn-danger {
  background: rgba(239,68,68,0.15);
  color: #f87171;
  border: 1px solid rgba(239,68,68,0.3);
}
.btn-danger:hover {
  background: rgba(239,68,68,0.25);
  box-shadow: 0 4px 16px rgba(239,68,68,0.2);
}

.btn-acid {
  background: var(--grad-acid);
  color: #121212;
  font-weight: 700;
  box-shadow: var(--shadow-acid);
}
.btn-acid:hover {
  color: #121212;
  box-shadow: 0 8px 30px rgba(178,255,89,0.45);
}

.btn-sm { font-size: 0.82rem; padding: 8px 20px; }
.btn-lg { font-size: 1.05rem; padding: 16px 40px; }

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  font-size: 1rem;
}

/* ── 8. CARDS ──────────────────────────────────────────────── */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color var(--t), box-shadow var(--t);
}

.card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-green);
}

.card-glass {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(147,249,185,0.1);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.card-body { padding: 24px; }
.card-header { padding: 20px 24px; border-bottom: 1px solid var(--border); }
.card-footer { padding: 20px 24px; border-top: 1px solid var(--border); }

/* ── 9. BADGES ─────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge-pro {
  background: linear-gradient(135deg, rgba(178,255,89,0.2), rgba(178,255,89,0.1));
  color: var(--green-acid);
  border: 1px solid rgba(178,255,89,0.35);
  box-shadow: 0 0 12px rgba(178,255,89,0.15);
}

.badge-free {
  background: rgba(255,255,255,0.06);
  color: var(--text-muted);
  border: 1px solid rgba(255,255,255,0.1);
}

.badge-secure {
  background: rgba(29,151,108,0.12);
  color: var(--green-light);
  border: 1px solid rgba(29,151,108,0.3);
}

.badge-new {
  background: linear-gradient(135deg, rgba(178,255,89,0.25), rgba(29,151,108,0.2));
  color: var(--green-acid);
  border: 1px solid rgba(178,255,89,0.4);
  box-shadow: 0 0 16px rgba(178,255,89,0.2);
  animation: badge-glow 2.5s ease-in-out infinite;
}

@keyframes badge-glow {
  0%, 100% { box-shadow: 0 0 10px rgba(178,255,89,0.15); }
  50% { box-shadow: 0 0 22px rgba(178,255,89,0.35); }
}

/* ── 10. HERO ──────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--navbar-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(29,151,108,0.18) 0%, transparent 70%),
              radial-gradient(ellipse 60% 50% at 80% 80%, rgba(11,59,47,0.25) 0%, transparent 60%);
  z-index: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: float 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(29,151,108,0.18) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  animation-duration: 10s;
}

.hero-orb-2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(147,249,185,0.12) 0%, transparent 70%);
  bottom: 0;
  left: -80px;
  animation-duration: 7s;
  animation-delay: -3s;
}

.hero-orb-3 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(178,255,89,0.08) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  animation-duration: 12s;
  animation-delay: -6s;
}

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

@keyframes pulse-slow {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50%       { transform: scale(1.08); opacity: 1; }
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.6); opacity: 0.5; }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(29,151,108,0.12);
  border: 1px solid rgba(29,151,108,0.3);
  color: var(--green-light);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 32px;
  letter-spacing: 0.04em;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-acid);
  animation: pulse-dot 2s ease-in-out infinite;
  display: inline-block;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
  color: var(--text);
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 2rem;
  color: var(--text);
  display: block;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── 11. FEATURE CARDS ─────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.feature-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px;
  overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-card);
  opacity: 0;
  transition: opacity var(--t);
  pointer-events: none;
}

.feature-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-green);
  transform: translateY(-4px);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  position: relative;
  z-index: 1;
}

.feature-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

/* ── 12. TIMER COMPONENTS ──────────────────────────────────── */
.timer-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.timer-circle-wrap {
  position: relative;
  width: 280px;
  height: 280px;
  flex-shrink: 0;
}

.timer-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.timer-bg-circle {
  fill: none;
  stroke: rgba(255,255,255,0.06);
  stroke-width: 6;
}

.timer-progress-circle {
  fill: none;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 754;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1s linear, stroke var(--t);
}

.timer-progress-work {
  stroke: url(#timerGrad);
}

.timer-progress-break {
  stroke: #60a5fa;
}

.timer-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.timer-time {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 3.8rem;
  color: var(--text);
  letter-spacing: -2px;
  line-height: 1;
}

.timer-label {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.timer-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.timer-btn-main {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--grad-btn);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--off-white);
  box-shadow: 0 4px 20px rgba(29,151,108,0.4);
  transition: transform var(--t), box-shadow var(--t);
}

.timer-btn-main:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 30px rgba(29,151,108,0.6);
}

.timer-btn-main:active { transform: scale(0.97); }

.timer-mode-tabs {
  display: flex;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px;
  gap: 2px;
}

.timer-mode-btn {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 7px 16px;
  border-radius: 100px;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all var(--t-fast);
  white-space: nowrap;
}

.timer-mode-btn:hover { color: var(--text); }
.timer-mode-btn.active {
  background: var(--grad-btn);
  color: var(--off-white);
}

.timer-task-select {
  width: 100%;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 10px 16px;
  font-size: 0.9rem;
  outline: none;
  cursor: pointer;
  transition: border-color var(--t-fast);
  appearance: none;
  -webkit-appearance: none;
}

.timer-task-select:focus { border-color: var(--green-mid); }

.pomodoro-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: inline-block;
  transition: background var(--t-fast);
}

.pomodoro-dot.filled {
  background: var(--green-acid);
  box-shadow: 0 0 8px rgba(178,255,89,0.5);
}

/* ── 13. AI BANNER ─────────────────────────────────────────── */
.ai-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(178,255,89,0.06);
  border: 1px solid rgba(178,255,89,0.25);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  margin-bottom: 24px;
  gap: 12px;
  flex-wrap: wrap;
}

.ai-banner-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-acid);
  flex-shrink: 0;
  animation: ai-pulse 2s ease-in-out infinite;
}

@keyframes ai-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(178,255,89,0.5); opacity: 1; }
  50%       { box-shadow: 0 0 0 6px rgba(178,255,89,0); opacity: 0.7; }
}

.ai-banner-text {
  font-size: 14px;
  color: var(--text-muted);
  flex: 1;
}

.ai-banner-link {
  color: var(--green-acid);
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
  background: none;
  border: none;
  padding: 0;
  transition: opacity var(--t-fast);
  text-decoration: none;
  white-space: nowrap;
}

.ai-banner-link:hover { opacity: 0.8; color: var(--green-acid); }

/* ── 14. SOCIAL PROOF TOASTS ───────────────────────────────── */
.social-proof-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 8000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.social-proof-toast {
  background: rgba(18,28,22,0.96);
  border: 1px solid rgba(147,249,185,0.2);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
  max-width: 320px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  pointer-events: auto;
  animation: toast-slide-in 0.4s cubic-bezier(0.34,1.56,0.64,1) forwards;
}

.social-proof-toast.hiding {
  animation: toast-fade-out 0.35s ease forwards;
}

@keyframes toast-slide-in {
  from { transform: translateX(-100%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

@keyframes toast-fade-out {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(-20px); }
}

.social-proof-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.social-proof-avatar-1 { background: linear-gradient(135deg, #1D976C, #0B3B2F); }
.social-proof-avatar-2 { background: linear-gradient(135deg, #667eea, #764ba2); }
.social-proof-avatar-3 { background: linear-gradient(135deg, #f093fb, #f5576c); }
.social-proof-avatar-4 { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.social-proof-avatar-5 { background: linear-gradient(135deg, #43e97b, #38f9d7); }

.social-proof-content { flex: 1; min-width: 0; }

.social-proof-name {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.social-proof-msg {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.social-proof-icon { font-size: 18px; flex-shrink: 0; }

/* ── 15. DASHBOARD LAYOUT ──────────────────────────────────── */
.dashboard-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
  padding-top: var(--navbar-h);
}

.sidebar {
  position: sticky;
  top: var(--navbar-h);
  height: calc(100vh - var(--navbar-h));
  overflow-y: auto;
  background: var(--bg-2);
  border-right: 1px solid var(--border);
  padding: 24px 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
  transition: left var(--t);
}

.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-track { background: transparent; }
.sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.sidebar-section-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  padding: 8px 12px 4px;
  margin-top: 8px;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--t-fast);
  text-decoration: none;
  margin-bottom: 2px;
}

.sidebar-item:hover {
  background: var(--card-bg);
  color: var(--text);
}

.sidebar-item.active {
  background: rgba(29,151,108,0.15);
  color: var(--green-light);
  border: 1px solid rgba(29,151,108,0.2);
}

.sidebar-icon {
  font-size: 1rem;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.main-content {
  padding: 32px;
  overflow-x: hidden;
}

/* ── 16. STATS ─────────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.stat-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
  overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t);
}

.stat-card::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29,151,108,0.15) 0%, transparent 70%);
  top: -20px;
  right: -20px;
  pointer-events: none;
}

.stat-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-green);
}

.stat-value {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 2.4rem;
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-change {
  font-size: 12px;
  color: var(--green-mid);
  font-weight: 600;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.stat-change.negative { color: #f87171; }

/* ── 17. TASK LIST ─────────────────────────────────────────── */
.task-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--card-bg);
  border: 1px solid transparent;
  transition: all var(--t-fast);
  cursor: pointer;
  margin-bottom: 6px;
}

.task-item:hover {
  border-color: var(--border);
  background: rgba(255,255,255,0.08);
}

.task-item.completed { opacity: 0.45; }

.task-checkbox {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-fast);
  cursor: pointer;
}

.task-checkbox:hover { border-color: var(--green-mid); }

.task-checkbox.checked {
  background: var(--green-mid);
  border-color: var(--green-mid);
  color: #fff;
  font-size: 11px;
}

.task-title {
  flex: 1;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}

.task-title.completed { text-decoration: line-through; color: var(--text-muted); }

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

.priority-dot-low    { background: #60a5fa; }
.priority-dot-normal { background: var(--green-mid); }
.priority-dot-high   { background: #fb923c; }
.priority-dot-urgent { background: #f87171; }

/* ── 18. PROJECTS ──────────────────────────────────────────── */
.project-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--t-fast);
  text-decoration: none;
}

.project-chip:hover {
  border-color: var(--border-hover);
  color: var(--text);
  background: rgba(255,255,255,0.08);
}

.project-chip.active {
  color: var(--text);
  border-color: var(--border-hover);
}

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

/* ── 19. ANALYTICS CHARTS ──────────────────────────────────── */
.chart-bar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.chart-bar {
  width: 100%;
  background: var(--grad-btn);
  border-radius: 4px 4px 0 0;
  min-height: 4px;
  transition: height var(--t), opacity var(--t);
}

.chart-bar-label {
  font-size: 11px;
  color: var(--text-faint);
  white-space: nowrap;
}

#weekly-chart {
  display: flex;
  align-items: flex-end;
  height: 140px;
  gap: 6px;
  padding-bottom: 24px;
  width: 100%;
}

.heatmap-grid {
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  gap: 3px;
}

.heatmap-cell {
  height: 16px;
  border-radius: 3px;
  background: rgba(29,151,108,0.12);
  transition: background var(--t-fast);
  cursor: default;
}

.heatmap-cell[data-level="1"] { background: rgba(29,151,108,0.25); }
.heatmap-cell[data-level="2"] { background: rgba(29,151,108,0.45); }
.heatmap-cell[data-level="3"] { background: rgba(29,151,108,0.65); }
.heatmap-cell[data-level="4"] { background: var(--green-mid); }
.heatmap-cell[data-level="5"] { background: var(--green-acid); }

/* Blurred pro gate overlay */
.pro-blur-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.pro-blur-wrap .pro-overlay {
  position: absolute;
  inset: 0;
  background: rgba(18,18,18,0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 10;
  border-radius: var(--radius);
}

.pro-overlay-icon { font-size: 2rem; }
.pro-overlay-text { font-size: 0.9rem; color: var(--text-muted); text-align: center; }

/* ── 20. BLOG ──────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.blog-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-green);
  transform: translateY(-4px);
}

.blog-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.blog-card-img-placeholder {
  width: 100%;
  height: 220px;
  background: var(--grad-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.blog-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-category {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-mid);
  margin-bottom: 8px;
}

.blog-card-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-faint);
  margin-top: auto;
}

/* Blog post layout */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

.blog-content {
  min-width: 0;
}

.blog-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text);
  margin: 40px 0 16px;
}

.blog-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin: 28px 0 12px;
}

.blog-content p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.blog-content img {
  width: 100%;
  border-radius: var(--radius-sm);
  margin: 24px 0;
}

.blog-content a {
  color: var(--green-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-content blockquote {
  border-left: 3px solid var(--green-mid);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--card-bg);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-muted);
  font-style: italic;
}

.blog-content code {
  font-family: 'Courier New', monospace;
  font-size: 0.85em;
  background: rgba(255,255,255,0.08);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--green-light);
}

.blog-content pre {
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  overflow-x: auto;
  margin: 24px 0;
}

.blog-content pre code {
  background: none;
  padding: 0;
  font-size: 0.88rem;
}

.blog-content ul,
.blog-content ol {
  color: var(--text-muted);
  padding-left: 24px;
  margin-bottom: 20px;
  line-height: 1.8;
  list-style: initial;
}

.blog-content ol { list-style: decimal; }

.blog-content li { margin-bottom: 6px; }

.blog-sidebar { position: sticky; top: calc(var(--navbar-h) + 24px); }

.sidebar-widget {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar-widget-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-pill {
  display: inline-block;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--t-fast);
  text-decoration: none;
}

.tag-pill:hover {
  border-color: var(--green-mid);
  color: var(--green-light);
}

/* ── 21. PRICING ───────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}

.pricing-card.popular {
  border-color: rgba(29,151,108,0.5);
  background: rgba(29,151,108,0.07);
  box-shadow: var(--shadow-green);
}

.pricing-card:hover { transform: translateY(-4px); }
.pricing-card.popular:hover { box-shadow: 0 20px 60px rgba(29,151,108,0.35); }

.pricing-card.popular::before {
  content: 'Most Popular';
  position: absolute;
  top: 20px;
  right: -28px;
  background: var(--grad-btn);
  color: var(--off-white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 36px;
  transform: rotate(35deg);
  transform-origin: center;
}

.pricing-price {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 3rem;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-period {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  font-weight: 400;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-features li::before {
  content: '✓';
  color: var(--green-acid);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-features li.disabled {
  opacity: 0.4;
}

.pricing-features li.disabled::before {
  content: '✗';
  color: var(--text-faint);
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.pricing-toggle-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  cursor: pointer;
  transition: color var(--t-fast);
}

.pricing-toggle-label.active { color: var(--text); }

.pricing-toggle-switch {
  width: 48px;
  height: 26px;
  border-radius: 100px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  position: relative;
  cursor: pointer;
  transition: background var(--t);
}

.pricing-toggle-switch.on { background: var(--green-mid); border-color: var(--green-mid); }

.pricing-toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: left var(--t);
}

.pricing-toggle-switch.on .pricing-toggle-knob { left: 25px; }

.pricing-annual-label {
  background: rgba(178,255,89,0.15);
  color: var(--green-acid);
  border: 1px solid rgba(178,255,89,0.3);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  letter-spacing: 0.04em;
}

/* ── 22. UPGRADE MODAL SPECIAL ─────────────────────────────── */
.upgrade-modal-price {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 3.5rem;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.upgrade-modal-period {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.upgrade-annual-badge {
  display: inline-block;
  background: rgba(178,255,89,0.15);
  color: var(--green-acid);
  border: 1px solid rgba(178,255,89,0.3);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}

.upgrade-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.upgrade-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.upgrade-features li::before {
  content: '✓';
  color: var(--green-acid);
  font-weight: 700;
  font-size: 13px;
}

/* ── 23. FORMS ─────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.form-control {
  width: 100%;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 12px 16px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  appearance: none;
  -webkit-appearance: none;
}

.form-control::placeholder { color: var(--text-faint); }

.form-control:focus {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(29,151,108,0.15);
}

.form-control:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

textarea.form-control { resize: vertical; min-height: 100px; }
select.form-control { cursor: pointer; }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.form-check-input {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 2px solid var(--border);
  background: var(--card-bg);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all var(--t-fast);
}

.form-check-input:checked {
  background: var(--green-mid);
  border-color: var(--green-mid);
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

.form-check-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  cursor: pointer;
}

.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.alert-success {
  background: rgba(29,151,108,0.12);
  border: 1px solid rgba(29,151,108,0.3);
  color: var(--green-light);
}

.alert-error {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  color: #fca5a5;
}

.alert-warning {
  background: rgba(251,146,60,0.1);
  border: 1px solid rgba(251,146,60,0.3);
  color: #fdba74;
}

.alert-info {
  background: rgba(96,165,250,0.1);
  border: 1px solid rgba(96,165,250,0.3);
  color: #93c5fd;
}

/* Validation */
.field-validation-error {
  font-size: 0.8rem;
  color: #f87171;
  margin-top: 5px;
  display: block;
}

.input-validation-error {
  border-color: rgba(239,68,68,0.5) !important;
}

/* ── 24. MODALS ─────────────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open { display: flex; }

.modal {
  background: #1a1a1a;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modal-in 0.35s cubic-bezier(0.34,1.56,0.64,1) forwards;
}

@keyframes modal-in {
  from { opacity: 0; transform: scale(0.92) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
}

.modal-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--text);
  line-height: 1.2;
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--t-fast);
}

.modal-close:hover { color: var(--text); border-color: var(--border-hover); }

/* ── 25. COOKIE BANNER ─────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: 600px;
  background: rgba(26,26,26,0.97);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px 28px;
  z-index: 9500;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
  display: none;
}

.cookie-banner.show {
  display: block;
  animation: slide-up 0.4s cubic-bezier(0.34,1.56,0.64,1) forwards;
}

@keyframes slide-up {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.cookie-banner-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 8px;
}

.cookie-banner-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

/* ── 26. UPGRADE BAR ───────────────────────────────────────── */
.upgrade-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(135deg, rgba(29,151,108,0.15), rgba(11,59,47,0.2));
  border: 1px solid rgba(29,151,108,0.3);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.upgrade-bar-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.upgrade-bar-text strong { color: var(--green-light); }

/* ── 27. ADMIN STYLES ──────────────────────────────────────── */
.admin-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
  padding-top: var(--navbar-h);
}

.admin-sidebar {
  background: var(--bg-2);
  border-right: 1px solid var(--border);
  padding: 24px 16px;
  position: sticky;
  top: var(--navbar-h);
  height: calc(100vh - var(--navbar-h));
  overflow-y: auto;
}

.admin-logo {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.1rem;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
  padding: 0 12px;
}

.admin-nav-section {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  padding: 12px 12px 4px;
  margin-top: 8px;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.87rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--t-fast);
  text-decoration: none;
  margin-bottom: 2px;
}

.admin-nav-item:hover { background: var(--card-bg); color: var(--text); }
.admin-nav-item.active {
  background: rgba(29,151,108,0.15);
  color: var(--green-light);
  border: 1px solid rgba(29,151,108,0.2);
}

.admin-main { padding: 32px; }

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
  flex-wrap: wrap;
}

.admin-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--text);
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.admin-stat {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.admin-stat-val {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}

.admin-stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.admin-table th {
  background: rgba(255,255,255,0.03);
  color: var(--text-faint);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.admin-table td {
  padding: 12px 16px;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(147,249,185,0.07);
  vertical-align: middle;
}

.admin-table tr:last-child td { border-bottom: none; }

.admin-table tr:hover td {
  background: rgba(255,255,255,0.02);
  color: var(--text);
}

.tag-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tag-active   { background: rgba(29,151,108,0.15); color: var(--green-light); }
.tag-inactive { background: rgba(255,255,255,0.06); color: var(--text-muted); }
.tag-pro      { background: rgba(178,255,89,0.15); color: var(--green-acid); border: 1px solid rgba(178,255,89,0.25); }
.tag-free     { background: rgba(255,255,255,0.06); color: var(--text-muted); }
.tag-pending  { background: rgba(251,146,60,0.12); color: #fdba74; }
.tag-completed{ background: rgba(29,151,108,0.12); color: var(--green-light); }
.tag-blocked  { background: rgba(239,68,68,0.12); color: #fca5a5; }

.editor-toolbar {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  padding: 8px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.editor-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all var(--t-fast);
}

.editor-btn:hover {
  background: var(--card-bg);
  color: var(--text);
}

#wysiwyg-editor {
  min-height: 400px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  padding: 20px;
  color: var(--text);
  outline: none;
  font-size: 0.95rem;
  line-height: 1.7;
}

#wysiwyg-editor:focus { border-color: var(--green-mid); }

#wysiwyg-editor p { margin-bottom: 12px; }
#wysiwyg-editor h2 { font-family: 'Playfair Display', serif; font-size: 1.4rem; margin: 20px 0 10px; }
#wysiwyg-editor h3 { font-family: 'Playfair Display', serif; font-size: 1.15rem; margin: 16px 0 8px; }
#wysiwyg-editor a { color: var(--green-light); }
#wysiwyg-editor blockquote { border-left: 3px solid var(--green-mid); padding-left: 16px; opacity: 0.8; }
#wysiwyg-editor ul, #wysiwyg-editor ol { padding-left: 24px; }
#wysiwyg-editor ul { list-style: disc; }
#wysiwyg-editor ol { list-style: decimal; }

.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-faint);
  margin-bottom: 24px;
}

.page-breadcrumb a { color: var(--text-muted); transition: color var(--t-fast); }
.page-breadcrumb a:hover { color: var(--text); }
.page-breadcrumb span { color: var(--text-muted); }

/* ── 28. FOOTER ────────────────────────────────────────────── */
footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand p {
  max-width: 280px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 12px;
}

.footer-brand .nav-logo { font-size: 1.4rem; }

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--t-fast);
}

.footer-links a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding: 24px 0;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-faint);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 13px;
  color: var(--text-faint);
  transition: color var(--t-fast);
}

.footer-bottom-links a:hover { color: var(--text-muted); }

/* ── 29. SCROLL REVEAL ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── 30. AD SLOTS ──────────────────────────────────────────── */
.ad-slot {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(147,249,185,0.12);
  border-radius: var(--radius-sm);
  padding: 8px;
  overflow: hidden;
}

.ad-slot:empty { display: none; }

/* ── 31. UTILITY CLASSES ───────────────────────────────────── */
.d-flex       { display: flex; }
.d-grid       { display: grid; }
.d-none       { display: none; }
.d-block      { display: block; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.flex-col     { flex-direction: column; }
.flex-1       { flex: 1; }
.flex-wrap    { flex-wrap: wrap; }

.gap-4  { gap: 4px; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }

.mb-0  { margin-bottom: 0; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mr-8  { margin-right: 8px; }
.ml-auto { margin-left: auto; }

.p-0   { padding: 0; }
.p-16  { padding: 16px; }
.p-24  { padding: 24px; }
.p-32  { padding: 32px; }

.text-center  { text-align: center; }
.text-right   { text-align: right; }
.text-muted   { color: var(--text-muted); }
.text-faint   { color: var(--text-faint); }
.text-green   { color: var(--green-light); }
.text-acid    { color: var(--green-acid); }
.text-danger  { color: #f87171; }
.text-sm      { font-size: 0.85rem; }
.text-xs      { font-size: 0.75rem; }
.font-bold    { font-weight: 700; }
.font-600     { font-weight: 600; }
.font-playfair { font-family: 'Playfair Display', serif; }

.w-100  { width: 100%; }
.mw-400 { max-width: 400px; }
.mw-600 { max-width: 600px; }
.mw-800 { max-width: 800px; }

.divider {
  height: 1px;
  background: var(--border);
  margin: 24px 0;
}

.rounded   { border-radius: var(--radius); }
.rounded-sm { border-radius: var(--radius-sm); }
.rounded-full { border-radius: 100px; }

.overflow-hidden { overflow: hidden; }
.position-relative { position: relative; }
.cursor-pointer { cursor: pointer; }

.separator {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-faint);
  font-size: 0.82rem;
  margin: 20px 0;
}

.separator::before, .separator::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ── 32. RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .admin-layout {
    grid-template-columns: 200px 1fr;
  }
}

@media (max-width: 768px) {
  /* Navbar */
  .nav-links { display: none; }
  .nav-right .btn { display: none; }
  .hamburger { display: flex; }

  /* Dashboard */
  .dashboard-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: fixed;
    left: -100%;
    top: var(--navbar-h);
    height: calc(100vh - var(--navbar-h));
    width: 260px;
    z-index: 8800;
    transition: left 0.3s ease;
    box-shadow: var(--shadow-lg);
  }

  .sidebar.open { left: 0; }

  .main-content { padding: 20px; }

  /* Stats */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Admin */
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: relative;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .admin-main { padding: 20px; }

  /* Blog */
  .blog-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  /* Hero */
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .hero-stats { gap: 32px; }

  /* Section */
  .section { padding: 64px 0; }
  .section-sm { padding: 40px 0; }

  /* Timer */
  .timer-circle-wrap { width: 240px; height: 240px; }
  .timer-time { font-size: 3rem; }

  /* Container */
  .container, .container-wide { padding: 0 16px; }

  /* Social proof */
  .social-proof-container { bottom: 16px; left: 16px; }
  .social-proof-toast { min-width: 220px; max-width: 280px; }

  /* Modals */
  .modal { padding: 28px 24px; }

  /* Pricing */
  .pricing-grid { grid-template-columns: 1fr; max-width: 100%; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .modal { padding: 24px 20px; }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }

  .hero-title { font-size: clamp(2.2rem, 10vw, 3rem); }

  .features-grid { grid-template-columns: 1fr; }

  .timer-circle-wrap { width: 210px; height: 210px; }
  .timer-time { font-size: 2.6rem; }

  .display-1 { font-size: clamp(2.2rem, 8vw, 3.2rem); }
  .display-2 { font-size: clamp(1.8rem, 6vw, 2.5rem); }

  .admin-stat-grid { grid-template-columns: 1fr 1fr; }

  .heatmap-grid { grid-template-columns: repeat(12, 1fr); }
}

/* ── PRINT ─────────────────────────────────────────────────── */
@media print {
  .navbar, .sidebar, .cookie-banner,
  .social-proof-container, .ad-slot,
  .upgrade-bar, .hamburger { display: none !important; }

  .dashboard-layout { grid-template-columns: 1fr; }
  .main-content { padding: 0; }
  body { background: #fff; color: #000; }
}

/* ── Pro Blur Overlay (dashboard + analytics gates) ─────── */
.pro-blur-overlay {
    position: absolute;
    inset: 0;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(0,0,0,0.5);
    border-radius: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    z-index: 10;
    text-align: center;
    padding: 24px;
}
