/*
Theme Name: PublisherOpsAI
Theme URI: https://publisheropsai.com
Author: Muhammad Waseem Rafi
Author URI: https://publisheropsai.com
Description: Official premium theme for PublisherOpsAI - AI Publisher Operations Platform. Indigo & violet design system with full marketing pages.
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: publisheropsai-theme
*/

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

:root {
  --indigo: #4F46E5;
  --indigo-dark: #3730A3;
  --indigo-darker: #1E1B4B;
  --violet: #7C3AED;
  --violet-light: #A78BFA;
  --indigo-soft: #EEF2FF;
  --violet-soft: #F5F3FF;
  --ink: #1E1B2E;
  --body: #2D2A40;
  --muted: #56536B;
  --subtle: #6B6880;
  --border: #E7E5F0;
  --bg-soft: #FAFAFE;
  --bg-tint: #F4F3FB;
  --green: #059669;
  --green-bg: #D1FAE5;
  --amber: #D97706;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --shadow-sm: 0 1px 2px rgba(30,27,75,0.06);
  --shadow-md: 0 8px 24px rgba(79,70,229,0.08);
  --shadow-lg: 0 20px 48px rgba(79,70,229,0.14);
  --grad: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
  --grad-soft: linear-gradient(135deg, #EEF2FF 0%, #F5F3FF 100%);
}

body { font-family: var(--font); color: var(--body); background: #fff; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--indigo); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--violet); }
ul { list-style: none; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 24px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 600; cursor: pointer; transition: all 0.25s; text-decoration: none; border: none; font-family: var(--font); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--indigo); color: var(--indigo); }
.btn-lg { padding: 14px 30px; font-size: 16px; }
.btn-white { background: #fff; color: var(--indigo); box-shadow: var(--shadow-md); }
.btn-white:hover { color: var(--violet); transform: translateY(-2px); }
.btn-outline-white { background: rgba(255,255,255,0.08); color: #fff; border: 1.5px solid rgba(255,255,255,0.3); }
.btn-outline-white:hover { background: rgba(255,255,255,0.16); color: #fff; }

/* ── NAV ── */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; max-width: 1140px; margin: 0 auto; }
.site-logo { font-size: 19px; font-weight: 800; color: var(--indigo); text-decoration: none; letter-spacing: -0.4px; }
.site-logo span { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.nav-menu { display: flex; gap: 30px; }
.nav-menu a { font-size: 14.5px; font-weight: 500; color: var(--muted); text-decoration: none; }
.nav-menu a:hover { color: var(--indigo); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 24px; color: var(--ink); }

/* ── HERO ── */
.hero { padding: 96px 0 88px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -200px; right: -200px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(124,58,237,0.10) 0%, transparent 70%); z-index: 0; }
.hero::after { content: ''; position: absolute; bottom: -150px; left: -150px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(79,70,229,0.08) 0%, transparent 70%); z-index: 0; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 7px; background: var(--violet-soft); color: var(--violet); font-size: 12.5px; font-weight: 600; padding: 6px 15px; border-radius: 30px; margin-bottom: 24px; border: 1px solid #E9D5FF; }
.hero h1 { font-size: 52px; font-weight: 800; line-height: 1.08; letter-spacing: -1.5px; color: var(--ink); margin-bottom: 22px; }
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { font-size: 19px; color: var(--muted); line-height: 1.65; margin-bottom: 34px; max-width: 520px; }
.hero-ctas { display: flex; gap: 13px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-trust { display: flex; align-items: center; gap: 9px; }
.stars { color: var(--amber); font-size: 15px; letter-spacing: 1px; }
.hero-trust span { font-size: 13.5px; color: var(--subtle); }
.hero-visual { position: relative; }
.dash { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border); overflow: hidden; box-shadow: var(--shadow-lg); }
.dash-header { background: var(--grad); padding: 14px 18px; display: flex; align-items: center; gap: 7px; }
.dash-dot { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.35); }
.dash-title { color: rgba(255,255,255,0.95); font-size: 12.5px; font-weight: 600; margin-left: 6px; }
.dash-body { padding: 18px; background: var(--bg-soft); }
.dash-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.dash-stat { background: #fff; border-radius: var(--radius-sm); padding: 12px 14px; border: 1px solid var(--border); }
.stat-label { font-size: 10px; color: var(--subtle); font-weight: 600; text-transform: uppercase; letter-spacing: 0.6px; }
.stat-value { font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: -0.5px; }
.stat-delta { font-size: 10.5px; color: var(--green); font-weight: 600; }
.post-list { display: flex; flex-direction: column; gap: 8px; }
.post-item { background: #fff; border-radius: var(--radius-sm); padding: 12px 14px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.post-title { font-size: 12.5px; font-weight: 600; color: var(--ink); }
.post-meta { font-size: 11px; color: var(--subtle); }
.post-badge { font-size: 10px; font-weight: 700; padding: 4px 10px; border-radius: 30px; white-space: nowrap; }
.badge-done { background: var(--green-bg); color: var(--green); }
.badge-queue { background: #FEF3C7; color: #92400E; }
.badge-ai { background: var(--violet-soft); color: var(--violet); }

/* ── SECTION HEADERS ── */
.section-eyebrow { font-size: 12.5px; font-weight: 700; color: var(--violet); text-transform: uppercase; letter-spacing: 1.8px; margin-bottom: 14px; }
.section-title { font-size: 40px; font-weight: 800; line-height: 1.15; letter-spacing: -1px; color: var(--ink); margin-bottom: 16px; }
.section-sub { font-size: 18px; color: var(--muted); line-height: 1.65; max-width: 600px; margin-bottom: 52px; }
.center { text-align: center; }
.center .section-sub { margin-left: auto; margin-right: auto; }

/* ── FEATURES ── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 28px; transition: all 0.28s; }
.feat-card:hover { border-color: var(--violet-light); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feat-icon { width: 48px; height: 48px; border-radius: var(--radius-sm); background: var(--grad-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; font-size: 22px; border: 1px solid #E9D5FF; }
.feat-title { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 9px; }
.feat-desc { font-size: 14px; color: var(--subtle); line-height: 1.65; margin-bottom: 16px; }
.feat-badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 4px 11px; border-radius: 30px; }
.tag-free { background: var(--green-bg); color: var(--green); }
.tag-pro { background: var(--violet-soft); color: var(--violet); }
.tag-agency { background: var(--bg-tint); color: var(--muted); }

/* ── HOW IT WORKS ── */
.how-bg { background: var(--bg-soft); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step-card { text-align: center; padding: 32px 22px; background: #fff; border-radius: var(--radius-md); border: 1px solid var(--border); transition: all 0.25s; }
.step-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 17px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; box-shadow: var(--shadow-md); }
.step-title { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 9px; }
.step-desc { font-size: 13.5px; color: var(--subtle); line-height: 1.6; }

/* ── PRICING ── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.price-card { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; background: #fff; position: relative; transition: all 0.28s; }
.price-card:hover { box-shadow: var(--shadow-md); }
.price-card.featured { border: 2px solid var(--indigo); box-shadow: var(--shadow-lg); transform: scale(1.03); }
.popular-pill { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: 11.5px; font-weight: 700; padding: 5px 16px; border-radius: 30px; white-space: nowrap; box-shadow: var(--shadow-md); }
.price-plan { font-size: 12.5px; font-weight: 700; color: var(--violet); text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 10px; }
.price-amount { font-size: 46px; font-weight: 800; color: var(--ink); line-height: 1; letter-spacing: -1.5px; }
.price-amount sup { font-size: 22px; vertical-align: top; margin-top: 8px; display: inline-block; }
.price-period { font-size: 13.5px; color: var(--subtle); margin-bottom: 10px; }
.price-tagline { font-size: 13.5px; color: var(--muted); margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--border); line-height: 1.55; }
.price-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.price-features li { font-size: 13.5px; color: var(--body); display: flex; align-items: flex-start; gap: 9px; }
.check { color: var(--violet); font-weight: 800; flex-shrink: 0; }
.price-cta { display: flex; justify-content: center; width: 100%; }

/* ── CALLOUT / STATS BANNER ── */
.stats-banner { background: var(--grad); border-radius: var(--radius-xl); padding: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-block { text-align: center; color: #fff; }
.stat-block .num { font-size: 40px; font-weight: 800; letter-spacing: -1px; }
.stat-block .lbl { font-size: 13.5px; color: rgba(255,255,255,0.85); margin-top: 4px; }

/* ── TESTIMONIALS ── */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi-card { background: #fff; border-radius: var(--radius-md); padding: 28px; border: 1px solid var(--border); }
.testi-stars { color: var(--amber); font-size: 15px; margin-bottom: 14px; }
.testi-text { font-size: 14.5px; color: var(--body); line-height: 1.7; margin-bottom: 18px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.testi-name { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.testi-role { font-size: 12.5px; color: var(--subtle); }

/* ── ROADMAP ── */
.roadmap-bg { background: var(--bg-soft); }
.roadmap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.road-card { background: #fff; border-radius: var(--radius-md); padding: 24px; border: 1px solid var(--border); transition: all 0.25s; }
.road-card:hover { box-shadow: var(--shadow-md); }
.road-card.soon { border-color: var(--violet-light); background: var(--grad-soft); }
.road-eyebrow { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 10px; }
.road-eyebrow.soon { color: var(--violet); }
.road-eyebrow.later { color: var(--subtle); }
.road-title { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.road-desc { font-size: 13.5px; color: var(--subtle); line-height: 1.55; }

/* ── CTA SECTION ── */
.cta-section { position: relative; overflow: hidden; background: var(--indigo-darker); padding: 88px 24px; text-align: center; }
.cta-section::before { content: ''; position: absolute; top: -100px; left: 50%; transform: translateX(-50%); width: 700px; height: 400px; background: radial-gradient(ellipse, rgba(124,58,237,0.35) 0%, transparent 70%); }
.cta-section-inner { position: relative; z-index: 1; }
.cta-section h2 { font-size: 42px; font-weight: 800; color: #fff; margin-bottom: 18px; letter-spacing: -1px; }
.cta-section p { font-size: 19px; color: rgba(255,255,255,0.7); margin-bottom: 38px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── PAGE HERO ── */
.page-hero { padding: 72px 0 48px; background: var(--grad-soft); border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; top: -150px; right: -100px; width: 450px; height: 450px; background: radial-gradient(circle, rgba(124,58,237,0.10) 0%, transparent 70%); }
.page-hero-inner { position: relative; z-index: 1; }
.page-hero .section-eyebrow { margin-bottom: 12px; }
.page-hero h1 { font-size: 46px; font-weight: 800; color: var(--ink); margin-bottom: 14px; letter-spacing: -1.2px; }
.page-hero p { font-size: 19px; color: var(--muted); max-width: 600px; line-height: 1.6; }

/* ── CONTENT AREA ── */
.content-area { padding: 64px 0; }
.content-area h2 { font-size: 28px; font-weight: 800; color: var(--ink); margin: 44px 0 18px; letter-spacing: -0.5px; }
.content-area h3 { font-size: 20px; font-weight: 700; color: var(--ink); margin: 32px 0 12px; }
.content-area p { font-size: 16.5px; color: var(--muted); line-height: 1.8; margin-bottom: 20px; }
.content-area ul { list-style: none; margin-bottom: 24px; }
.content-area ul li { font-size: 16px; color: var(--muted); line-height: 1.7; padding-left: 28px; position: relative; margin-bottom: 12px; }
.content-area ul li::before { content: '✓'; position: absolute; left: 0; color: var(--violet); font-weight: 800; }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 24px 28px; }
.faq-q { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.faq-a { font-size: 14.5px; color: var(--muted); line-height: 1.7; }

/* ── CONTACT FORM ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.contact-info h3 { font-size: 22px; font-weight: 800; color: var(--ink); margin-bottom: 16px; }
.contact-info p { font-size: 16px; color: var(--muted); line-height: 1.7; margin-bottom: 28px; }
.contact-detail { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.contact-detail-icon { width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--grad-soft); display: flex; align-items: center; justify-content: center; font-size: 19px; border: 1px solid #E9D5FF; flex-shrink: 0; }
.contact-detail-label { font-size: 12px; color: var(--subtle); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }
.contact-detail-value { font-size: 15px; color: var(--ink); font-weight: 600; }
.contact-form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-md); }
.form-row { margin-bottom: 20px; }
.form-row label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.form-row input, .form-row textarea { width: 100%; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: 15px; font-family: var(--font); color: var(--ink); transition: border-color 0.2s; background: var(--bg-soft); }
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--indigo); background: #fff; box-shadow: 0 0 0 3px rgba(79,70,229,0.1); }
.form-row textarea { resize: vertical; min-height: 130px; }
.form-notice { padding: 14px 18px; border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 22px; }
.form-notice.success { background: var(--green-bg); color: var(--green); border: 1px solid #A7F3D0; }
.form-notice.error { background: #FEE2E2; color: #B91C1C; border: 1px solid #FECACA; }

/* ── FOOTER ── */
.site-footer { background: var(--indigo-darker); padding: 64px 24px 28px; }
.footer-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 48px; max-width: 1140px; margin: 0 auto 40px; }
.footer-logo { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 14px; letter-spacing: -0.4px; }
.footer-desc { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.7; max-width: 320px; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a { width: 38px; height: 38px; border-radius: var(--radius-sm); background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); font-size: 16px; transition: all 0.2s; }
.footer-social a:hover { background: var(--grad); color: #fff; }
.footer-col h4 { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.8px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.6); }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom { text-align: center; font-size: 13px; color: rgba(255,255,255,0.5); padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.1); max-width: 1140px; margin: 0 auto; }

/* ── RESPONSIVE ── */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero h1 { font-size: 40px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .price-card.featured { transform: none; }
  .testi-grid { grid-template-columns: 1fr; }
  .roadmap-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-banner { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav-menu { display: none; }
  .nav-toggle { display: block; }
  .section-title { font-size: 32px; }
  .page-hero h1 { font-size: 36px; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 32px; }
  .features-grid, .steps-grid, .roadmap-grid, .footer-grid { grid-template-columns: 1fr; }
  .stats-banner { grid-template-columns: 1fr 1fr; padding: 32px; }
  .section { padding: 60px 0; }
  .section-title { font-size: 27px; }
  .cta-section h2 { font-size: 30px; }
}
.nav-menu.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 20px 24px; gap: 18px; box-shadow: var(--shadow-md); }
