﻿/* WorkQuiet.com â€” Dark Editorial Design by Reeve Morgan */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Lora:wght@400;600;700&display=swap');

:root {
  /* Colors - Dark editorial theme */
  --bg:         #0f0f0f;
  --surface:    #1a1a1a;
  --border:     #2a2a2a;
  --text:       #f0ede8;
  --text-muted: #888888;
  --accent:     #a3e635;
  --accent-hover: #bef264;
  --white:      #ffffff;
  --black:      #000000;

  /* Layout */
  --max-w:      1200px;
  --prose-w:    800px;

  /* Typography */
  --font-head:  'Lora', Georgia, serif;
  --font-body:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* â”€â”€ TYPOGRAPHY â”€â”€ */
h1 {
  font-family: var(--font-head);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
}

h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--text);
  letter-spacing: -0.02em;
}

h3 {
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
  letter-spacing: -0.01em;
}

h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

p {
  margin-bottom: 1.5em;
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--accent-hover);
}

strong {
  font-weight: 600;
  color: var(--text);
}

/* â”€â”€ LAYOUT â”€â”€ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.prose-container {
  max-width: var(--prose-w);
  margin: 0 auto;
  padding: 0 2rem;
}

/* â”€â”€ NAV â”€â”€ */
.site-nav {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 0.5rem;
}

.nav-logo::before {
  content: 'wq';
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent);
  color: var(--bg);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo-text {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 0.5rem;
}

.nav-links a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  transition: all 0.15s ease;
}

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

/* Mobile nav */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }

  .nav-links a {
    padding: 1rem 0;
    border-radius: 0;
    background: none;
  }

  .nav-inner {
    flex-direction: column;
    height: auto;
    align-items: stretch;
    gap: 1rem;
    padding: 1.5rem 0;
  }
}

/* â”€â”€ HERO â”€â”€ */
.page-hero {
  padding: 10rem 0 8rem;
}

.hero-mega {
  font-family: var(--font-head);
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 2rem;
  max-width: 20ch;
}

.hero-sub {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 24ch;
}

.hero-lead {
  font-size: 1.3rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 52ch;
  margin-bottom: 4rem;
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 6rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 1.25rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(163, 230, 53, 0.3);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  font-weight: 500;
  font-size: 1.1rem;
  padding: 1.25rem 2rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(163, 230, 53, 0.1);
}

/* â”€â”€ TICKER MARQUEE â”€â”€ */
.ticker {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
  overflow: hidden;
  white-space: nowrap;
  background: var(--surface);
}

.ticker-content {
  display: inline-block;
  animation: scroll 30s linear infinite;
}

.ticker-content span {
  color: var(--text-muted);
  font-size: 1.1rem;
  font-weight: 500;
  margin-right: 3rem;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* â”€â”€ SECTIONS â”€â”€ */
.content-section {
  padding: 8rem 0;
  border-top: 1px solid var(--border);
}

.content-section:first-of-type {
  border-top: none;
}

.section-header {
  margin-bottom: 4rem;
}

.section-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 2rem;
}

/* â”€â”€ ARTICLE CARDS â”€â”€ */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
}

.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 3rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.article-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.article-tag {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.article-title {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.article-title a {
  color: inherit;
  text-decoration: none;
}

.article-title a:hover {
  color: var(--accent);
}

.article-excerpt {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.article-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

/* â”€â”€ TEMPLATE CARDS â”€â”€ */
.template-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 3rem;
}

.template-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3rem;
  transition: all 0.3s ease;
}

.template-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.template-problem {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.template-name {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.template-description {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.template-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-badge {
  background: var(--accent);
  color: var(--bg);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
}

.price-badge.free {
  background: var(--border);
  color: var(--text-muted);
}

/* â”€â”€ TOOL CARDS â”€â”€ */
.tool-grid {
  display: grid;
  gap: 2rem;
}

.tool-category {
  margin-bottom: 4rem;
}

.category-header {
  margin-bottom: 3rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
}

.category-title {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--text);
}

.tool-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  transition: all 0.2s ease;
}

.tool-item:hover {
  border-color: var(--accent);
  background: rgba(163, 230, 53, 0.05);
}

.tool-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.tool-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.tool-badge {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-rec {
  background: var(--accent);
  color: var(--bg);
}

.badge-conditional {
  background: #fbbf24;
  color: var(--bg);
}

.badge-skip {
  background: #ef4444;
  color: var(--white);
}

.tool-take {
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 1.5rem 0;
}

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

/* â”€â”€ NEWSLETTER SECTION â”€â”€ */
.newsletter-section {
  background: var(--bg);
  padding: 6rem 0;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.newsletter-title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2rem;
  line-height: 1.1;
}

.newsletter-subtitle {
  font-size: 1.3rem;
  color: var(--text-muted);
  margin-bottom: 4rem;
  max-width: 50ch;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto 2rem;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
}

.newsletter-form input {
  flex: 1;
  padding: 1.5rem 2rem;
  border: none;
  background: transparent;
  font-size: 1.1rem;
  font-family: var(--font-body);
  color: var(--text);
}

.newsletter-form input:focus {
  outline: none;
}

.newsletter-form input::placeholder {
  color: var(--text-muted);
}

.newsletter-form button {
  background: var(--accent);
  color: var(--bg);
  border: none;
  padding: 1.5rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background 0.15s;
}

.newsletter-form button:hover {
  background: var(--accent-hover);
}

.newsletter-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* â”€â”€ FOOTER â”€â”€ */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 3rem;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .nav-logo {
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 3rem;
}

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

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

/* â”€â”€ ABOUT PAGE â”€â”€ */
.author-monogram {
  width: 120px;
  height: 120px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 3rem;
}

.about-content {
  max-width: 680px;
  margin: 0 auto;
}

.about-content h2 {
  margin-top: 4rem;
  margin-bottom: 2rem;
}

.tool-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.tool-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.tool-list li:last-child {
  border-bottom: none;
}

.tool-list strong {
  color: var(--text);
}

/* â”€â”€ MOBILE â”€â”€ */
@media (max-width: 768px) {
  .container, .prose-container {
    padding: 0 1.5rem;
  }

  .page-hero {
    padding: 6rem 0 4rem;
  }

  .content-section {
    padding: 4rem 0;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary, .btn-ghost {
    text-align: center;
    justify-content: center;
  }

  .article-grid, .template-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .article-card, .template-card, .tool-item {
    padding: 2rem;
  }

  .newsletter-form {
    flex-direction: column;
    border-radius: 12px;
  }

  .newsletter-form input,
  .newsletter-form button {
    padding: 1.25rem 1.5rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
}

/* â”€â”€ UTILITIES â”€â”€ */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.mt-4 { margin-top: 4rem; }
/* ── MOBILE NAV — hamburger ── */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1.4rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  line-height: 1;
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    border-top: 1px solid var(--border);
    margin-top: 1rem;
    padding-top: 1rem;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    padding: 0.9rem 0;
    border-radius: 0;
    border-bottom: 1px solid var(--border);
  }

  .nav-links li:last-child a { border-bottom: none; }

  .nav-inner {
    flex-wrap: wrap;
    height: auto;
    padding: 1.25rem 0;
  }
}