/*
Theme Name: MONIKA AI
Theme URI: https://monika.ai
Author: MONIKA AI Team
Author URI: https://monika.ai
Description: Premium AI Recruitment SaaS theme for MONIKA AI — Your Intelligent AI Recruitment Workforce. Includes marketing pages, live demo simulator, and dashboard-ready structure. Inspired by Linear, Stripe and Intercom.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: monika-ai
Tags: saas, recruitment, ai, business, custom-menu, featured-images, full-width-template, theme-options
*/

/* ==========================================================================
   MONIKA AI Design System
   Light-mode premium SaaS — deep navy ink, indigo/violet accents
   ========================================================================== */

:root {
  --primary: #533afd;
  --primary-hover: #665efd;
  --primary-deep: #4434d4;
  --primary-soft: #eef0ff;
  --primary-muted: #c7c9fd;

  --ink: #0d253d;
  --ink-secondary: #273951;
  --ink-muted: #64748d;
  --ink-subtle: #94a3b8;

  --canvas: #ffffff;
  --canvas-soft: #f6f9fc;
  --canvas-muted: #f1f5f9;

  --hairline: #e3e8ee;
  --hairline-strong: #cbd5e1;

  --success: #10b981;
  --success-soft: #d1fae5;
  --warning: #f59e0b;
  --warning-soft: #fef3c7;
  --danger: #ef4444;
  --danger-soft: #fee2e2;

  --shadow-sm: 0 1px 2px 0 rgb(13 37 61 / 0.04);
  --shadow-md: 0 4px 6px -1px rgb(13 37 61 / 0.06), 0 2px 4px -2px rgb(13 37 61 / 0.04);
  --shadow-lg: 0 10px 15px -3px rgb(13 37 61 / 0.08), 0 4px 6px -4px rgb(13 37 61 / 0.04);
  --shadow-xl: 0 20px 25px -5px rgb(13 37 61 / 0.08), 0 8px 10px -6px rgb(13 37 61 / 0.04);

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--canvas);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 600; letter-spacing: -0.025em; color: var(--ink); }
p { margin: 0; }

/* Layout */
.container {
  width: 100%;
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) {
  .container { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
  .container { padding-left: 2rem; padding-right: 2rem; }
}

.container-wide {
  width: 100%;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) {
  .container-wide { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
  .container-wide { padding-left: 2rem; padding-right: 2rem; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius-md);
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25;
  transition: all 0.15s ease;
  border: none;
  text-decoration: none;
}
.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.btn:disabled { opacity: 0.5; pointer-events: none; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--primary-hover); }

.btn-secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--hairline-strong);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  background: var(--canvas-soft);
  border-color: var(--ink-subtle);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-secondary);
}
.btn-ghost:hover {
  background: var(--canvas-muted);
  color: var(--ink);
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
}

/* Cards */
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-sm);
}
.card-elevated {
  box-shadow: var(--shadow-md);
}
.card-interactive {
  transition: all 0.2s ease;
  cursor: pointer;
}
.card-interactive:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-muted);
}

/* Forms */
.input {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--hairline-strong);
  background: #fff;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input::placeholder { color: var(--ink-subtle); }
.input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(83, 58, 253, 0.15);
}

.label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-secondary);
  margin-bottom: 0.375rem;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  padding: 0.125rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 500;
}
.badge-primary { background: var(--primary-soft); color: var(--primary-deep); }
.badge-success { background: var(--success-soft); color: #065f46; }
.badge-warning { background: var(--warning-soft); color: #92400e; }
.badge-danger { background: var(--danger-soft); color: #991b1b; }
.badge-neutral { background: var(--canvas-muted); color: var(--ink-muted); }

/* Typography helpers */
.section-eyebrow {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary);
}
.section-title {
  font-size: 1.875rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
}
@media (min-width: 640px) {
  .section-title { font-size: 2.25rem; }
}
.section-subtitle {
  font-size: 1.125rem;
  color: var(--ink-muted);
  max-width: 36rem;
}

.gradient-text {
  background: linear-gradient(90deg, var(--primary), #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-gradient {
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(83, 58, 253, 0.12), transparent);
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: space-between;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
}
.logo-mark {
  display: flex;
  height: 2rem;
  width: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
}
.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
@media (min-width: 768px) {
  .nav-desktop { display: flex; }
}
.nav-link {
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-secondary);
  border-radius: var(--radius-md);
  transition: color 0.15s, background 0.15s;
}
.nav-link:hover {
  color: var(--ink);
  background: var(--canvas-muted);
}
.header-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}
@media (min-width: 768px) {
  .header-actions { display: flex; }
}
.mobile-toggle {
  display: flex;
  padding: 0.5rem;
  border-radius: var(--radius-md);
  background: transparent;
  border: none;
  color: var(--ink);
}
@media (min-width: 768px) {
  .mobile-toggle { display: none; }
}
.mobile-menu {
  display: none;
  border-top: 1px solid var(--hairline);
  background: #fff;
  padding: 1rem;
}
.mobile-menu.is-open { display: block; }
.mobile-menu a {
  display: block;
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-secondary);
  border-radius: var(--radius-md);
}
.mobile-menu a:hover { background: var(--canvas-muted); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--hairline);
  background: var(--canvas-soft);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr repeat(4, 1fr); }
}
.footer-brand p {
  font-size: 0.875rem;
  color: var(--ink-muted);
  line-height: 1.6;
  max-width: 16rem;
  margin-top: 1rem;
}
.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: var(--ink-muted);
  margin-bottom: 0.625rem;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  font-size: 0.875rem;
  color: var(--ink-subtle);
}
@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 4rem;
}
@media (min-width: 640px) {
  .hero { padding: 7rem 0 5rem; }
}
.hero-content {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid var(--primary-muted);
  background: var(--primary-soft);
  padding: 0.375rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary-deep);
  margin-bottom: 1.5rem;
}
.hero-badge-dot {
  height: 0.375rem;
  width: 0.375rem;
  border-radius: 9999px;
  background: var(--primary);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.hero h1 {
  font-size: 2.25rem;
  line-height: 1.1;
  font-weight: 600;
}
@media (min-width: 640px) {
  .hero h1 { font-size: 3rem; }
}
@media (min-width: 1024px) {
  .hero h1 { font-size: 3.75rem; }
}
.hero-sub {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: var(--ink-muted);
  line-height: 1.6;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 640px) {
  .hero-sub { font-size: 1.25rem; }
}
.hero-ctas {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}
@media (min-width: 640px) {
  .hero-ctas { flex-direction: row; }
}
.hero-note {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--ink-subtle);
}

/* Dashboard preview mock */
.dashboard-preview {
  margin-top: 4rem;
  position: relative;
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
}
.preview-window {
  border-radius: var(--radius-2xl);
  border: 1px solid var(--hairline);
  background: #fff;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.preview-titlebar {
  background: var(--canvas-soft);
  border-bottom: 1px solid var(--hairline);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.preview-dot {
  height: 0.75rem;
  width: 0.75rem;
  border-radius: 9999px;
}
.preview-dot.red { background: #f87171; }
.preview-dot.amber { background: #fbbf24; }
.preview-dot.green { background: #34d399; }
.preview-url {
  flex: 1;
  text-align: center;
  font-size: 0.75rem;
  color: var(--ink-subtle);
  font-weight: 500;
}
.preview-stats {
  padding: 1.5rem 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 768px) {
  .preview-stats { grid-template-columns: repeat(4, 1fr); }
}
.stat-card {
  padding: 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline);
  background: #fff;
}
.stat-card .label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink-muted);
  margin: 0;
}
.stat-card .value {
  margin-top: 0.25rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
}
.stat-card .change {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #059669;
}

/* Sections */
.section {
  padding: 5rem 0;
}
.section-soft {
  background: var(--canvas-soft);
}
.section-header {
  max-width: 36rem;
  margin-bottom: 3rem;
}
.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-header .section-eyebrow { margin-bottom: 0.75rem; }
.section-header .section-subtitle { margin-top: 1rem; }

/* Grid helpers */
.grid-2 { display: grid; gap: 1.5rem; }
.grid-3 { display: grid; gap: 1.5rem; }
.grid-4 { display: grid; gap: 1.5rem; }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Challenge / Feature cards */
.feature-card {
  padding: 1.5rem;
}
.feature-icon {
  height: 2.5rem;
  width: 2.5rem;
  border-radius: var(--radius-md);
  background: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}
.feature-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.feature-card p {
  font-size: 0.875rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* Industry pills */
.industry-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.industry-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid var(--hairline);
  background: #fff;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-secondary);
  box-shadow: var(--shadow-sm);
}

/* Scorecard mock */
.scorecard-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .scorecard-grid { grid-template-columns: 1fr 1fr; }
}
.scorecard-list {
  margin-top: 2rem;
}
.scorecard-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--ink-secondary);
  margin-bottom: 0.75rem;
}
.scorecard-list svg {
  height: 1.25rem;
  width: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

/* Pricing */
.pricing-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}
.pricing-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}
.pricing-card.highlighted {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  outline: 2px solid var(--primary);
}
.pricing-card h3 {
  font-size: 1.125rem;
}
.pricing-card .desc {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--ink-muted);
}
.pricing-card .price {
  margin-top: 1rem;
  font-size: 1.875rem;
  font-weight: 600;
}
.pricing-features {
  margin-top: 1.5rem;
  flex: 1;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--ink-secondary);
  margin-bottom: 0.625rem;
}
.pricing-features svg {
  height: 1rem;
  width: 1rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.125rem;
}
.pricing-card .btn {
  margin-top: 2rem;
  width: 100%;
}

/* Final CTA */
.cta-block {
  border-radius: 1.5rem;
  background: var(--ink);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(83, 58, 253, 0.2), transparent);
}
.cta-block > * { position: relative; }
.cta-block h2 {
  font-size: 1.875rem;
  color: #fff;
}
@media (min-width: 640px) {
  .cta-block h2 { font-size: 2.25rem; }
}
.cta-block p {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}
.cta-actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}
@media (min-width: 640px) {
  .cta-actions { flex-direction: row; }
}
.btn-white {
  background: #fff;
  color: var(--ink);
}
.btn-white:hover { background: rgba(255, 255, 255, 0.9); }
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.btn-outline-white:hover { background: rgba(255, 255, 255, 0.1); }

/* Demo page specific */
.demo-select-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 56rem;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .demo-select-grid { grid-template-columns: 1fr 1fr; }
}
.chat-window {
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.chat-header {
  background: var(--canvas-soft);
  border-bottom: 1px solid var(--hairline);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.chat-avatar {
  height: 2.25rem;
  width: 2.25rem;
  border-radius: 9999px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
}
.chat-body {
  height: 420px;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.chat-bubble {
  max-width: 80%;
  border-radius: 1rem;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
}
.chat-bubble.monika {
  background: var(--canvas-muted);
  color: var(--ink);
  border-top-left-radius: 0.25rem;
  align-self: flex-start;
}
.chat-bubble.candidate {
  background: var(--primary);
  color: #fff;
  border-top-right-radius: 0.25rem;
  align-self: flex-end;
}
.chat-system {
  font-size: 0.75rem;
  text-align: center;
  color: var(--ink-subtle);
  width: 100%;
  padding: 0.5rem 0;
}
.chat-input-bar {
  border-top: 1px solid var(--hairline);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.mic-btn {
  height: 3rem;
  width: 3rem;
  border-radius: 9999px;
  background: var(--primary);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
}
.mic-btn:hover { background: var(--primary-hover); }

/* Utility */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-14 { margin-bottom: 3.5rem; }
.hidden { display: none !important; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.w-full { width: 100%; }
.shrink-0 { flex-shrink: 0; }

/* Accessibility */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}
