/* ===== WolfNote Marketing Site ===== */
:root {
  /* Ink neutrals — warm near-black, no blue/purple cast (de-AI) */
  --bg-deep: #0b0d0a;
  --bg-primary: #11140f;
  --bg-card: #181c15;
  --bg-card-hover: #1f241b;
  --bg-surface: #252b20;
  /* Brand lime from the WolfNote logo (#C0EC46) */
  --accent: #c0ec46;
  --accent-light: #d4f56e;
  --accent-dark: #a3cf2e;
  --accent-ink: #0b0d0a;            /* dark text to sit ON lime fills */
  --accent-glow: rgba(192, 236, 70, 0.22);
  --text: #f2f4ea;                  /* warm off-white */
  --text-muted: #9aa388;            /* muted sage, not lavender */
  --text-dim: #6a7359;
  --success: #7bd88f;
  --border: rgba(240, 244, 234, 0.08);
  --border-light: rgba(240, 244, 234, 0.14);
  --gradient-accent: linear-gradient(135deg, #c0ec46, #a3cf2e);
  --gradient-bg: linear-gradient(180deg, #0b0d0a 0%, #11140f 60%, #181c15 100%);
  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;
  --shadow: 0 10px 34px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 38px rgba(192, 236, 70, 0.10);
  --font: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Bricolage Grotesque', 'Hanken Grotesk', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --max-width: 1200px;
  --transition: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--accent-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }

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

/* Distinctive display face on all headings (de-AI) */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  box-shadow: 0 4px 18px var(--accent-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--accent-light);
  box-shadow: 0 8px 28px rgba(192, 236, 70, 0.32);
  color: var(--accent-ink);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent);
  color: var(--text);
  transform: translateY(-2px);
}

.btn-lg { padding: 18px 40px; font-size: 17px; border-radius: var(--radius); }
.btn-sm { padding: 10px 20px; font-size: 13px; }

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s var(--transition);
}
.nav.scrolled {
  background: rgba(11, 13, 10, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
}
.nav-logo:hover { color: var(--text); }
.nav-logo svg, .nav-logo img { height: 38px; max-height: 38px; width: auto; max-width: 180px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

/* Dropdown */
.nav-links li { position: relative; }
.nav-links li .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 8px;
  padding-top: 16px;
  min-width: 200px;
  z-index: 1001;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.nav-links li.open .dropdown { display: block; }
.nav-links li .dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 7px;
  color: var(--text-muted);
  font-size: 0.9rem;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.nav-links li .dropdown a:hover { background: var(--border); color: var(--text); }
.nav-links li > a.has-dropdown::after {
  content: " ▾";
  font-size: 0.7rem;
  opacity: 0.6;
}

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 180px 0 120px;
  text-align: center;
  overflow: hidden;
}
.hero .container { position: relative; }
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  text-align: left;
}
.hero-split .hero-text .hero-badge { margin-bottom: 24px; }
.hero-split .hero-text h1 { margin-left: 0; margin-right: 0; }
.hero-split .hero-text .hero-sub { margin-left: 0; margin-right: 0; }
.hero-split .hero-text .hero-buttons { justify-content: flex-start; margin-bottom: 0; }
.hero-split .hero-visual { margin: 0; max-width: none; }
.hero-scroll-hint { display: none; }
@media (max-width: 1024px) {
  .hero-split { grid-template-columns: 1fr; text-align: center; }
  .hero-split .hero-text h1 { margin-left: auto; margin-right: auto; }
  .hero-split .hero-text .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-split .hero-text .hero-buttons { justify-content: center; margin-bottom: 48px; }
  .hero-scroll-hint { display: flex; justify-content: center; margin-top: 32px; animation: bobDown 2s infinite; }
}
@keyframes bobDown { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(192, 236, 70, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(192, 236, 70, 0.1);
  border: 1px solid rgba(192, 236, 70, 0.2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-light);
  margin-bottom: 32px;
}
.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 24px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.hero h1 .gradient {
  color: var(--accent);
}

.hero-sub {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

.hero-visual {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow), 0 0 80px rgba(192, 236, 70, 0.1);
  border: 1px solid var(--border-light);
}

.hero-visual img {
  width: 100%;
  display: block;
}

.hero-visual .screenshot-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-dim);
}

.hero-glow {
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(192, 236, 70, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* ===== Logos / Trust Bar ===== */
.trust-bar {
  padding: 60px 0;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-bar p {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-dim);
  margin-bottom: 32px;
  font-weight: 600;
}
.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  opacity: 0.5;
}
.trust-logos span {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* ===== Section Base ===== */
.section {
  padding: 120px 0;
  position: relative;
}
.section-alt { background: var(--bg-primary); }

.section-header {
  text-align: center;
  margin-bottom: 72px;
}
.section-header .label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-header h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-header p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== Features Grid ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  transition: all 0.4s var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  border-color: rgba(192, 236, 70, 0.2);
  box-shadow: var(--shadow-glow);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 52px;
  height: 52px;
  background: rgba(192, 236, 70, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== Compact Feature List ===== */
.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.feature-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.feature-list-item:hover {
  background: rgba(255, 255, 255, 0.02);
}
.feature-list-item .fl-icon {
  font-size: 18px;
  width: 32px;
  height: 32px;
  background: rgba(192, 236, 70, 0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-list-item .fl-body h4 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 2px;
  color: var(--text);
}
.feature-list-item .fl-body p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}
@media (max-width: 768px) {
  .feature-list { grid-template-columns: 1fr; }
}

/* ===== Product Showcase ===== */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.showcase.reverse { direction: rtl; }
.showcase.reverse > * { direction: ltr; }

.showcase-content .label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 16px;
}
.showcase-content h3 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  line-height: 1.2;
}
.showcase-content p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.showcase-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.showcase-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-muted);
}
.showcase-list .check {
  width: 22px;
  height: 22px;
  background: rgba(192, 236, 70, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  font-size: 12px;
}

.showcase-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
}
.showcase-image img {
  width: 100%;
  display: block;
}
.showcase-image .screenshot-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-dim);
}

/* ===== Pricing ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: all 0.4s var(--transition);
  position: relative;
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.price-card.featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
  background: linear-gradient(180deg, rgba(192, 236, 70, 0.08) 0%, var(--bg-card) 40%);
}
.price-card.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.price-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 20px;
  border-radius: 100px;
}

.price-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.price-card .price-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}
.price-amount .currency {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-muted);
}
.price-amount .number {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1;
}
.price-amount .period {
  font-size: 14px;
  color: var(--text-muted);
}

.price-card .price-note {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 32px;
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}
.price-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}
.price-features .check { color: var(--accent); font-size: 16px; }
.price-features .x { color: var(--text-dim); font-size: 16px; }

.price-card .btn { width: 100%; justify-content: center; }

/* ===== Self-Host Banner ===== */
.selfhost {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 48px;
}
.selfhost-content h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}
.selfhost-content p {
  font-size: 15px;
  color: var(--text-muted);
}
.selfhost-code {
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 24px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--accent-light);
  white-space: nowrap;
}

/* ===== Security ===== */
.security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.security-item {
  text-align: center;
  padding: 32px 20px;
}
.security-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: rgba(192, 236, 70, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.security-item h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.security-item p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== CTA Section ===== */
.cta-section {
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(192, 236, 70, 0.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  line-height: 1.1;
}
.cta-section p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 40px;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 40px;
  background: var(--bg-deep);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text);
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  padding: 4px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent-light); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-dim);
}
.footer-social {
  display: flex;
  gap: 16px;
}
.footer-social a {
  color: var(--text-muted);
  font-size: 18px;
  transition: color 0.2s;
}
.footer-social a:hover { color: var(--accent); }

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}
.slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}
.slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===== Mobile Menu ===== */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 13, 10, 0.95);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mobile-menu.active { display: flex; }
.mobile-menu a {
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
}
.mobile-menu .close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 28px;
  cursor: pointer;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid .feature-card[style*="span 3"] { grid-column: span 2; }
  .pricing-grid { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase { gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

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

  .hero { padding: 140px 0 80px; }
  .hero h1 { letter-spacing: -1px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  #pricing .container > div[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }

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

  .showcase { grid-template-columns: 1fr; gap: 40px; }
  .showcase.reverse { direction: ltr; }

  .selfhost { flex-direction: column; text-align: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }

  .section { padding: 80px 0; }
}

@media (max-width: 480px) {
  .security-grid { grid-template-columns: 1fr; }
  .trust-logos { gap: 24px; }
}
