/*!
Theme Name:        CVEWatcher
Theme URI:         https://cvewatcher.io/
Author:            Netanel Siboni
Author URI:        https://www.linkedin.com/in/netanel-sibonis/
Description:       Official marketing theme for CVEWatcher — autonomous cyber expert and tool orchestrator for Linux servers. Single-page, white, modern, English. Includes investor-grade founder bio (Netanel Siboni · Voxfor · 19+ years production), calendar / email / LinkedIn contact, full JSON-LD schema (Organization + Person + SoftwareApplication + FAQ), and llms.txt / robots.txt / sitemap.xml / security.txt routes wired into WordPress. One-click static front page on activation.
Version:           1.1.0
Requires at least: 6.0
Tested up to:      6.6
Requires PHP:      7.4
License:           Proprietary — All Rights Reserved
License URI:       https://cvewatcher.io/
Text Domain:       cvewatcher
Tags:              one-page, business, technology, custom-colors, custom-menu, theme-options, threaded-comments, translation-ready
*/

/* =========================================================
   CVEWatcher — white, modern, calm. Single stylesheet.
   ========================================================= */

:root {
  --brand:        #2563eb;
  --brand-strong: #1d4ed8;
  --brand-soft:   #eff6ff;
  --accent:       #10b981;
  --accent-soft:  #ecfdf5;
  --warn:         #f59e0b;
  --danger:       #ef4444;

  --bg:           #ffffff;
  --bg-soft:      #f8fafc;
  --bg-softer:    #f1f5f9;
  --surface:      #ffffff;
  --border:       #e5e7eb;
  --border-soft:  #f1f5f9;

  --text:         #0f172a;
  --text-muted:   #475569;
  --text-soft:    #64748b;

  --font-sans:    'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --container:    1180px;
  --radius:       14px;
  --radius-sm:    10px;
  --radius-lg:    20px;

  --shadow-xs:    0 1px 2px rgba(15, 23, 42, .04);
  --shadow-sm:    0 2px 6px rgba(15, 23, 42, .06);
  --shadow-md:    0 8px 24px rgba(15, 23, 42, .08);
  --shadow-lg:    0 24px 60px rgba(15, 23, 42, .12);

  --ease:         cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--brand); text-decoration: none; transition: color .15s var(--ease); }
a:hover { color: var(--brand-strong); }

h1, h2, h3, h4 {
  margin: 0 0 .4em;
  letter-spacing: -0.02em;
  color: var(--text);
  font-weight: 700;
  line-height: 1.15;
}
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); }
h3 { font-size: 1.15rem; }
p  { margin: 0 0 1em; color: var(--text-muted); }
em { font-style: normal; color: var(--brand); }

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

.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: #0f172a; color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100;
}
.skip-link:focus { left: 12px; }

/* WP admin bar compensation */
body.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { body.admin-bar .nav { top: 46px; } }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border-soft);
}
.nav-inner {
  display: flex; align-items: center; gap: 24px;
  height: 68px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); font-weight: 700; letter-spacing: -0.01em;
}
.brand:hover { color: var(--text); }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand) 0%, #6366f1 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, .25);
}
.brand-name { font-size: 1.05rem; }
.brand-tld { color: var(--text-soft); font-weight: 500; }

.nav-links {
  display: flex; gap: 28px; margin-left: auto;
}
.nav-links a {
  color: var(--text-muted); font-weight: 500; font-size: .94rem;
  position: relative; padding: 6px 0;
}
.nav-links a:hover { color: var(--text); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  height: 2px; width: 0; background: var(--brand);
  transition: width .25s var(--ease);
}
.nav-links a:hover::after { width: 100%; }

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

.nav-toggle {
  display: none;
  width: 40px; height: 40px; padding: 0; margin-left: auto;
  background: transparent; border: 1px solid var(--border);
  border-radius: 10px; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 4px;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}

.nav-mobile {
  display: none;
  border-top: 1px solid var(--border-soft);
  padding: 16px 24px 24px;
  background: #fff;
}
.nav-mobile a {
  display: block; padding: 10px 0;
  color: var(--text); font-weight: 500;
  border-bottom: 1px solid var(--border-soft);
}
.nav-mobile a:last-child { border-bottom: 0; margin-top: 12px; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600; font-size: .94rem;
  font-family: inherit;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s var(--ease), background-color .15s var(--ease),
              color .15s var(--ease), border-color .15s var(--ease), box-shadow .15s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 14px 22px; font-size: 1rem; border-radius: 12px; }

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 22px rgba(37, 99, 235, .22);
}
.btn-primary:hover {
  background: var(--brand-strong);
  color: #fff;
  box-shadow: 0 12px 28px rgba(37, 99, 235, .28);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: var(--bg-soft);
  color: var(--text);
  border-color: #cbd5e1;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding: clamp(56px, 10vw, 110px) 0 clamp(48px, 8vw, 90px);
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(99, 102, 241, .12), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(37, 99, 235, .10), transparent 55%),
    #fff;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, .04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, .04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 56px; align-items: center;
}
.hero-copy h1 em { color: var(--brand); font-style: normal; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  border-radius: 999px;
  font-size: .82rem; font-weight: 600; letter-spacing: .02em;
  border: 1px solid #dbeafe;
  margin-bottom: 22px;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, .18);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(16, 185, 129, .18); }
  50%      { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}

.lead {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 56ch;
  margin-top: 8px;
}

.hero-actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 28px;
}
.hero-badges {
  list-style: none; padding: 0;
  margin: 32px 0 0;
  display: grid; gap: 10px;
}
.hero-badges li {
  font-size: .92rem; color: var(--text-muted);
  padding-left: 22px;
  position: relative;
}
.hero-badges li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent-soft);
  border: 2px solid var(--accent);
}
.hero-badges strong { color: var(--text); margin-right: 6px; }

/* TERMINAL */
.hero-terminal { position: relative; }
.hero-terminal::after {
  content: ""; position: absolute; inset: -30px;
  background: radial-gradient(closest-side, rgba(37, 99, 235, .12), transparent 70%);
  z-index: -1; filter: blur(10px);
}
.term {
  background: #0b1220;
  border-radius: 14px;
  border: 1px solid #1f2937;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.term-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 14px;
  background: #0f172a;
  border-bottom: 1px solid #1f2937;
  position: relative;
}
.term-bar span {
  width: 10px; height: 10px; border-radius: 50%;
  background: #475569;
}
.term-bar span:nth-child(1) { background: #ef4444; }
.term-bar span:nth-child(2) { background: #f59e0b; }
.term-bar span:nth-child(3) { background: #22c55e; }
.term-bar p {
  position: absolute; left: 50%; transform: translateX(-50%);
  margin: 0; color: #94a3b8; font-size: .82rem;
  font-family: var(--font-mono);
}
.term-body {
  margin: 0; padding: 18px 20px;
  color: #e2e8f0;
  font-family: var(--font-mono);
  font-size: .86rem; line-height: 1.7;
  white-space: pre-wrap;
  min-height: 240px;
}
.term-body .ok   { color: #22c55e; }
.term-body .arr  { color: #60a5fa; }
.term-body .warn { color: #f59e0b; }
.term-body .cursor {
  display: inline-block;
  width: 8px; height: 1em; vertical-align: -2px;
  background: #e2e8f0; margin-left: 4px;
  animation: blink 1.05s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* =========================================================
   TRUST BAR
   ========================================================= */
.trust {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: var(--bg-soft);
  padding: 20px 0;
}
.trust-inner {
  display: flex; align-items: center; gap: 28px;
  flex-wrap: wrap;
}
.trust-label {
  text-transform: uppercase; letter-spacing: .12em;
  font-size: .76rem; color: var(--text-soft); font-weight: 600;
}
.trust-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 28px 36px;
}
.trust-list li {
  font-size: .92rem; color: var(--text-muted); font-weight: 500;
}

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-alt { background: var(--bg-soft); }

.section-head {
  max-width: 760px;
  margin: 0 auto clamp(36px, 5vw, 56px);
  text-align: center;
}
.section-head .kicker {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  color: var(--brand); text-transform: uppercase;
  margin-bottom: 12px;
}
.section-sub { font-size: 1.05rem; color: var(--text-muted); }

.kicker {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  color: var(--brand); text-transform: uppercase;
  margin-bottom: 12px;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-xs);
  transition: transform .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.card:hover {
  transform: translateY(-2px);
  border-color: #dbeafe;
  box-shadow: var(--shadow-md);
}
.card h3 { margin-top: 0; }
.card p  { margin-bottom: 0; }

.card-icon { padding-top: 22px; }
.card-icon .icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--brand-soft);
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.steps {
  list-style: none; padding: 0; margin: 0;
  counter-reset: step;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.steps li {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 22px;
  position: relative;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.steps li:hover { transform: translateY(-2px); border-color: #dbeafe; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-weight: 700; font-size: .9rem;
  margin-bottom: 12px;
}
.steps h3 { margin-bottom: 4px; }
.steps p  { font-size: .92rem; margin-bottom: 0; }

.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.split-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-xs);
}
.split-card h3 {
  font-size: 1rem; margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.split-card .muted { color: var(--text-soft); font-weight: 500; font-size: .85rem; }

.code {
  margin: 0;
  padding: 14px 16px;
  background: #0b1220;
  color: #e2e8f0;
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: .82rem;
  line-height: 1.75;
  white-space: pre-wrap;
  overflow-x: auto;
}
.code .c-arr { color: #60a5fa; margin-right: 6px; }
.code .c-key { color: #34d399; font-weight: 600; }
.code strong { color: #fbbf24; font-weight: 600; }

.mt-l { margin-top: 28px; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.stat {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 26px 24px;
  text-align: left;
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.stat:hover { transform: translateY(-2px); border-color: #dbeafe; }
.stat-num {
  display: block;
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--brand);
  line-height: 1;
}
.stat-num small { font-size: .55em; color: var(--text-muted); margin-left: 2px; font-weight: 600; }
.stat-label { display: block; font-weight: 600; margin-top: 8px; color: var(--text); }
.stat-sub   { display: block; color: var(--text-soft); font-size: .88rem; margin-top: 4px; }

.quote {
  margin-top: 28px;
  padding: 24px 26px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--border-soft);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius);
  color: var(--text);
}
.quote p { margin: 0; color: var(--text); }
.quote-lg { padding: 32px; }
.quote-lg p { font-size: 1.1rem; line-height: 1.65; }

.callout {
  margin: 28px 0 0;
  padding: 22px 24px;
  background: var(--accent-soft);
  border: 1px solid #a7f3d0;
  border-radius: var(--radius);
  color: var(--text);
  font-size: 1rem;
}
.callout em { color: var(--text-soft); font-style: italic; }
.callout strong { color: var(--text); }

/* =========================================================
   ABOUT
   ========================================================= */
.about-grid {
  display: grid; grid-template-columns: 1.4fr .9fr;
  gap: 40px; align-items: center;
}
.about-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.about-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.about-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 84px; height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, #6366f1 100%);
  color: #fff; font-weight: 700; font-size: 1.6rem;
  margin: 0 auto 14px;
  box-shadow: 0 10px 28px rgba(37, 99, 235, .25);
}
.about-card h3 { margin: 8px 0 4px; font-size: 1.15rem; }
.about-list {
  list-style: none; padding: 0; margin: 14px 0 0;
  text-align: left;
}
.about-list li {
  padding: 10px 0;
  border-top: 1px solid var(--border-soft);
  color: var(--text-muted);
  font-size: .92rem;
}
.about-list li:first-child { border-top: 0; }

.muted { color: var(--text-soft); }

/* =========================================================
   CTA / CONTACT PANEL
   ========================================================= */
.cta {
  background:
    radial-gradient(900px 460px at 80% 0%, rgba(99, 102, 241, .14), transparent 60%),
    radial-gradient(700px 360px at 0% 100%, rgba(37, 99, 235, .10), transparent 60%),
    #fff;
}
.cta-inner { max-width: 880px; margin: 0 auto; text-align: center; }
.cta h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.cta p  { font-size: 1.05rem; }

.contact-panel {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  text-align: left;
}
.contact-panel-3 { grid-template-columns: repeat(3, 1fr); }

.contact-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.contact-card:hover {
  transform: translateY(-2px);
  border-color: #dbeafe;
  box-shadow: var(--shadow-md);
}

.contact-card h3 { margin-bottom: 8px; }
.contact-card p { font-size: .96rem; margin-bottom: 18px; }
.contact-card .btn { margin-top: auto; }

.contact-card-primary {
  border-color: #c7d2fe;
  background: linear-gradient(180deg, #ffffff 0%, #f5f7ff 100%);
  box-shadow: var(--shadow-md);
  position: relative;
}
.contact-card-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(37, 99, 235, .35), rgba(99, 102, 241, .25));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

.contact-label {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--brand-soft);
  border: 1px solid #dbeafe;
  color: var(--brand-strong);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.contact-card-primary .contact-label {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  border-top: 1px solid var(--border-soft);
  background: #fff;
  padding: 36px 0;
}
.footer-inner {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 20px;
}
.footer-brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; color: var(--text);
}
.footer-brand .brand-mark { width: 30px; height: 30px; border-radius: 8px; }
.footer-links {
  display: flex; gap: 22px; flex-wrap: wrap; justify-content: center;
}
.footer-links a {
  color: var(--text-muted); font-size: .92rem; font-weight: 500;
}
.footer-links a:hover { color: var(--text); }
.footer-meta {
  margin: 0; color: var(--text-soft); font-size: .82rem; text-align: right;
}

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */
.reveal {
  opacity: 0; transform: translateY(14px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps  { grid-template-columns: repeat(3, 1fr); }
  .stats  { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-panel-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-mobile.is-open { display: block; }

  .grid-3 { grid-template-columns: 1fr; }
  .steps  { grid-template-columns: 1fr; }
  .stats  { grid-template-columns: 1fr 1fr; }
  .split  { grid-template-columns: 1fr; }

  .contact-panel,
  .contact-panel-3 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-meta  { text-align: center; }

  .trust-list { gap: 10px 18px; }
}

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