/*
Theme Name: GetOptimizedAI
Theme URI: https://www.getoptimizedai.com
Author: GetOptimizedAI
Author URI: https://www.getoptimizedai.com
Description: Clean White + Electric Blue theme for GetOptimizedAI — AI-powered website optimization for small businesses.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: getoptimizedai
Tags: business, one-page, custom-colors, custom-logo, full-width-template
*/

/* ── CSS VARIABLES ── */
:root {
  --blue: #0057ff;
  --blue-dark: #0040c1;
  --blue-light: #e8f0ff;
  --blue-mid: #c5d8ff;
  --ink: #06090f;
  --ink-soft: #3a4155;
  --ink-muted: #7a859a;
  --white: #ffffff;
  --off-white: #f7f9fc;
  --border: #e2e8f4;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NAV ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
.site-logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -.01em;
  white-space: nowrap;
  flex-shrink: 0;
}
.site-logo span { color: var(--blue); }
.main-nav { display: flex; align-items: center; }
.main-nav ul { display: flex; gap: 20px; list-style: none; align-items: center; flex-wrap: nowrap; }
.main-nav ul a {
  text-decoration: none;
  font-size: .82rem;
  font-weight: 600;
  color: #1a1a2e;
  transition: color .2s;
  white-space: nowrap;
}
.main-nav ul a:hover { color: var(--blue); }
.main-nav ul li.nav-cta a,
.main-nav ul li.nav-cta a:hover { color: #ffffff !important; }
.nav-cta,
.main-nav ul li.nav-cta a {
  background: var(--blue) !important;
  color: #ffffff !important;
  padding: 8px 18px !important;
  border-radius: 8px;
  font-weight: 600 !important;
  font-size: .82rem !important;
  transition: background .2s, transform .15s !important;
  white-space: nowrap;
}
.nav-cta:hover,
.main-nav ul li.nav-cta a:hover { background: var(--blue-dark) !important; color: #ffffff !important; transform: translateY(-1px); }

/* Hamburger toggle (mobile) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all .25s;
}
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 16px 32px 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
  }
  .main-nav.open { display: flex; }
  .main-nav ul { flex-direction: column; gap: 4px; width: 100%; align-items: flex-start; }
  .main-nav ul li { width: 100%; }
  .main-nav ul a { display: block; padding: 10px 0; font-size: .9rem; border-bottom: 1px solid var(--border); }
  .main-nav ul li:last-child a { border-bottom: none; }
  .nav-cta { margin-top: 8px; display: inline-block; }
}

/* ── HERO ── */
.hero-section {
  padding: 90px 40px 80px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-light);
  color: var(--blue);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
  border: 1px solid var(--blue-mid);
}
.hero-badge::before { content: '⚡'; }
.hero-content h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.4rem, 3.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}
.hero-content h1 em { font-style: normal; color: var(--blue); }
.hero-content p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 100%;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--blue);
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(0,87,255,.25);
  display: inline-block;
}
.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,87,255,.35);
  color: #fff;
}
.btn-secondary {
  background: transparent;
  color: var(--ink);
  padding: 14px 28px;
  border-radius: 10px;
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  border: 1.5px solid var(--border);
  transition: border-color .2s, color .2s;
  display: inline-block;
}
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); }

/* ── HERO CARD ── */
.hero-visual .hero-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,.08);
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), #60a5fa);
}
.metric-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.metric { background: var(--off-white); border-radius: 12px; padding: 18px; border: 1px solid var(--border); }
.metric-val { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.6rem; font-weight: 700; color: var(--blue); line-height: 1.2; margin-bottom: 4px; letter-spacing: 0; }
.metric-label { font-size: .72rem; color: var(--ink-muted); font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
.chat-bubble { background: var(--blue-light); border-radius: 12px 12px 12px 4px; padding: 12px 16px; font-size: .82rem; color: var(--ink); margin-bottom: 8px; border: 1px solid var(--blue-mid); max-width: 85%; }
.chat-bubble.right { background: var(--blue); color: #fff; border-radius: 12px 12px 4px 12px; margin-left: auto; border-color: transparent; }
.chat-label { font-size: .65rem; color: var(--ink-muted); margin-bottom: 4px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; margin-right: 6px; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }

/* ── PROOF BAR ── */
.proof-bar { background: var(--off-white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 24px 40px; text-align: center; }
.proof-bar p { font-size: .82rem; color: var(--ink-muted); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; }
.proof-logos { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.proof-logo { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 1rem; color: #c0c8d8; }

/* ── SECTIONS ── */
.section-wrap { padding: 90px 40px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.section-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; letter-spacing: -.01em; line-height: 1.2; margin-bottom: 16px; }
.section-sub { color: var(--ink-soft); font-size: 1rem; max-width: 520px; line-height: 1.7; margin-bottom: 56px; }

/* ── FEATURES GRID ── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { background: var(--off-white); border: 1px solid var(--border); border-radius: 16px; padding: 28px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.feature-card:hover { border-color: var(--blue-mid); box-shadow: 0 8px 32px rgba(0,87,255,.08); transform: translateY(-3px); }
.feature-icon { width: 44px; height: 44px; background: var(--blue-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: 18px; border: 1px solid var(--blue-mid); }
.feature-card h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: .875rem; color: var(--ink-soft); line-height: 1.65; }

/* ── HOW IT WORKS ── */
.bg-offwhite { background: var(--off-white); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.steps::before { content: ''; position: absolute; top: 28px; left: 10%; right: 10%; height: 1px; background: var(--blue-mid); z-index: 0; }
.step { text-align: center; padding: 0 20px; position: relative; z-index: 1; }
.step-num { width: 56px; height: 56px; background: var(--white); border: 2px solid var(--blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.1rem; color: var(--blue); margin: 0 auto 24px; box-shadow: 0 0 0 6px var(--off-white); }
.step h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: .95rem; margin-bottom: 10px; }
.step p { font-size: .82rem; color: var(--ink-soft); line-height: 1.65; }

/* ── PRICING ── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.pricing-card { border: 1.5px solid var(--border); border-radius: 20px; padding: 36px 30px; position: relative; transition: box-shadow .2s, transform .2s; }
.pricing-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,.07); transform: translateY(-3px); }
.pricing-card.featured { border-color: var(--blue); background: var(--ink); color: var(--white); transform: scale(1.03); }
.pricing-card.featured:hover { transform: scale(1.03) translateY(-3px); }
.popular-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--blue); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 14px; border-radius: 20px; white-space: nowrap; }
.plan-name { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 1rem; margin-bottom: 8px; }
.plan-price { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 2.8rem; font-weight: 800; line-height: 1; margin-bottom: 4px; letter-spacing: -.03em; }
.plan-price sup { font-size: 1.2rem; vertical-align: super; font-weight: 600; }
.plan-period { font-size: .8rem; margin-bottom: 28px; opacity: .6; }
.plan-features { list-style: none; margin-bottom: 32px; }
.plan-features li { font-size: .875rem; padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,.06); display: flex; align-items: center; gap: 10px; line-height: 1.4; }
.pricing-card.featured .plan-features li { border-color: rgba(255,255,255,.1); }
.plan-features li::before { content: '✓'; font-weight: 700; color: var(--blue); flex-shrink: 0; }
.pricing-card.featured .plan-features li::before { color: #60a5fa; }
.plan-btn { display: block; text-align: center; padding: 13px; border-radius: 10px; font-weight: 600; font-size: .9rem; text-decoration: none; transition: all .2s; border: 1.5px solid var(--blue); color: var(--blue); background: transparent; }
.plan-btn:hover { background: var(--blue); color: #fff; }
.pricing-card.featured .plan-btn { background: var(--blue); color: #fff; }
.pricing-card.featured .plan-btn:hover { background: var(--blue-dark); }

/* ── CTA SECTION ── */
.cta-section { background: var(--ink); padding: 90px 40px; }
.cta-inner { max-width: 700px; margin: 0 auto; text-align: center; }
.cta-inner h2 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 800; color: var(--white); margin-bottom: 16px; letter-spacing: -.03em; line-height: 1.1; }
.cta-inner h2 em { font-style: normal; color: #60a5fa; }
.cta-inner p { color: #94a3b8; margin-bottom: 36px; font-size: 1rem; line-height: 1.7; }
.cta-form { display: flex; gap: 12px; max-width: 460px; margin: 0 auto; }
.cta-form input { flex: 1; padding: 14px 18px; border-radius: 10px; border: 1.5px solid #2d3a50; background: #111827; color: #fff; font-size: .9rem; font-family: 'DM Sans', sans-serif; outline: none; transition: border-color .2s; }
.cta-form input::placeholder { color: #4a5568; }
.cta-form input:focus { border-color: var(--blue); }
.cta-form button { background: var(--blue); color: #fff; border: none; padding: 14px 24px; border-radius: 10px; font-size: .9rem; font-weight: 600; cursor: pointer; font-family: 'DM Sans', sans-serif; transition: background .2s; white-space: nowrap; }
.cta-form button:hover { background: var(--blue-dark); }

/* ── FOOTER ── */
.site-footer { background: var(--ink); border-top: 1px solid #1e293b; padding: 60px 40px 40px; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand p { font-size: .85rem; color: #64748b; line-height: 1.7; margin-top: 12px; max-width: 240px; }
.footer-col h4 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: .8rem; font-weight: 700; color: #fff; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { text-decoration: none; color: #64748b; font-size: .85rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--blue); }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: .8rem; color: #475569; }
.footer-logo { color: #ffffff !important; }
.footer-logo span { color: var(--blue) !important; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.hero-content > * { animation: fadeUp .6s ease both; }
.hero-content > *:nth-child(1) { animation-delay: .05s; }
.hero-content > *:nth-child(2) { animation-delay: .15s; }
.hero-content > *:nth-child(3) { animation-delay: .25s; }
.hero-content > *:nth-child(4) { animation-delay: .35s; }
.hero-visual { animation: fadeUp .7s .3s ease both; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-section { grid-template-columns: 1fr; gap: 40px; padding: 60px 24px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 32px; }
  .steps::before { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .site-header { padding: 0 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-wrap { padding: 60px 24px; }
}
@media (max-width: 560px) {
  .features-grid { grid-template-columns: 1fr; }
  .cta-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════
   BLOG STYLES
═══════════════════════════════════════ */

/* ── BLOG BANNER ── */
.blog-banner {
  background: linear-gradient(135deg, var(--ink) 0%, #0a1628 100%);
  padding: 80px 40px 70px;
  text-align: center;
}
.blog-banner-inner { max-width: 700px; margin: 0 auto; }
.blog-banner .section-tag { color: #60a5fa; }
.blog-banner .section-title { color: var(--white); margin-bottom: 16px; }
.blog-banner .section-sub { color: #94a3b8; margin-bottom: 0; max-width: 100%; }

/* ── LAYOUT ── */
.blog-grid-wrap {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  align-items: start;
}
.blog-main { min-width: 0; }

/* ── POST CARD (archive) ── */
.posts-grid { display: flex; flex-direction: column; gap: 36px; }
.post-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.post-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.07); transform: translateY(-2px); }
.post-thumb-link { display: block; overflow: hidden; }
.post-thumb { width: 100%; height: 240px; object-fit: cover; display: block; transition: transform .4s; }
.post-card:hover .post-thumb { transform: scale(1.03); }
.post-card-body { padding: 28px 32px 32px; }
.post-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.post-date, .post-read-time { font-size: .78rem; color: var(--ink-muted); font-weight: 500; }
.post-sep { color: var(--border); }
.post-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.35rem; font-weight: 700; line-height: 1.3; letter-spacing: -.02em; margin-bottom: 12px; }
.post-title a { text-decoration: none; color: var(--ink); transition: color .2s; }
.post-title a:hover { color: var(--blue); }
.post-excerpt { font-size: .9rem; color: var(--ink-soft); line-height: 1.7; margin-bottom: 20px; }
.post-read-more { font-size: .85rem; font-weight: 600; color: var(--blue); text-decoration: none; transition: gap .2s; }
.post-read-more:hover { text-decoration: underline; }

/* ── PAGINATION ── */
.blog-pagination { margin-top: 48px; }
.blog-pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.blog-pagination .page-numbers {
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink-soft);
  border: 1.5px solid var(--border);
  transition: all .2s;
}
.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ── SINGLE POST HERO ── */
.single-hero {
  background: linear-gradient(135deg, var(--ink) 0%, #0a1628 100%);
  padding: 72px 40px 60px;
}
.single-hero-inner { max-width: 800px; margin: 0 auto; }
.post-meta-lg { margin-bottom: 20px; }
.post-meta-lg .post-date,
.post-meta-lg .post-author,
.post-meta-lg .post-read-time { color: #94a3b8; font-size: .85rem; }
.single-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.03em;
  color: var(--white);
  margin-bottom: 32px;
}
.single-thumb-wrap { border-radius: 16px; overflow: hidden; }
.single-thumb { width: 100%; max-height: 420px; object-fit: cover; display: block; }

/* ── ARTICLE CONTENT ── */
.single-article { background: var(--white); border-radius: 20px; border: 1px solid var(--border); padding: 48px; }

/* TABLE OF CONTENTS — sidebar version */
.toc-sidebar-box { border-left: 3px solid var(--blue) !important; }
.toc-sidebar-box .sidebar-widget-title { color: var(--blue); border-color: var(--blue-mid); }
#toc-list { list-style: none; margin-top: 4px; }
#toc-list li { margin-bottom: 2px; }
#toc-list li.toc-sub { padding-left: 14px; }
#toc-list a {
  font-size: .82rem;
  color: var(--ink-muted);
  text-decoration: none;
  display: block;
  padding: 5px 8px;
  border-radius: 6px;
  transition: color .2s, background .2s;
  line-height: 1.4;
}
#toc-list a:hover { color: var(--blue); background: var(--blue-light); }
#toc-list a.toc-active { color: var(--blue); background: var(--blue-light); font-weight: 600; }

/* CONTENT TYPOGRAPHY */
.post-content h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 48px 0 16px;
  color: var(--ink);
  padding-top: 8px;
  border-top: 2px solid var(--blue-light);
}
.post-content h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--ink);
}
.post-content p { font-size: .975rem; line-height: 1.8; color: var(--ink-soft); margin-bottom: 20px; }
.post-content ul, .post-content ol { padding-left: 24px; margin-bottom: 20px; }
.post-content li { font-size: .975rem; line-height: 1.75; color: var(--ink-soft); margin-bottom: 6px; }
.post-content a { color: var(--blue); text-decoration: underline; }
.post-content a:hover { color: var(--blue-dark); }
.post-content strong { color: var(--ink); font-weight: 600; }
.post-content blockquote {
  border-left: 3px solid var(--blue);
  margin: 28px 0;
  padding: 16px 24px;
  background: var(--blue-light);
  border-radius: 0 10px 10px 0;
  font-style: italic;
  color: var(--ink-soft);
}
.post-content img { max-width: 100%; border-radius: 10px; margin: 24px 0; }
.post-content code { background: var(--off-white); padding: 2px 7px; border-radius: 5px; font-size: .85rem; border: 1px solid var(--border); }
.post-content pre { background: var(--ink); color: #e2e8f4; padding: 24px; border-radius: 12px; overflow-x: auto; margin-bottom: 24px; }
.post-content pre code { background: none; border: none; font-size: .875rem; }

/* POST FOOTER */
.post-footer { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); font-size: .85rem; color: var(--ink-muted); }
.tag-label { font-weight: 600; color: var(--ink); }
.post-footer a { color: var(--blue); text-decoration: none; }

/* POST NAV */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.post-nav-prev { text-align: left; }
.post-nav-next { text-align: right; }
.post-nav-label { display: block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-muted); margin-bottom: 6px; }
.post-nav-title { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: .9rem; color: var(--ink); text-decoration: none; line-height: 1.4; transition: color .2s; }
.post-nav-title:hover { color: var(--blue); }

/* ── SIDEBAR ── */
.blog-sidebar { display: flex; flex-direction: column; gap: 28px; position: sticky; top: 84px; }
.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}
.sidebar-widget-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

/* CTA WIDGET */
.sidebar-cta {
  background: var(--ink);
  border-color: transparent;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.sidebar-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), #60a5fa);
}
.sidebar-cta-badge {
  display: inline-block;
  background: rgba(0,87,255,.2);
  color: #60a5fa;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
  border: 1px solid rgba(96,165,250,.3);
}
.sidebar-cta h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.05rem; font-weight: 800; color: var(--white); margin-bottom: 10px; line-height: 1.3; }
.sidebar-cta p { font-size: .82rem; color: #94a3b8; margin-bottom: 20px; line-height: 1.6; }
.sidebar-btn { width: 100%; text-align: center; display: block; padding: 12px; font-size: .875rem; }

/* RECENT POSTS */
.sidebar-recent { list-style: none; }
.sidebar-recent li { padding: 10px 0; border-bottom: 1px solid var(--border); }
.sidebar-recent li:last-child { border-bottom: none; }
.sidebar-recent a { font-size: .85rem; font-weight: 500; color: var(--ink); text-decoration: none; line-height: 1.4; display: block; margin-bottom: 4px; transition: color .2s; }
.sidebar-recent a:hover { color: var(--blue); }
.sidebar-date { font-size: .72rem; color: var(--ink-muted); }

/* CATEGORIES */
.sidebar-cats { list-style: none; }
.sidebar-cats li { padding: 6px 0; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; }
.sidebar-cats li:last-child { border-bottom: none; }
.sidebar-cats a { font-size: .85rem; color: var(--ink-soft); text-decoration: none; transition: color .2s; }
.sidebar-cats a:hover { color: var(--blue); }
.sidebar-cats .count { font-size: .75rem; color: var(--ink-muted); background: var(--off-white); padding: 1px 7px; border-radius: 10px; }

/* ── BLOG RESPONSIVE ── */
@media (max-width: 1000px) {
  .blog-grid-wrap { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
}
@media (max-width: 600px) {
  .single-article { padding: 28px 20px; }
  .post-card-body { padding: 20px; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav-next { text-align: left; }
  .single-hero { padding: 48px 24px 40px; }
  .blog-banner { padding: 56px 24px; }
}

/* ═══════════════════════════════════════
   AUDIT FORM
═══════════════════════════════════════ */
.cta-section {
  background: var(--ink);
  padding: 100px 40px;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,87,255,.15) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.cta-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #60a5fa;
  margin-bottom: 14px;
}
.cta-inner h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: -.02em;
  line-height: 1.15;
}
.cta-inner h2 em { font-style: normal; color: #60a5fa; }
.cta-inner > p {
  color: #94a3b8;
  margin-bottom: 44px;
  font-size: 1rem;
  line-height: 1.7;
}

/* FORM */
.audit-form {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 40px;
  text-align: left;
  backdrop-filter: blur(10px);
}
.audit-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.audit-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}
.audit-form-row .audit-field { margin-bottom: 0; }
.audit-field label {
  font-size: .78rem;
  font-weight: 600;
  color: #cbd5e1;
  letter-spacing: .02em;
}
.audit-field input,
.audit-field textarea {
  background: rgba(255,255,255,.07);
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: 10px;
  padding: 13px 16px;
  color: #fff;
  font-size: .9rem;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  transition: border-color .2s, background .2s;
  resize: vertical;
}
.audit-field input::placeholder,
.audit-field textarea::placeholder { color: #475569; }
.audit-field input:focus,
.audit-field textarea:focus {
  border-color: var(--blue);
  background: rgba(0,87,255,.08);
}
.audit-submit {
  width: 100%;
  margin-top: 8px;
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 15px 28px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(0,87,255,.3);
  letter-spacing: .01em;
}
.audit-submit:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,87,255,.4);
}

/* Success/error notice */
.audit-notice {
  padding: 14px 20px;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 500;
  margin-bottom: 24px;
  text-align: center;
}
.audit-notice.success { background: rgba(34,197,94,.15); color: #4ade80; border: 1px solid rgba(34,197,94,.3); }
.audit-notice.error   { background: rgba(239,68,68,.15);  color: #f87171; border: 1px solid rgba(239,68,68,.3); }

@media (max-width: 600px) {
  .audit-form { padding: 24px 20px; }
  .audit-form-row { grid-template-columns: 1fr; }
  .cta-section { padding: 70px 24px; }
}

/* ═══════════════════════════════════════
   BROWSER FRAME HERO
═══════════════════════════════════════ */
.browser-frame {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 64px rgba(0,0,0,.1);
}
.browser-chrome {
  background: #f0f2f5;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
}
.browser-dots { display: flex; gap: 6px; flex-shrink: 0; }
.dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.dot-red    { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green  { background: #28c840; }
.browser-url {
  flex: 1;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .72rem;
  color: var(--ink-muted);
}
.browser-nav {
  background: #fff;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.browser-logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: .85rem;
  color: var(--ink);
}
.browser-logo em { font-style: normal; color: var(--blue); }
.browser-nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .7rem;
  color: var(--ink-soft);
}
.browser-nav-cta {
  background: var(--blue);
  color: #fff !important;
  padding: 4px 10px;
  border-radius: 5px;
  font-weight: 600;
}
.browser-body { background: #fff; padding: 18px; }
.browser-live-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 14px;
}
.browser-chat { margin-top: 14px; border-top: 1px solid var(--border); padding-top: 14px; display: flex; flex-direction: column; gap: 8px; }

/* browser frame input bar */
.browser-input-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.browser-input-field {
  flex: 1;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 14px;
  font-size: .78rem;
  color: var(--ink-muted);
}
.browser-send-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 9px 16px;
  font-size: .78rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: default;
  white-space: nowrap;
}

/* ═══════════════════════════════════════
   OPENCLAW LANDING PAGE
═══════════════════════════════════════ */

/* HERO */
.oc-hero {
  background: linear-gradient(135deg, var(--ink) 0%, #0a1628 100%);
  padding: 110px 40px 90px;
  text-align: center;
}
.oc-hero-inner { max-width: 780px; margin: 0 auto; }
.oc-hero h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}
.oc-hero h1 em { font-style: normal; color: #60a5fa; }
.oc-hero p { color: #94a3b8; font-size: 1.05rem; line-height: 1.7; margin-bottom: 36px; }
.oc-hero .hero-badge { margin: 0 auto 24px; display: inline-flex; }
.oc-hero .hero-btns { justify-content: center; }
.oc-trust-row {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 32px;
  font-size: .78rem;
  font-weight: 600;
  color: #60a5fa;
  letter-spacing: .03em;
}

/* TWO COL LAYOUT */
.oc-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* WHAT IS CARD */
.oc-what-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.oc-what-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.oc-what-icon {
  font-size: 1.4rem;
  width: 44px;
  height: 44px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--blue-mid);
}
.oc-what-item strong { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 4px; color: var(--ink); }
.oc-what-item p { font-size: .82rem; color: var(--ink-soft); line-height: 1.5; margin: 0; }
.oc-body { font-size: .975rem; color: var(--ink-soft); line-height: 1.8; margin-bottom: 16px; }

/* VS GRID */
.oc-vs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}
.oc-vs-card {
  border-radius: 16px;
  padding: 32px;
  border: 1.5px solid var(--border);
}
.oc-vs-bad { background: #fff5f5; border-color: #fecaca; }
.oc-vs-good { background: #f0fdf4; border-color: #86efac; }
.oc-vs-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 20px;
  color: var(--ink);
}
.oc-vs-card ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.oc-vs-card ul li { font-size: .875rem; color: var(--ink-soft); line-height: 1.5; padding-left: 4px; }

/* TRUST SECTION */
.oc-trust-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.oc-badges { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.oc-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-light);
  border: 1px solid var(--blue-mid);
  border-radius: 8px;
  padding: 8px 16px;
  width: fit-content;
}
.oc-stats-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.oc-stat {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
}
.oc-stat-val {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 6px;
}
.oc-stat-label { font-size: .75rem; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }

/* FAQ */
.oc-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.oc-faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: border-color .2s, box-shadow .2s;
}
.oc-faq-item:hover { border-color: var(--blue-mid); box-shadow: 0 4px 20px rgba(0,87,255,.06); }
.oc-faq-item h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ink);
}
.oc-faq-item p { font-size: .875rem; color: var(--ink-soft); line-height: 1.65; margin: 0; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .oc-two-col, .oc-vs-grid, .oc-trust-section, .oc-faq-grid { grid-template-columns: 1fr; }
  .oc-hero { padding: 70px 24px 60px; }
  .oc-trust-row { gap: 16px; }
}
