/*
Theme Name: ScanCompliant
Theme URI: https://scancompliant.com
Author: ScanCompliant
Description: Custom theme for ScanCompliant — AI-powered marketing compliance.
Version: 1.0.0
License: Private
Text Domain: scancompliant
*/

/* ── Shared CSS variables & base reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy: #0a0f1e; --navy2: #111827; --accent: #2563eb; --accent2: #3b82f6;
  --gold: #f59e0b; --white: #ffffff; --gray: #6b7280;
  --lightgray: #f3f4f6; --border: #e5e7eb;
  --text: #111827; --textmuted: #6b7280; --radius: 10px;
}
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; color: var(--text); background: #fff; overflow-x: hidden; }

/* ── NAV ── */
nav.sc-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 68px;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-mark { width: 36px; height: 36px; background: var(--accent); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.nav-logo-mark svg { width: 22px; height: 22px; fill: white; }
.nav-logo-text { font-size: 17px; font-weight: 700; color: var(--navy); letter-spacing: -0.3px; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--gray); font-size: 14px; font-weight: 500; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-actions { display: flex; gap: 10px; align-items: center; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 20px; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none; transition: all .2s; border: none; }
.btn-outline { border: 1.5px solid var(--border); background: transparent; color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: #1d4ed8; }
.btn-lg { padding: 13px 28px; font-size: 15px; border-radius: 10px; }
.btn-white { background: white; color: var(--accent); }
.btn-white:hover { background: #eff6ff; }
.btn-ghost { border: 1.5px solid rgba(255,255,255,0.2); color: white; }
.btn-ghost:hover { background: rgba(255,255,255,0.07); }

/* ── FOOTER ── */
.sc-footer { background: var(--navy); color: #94a3b8; padding: 56px 24px 32px; }
.footer-grid { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-brand p { font-size: 14px; line-height: 1.7; margin-top: 14px; max-width: 280px; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; text-decoration: none; color: #94a3b8; font-size: 13px; font-weight: 700; transition: background .2s; }
.footer-social a:hover { background: rgba(255,255,255,0.12); }
.footer-col h4 { font-size: 13px; font-weight: 700; color: white; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { text-decoration: none; color: #94a3b8; font-size: 14px; transition: color .2s; }
.footer-col ul a:hover { color: white; }
.footer-bottom { max-width: 1140px; margin: 0 auto; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; align-items: center; font-size: 13px; flex-wrap: wrap; gap: 8px; }
.footer-disclaimer { color: #4b5563; font-size: 12px; margin-top: 8px; }

/* ── RESPONSIVE ── */
@media(max-width:900px) {
  nav.sc-nav { padding: 0 20px; }
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media(max-width:640px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PAGE HERO (About, Blog)
   ============================================================ */
.page-hero { padding: 140px 24px 72px; background: linear-gradient(135deg, var(--navy) 0%, #1e293b 100%); text-align: center; }
.page-hero h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 800; color: white; letter-spacing: -1px; margin-bottom: 16px; }
.page-hero p { color: #94a3b8; font-size: 18px; max-width: 600px; margin: 0 auto; line-height: 1.65; }

/* ============================================================
   HOMEPAGE — HERO
   ============================================================ */
.hero {
  min-height: 100vh; background: linear-gradient(135deg, var(--navy) 0%, #1e293b 60%, #0f172a 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 120px 24px 80px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(37,99,235,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; background: rgba(37,99,235,0.15); border: 1px solid rgba(37,99,235,0.3); border-radius: 999px; color: #93c5fd; font-size: 13px; font-weight: 500; margin-bottom: 28px; }
.hero-badge span { width: 6px; height: 6px; background: #60a5fa; border-radius: 50%; display: inline-block; }
.hero h1 { font-size: clamp(38px, 6vw, 68px); font-weight: 800; color: white; line-height: 1.08; letter-spacing: -1.5px; max-width: 820px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #60a5fa, #a78bfa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { color: #94a3b8; font-size: clamp(16px, 2.2vw, 20px); margin-top: 20px; max-width: 560px; line-height: 1.6; }
.hero-cta { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; justify-content: center; }
.hero-stats { display: flex; gap: 40px; margin-top: 60px; flex-wrap: wrap; justify-content: center; }
.hero-stat { text-align: center; }
.hero-stat-val { font-size: 28px; font-weight: 800; color: white; }
.hero-stat-label { font-size: 13px; color: #64748b; margin-top: 4px; }
.hero-chips { display: flex; gap: 10px; margin-top: 32px; flex-wrap: wrap; justify-content: center; }
.chip { padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; background: rgba(255,255,255,0.07); color: #94a3b8; border: 1px solid rgba(255,255,255,0.1); }
.chip strong { color: #60a5fa; }

/* MARQUEE */
.marquee-section { padding: 40px 0; background: #fafafa; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; }
.marquee-label { text-align: center; font-size: 13px; color: var(--textmuted); font-weight: 500; margin-bottom: 20px; letter-spacing: .5px; text-transform: uppercase; }
.marquee-track { display: flex; gap: 60px; animation: marquee 30s linear infinite; width: max-content; }
.marquee-logo-text { height: 28px; opacity: 0.55; filter: grayscale(1); white-space: nowrap; font-size: 15px; font-weight: 700; color: #374151; display: flex; align-items: center; }
@keyframes marquee { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* SECTIONS */
section { padding: 96px 24px; }
.section-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--accent); margin-bottom: 12px; }
.section-title { font-size: clamp(28px, 4vw, 42px); font-weight: 800; color: var(--navy); letter-spacing: -0.8px; line-height: 1.15; }
.section-sub { color: var(--textmuted); font-size: 17px; margin-top: 14px; max-width: 540px; line-height: 1.65; }
.container { max-width: 1140px; margin: 0 auto; }

/* HOW IT WORKS */
#how-it-works { background: white; }
.hiw-tab-bar { display: flex; gap: 0; border-bottom: 2px solid var(--border); margin-bottom: 0; }
.hiw-tab { flex: 1; padding: 16px 20px 18px; cursor: pointer; border: none; background: transparent; text-align: left; position: relative; border-bottom: 3px solid transparent; margin-bottom: -2px; transition: all .2s; }
.hiw-tab:hover .hiw-tab-title { color: var(--accent); }
.hiw-tab.active { border-bottom-color: var(--accent); }
.hiw-tab-num { font-size: 11px; font-weight: 800; color: var(--textmuted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; }
.hiw-tab.active .hiw-tab-num { color: var(--accent); }
.hiw-tab-title { font-size: 14px; font-weight: 700; color: var(--textmuted); line-height: 1.3; }
.hiw-tab.active .hiw-tab-title { color: var(--navy); }
.hiw-progress { height: 3px; background: var(--accent); border-radius: 2px; width: 0%; transition: width 3s linear; margin-top: 4px; }
.hiw-panel { display: none; padding: 48px 0 0; }
.hiw-panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; animation: fadeUp .3s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.hiw-visual { background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%); border-radius: 20px; padding: 48px 40px; display: flex; align-items: center; justify-content: center; min-height: 280px; position: relative; overflow: hidden; }
.hiw-visual::before { content: ''; position: absolute; top: -40px; right: -40px; width: 180px; height: 180px; background: rgba(37,99,235,0.08); border-radius: 50%; }
.hiw-visual-icon { font-size: 72px; position: relative; z-index: 1; }
.hiw-content-tag { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; color: var(--accent); margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.hiw-content-tag::before { content: ''; width: 20px; height: 2px; background: var(--accent); display: inline-block; }
.hiw-content h3 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; color: var(--navy); line-height: 1.2; margin-bottom: 16px; letter-spacing: -0.4px; }
.hiw-content p { font-size: 16px; color: var(--textmuted); line-height: 1.75; margin-bottom: 24px; }
.hiw-bullets { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.hiw-bullets li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text); line-height: 1.55; }
.hiw-bullet-dot { width: 20px; height: 20px; background: #eff6ff; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 10px; font-weight: 800; color: var(--accent); margin-top: 1px; }
.hiw-time-badge { display: inline-flex; align-items: center; gap: 6px; background: #f0fdf4; color: #15803d; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; border: 1.5px solid #bbf7d0; margin-bottom: 20px; }

/* CLARA AI SECTION */
#nova-ai { background: var(--navy); }
#nova-ai .section-title { color: white; }
#nova-ai .section-sub { color: #94a3b8; }
#nova-ai .section-label { color: #60a5fa; }
.nova-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 56px; align-items: start; }
.nova-cards { display: flex; flex-direction: column; gap: 18px; }
.nova-card { padding: 24px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; transition: background .2s; }
.nova-card:hover { background: rgba(255,255,255,0.07); }
.nova-card-icon { width: 36px; height: 36px; background: rgba(37,99,235,0.3); border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.nova-card-icon svg { width: 18px; height: 18px; stroke: #60a5fa; fill: none; stroke-width: 2; }
.nova-card h3 { font-size: 15px; font-weight: 700; color: white; margin-bottom: 8px; }
.nova-card p { font-size: 14px; color: #94a3b8; line-height: 1.6; }
.nova-chat-demo { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.chat-msg { display: flex; gap: 10px; align-items: flex-start; }
.chat-msg.user { flex-direction: row-reverse; }
.chat-avatar { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.chat-avatar.ai { background: var(--accent); color: white; }
.chat-avatar.user { background: #374151; color: #d1d5db; }
.chat-bubble { padding: 10px 14px; border-radius: 10px; font-size: 13px; line-height: 1.55; max-width: 260px; }
.chat-bubble.ai { background: rgba(255,255,255,0.07); color: #e2e8f0; border-bottom-left-radius: 2px; }
.chat-bubble.user { background: var(--accent); color: white; border-bottom-right-radius: 2px; }
.chat-input-demo { display: flex; gap: 8px; margin-top: 8px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.07); }
.chat-input-demo input { flex: 1; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; padding: 9px 12px; font-size: 13px; color: #e2e8f0; outline: none; }
.chat-input-demo button { background: var(--accent); border: none; border-radius: 8px; padding: 9px 14px; color: white; cursor: pointer; font-size: 13px; font-weight: 600; }

/* FEATURES */
#features { background: var(--lightgray); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; margin-top: 56px; }
.feat-card { background: white; border-radius: 14px; padding: 32px; border: 1.5px solid var(--border); transition: box-shadow .2s; }
.feat-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.06); }
.feat-icon { width: 48px; height: 48px; background: #eff6ff; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.feat-icon svg { width: 24px; height: 24px; stroke: var(--accent); fill: none; stroke-width: 2; }
.feat-card h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.feat-card p { font-size: 14px; color: var(--textmuted); line-height: 1.65; }
.feat-tabs { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.feat-tab { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #eff6ff; color: var(--accent); }

/* TESTIMONIALS */
#clients { background: white; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; margin-top: 48px; }
.testimonial { background: var(--lightgray); border-radius: 14px; padding: 28px; border: 1.5px solid var(--border); }
.testimonial blockquote { font-size: 14.5px; color: var(--text); line-height: 1.7; font-style: italic; margin-bottom: 18px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; color: white; flex-shrink: 0; }
.author-name { font-size: 14px; font-weight: 700; color: var(--navy); }
.author-title { font-size: 12px; color: var(--textmuted); margin-top: 2px; }
.show-more-btn { display: block; margin: 32px auto 0; background: none; border: 1.5px solid var(--border); border-radius: 8px; padding: 10px 24px; font-size: 14px; font-weight: 600; cursor: pointer; color: var(--text); transition: all .2s; }
.show-more-btn:hover { border-color: var(--accent); color: var(--accent); }
.hidden-testimonials { display: none; }
.hidden-testimonials.visible { display: contents; }

/* MEMBERSHIPS */
.memberships { background: #fafafa; padding: 48px 24px; border-top: 1px solid var(--border); }
.memberships-label { text-align: center; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--textmuted); margin-bottom: 28px; }
.memberships-logos { display: flex; flex-wrap: wrap; gap: 40px; justify-content: center; align-items: center; }
.memberships-logos .m-logo { font-size: 14px; font-weight: 700; color: #374151; opacity: 0.6; }

/* CONTACT */
#contact { background: var(--lightgray); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; margin-top: 48px; }
.contact-info h2 { font-size: 32px; font-weight: 800; color: var(--navy); margin-bottom: 14px; }
.contact-info p { color: var(--textmuted); font-size: 16px; line-height: 1.7; margin-bottom: 24px; }
.contact-perks { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.contact-perks li { display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--text); }
.perk-dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; flex-shrink: 0; }
.contact-form { background: white; border-radius: 16px; padding: 36px; border: 1.5px solid var(--border); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 7px; }
.form-group input, .form-group select { width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 14px; color: var(--text); background: #fafafa; outline: none; transition: border-color .2s; }
.form-group input:focus, .form-group select:focus { border-color: var(--accent); background: white; }
.form-success { display: none; text-align: center; padding: 32px; color: var(--accent); font-weight: 600; font-size: 16px; }
.form-note { font-size: 11px; color: var(--textmuted); margin-top: 12px; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-container { max-width: 900px; margin: 0 auto; padding: 80px 24px; }
.about-intro { font-size: 17px; color: var(--text); line-height: 1.8; margin-bottom: 32px; }
.founder-section { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: start; margin: 64px 0; padding: 48px; background: var(--lightgray); border-radius: 20px; border: 1.5px solid var(--border); }
.founder-img { width: 180px; height: 220px; background: linear-gradient(135deg, #1e3a5f, #2563eb); border-radius: 16px; display: flex; align-items: center; justify-content: center; color: white; font-size: 64px; font-weight: 800; }
.founder-content h2 { font-size: 26px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.founder-title { font-size: 14px; color: var(--accent); font-weight: 600; margin-bottom: 20px; }
.founder-bio { font-size: 15px; color: var(--textmuted); line-height: 1.8; }
.founder-awards { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.award-badge { padding: 5px 12px; background: #fef3c7; color: #92400e; border-radius: 999px; font-size: 12px; font-weight: 600; }
.about-contact-section { text-align: center; padding: 64px 24px; background: var(--navy); border-radius: 20px; margin-top: 8px; }
.about-contact-section h2 { font-size: 30px; font-weight: 800; color: white; margin-bottom: 12px; }
.about-contact-section p { color: #94a3b8; font-size: 16px; margin-bottom: 28px; }
.contact-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-white { background: white; color: var(--accent); }
.btn-white:hover { background: #eff6ff; }
.btn-ghost { border: 1.5px solid rgba(255,255,255,0.2); color: white; }
.btn-ghost:hover { background: rgba(255,255,255,0.07); }

/* ============================================================
   BLOG LISTING (home.php)
   ============================================================ */
.blog-hero { padding: 120px 24px 64px; background: linear-gradient(135deg, var(--navy) 0%, #1e293b 100%); text-align: center; }
.blog-hero-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: #60a5fa; margin-bottom: 14px; }
.blog-hero h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; color: white; letter-spacing: -1px; line-height: 1.1; margin-bottom: 16px; }
.blog-hero p { color: #94a3b8; font-size: 17px; max-width: 560px; margin: 0 auto 32px; line-height: 1.65; }
.blog-layout { max-width: 1140px; margin: 0 auto; padding: 56px 24px; display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.posts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.post-card { background: white; border-radius: 14px; border: 1.5px solid var(--border); overflow: hidden; cursor: pointer; transition: box-shadow .2s, transform .15s; text-decoration: none; color: inherit; display: block; }
.post-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.07); transform: translateY(-2px); }
.post-card-img { height: 160px; display: flex; align-items: center; justify-content: center; font-size: 44px; position: relative; overflow: hidden; }
.post-card-body { padding: 20px; }
.post-category { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.post-card h3 { font-size: 15px; font-weight: 700; color: var(--navy); line-height: 1.35; margin-bottom: 8px; }
.post-card p { font-size: 13px; color: var(--textmuted); line-height: 1.6; margin-bottom: 14px; }
.post-footer-meta { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--textmuted); padding-top: 12px; border-top: 1px solid #f3f4f6; }
.sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 88px; }
.sidebar-card { background: white; border-radius: 14px; border: 1.5px solid var(--border); overflow: hidden; }
.sidebar-card-header { padding: 16px 20px; border-bottom: 1px solid var(--border); font-size: 14px; font-weight: 700; color: var(--navy); }
.sidebar-card-body { padding: 16px 20px; }
.newsletter-card { background: linear-gradient(135deg, var(--navy), #1e3a5f); border-radius: 14px; padding: 24px; }
.newsletter-card h3 { font-size: 16px; font-weight: 800; color: white; margin-bottom: 8px; }
.newsletter-card p { font-size: 13px; color: #94a3b8; line-height: 1.6; margin-bottom: 18px; }
.newsletter-form { display: flex; flex-direction: column; gap: 10px; }
.newsletter-form input { padding: 10px 14px; border-radius: 8px; border: none; font-size: 13px; outline: none; }
.newsletter-form button { padding: 10px; background: var(--accent); color: white; border: none; border-radius: 8px; font-size: 13px; font-weight: 700; cursor: pointer; }
.tag { padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--lightgray); color: var(--textmuted); text-decoration: none; transition: all .15s; border: 1.5px solid transparent; }
.tag:hover { background: #eff6ff; color: var(--accent); border-color: #bfdbfe; }
.tags-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.cta-banner { background: linear-gradient(135deg, var(--navy), #1e3a5f); border-radius: 16px; padding: 40px; text-align: center; margin: 40px 0 0; }
.cta-banner h3 { font-size: 22px; font-weight: 800; color: white; margin-bottom: 10px; }
.cta-banner p { color: #94a3b8; font-size: 14px; margin-bottom: 22px; }
.cta-banner-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.sc-pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.sc-pagination a, .sc-pagination span { width: 38px; height: 38px; border-radius: 8px; border: 1.5px solid var(--border); background: white; font-size: 14px; font-weight: 600; cursor: pointer; transition: all .15s; display: flex; align-items: center; justify-content: center; text-decoration: none; color: var(--text); }
.sc-pagination .current, .sc-pagination a:hover { background: var(--accent); border-color: var(--accent); color: white; }

/* ============================================================
   SINGLE POST (single.php)
   ============================================================ */
.single-layout { max-width: 1140px; margin: 0 auto; padding: 56px 24px; display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.single-post-header { margin-bottom: 32px; }
.single-post-header h1 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; color: var(--navy); line-height: 1.2; margin-bottom: 16px; letter-spacing: -0.5px; }
.single-post-meta { display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--textmuted); margin-bottom: 32px; flex-wrap: wrap; }
.single-post-content { font-size: 16px; line-height: 1.8; color: var(--text); }
.single-post-content h2 { font-size: 22px; font-weight: 800; color: var(--navy); margin: 40px 0 14px; }
.single-post-content h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin: 28px 0 10px; }
.single-post-content p { margin-bottom: 20px; }
.single-post-content ul, .single-post-content ol { margin: 16px 0 20px 24px; }
.single-post-content li { margin-bottom: 8px; line-height: 1.7; }
.single-post-content blockquote { border-left: 4px solid var(--accent); padding: 16px 20px; background: #eff6ff; border-radius: 0 8px 8px 0; margin: 24px 0; font-style: italic; color: #1e3a5f; }
.single-post-content img { max-width: 100%; border-radius: 10px; margin: 20px 0; }
.author-box { background: var(--lightgray); border-radius: 14px; padding: 24px; display: flex; gap: 20px; align-items: flex-start; margin-top: 48px; border: 1.5px solid var(--border); }
.author-box-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; color: white; flex-shrink: 0; }
.author-box h4 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.author-box p { font-size: 14px; color: var(--textmuted); line-height: 1.65; }

/* ============================================================
   DEFAULT PAGE (Legal, etc.)
   ============================================================ */
.legal-layout { max-width: 900px; margin: 0 auto; padding: 80px 24px; }
.legal-content { font-size: 16px; line-height: 1.8; color: var(--text); }
.legal-content h1 { font-size: 36px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.legal-content .effective-date { font-size: 13px; color: var(--textmuted); margin-bottom: 40px; }
.legal-content h2 { font-size: 20px; font-weight: 700; color: var(--navy); margin: 36px 0 12px; }
.legal-content p { margin-bottom: 18px; }
.legal-content ul, .legal-content ol { margin: 12px 0 18px 24px; }
.legal-content li { margin-bottom: 6px; }
.legal-content a { color: var(--accent); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media(max-width: 960px) {
  .blog-layout, .single-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .nova-grid, .contact-grid { grid-template-columns: 1fr; }
  .hiw-panel.active { grid-template-columns: 1fr; }
  .founder-section { grid-template-columns: 1fr; }
}
@media(max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media(max-width: 640px) {
  section { padding: 64px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: 1fr; }
  .hiw-tab-title { font-size: 12px; }
  .hiw-tab { padding: 12px 12px 14px; }
  .founder-img { width: 100%; height: 160px; font-size: 48px; }
}
