/* ============================================ */
/*  ACTION TOOLKITS FOR AI — STYLES            */
/*  Premium · Structured · Trustworthy         */
/* ============================================ */

/* ------------------------------------------ */
/*  1. TOKENS                                 */
/* ------------------------------------------ */
:root {
  --white:          #FFFFFF;
  --off-white:      #F8FAFC;
  --gray-50:        #F1F5F9;
  --gray-100:       #E2E8F0;
  --gray-200:       #CBD5E1;
  --gray-300:       #94A3B8;
  --gray-400:       #64748B;
  --gray-500:       #475569;
  --gray-600:       #334155;
  --gray-700:       #1E293B;
  --gray-800:       #0F172A;
  --gray-900:       #020617;

  --blue-500:       #3B82F6;
  --blue-600:       #2563EB;
  --blue-700:       #1D4ED8;

  --green-500:      #10B981;
  --red-400:        #F87171;
  --amber-500:      #F59E0B;
  --purple-500:     #8B5CF6;

  --bg:             var(--white);
  --bg-off:         var(--off-white);
  --text-primary:   var(--gray-800);
  --text-secondary: var(--gray-500);
  --text-tertiary:  var(--gray-400);
  --accent:         var(--blue-600);
  --accent-hover:   var(--blue-700);
  --border:         var(--gray-100);
  --border-light:   var(--gray-50);

  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 80px;
  --space-2xl: 120px;

  --radius: 16px;
  --radius-sm: 8px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.06), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);

  --max-w: 1280px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection {
  background: var(--accent);
  color: white;
}

/* ------------------------------------------ */
/*  3. LAYOUT                                 */
/* ------------------------------------------ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* ------------------------------------------ */
/*  4. TYPOGRAPHY                             */
/* ------------------------------------------ */
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.75rem); margin-bottom: var(--space-lg); text-align: center; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }

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

.section-sub {
  text-align: center;
  color: var(--text-tertiary);
  font-size: 1.125rem;
  margin-top: calc(-1 * var(--space-lg) + var(--space-sm));
  margin-bottom: var(--space-lg);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ------------------------------------------ */
/*  5. BUTTONS                                */
/* ------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--gray-300);
  background: var(--off-white);
}

.btn-sm  { padding: 0.5rem 1rem; font-size: 0.8125rem; }
.btn-lg  { padding: 0.875rem 2rem; font-size: 0.9375rem; }
.btn-xl  { padding: 1rem 2.5rem; font-size: 1rem; }

/* ------------------------------------------ */
/*  6. NAVIGATION                             */
/* ------------------------------------------ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow 0.2s ease;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: var(--space-md);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  flex-shrink: 0;
}
.logo-img {
  height: 48px;
  width: auto;
  display: block;
}
.logo-fallback { display: flex; align-items: center; gap: 0; }
.logo-fallback span { color: var(--text-tertiary); font-weight: 400; }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.15s;
}
.nav-link:hover { color: var(--text-primary); }

.nav .btn { flex-shrink: 0; }

/* Mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: all 0.2s ease;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav .btn { display: none; }
  .nav-toggle { display: flex; }
}

/* ------------------------------------------ */
/*  7. HERO                                   */
/* ------------------------------------------ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 45%,
    rgba(59, 130, 246, 0.12) 0%, transparent 50%);
  animation: heroBreathe 6s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

@keyframes heroBreathe {
  0%   { opacity: 0.3; transform: scale(0.97); }
  100% { opacity: 0.9; transform: scale(1.03); }
}

#neuralCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: var(--space-2xl) 0;
}

.hero-text {
  max-width: 820px;
  margin: 0 auto;
}

.hero-text h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: var(--space-md);
}

/* — Headline reveal — */
.hero-reveal .reveal-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(12px);
  animation: revealUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--i, 0) * 22ms);
}
@keyframes revealUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero-accent {
  color: var(--accent);
}

.hero-gradient {
  color: var(--blue-500);
  animation: heroGlow 4s ease-in-out infinite;
}

@keyframes heroGlow {
  0%, 100% { 
    color: var(--blue-500);
    text-shadow: 0 0 18px rgba(59, 130, 246, 0.12);
  }
  50% { 
    color: var(--purple-500);
    text-shadow: 0 0 28px rgba(139, 92, 246, 0.2);
  }
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto var(--space-lg);
  line-height: 1.7;
  transition: opacity 0.35s ease;
  min-height: 1.7em;
}

.hero-price {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}
.hero-price strong {
  color: var(--accent);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  justify-content: center;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

.hero-trust-item svg {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .hero { min-height: 90vh; }
  .hero-text h1 { font-size: clamp(2.25rem, 8vw, 3.5rem); }
  .hero-inner { padding: var(--space-xl) 0; }

}

@media (max-width: 480px) {
  .hero-text h1 br { display: none; }
  .hero-text h1 { font-size: clamp(1.75rem, 7vw, 2.25rem); }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 320px; }
  .hero-trust { justify-content: flex-start; gap: var(--space-sm); }
  .comparison-col { padding: var(--space-md); }
}

/* ------------------------------------------ */
/*  8. SOCIAL PROOF STRIP                     */
/* ------------------------------------------ */
.social-proof {
  padding: var(--space-lg) 0;
  background: var(--bg-off);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.proof-items {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.proof-item {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-tertiary);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.proof-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gray-200);
}

@media (max-width: 480px) {
  .proof-items { gap: var(--space-sm); }
  .proof-divider { display: none; }
}

/* ------------------------------------------ */
/*  9. HOW IT WORKS                           */
/* ------------------------------------------ */
.how-it-works {
  padding: var(--space-xl) 0;
  background: var(--bg-off);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  max-width: 1000px;
  margin: 0 auto;
}

.step {
  text-align: center;
  padding: var(--space-md);
  position: relative;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-size: 1.125rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
}

.step h3 {
  font-size: 1rem;
  margin-bottom: var(--space-xs);
}

.step p {
  font-size: 0.875rem;
  color: var(--text-tertiary);
}

.step-arrow {
  display: none;
  font-size: 1.25rem;
  color: var(--gray-200);
  margin-top: var(--space-sm);
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }
  .step-arrow { display: block; }
}

@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
}

/* ------------------------------------------ */
/*  10. TOOLKITS GRID (Featured)              */
/* ------------------------------------------ */
.toolkits {
  padding: var(--space-xl) 0;
  background: var(--bg);
}

.toolkits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.toolkit-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}
.toolkit-card:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.toolkit-badge {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  z-index: 2;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.25rem 0.625rem;
  border-radius: 100px;
  background: var(--accent);
  color: white;
}
.toolkit-badge--new {
  background: var(--green-500);
}
.toolkit-badge--free {
  background: #F59E0B;
}

.toolkit-cover {
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 2rem;
  color: white;
  position: relative;
  overflow: hidden;
}
.toolkit-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.toolkit-cover-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.toolkit-cover-initials {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.toolkit-body {
  padding: var(--space-sm);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.toolkit-body h3 {
  font-size: 1.125rem;
  margin-bottom: var(--space-xs);
}

.toolkit-tagline {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  margin-bottom: var(--space-sm);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.toolkit-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-xs);
  margin-top: auto;
  border-top: 1px solid var(--border);
}

.toolkit-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

@media (max-width: 1024px) {
  .toolkits-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .toolkits-grid { grid-template-columns: 1fr; }
}

/* ------------------------------------------ */
/*  11. COMPARISON                            */
/* ------------------------------------------ */
.comparison {
  padding: var(--space-xl) 0;
  background: var(--bg-off);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  max-width: 900px;
  margin: 0 auto;
}

.comparison-col {
  padding: var(--space-lg);
  border-radius: var(--radius);
}

.comparison-col h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
  text-align: center;
}

.comparison-bad {
  background: white;
  border: 1px solid var(--border);
}
.comparison-bad h3 { color: var(--red-400); }

.comparison-good {
  background: white;
  border: 1px solid var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.comparison-good h3 { color: var(--accent); }

.comparison-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.comparison-col li {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) 0;
  border-bottom: 1px solid var(--border-light);
}
.comparison-col li:last-child { border-bottom: none; }

.comparison-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
}
.comparison-icon--bad {
  background: #FEF2F2;
  color: var(--red-400);
}
.comparison-icon--good {
  background: #ECFDF5;
  color: var(--green-500);
}

@media (max-width: 768px) {
  .comparison-grid { grid-template-columns: 1fr; }
}

/* ------------------------------------------ */
/*  12. TOOLKIT PREVIEW                       */
/* ------------------------------------------ */
.preview {
  padding: var(--space-xl) 0;
  background: var(--bg);
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  max-width: 800px;
  margin: 0 auto;
}

.preview-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.2s ease;
}
.preview-card:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow-md);
}

.preview-image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.preview-image-doc {
  position: relative;
  z-index: 1;
  width: 65%;
  height: 75%;
  background: white;
  border-radius: 6px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 12px 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  gap: 5px;
}

.preview-doc-header {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 6px;
  border-radius: 4px;
  margin-bottom: 3px;
}

.preview-doc-check {
  display: flex;
  align-items: center;
  gap: 6px;
}
.preview-checkbox {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  border: 1.5px solid var(--gray-300);
  flex-shrink: 0;
}

.preview-doc-text {
  font-size: 0.625rem;
  color: var(--text-tertiary);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.preview-doc-bar {
  height: 3px;
  border-radius: 2px;
  opacity: 0.2;
  margin-top: auto;
}

.preview-doc-row {
  display: flex;
  gap: 3px;
  align-items: center;
}
.preview-doc-cell {
  height: 8px;
  border-radius: 2px;
  background: var(--gray-100);
}

.preview-doc-score {
  display: flex;
  align-items: center;
  gap: 6px;
}
.preview-score-num {
  font-size: 0.75rem;
  font-weight: 700;
  width: 20px;
  text-align: right;
  flex-shrink: 0;
}

.preview-doc-total {
  font-size: 0.5625rem;
  font-weight: 600;
  color: white;
  padding: 2px 6px;
  border-radius: 3px;
  text-align: center;
  margin-top: auto;
  opacity: 0.15;
}

.preview-doc-milestone {
  display: flex;
  align-items: center;
  gap: 6px;
}
.preview-milestone-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-300);
  flex-shrink: 0;
}

.preview-doc-line-progress {
  height: 3px;
  border-radius: 2px;
  background: var(--gray-100);
  margin-top: auto;
  overflow: hidden;
}
.preview-progress-fill {
  display: block;
  height: 100%;
  border-radius: 2px;
  opacity: 0.2;
}

.preview-doc-label {
  font-size: 0.5625rem;
  color: var(--text-tertiary);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.preview-card h4 {
  padding: var(--space-sm) var(--space-md);
  font-size: 0.9375rem;
  text-align: center;
  color: var(--text-primary);
}

@media (max-width: 600px) {
  .preview-grid { grid-template-columns: 1fr; }
}

/* ------------------------------------------ */
/*  13. CATEGORIES                            */
/* ------------------------------------------ */
.categories {
  padding: var(--space-xl) 0;
  background: var(--bg-off);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  max-width: 800px;
  margin: 0 auto;
}

.category-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.category-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.category-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
  font-size: 1.25rem;
}

.category-card h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.category-card .category-count {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

@media (max-width: 768px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .categories-grid { grid-template-columns: 1fr; }
}

/* ------------------------------------------ */
/*  14. PHILOSOPHY                            */
/* ------------------------------------------ */
.philosophy {
  padding: var(--space-2xl) 0;
  background: var(--gray-800);
  text-align: center;
}

.philosophy-content {
  max-width: 700px;
  margin: 0 auto;
}

.philosophy-text {
  font-size: 1.5rem;
  color: var(--gray-300);
  margin-bottom: var(--space-xs);
}

.philosophy-em {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: white;
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.philosophy-desc {
  font-size: 1.125rem;
  color: var(--gray-400);
  line-height: 1.8;
}

/* ------------------------------------------ */
/*  15. FINAL CTA                             */
/* ------------------------------------------ */
.final-cta {
  padding: var(--space-2xl) 0;
  background: var(--bg);
  text-align: center;
}

.final-cta h2 {
  margin-bottom: var(--space-lg);
}

/* ------------------------------------------ */
/*  16. EMAIL CAPTURE                         */
/* ------------------------------------------ */
.email-capture {
  padding: var(--space-2xl) 0;
  background: var(--gray-800);
  text-align: center;
}
.email-capture h2 {
  color: white;
  margin-bottom: var(--space-xs);
}
.email-capture p {
  color: var(--gray-400);
  max-width: 500px;
  margin: 0 auto var(--space-lg);
  font-size: 1.0625rem;
}
.email-form {
  display: flex;
  gap: var(--space-sm);
  max-width: 480px;
  margin: 0 auto var(--space-md);
}
.email-form input {
  flex: 1;
  padding: 0.875rem 1.25rem;
  border: 1.5px solid var(--gray-600);
  border-radius: var(--radius-sm);
  background: var(--gray-700);
  color: white;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  transition: border-color 0.15s;
}
.email-form input::placeholder { color: var(--gray-400); }
.email-form input:focus { outline: none; border-color: var(--accent); }
.email-note {
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin-top: var(--space-sm);
}

@media (max-width: 480px) {
  .email-form { flex-direction: column; }
  .email-form .btn { width: 100%; }
}

/* ------------------------------------------ */
/*  17. FAQ                                   */
/* ------------------------------------------ */
.faq {
  padding: var(--space-xl) 0;
  background: var(--bg-off);
}
.faq-grid {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}
.faq-grid details {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.15s;
}
.faq-grid details[open] {
  border-color: var(--gray-300);
}
.faq-grid summary {
  padding: var(--space-md);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  list-style: none;
}
.faq-grid summary::-webkit-details-marker { display: none; }
.faq-grid summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--text-tertiary);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.faq-grid details[open] summary::after {
  transform: rotate(45deg);
}
.faq-grid details p {
  padding: 0 var(--space-md) var(--space-md);
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ------------------------------------------ */
/*  18. FOOTER                                */
/* ------------------------------------------ */
.footer {
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.footer p {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

.footer-links {
  display: flex;
  gap: var(--space-md);
}

.footer-links a {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--text-primary); }

@media (max-width: 480px) {
  .footer-inner { flex-direction: column; text-align: center; }
}

/* ------------------------------------------ */
/*  19. MODAL                                 */
/* ------------------------------------------ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.modal.open {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  background: var(--bg);
  border-radius: var(--radius);
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: translateY(12px);
  transition: transform 0.25s ease;
}
.modal.open .modal-panel {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-off);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  color: var(--text-secondary);
  transition: all 0.15s;
  cursor: pointer;
}
.modal-close:hover {
  background: var(--border);
  color: var(--text-primary);
}

.modal-body {
  display: grid;
  grid-template-columns: 280px 1fr;
}

.modal-cover {
  aspect-ratio: 3 / 4;
  align-self: start;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}
.modal-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.modal-cover-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-xs);
}
.modal-cover-placeholder span {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.modal-info {
  padding: var(--space-lg);
}

.modal-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  background: #EFF6FF;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: var(--space-sm);
}

.modal-info h2 {
  font-size: 1.5rem;
  text-align: left;
  margin-bottom: var(--space-xs);
}

.modal-tagline {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.modal-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.modal-includes {
  margin-bottom: var(--space-lg);
}

.modal-includes h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-tertiary);
  margin-bottom: var(--space-sm);
}

.modal-includes ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.modal-includes li {
  font-size: 0.9375rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 6px 0;
  border-bottom: 1px solid var(--border-light);
}
.modal-includes li:last-child { border-bottom: none; }
.modal-includes li::before {
  content: '✓';
  color: var(--green-500);
  font-weight: 700;
}

.modal-purchase {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
}

.modal-free-section {
  border-top: 1px solid var(--border);
  padding-top: var(--space-md);
}
.modal-free-section .modal-price {
  margin-bottom: var(--space-md);
}

.modal-free-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.modal-free-input {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  background: var(--bg-off);
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s;
}

.modal-free-input:focus {
  border-color: var(--accent);
}

.modal-free-note {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  margin-top: var(--space-md);
}

.modal-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
}
.modal-price-label {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  font-weight: 400;
  margin-left: 4px;
}

.modal .btn { flex-shrink: 0; }

@media (max-width: 768px) {
  .modal-body { grid-template-columns: 1fr; }
  .modal-cover {
    aspect-ratio: auto;
    height: 240px;
  }
}

/* ------------------------------------------ */
/*  20. RESPONSIVE — GENERAL                  */
/* ------------------------------------------ */
@media (max-width: 768px) {
  :root {
    --space-lg: 32px;
    --space-xl: 56px;
    --space-2xl: 80px;
  }
  .container { padding: 0 var(--space-sm); }
}

/* ------------------------------------------ */
/*  21. SKELETON LOADING                      */
/* ------------------------------------------ */
.skeleton {
  background: linear-gradient(90deg, var(--gray-50) 25%, var(--gray-100) 50%, var(--gray-50) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
  border-radius: var(--radius);
}

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ------------------------------------------ */
/*  22. UTILITY                               */
/* ------------------------------------------ */
.text-center { text-align: center; }

/* ------------------------------------------ */
/*  23. SCROLL ANIMATIONS                     */
/* ------------------------------------------ */
.js-fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------------------------ */
/*  24. CATALOG PAGE                          */
/* ------------------------------------------ */
.catalog-header {
  padding: var(--space-xl) 0 var(--space-md);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.catalog-header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.catalog-header h1 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.catalog-subtitle {
  font-size: 0.9375rem;
  color: var(--text-tertiary);
}

.catalog-controls {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.catalog-search-wrap {
  position: relative;
}

.catalog-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-300);
  pointer-events: none;
}

.catalog-search {
  width: 240px;
  padding: 0.625rem 0.875rem 0.625rem 2.25rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--text-primary);
  background: var(--bg);
  transition: border-color 0.15s;
}
.catalog-search::placeholder { color: var(--gray-300); }
.catalog-search:focus { outline: none; border-color: var(--accent); }

/* Filter bar */
.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filter-btn {
  padding: 0.375rem 0.875rem;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-tertiary);
  cursor: pointer;
  transition: all 0.15s;
}
.filter-btn:hover { border-color: var(--gray-300); color: var(--text-primary); }
.filter-btn--active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

/* Catalog section */
.catalog {
  padding: var(--space-lg) 0 var(--space-xl);
  background: var(--bg-off);
}

.catalog-count {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  margin-bottom: var(--space-md);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
}

.catalog-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}
.catalog-card:hover {
  border-color: var(--gray-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.catalog-card-cover {
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.catalog-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.catalog-card-placeholder {
  font-size: 1.25rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.05em;
}

.catalog-card-body {
  padding: var(--space-sm);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.catalog-card-category {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
  margin-bottom: 4px;
}

.catalog-card-body h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.3;
}

.catalog-card-body .catalog-card-tagline {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  line-height: 1.4;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.catalog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-xs);
  margin-top: var(--space-xs);
  border-top: 1px solid var(--border-light);
}

.catalog-card-price {
  font-size: 1rem;
  font-weight: 700;
}

.catalog-card .btn {
  font-size: 0.75rem;
  padding: 0.375rem 0.75rem;
}

/* Empty state */
.catalog-empty {
  text-align: center;
  padding: 4rem 0;
  grid-column: 1 / -1;
}
.catalog-empty p {
  font-size: 0.9375rem;
  color: var(--text-tertiary);
}

@media (max-width: 1024px) {
  .catalog-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .catalog-grid { grid-template-columns: 1fr; }
  .catalog-search { width: 100%; }
  .catalog-header-inner { flex-direction: column; }
  .catalog-controls { width: 100%; }
  .catalog-search-wrap { width: 100%; }
  .catalog-search { width: 100%; }
}

/* ------------------------------------------ */
/*  25. PAGINATION                            */
/* ------------------------------------------ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
}

.page-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s;
}
.page-btn:hover {
  border-color: var(--gray-300);
  color: var(--text-primary);
}
.page-btn--active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.page-btn--active:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}
.page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.page-btn:disabled:hover {
  border-color: var(--border);
  color: var(--text-secondary);
}

.page-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  letter-spacing: 1px;
}

@media (max-width: 480px) {
  .page-btn { min-width: 32px; height: 32px; font-size: 0.75rem; }
}
