/* ══════════════════════════════════════════════════════════════
   KEEPLY LANDING PAGE — GLASSMORPHISM DESIGN SYSTEM
   ──────────────────────────────────────────────────────────────
   Style       : Glassmorphism (ui-ux-pro-max #3)
   Typography  : Plus Jakarta Sans (Friendly SaaS #13)
   Pattern     : Hero + Features + Testimonials + Pricing + CTA
   Background  : Aurora Mesh Gradient (animated)
   ══════════════════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ─── */
:root {
  /* Glass */
  --glass-blur: 20px;
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-bg-hover: rgba(255, 255, 255, 0.14);
  --glass-bg-strong: rgba(255, 255, 255, 0.12);
  --glass-border: 1px solid rgba(255, 255, 255, 0.15);
  --glass-border-hover: 1px solid rgba(255, 255, 255, 0.30);
  --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.18);
  --glass-shadow-hover: 0 16px 48px rgba(31, 38, 135, 0.28);
  --glass-inset-bg: rgba(255, 255, 255, 0.06);
  --glass-inset-border: 1px solid rgba(255, 255, 255, 0.08);

  /* Typography */
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;
  --fs-3xl: 2.5rem;
  --fs-4xl: 3.25rem;
  --fs-5xl: 4rem;
  --fw-light: 300;
  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;
  --lh-tight: 1.15;
  --lh-snug: 1.3;
  --lh-normal: 1.6;
  --lh-relaxed: 1.8;

  /* Spacing (8dp rhythm) */
  --sp-1: 4px;   --sp-2: 8px;    --sp-3: 12px;
  --sp-4: 16px;  --sp-5: 20px;   --sp-6: 24px;
  --sp-8: 32px;  --sp-10: 40px;  --sp-12: 48px;
  --sp-16: 64px; --sp-20: 80px;  --sp-24: 96px;
  --sp-32: 128px;

  /* Border radius */
  --r-sm: 8px;   --r-md: 12px;   --r-lg: 16px;
  --r-xl: 20px;  --r-2xl: 24px;  --r-full: 9999px;

  /* Colors — Text */
  --text-primary: rgba(255, 255, 255, 0.95);
  --text-secondary: rgba(255, 255, 255, 0.70);
  --text-tertiary: rgba(255, 255, 255, 0.45);
  --text-on-accent: #ffffff;

  /* Colors — Accent */
  --violet: #a78bfa;    --violet-dim: rgba(167, 139, 250, 0.15);
  --indigo: #818cf8;    --indigo-dim: rgba(129, 140, 248, 0.15);
  --blue: #60a5fa;      --blue-dim: rgba(96, 165, 250, 0.15);
  --teal: #2dd4bf;      --teal-dim: rgba(45, 212, 191, 0.15);
  --green: #34d399;     --green-dim: rgba(52, 211, 153, 0.15);
  --pink: #f472b6;      --pink-dim: rgba(244, 114, 182, 0.15);
  --amber: #fbbf24;     --amber-dim: rgba(251, 191, 36, 0.12);
  --coral: #fb923c;

  /* Animation */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 150ms;
  --dur-normal: 300ms;
  --dur-slow: 500ms;

  /* Layout */
  --container-max: 1200px;
  --header-h: 72px;
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  font-family: var(--font);
  font-size: var(--fs-base);
  font-weight: var(--fw-normal);
  line-height: var(--lh-normal);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
button { font-family: inherit; border: none; background: none; cursor: pointer; color: inherit; }
input { font-family: inherit; border: none; outline: none; background: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; height: auto; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ─── UTILITIES ─── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.gradient-text {
  background: linear-gradient(135deg, var(--violet) 0%, var(--blue) 40%, var(--teal) 80%, var(--amber) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--r-xl);
}

.glass-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-1) var(--sp-4);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-full);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text-secondary);
}

.glass-inset {
  background: var(--glass-inset-bg);
  border: var(--glass-inset-border);
  border-radius: var(--r-md);
}

.glass-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--text-secondary);
  white-space: nowrap;
}

/* ══════════════════════════════════════════════════════════════
   MESH GRADIENT BACKGROUND
   ══════════════════════════════════════════════════════════════ */
.mesh-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(140deg,
    #0c0720 0%,
    #130d30 12%,
    #1a1040 25%,
    #0f1535 45%,
    #0d1a3a 60%,
    #0a1225 80%,
    #080e1e 100%
  );
  overflow: hidden;
}

.mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.55;
  will-change: transform;
  animation: blobDrift 25s ease-in-out infinite;
}

.mesh-blob--1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, #7c3aed 0%, transparent 70%);
  top: -15%; left: -8%;
  animation-duration: 30s;
}
.mesh-blob--2 {
  width: 550px; height: 550px;
  background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
  top: 15%; right: -12%;
  animation-delay: -6s; animation-duration: 26s;
}
.mesh-blob--3 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #ec4899 0%, transparent 70%);
  bottom: 10%; left: 25%;
  animation-delay: -12s; animation-duration: 32s;
}
.mesh-blob--4 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #14b8a6 0%, transparent 70%);
  top: 55%; left: 5%;
  animation-delay: -8s; animation-duration: 22s;
}
.mesh-blob--5 {
  width: 450px; height: 450px;
  background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
  bottom: 25%; right: 10%;
  animation-delay: -15s; animation-duration: 28s;
}
.mesh-blob--6 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, #f59e0b 0%, transparent 70%);
  top: 35%; left: 50%;
  animation-delay: -18s; animation-duration: 34s;
  opacity: 0.3;
}

@keyframes blobDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25%      { transform: translate(50px, -40px) scale(1.06); }
  50%      { transform: translate(-30px, 30px) scale(0.94); }
  75%      { transform: translate(40px, 50px) scale(1.03); }
}

/* ══════════════════════════════════════════════════════════════
   GLASS HEADER
   ══════════════════════════════════════════════════════════════ */
.glass-header {
  position: fixed;
  top: var(--sp-3);
  left: var(--sp-4);
  right: var(--sp-4);
  z-index: 100;
  background: rgba(12, 8, 32, 0.45);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--r-xl);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: all var(--dur-normal) var(--ease);
}

.glass-header.scrolled {
  background: rgba(12, 8, 32, 0.70);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 var(--sp-6);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  transition: opacity var(--dur-fast) var(--ease);
}
.logo:hover { opacity: 0.85; }

.logo__text {
  font-size: var(--fs-xl);
  font-weight: var(--fw-extrabold);
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--violet), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navigation */
.header__nav {
  display: flex;
  gap: var(--sp-8);
}

.nav-link {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text-secondary);
  padding: var(--sp-2) 0;
  position: relative;
  transition: color var(--dur-fast) var(--ease);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--blue));
  border-radius: 1px;
  transition: width var(--dur-normal) var(--ease);
}

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

.nav-link:hover::after {
  width: 100%;
}

/* Header actions */
.header__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--r-md);
  transition: all var(--dur-normal) var(--ease);
  white-space: nowrap;
  cursor: pointer;
}

.btn--primary {
  background: linear-gradient(135deg, var(--violet), var(--indigo));
  color: var(--text-on-accent);
  border: 1px solid rgba(167, 139, 250, 0.3);
  box-shadow: 0 4px 16px rgba(167, 139, 250, 0.3),
              inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(167, 139, 250, 0.45),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.22);
}

.btn--lg {
  padding: var(--sp-4) var(--sp-8);
  font-size: var(--fs-base);
  border-radius: var(--r-lg);
}

.btn--full {
  width: 100%;
}

/* Mobile menu toggle */
.mobile-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 22px;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: all var(--dur-normal) var(--ease);
}

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

/* Mobile dropdown */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: var(--sp-2);
  padding: 0 var(--sp-6) var(--sp-6);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

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

.mobile-menu__link {
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  color: var(--text-secondary);
  padding: var(--sp-3) 0;
  transition: color var(--dur-fast) var(--ease);
}
.mobile-menu__link:hover { color: var(--text-primary); }

/* ══════════════════════════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════════════════════════ */
.hero {
  padding: calc(var(--header-h) + var(--sp-20)) 0 var(--sp-16);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}

.hero__content {
  max-width: 560px;
}

.hero__badge {
  margin-bottom: var(--sp-6);
  animation: fadeInUp var(--dur-slow) var(--ease) both;
}

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

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

.hero__title {
  font-size: var(--fs-5xl);
  font-weight: var(--fw-extrabold);
  line-height: var(--lh-tight);
  letter-spacing: -1.5px;
  margin-bottom: var(--sp-6);
  animation: fadeInUp var(--dur-slow) var(--ease) 0.1s both;
}

.hero__subtitle {
  font-size: var(--fs-md);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-8);
  max-width: 480px;
  animation: fadeInUp var(--dur-slow) var(--ease) 0.2s both;
}

.hero__actions {
  display: flex;
  gap: var(--sp-4);
  margin-bottom: var(--sp-10);
  animation: fadeInUp var(--dur-slow) var(--ease) 0.3s both;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  animation: fadeInUp var(--dur-slow) var(--ease) 0.4s both;
}

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

.stat-number {
  display: block;
  font-size: var(--fs-2xl);
  font-weight: var(--fw-extrabold);
  color: var(--text-primary);
  line-height: var(--lh-tight);
}

.stat-label {
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
  font-weight: var(--fw-medium);
}

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

/* ─── Hero Mockup ─── */
.hero__mockup {
  position: relative;
  animation: fadeInUp 0.8s var(--ease) 0.3s both;
}

.mockup-frame {
  padding: var(--sp-5);
  border-radius: var(--r-2xl);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 80px rgba(31, 38, 135, 0.25),
              0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: transform var(--dur-slow) var(--ease);
}

.mockup-frame:hover {
  transform: translateY(-6px) rotateX(2deg);
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: var(--sp-3);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.dot--red    { background: #ef4444; }
.dot--yellow { background: #fbbf24; }
.dot--green  { background: #34d399; }

.mockup-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
}

.mockup-input {
  padding: var(--sp-3) var(--sp-4);
  margin-bottom: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--text-tertiary);
}

.mockup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-2);
}

.mockup-note {
  padding: var(--sp-3);
  border-radius: var(--r-md);
  font-size: 11px;
  line-height: 1.4;
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--dur-normal) var(--ease);
}
.mockup-note:hover {
  border-color: rgba(255, 255, 255, 0.20);
  transform: translateY(-2px);
}

.mockup-note strong {
  display: block;
  font-size: 12px;
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  margin-bottom: 4px;
}

.mockup-note p { color: var(--text-tertiary); font-size: 10px; }

.mockup-note--purple { background: rgba(167, 139, 250, 0.10); }
.mockup-note--teal   { background: rgba(45, 212, 191, 0.10); }
.mockup-note--pink   { background: rgba(244, 114, 182, 0.10); }
.mockup-note--amber  { background: rgba(251, 191, 36, 0.08); }
.mockup-note--green  { background: rgba(52, 211, 153, 0.10); }
.mockup-note--blue   { background: rgba(96, 165, 250, 0.10); }

.mockup-checklist {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mcheck {
  font-size: 10px;
  color: var(--text-tertiary);
}
.mcheck.done {
  text-decoration: line-through;
  opacity: 0.6;
}

.mockup-labels { margin-top: 6px; }
.mlabel {
  font-size: 9px;
  padding: 1px 6px;
  border-radius: var(--r-full);
  font-weight: var(--fw-semibold);
}
.mlabel--v {
  background: rgba(167, 139, 250, 0.2);
  color: var(--violet);
}

/* Floating decorative pills */
.mockup-float {
  position: absolute;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  animation: floatPill 6s ease-in-out infinite;
}
.mockup-float--1 {
  top: -12px; right: -20px;
  animation-delay: 0s;
}
.mockup-float--2 {
  bottom: 60px; left: -30px;
  animation-delay: -2s;
}
.mockup-float--3 {
  bottom: -10px; right: 40px;
  animation-delay: -4s;
}

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

/* ══════════════════════════════════════════════════════════════
   SECTION HEADER (shared)
   ══════════════════════════════════════════════════════════════ */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--sp-16);
}

.section-tag {
  margin-bottom: var(--sp-4);
}

.section-title {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-extrabold);
  line-height: var(--lh-tight);
  letter-spacing: -1px;
  margin-top: var(--sp-4);
  margin-bottom: var(--sp-4);
}

.section-subtitle {
  font-size: var(--fs-md);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
}

/* ══════════════════════════════════════════════════════════════
   FEATURES SECTION — Masonry Grid
   ══════════════════════════════════════════════════════════════ */
.features {
  padding: var(--sp-24) 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.feature-card {
  padding: var(--sp-8);
  transition: all var(--dur-normal) var(--ease);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.04), transparent 60%);
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-4px);
  border: var(--glass-border-hover);
  box-shadow: var(--glass-shadow-hover);
  background: var(--glass-bg-hover);
}

.feature-card--lg {
  grid-column: span 2;
}

.feature-card__icon-wrap {
  width: 52px; height: 52px;
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-5);
}

.feature-card__icon--violet { background: var(--violet-dim); color: var(--violet); }
.feature-card__icon--blue   { background: var(--blue-dim);   color: var(--blue); }
.feature-card__icon--amber  { background: var(--amber-dim);  color: var(--amber); }
.feature-card__icon--teal   { background: var(--teal-dim);   color: var(--teal); }
.feature-card__icon--pink   { background: var(--pink-dim);   color: var(--pink); }
.feature-card__icon--green  { background: var(--green-dim);  color: var(--green); }

.feature-card__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  margin-bottom: var(--sp-3);
  color: var(--text-primary);
}

.feature-card__desc {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
}

/* Mini preview elements inside large feature cards */
.feature-card__preview {
  margin-top: var(--sp-6);
}

.mini-note {
  padding: var(--sp-4);
  position: relative;
}

.mini-note__pin {
  position: absolute;
  top: var(--sp-2);
  right: var(--sp-2);
  font-size: 14px;
}

.mini-note strong {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  margin-bottom: var(--sp-1);
}

.mini-note p {
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
}

.collab-avatars {
  display: flex;
  gap: -8px;
}

.collab-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: #fff;
  border: 2px solid rgba(12, 8, 32, 0.5);
  margin-right: -10px;
  transition: transform var(--dur-fast) var(--ease);
}
.collab-avatar:hover {
  transform: translateY(-4px) scale(1.1);
  z-index: 2;
}
.collab-avatar--more {
  background: rgba(255, 255, 255, 0.12) !important;
  color: var(--text-secondary);
  font-size: var(--fs-xs);
  border: 2px dashed rgba(255, 255, 255, 0.25);
}

/* ══════════════════════════════════════════════════════════════
   TESTIMONIALS — Pinned notes style
   ══════════════════════════════════════════════════════════════ */
.testimonials {
  padding: var(--sp-24) 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
}

.testimonial-card {
  padding: var(--sp-8);
  position: relative;
  transition: all var(--dur-normal) var(--ease);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--glass-shadow-hover);
  border: var(--glass-border-hover);
}

.pin-icon {
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-4);
  color: var(--violet);
  opacity: 0.7;
  transform: rotate(15deg);
  transition: all var(--dur-fast) var(--ease);
}

.testimonial-card:hover .pin-icon {
  opacity: 1;
  transform: rotate(0deg) scale(1.15);
}

.testimonial-card__stars {
  font-size: var(--fs-md);
  color: var(--amber);
  margin-bottom: var(--sp-4);
  letter-spacing: 2px;
}

.testimonial-card__quote {
  font-size: var(--fs-base);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
  font-style: italic;
  margin-bottom: var(--sp-6);
  position: relative;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.author-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--fw-bold);
  font-size: var(--fs-base);
  color: #fff;
  flex-shrink: 0;
}

.author-info strong {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
}

.author-info span {
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
}

/* ══════════════════════════════════════════════════════════════
   PRICING SECTION
   ══════════════════════════════════════════════════════════════ */
.pricing {
  padding: var(--sp-24) 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  align-items: start;
}

.pricing-card {
  padding: var(--sp-8);
  text-align: center;
  position: relative;
  transition: all var(--dur-normal) var(--ease);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--glass-shadow-hover);
}

.pricing-card--featured {
  background: rgba(167, 139, 250, 0.08);
  border: 1px solid rgba(167, 139, 250, 0.25);
  transform: scale(1.04);
  box-shadow: 0 12px 48px rgba(167, 139, 250, 0.2);
}
.pricing-card--featured:hover {
  transform: scale(1.04) translateY(-4px);
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: var(--sp-1) var(--sp-4);
  background: linear-gradient(135deg, var(--violet), var(--indigo));
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  border-radius: var(--r-full);
  white-space: nowrap;
}

.pricing-card__header {
  margin-bottom: var(--sp-6);
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing-card__name {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  margin-bottom: var(--sp-2);
}

.price-amount {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-extrabold);
  color: var(--text-primary);
  letter-spacing: -1px;
}

.price-period {
  font-size: var(--fs-sm);
  color: var(--text-tertiary);
  font-weight: var(--fw-normal);
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
  text-align: left;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

.pricing-feature svg { flex-shrink: 0; }

.pricing-feature--muted {
  color: var(--text-tertiary);
  text-decoration: line-through;
}

/* ══════════════════════════════════════════════════════════════
   BOTTOM CTA
   ══════════════════════════════════════════════════════════════ */
.bottom-cta {
  padding: var(--sp-24) 0;
}

.cta-card {
  text-align: center;
  padding: var(--sp-16) var(--sp-8);
  position: relative;
  overflow: hidden;
  border-radius: var(--r-2xl);
}

.cta-card__glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-card__title {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-extrabold);
  line-height: var(--lh-tight);
  letter-spacing: -1px;
  margin-bottom: var(--sp-4);
  position: relative;
}

.cta-card__desc {
  font-size: var(--fs-md);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
  max-width: 520px;
  margin: 0 auto var(--sp-8);
  position: relative;
}

.cta-card__form {
  display: flex;
  gap: var(--sp-3);
  justify-content: center;
  max-width: 500px;
  margin: 0 auto var(--sp-6);
  position: relative;
}

.cta-input-group {
  flex: 1;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
}

.cta-input-group svg { color: var(--text-tertiary); flex-shrink: 0; }

.cta-input {
  flex: 1;
  font-size: var(--fs-base);
  color: var(--text-primary);
  min-width: 0;
}

.cta-input::placeholder {
  color: var(--text-tertiary);
}

.cta-card__note {
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
  position: relative;
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */
.site-footer {
  padding: var(--sp-16) 0 var(--sp-8);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-10);
  margin-bottom: var(--sp-12);
}

.footer__tagline {
  font-size: var(--fs-sm);
  color: var(--text-tertiary);
  margin-top: var(--sp-3);
  max-width: 260px;
}

.footer__heading {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  margin-bottom: var(--sp-4);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer__col {
  display: flex;
  flex-direction: column;
}

.footer__link {
  font-size: var(--fs-sm);
  color: var(--text-tertiary);
  padding: var(--sp-1) 0;
  transition: color var(--dur-fast) var(--ease);
}

.footer__link:hover {
  color: var(--text-primary);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__copy {
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
}

.footer__socials {
  display: flex;
  gap: var(--sp-3);
}

.social-link {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-full);
  color: var(--text-tertiary);
  transition: all var(--dur-fast) var(--ease);
}

.social-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
}

/* ══════════════════════════════════════════════════════════════
   SCROLLBAR
   ══════════════════════════════════════════════════════════════ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.1); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.2); }

/* ══════════════════════════════════════════════════════════════
   FOCUS STYLES (Accessibility)
   ══════════════════════════════════════════════════════════════ */
:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 2px;
}

/* ══════════════════════════════════════════════════════════════
   SCROLL ANIMATIONS
   ══════════════════════════════════════════════════════════════ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

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

/* Stagger children */
.reveal-stagger .reveal:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger .reveal:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger .reveal:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger .reveal:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger .reveal:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger .reveal:nth-child(6) { transition-delay: 400ms; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (< 1024px)
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: var(--sp-12);
    text-align: center;
  }

  .hero__content { max-width: 640px; margin: 0 auto; }
  .hero__subtitle { margin: 0 auto var(--sp-8); }
  .hero__actions { justify-content: center; }
  .hero__stats { justify-content: center; }
  .hero__title { font-size: var(--fs-4xl); }

  .hero__mockup { max-width: 580px; margin: 0 auto; }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-card--lg { grid-column: span 2; }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-card:last-child {
    grid-column: span 2;
    max-width: 400px;
    margin: 0 auto;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-8);
  }

  .section-title { font-size: var(--fs-3xl); }
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (< 768px)
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .header__nav { display: none; }
  .mobile-menu-btn { display: flex; }

  .glass-header {
    left: var(--sp-3);
    right: var(--sp-3);
    border-radius: var(--r-lg);
  }

  .header__inner { padding: 0 var(--sp-4); }

  .hero { padding: calc(var(--header-h) + var(--sp-12)) 0 var(--sp-10); }
  .hero__title { font-size: var(--fs-3xl); letter-spacing: -0.5px; }
  .hero__subtitle { font-size: var(--fs-base); }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .hero__stats { gap: var(--sp-4); }
  .stat-number { font-size: var(--fs-xl); }

  .mockup-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mockup-float { display: none; }

  .features-grid {
    grid-template-columns: 1fr;
  }
  .feature-card--lg { grid-column: span 1; }

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

  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .pricing-card:last-child {
    grid-column: span 1;
    max-width: 100%;
  }
  .pricing-card--featured {
    transform: scale(1);
  }
  .pricing-card--featured:hover {
    transform: translateY(-4px);
  }

  .section-title { font-size: var(--fs-2xl); }

  .cta-card { padding: var(--sp-10) var(--sp-5); }
  .cta-card__title { font-size: var(--fs-2xl); }
  .cta-card__form { flex-direction: column; }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--sp-4);
    text-align: center;
  }

  .features, .testimonials, .pricing, .bottom-cta {
    padding: var(--sp-16) 0;
  }
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (< 480px)
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .container { padding: 0 var(--sp-4); }

  .hero__title { font-size: var(--fs-2xl); }
  .hero__stats {
    flex-wrap: wrap;
    gap: var(--sp-3);
  }
  .stat-divider { display: none; }

  .mockup-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-1);
  }

  .feature-card { padding: var(--sp-6); }
  .pricing-card { padding: var(--sp-6); }

  .cta-card__title { font-size: var(--fs-xl); }

  .btn--lg {
    padding: var(--sp-3) var(--sp-6);
    font-size: var(--fs-sm);
  }
}


/* ══════════════════════════════════════════════════════════════
   INTERACTIVE DEMO / PLAYGROUND SECTION
   ══════════════════════════════════════════════════════════════ */
.demo-section {
  position: relative;
  z-index: 1;
  padding: var(--sp-24) 0;
}

.demo-workspace {
  margin-top: var(--sp-12);
  padding: var(--sp-8);
  border-radius: var(--r-2xl);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
}

/* Note Creator */
.demo-creator-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
}

.demo-creator {
  width: 100%;
  max-width: 620px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--r-xl);
  padding: var(--sp-4) var(--sp-5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all var(--dur-normal) var(--ease);
}

.demo-creator:focus-within {
  border-color: rgba(167, 139, 250, 0.5);
  box-shadow: 0 14px 40px rgba(167, 139, 250, 0.25), 0 0 0 1px rgba(167, 139, 250, 0.3);
}

/* Collapsed state */
.demo-creator__collapsed {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  min-height: 38px;
}

.demo-creator__placeholder {
  color: var(--text-tertiary);
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  transition: color var(--dur-fast) var(--ease);
}

.demo-creator:hover .demo-creator__placeholder {
  color: var(--text-secondary);
}

.demo-creator__quick-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.btn-icon {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 6px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur-fast) var(--ease);
}

.btn-icon:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

/* Expanded state */
.demo-creator__expanded {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  animation: fadeInDown 0.25s var(--ease);
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.demo-creator__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
}

.demo-input {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font);
  outline: none;
}

.demo-input::placeholder {
  color: var(--text-tertiary);
}

.demo-input--title {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  padding: var(--sp-1) 0;
}

.demo-input--body {
  font-size: var(--fs-sm);
  line-height: var(--lh-normal);
  resize: vertical;
  min-height: 70px;
}

.btn-pin-toggle {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-tertiary);
  cursor: pointer;
  padding: 6px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur-fast) var(--ease);
}

.btn-pin-toggle:hover {
  color: var(--amber);
  background: var(--amber-dim);
}

.btn-pin-toggle.active {
  color: var(--amber);
  background: var(--amber-dim);
  border-color: rgba(251, 191, 36, 0.3);
}

/* Palette */
.demo-creator__palette,
.demo-creator__tags {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

.palette-label {
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
  font-weight: var(--fw-medium);
  min-width: 50px;
}

.color-options {
  display: flex;
  gap: var(--sp-2);
  align-items: center;
}

.color-swatch {
  width: 24px;
  height: 24px;
  border-radius: var(--r-full);
  background: var(--swatch-color);
  border: 2px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
  position: relative;
}

.color-swatch:hover {
  transform: scale(1.15);
  border-color: rgba(255, 255, 255, 0.6);
}

.color-swatch.active {
  transform: scale(1.15);
  border-color: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

/* Tags in creator */
.tag-options {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

.tag-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  padding: 4px 10px;
  border-radius: var(--r-full);
  cursor: pointer;
  font-family: var(--font);
  transition: all var(--dur-fast) var(--ease);
}

.tag-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
}

.tag-pill.active {
  background: var(--violet-dim);
  border-color: rgba(167, 139, 250, 0.4);
  color: var(--violet);
}

.demo-creator__footer {
  display: flex;
  justify-content: flex-end;
  gap: var(--sp-3);
  padding-top: var(--sp-2);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Demo Toolbar */
.demo-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.demo-search {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-full);
  min-width: 240px;
  max-width: 340px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-tertiary);
}

.demo-search input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: var(--fs-sm);
  font-family: var(--font);
  width: 100%;
}

.demo-search input::placeholder {
  color: var(--text-tertiary);
}

.demo-filters {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

.filter-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  padding: 6px 14px;
  border-radius: var(--r-full);
  cursor: pointer;
  font-family: var(--font);
  transition: all var(--dur-fast) var(--ease);
}

.filter-chip:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.filter-chip.active {
  background: var(--violet);
  border-color: var(--violet);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(167, 139, 250, 0.4);
}

/* Demo Notes Grid */
.demo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  align-items: start;
}

/* Individual Note Card */
.demo-note-card {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transition: transform var(--dur-normal) var(--ease),
              box-shadow var(--dur-normal) var(--ease),
              border-color var(--dur-normal) var(--ease);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  animation: popIn 0.35s var(--ease-spring);
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.9) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.demo-note-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Pastel Tint Modifiers */
.demo-note--lavender {
  background: rgba(167, 139, 250, 0.12);
  border-color: rgba(167, 139, 250, 0.25);
}
.demo-note--lavender:hover {
  border-color: rgba(167, 139, 250, 0.45);
}

.demo-note--teal {
  background: rgba(45, 212, 191, 0.12);
  border-color: rgba(45, 212, 191, 0.25);
}
.demo-note--teal:hover {
  border-color: rgba(45, 212, 191, 0.45);
}

.demo-note--amber {
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(251, 191, 36, 0.25);
}
.demo-note--amber:hover {
  border-color: rgba(251, 191, 36, 0.45);
}

.demo-note--rose {
  background: rgba(244, 114, 182, 0.12);
  border-color: rgba(244, 114, 182, 0.25);
}
.demo-note--rose:hover {
  border-color: rgba(244, 114, 182, 0.45);
}

.demo-note--blue {
  background: rgba(96, 165, 250, 0.12);
  border-color: rgba(96, 165, 250, 0.25);
}
.demo-note--blue:hover {
  border-color: rgba(96, 165, 250, 0.45);
}

/* Card Header */
.demo-note__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-2);
}

.demo-note__title {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  line-height: var(--lh-snug);
}

.demo-note__pin-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-tertiary);
  padding: 4px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur-fast) var(--ease);
  flex-shrink: 0;
}

.demo-note__pin-btn:hover {
  color: var(--amber);
  background: var(--amber-dim);
}

.demo-note__pin-btn.pinned {
  color: var(--amber);
  background: var(--amber-dim);
}

/* Card Body */
.demo-note__body {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: var(--lh-normal);
  white-space: pre-line;
}

/* Checklist items in demo note */
.demo-checklist {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.demo-checklist-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
  transition: all var(--dur-fast) var(--ease);
}

.demo-checklist-item:hover {
  color: var(--text-primary);
}

.demo-checkbox {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur-fast) var(--ease);
  flex-shrink: 0;
}

.demo-checklist-item.done .demo-checkbox {
  background: var(--teal);
  border-color: var(--teal);
}

.demo-checkbox svg {
  display: none;
}

.demo-checklist-item.done .demo-checkbox svg {
  display: block;
}

.demo-checklist-item.done span {
  text-decoration: line-through;
  opacity: 0.55;
}

/* Card Footer */
.demo-note__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--sp-2);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: auto;
}

.demo-note__badge {
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  padding: 2px 8px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
}

.demo-note__delete-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-tertiary);
  padding: 4px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
  transition: all var(--dur-fast) var(--ease);
}

.demo-note-card:hover .demo-note__delete-btn {
  opacity: 1;
}

.demo-note__delete-btn:hover {
  color: #f87171;
  background: rgba(239, 68, 68, 0.15);
}

.demo-grid-empty {
  text-align: center;
  padding: var(--sp-12) var(--sp-4);
  color: var(--text-tertiary);
  font-size: var(--fs-base);
}

/* ═══════════════════════════════════════════════════════════
   TOAST NOTIFICATION COMPONENT
   ═══════════════════════════════════════════════════════════ */
.toast-container {
  position: fixed;
  bottom: var(--sp-6);
  right: var(--sp-6);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-5);
  background: rgba(24, 24, 37, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-md);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  color: var(--text-primary);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  animation: toastIn 0.3s var(--ease-spring);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.toast.toast--closing {
  opacity: 0;
  transform: translateY(12px) scale(0.95);
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(20px) scale(0.9); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.toast__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.toast--success .toast__icon { color: var(--teal); }
.toast--info .toast__icon { color: var(--violet); }
.toast--warning .toast__icon { color: var(--amber); }

/* Header Scrolled State */
.glass-header--scrolled {
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 12px 40px rgba(15, 12, 41, 0.3) !important;
}

/* Active Nav Link */
.nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

/* Responsive updates for demo */
@media (max-width: 1024px) {
  .demo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .demo-workspace {
    padding: var(--sp-5);
  }
  .demo-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .demo-search {
    min-width: 100%;
    max-width: 100%;
  }
  .demo-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .demo-workspace {
    padding: var(--sp-4);
  }
  .demo-creator {
    padding: var(--sp-3) var(--sp-4);
  }
}

/* ══════════════════════════════════════════════════════════════
   KEEPLY APP LINKS & INTEGRATION ELEMENTS
   ══════════════════════════════════════════════════════════════ */
.header__login-btn {
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--fs-xs);
}

.mockup-url-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(167, 139, 250, 0.15);
  border: 1px solid rgba(167, 139, 250, 0.3);
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: var(--fw-medium);
  color: var(--violet-light);
  text-decoration: none;
  transition: all var(--dur-fast) var(--ease);
  flex-shrink: 0;
}

.mockup-url-pill:hover {
  background: rgba(167, 139, 250, 0.28);
  border-color: rgba(167, 139, 250, 0.55);
  color: #ffffff;
  transform: translateY(-1px);
}

.demo-live-banner {
  margin-top: var(--sp-6);
  padding: var(--sp-4) var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  border-radius: var(--r-lg);
  border: 1px solid rgba(167, 139, 250, 0.25);
  background: rgba(167, 139, 250, 0.08);
}

.demo-live-banner__content {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.demo-live-banner__title {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
}

.demo-live-banner__subtitle {
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  margin: 2px 0 0;
}

.cta-card__direct-wrap {
  margin-top: var(--sp-4);
  position: relative;
  z-index: 1;
}

.cta-card__direct-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-5);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--dur-fast) var(--ease);
}

.cta-card__direct-link strong {
  color: var(--violet-light);
}

.cta-card__direct-link:hover {
  background: rgba(167, 139, 250, 0.16);
  border-color: rgba(167, 139, 250, 0.4);
  color: #ffffff;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .header__login-btn {
    display: none;
  }

  .demo-live-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .demo-live-banner .btn {
    width: 100%;
  }

  .mockup-url-pill span {
    display: none;
  }
}
