/*
Theme Name: MeeBuzz
Theme URI: https://example.com/meebuzz
Author: MeeBuzz
Description: A private splash-page WordPress theme for MeeBuzz, an AI-assisted X/Twitter content tool.
Version: 1.0.9
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: meebuzz
*/

:root {
  --mb-purple: #30115f;
  --mb-purple-2: #4d1d88;
  --mb-purple-3: #6d37aa;
  --mb-yellow: #ffd900;
  --mb-yellow-soft: #fff7c7;
  --mb-ink: #191522;
  --mb-muted: #6c6577;
  --mb-line: #eae6ef;
  --mb-bg: #fbfafc;
  --mb-white: #ffffff;
  --mb-shadow: 0 24px 70px rgba(48, 17, 95, 0.12);
  --mb-radius: 24px;
  --mb-max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--mb-ink);
  background: var(--mb-white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--mb-purple-2); }
img { max-width: 100%; height: auto; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.mb-container { width: min(calc(100% - 48px), var(--mb-max)); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(31,16,52,.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 8px 28px rgba(31,16,52,.08);
}
.admin-bar .site-header { top: 32px; }
.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand-link { display: inline-flex; align-items: center; min-width: 190px; }
.brand-logo-frame {
  width: 280px;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}
.brand-logo-frame img {
  display: block;
  width: 450px;
  max-width: none;
  height: auto;
  flex: 0 0 auto;
}
.primary-nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; align-items: center; }
.primary-nav a { font-size: 15px; font-weight: 700; color: rgba(255,255,255,.88); }
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--mb-yellow); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 112px;
  background:
    radial-gradient(circle at 88% 10%, rgba(255,217,0,.18), transparent 25%),
    radial-gradient(circle at 3% 42%, rgba(77,29,136,.08), transparent 28%),
    linear-gradient(180deg, #fff 0%, #fdfcff 100%);
}
.hero::after {
  content: "";
  position: absolute;
  width: 470px; height: 470px;
  right: -260px; bottom: -260px;
  border: 1px solid rgba(77,29,136,.13);
  border-radius: 50%;
}
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 72px; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.dev-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 13px;
  border: 1px solid #eadf9c;
  border-radius: 999px;
  background: #fffdf0;
  color: #5e5111;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .01em;
}
.dev-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mb-yellow); box-shadow: 0 0 0 4px rgba(255,217,0,.19); }
.hero h1 {
  margin: 24px 0 22px;
  max-width: 700px;
  font-size: clamp(52px, 6vw, 82px);
  line-height: .98;
  letter-spacing: -.055em;
  color: var(--mb-purple);
}
.hero h1 .accent { color: var(--mb-ink); }
.hero p {
  max-width: 690px;
  margin: 0;
  color: var(--mb-muted);
  font-size: 19px;
  line-height: 1.75;
}

/* Product illustration */

.hero-image-wrap {
  position: relative;
  width: 100%;
  min-width: 0;
  padding: 12px;
  border: 1px solid #e6e0ee;
  border-radius: 28px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 28px 70px rgba(44,21,73,.12);
}
.hero-image-wrap::after {
  content: "";
  position: absolute;
  inset: 18px -14px -14px 18px;
  z-index: -1;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255,217,0,.95), rgba(255,217,0,.42));
}
.hero-custom-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
  object-position: center;
  background: #fff;
}

.product-preview {
  position: relative;
  min-height: 550px;
  border: 1px solid #e5dfee;
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--mb-shadow);
  padding: 20px;
  transform: rotate(1.25deg);
}
.product-preview::before {
  content: "";
  position: absolute;
  inset: 22px -18px -18px 22px;
  border-radius: 30px;
  background: var(--mb-yellow);
  z-index: -1;
  opacity: .9;
}
.preview-topbar { display: flex; align-items: center; justify-content: space-between; padding: 5px 4px 17px; }
.preview-dots { display: flex; gap: 7px; }
.preview-dots span { width: 9px; height: 9px; border-radius: 50%; background: #ddd6e6; }
.preview-chip { font-size: 11px; font-weight: 800; color: var(--mb-purple-2); background: #f3eef9; border-radius: 999px; padding: 7px 10px; }
.preview-shell { display: grid; grid-template-columns: 115px 1fr; min-height: 472px; overflow: hidden; border: 1px solid var(--mb-line); border-radius: 20px; background: #fcfbfd; }
.preview-sidebar { background: var(--mb-purple); padding: 18px 12px; }
.preview-brand { display: flex; align-items: center; gap: 8px; color: #fff; font-size: 11px; font-weight: 800; margin-bottom: 24px; }
.preview-brand img { width: 28px; height: 28px; object-fit: contain; }
.preview-nav-line { height: 10px; margin: 13px 0; border-radius: 8px; background: rgba(255,255,255,.17); }
.preview-nav-line:nth-child(2n) { width: 72%; }
.preview-main { padding: 18px; }
.preview-title { width: 44%; height: 16px; border-radius: 8px; background: #2c2436; margin-bottom: 8px; }
.preview-subtitle { width: 70%; height: 8px; border-radius: 8px; background: #d8d2df; margin-bottom: 18px; }
.preview-composer { border: 1px solid var(--mb-line); border-radius: 16px; background: #fff; padding: 14px; margin-bottom: 14px; box-shadow: 0 9px 24px rgba(43,32,60,.05); }
.preview-composer .line { height: 9px; border-radius: 8px; background: #ece8f0; margin: 9px 0; }
.preview-composer .line:nth-child(2) { width: 84%; }
.preview-composer .line:nth-child(3) { width: 62%; }
.preview-action { width: 78px; height: 26px; border-radius: 9px; background: var(--mb-yellow); margin-top: 13px; margin-left: auto; }
.preview-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; }
.mini-card { min-height: 88px; padding: 12px; border: 1px solid var(--mb-line); border-radius: 14px; background: #fff; }
.mini-card-icon { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; background: #f2ebfa; color: var(--mb-purple-2); font-size: 12px; font-weight: 900; margin-bottom: 10px; }
.mini-card strong { display: block; font-size: 11px; line-height: 1.25; color: #2d2636; }
.mini-card span { display: block; width: 76%; height: 6px; margin-top: 7px; border-radius: 4px; background: #e8e3ed; }

/* Sections */
.section { padding: 112px 0; }
.section-soft { background: var(--mb-bg); border-top: 1px solid var(--mb-line); border-bottom: 1px solid var(--mb-line); }
.section-kicker { margin: 0 0 12px; color: var(--mb-purple-3); text-transform: uppercase; letter-spacing: .13em; font-size: 12px; font-weight: 900; }
.section-heading { margin: 0; max-width: 760px; font-size: clamp(34px, 4vw, 52px); line-height: 1.08; letter-spacing: -.035em; color: var(--mb-purple); }
.section-intro { margin: 18px 0 0; max-width: 720px; color: var(--mb-muted); font-size: 18px; line-height: 1.7; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 46px; }
.feature-card { overflow: hidden; border: 1px solid var(--mb-line); border-radius: var(--mb-radius); background: #fff; box-shadow: 0 12px 35px rgba(48,17,95,.055); transition: transform .2s ease, box-shadow .2s ease; }
.feature-card:hover { transform: translateY(-3px); box-shadow: 0 18px 46px rgba(48,17,95,.09); }
.feature-image-wrap { aspect-ratio: 10 / 7; overflow: hidden; background: #f8f6fb; border-bottom: 1px solid var(--mb-line); }
.feature-image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.feature-card-body { padding: 26px 28px 30px; }
.feature-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--feature-icon-bg, var(--mb-yellow-soft)); color: var(--feature-icon-color, #5d4b00); font-size: 16px; font-weight: 900; margin-bottom: 20px; }
.feature-icon-mask { width: 23px; height: 23px; display: block; background: currentColor; -webkit-mask-image: var(--feature-icon-image); mask-image: var(--feature-icon-image); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; }
.mini-card-icon { background: var(--mini-bg, #f2ecfb); color: var(--mini-color, #4d1d88); }
.mini-icon-mask { width: 13px; height: 13px; display: block; background: currentColor; -webkit-mask-image: var(--mini-icon); mask-image: var(--mini-icon); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; }
.feature-card h3 { margin: 0 0 10px; font-size: 20px; color: #2b2137; }
.feature-card p { margin: 0; color: var(--mb-muted); line-height: 1.65; font-size: 15px; }

.private-panel { display: grid; grid-template-columns: .75fr 1.25fr; gap: 64px; align-items: center; padding: 52px; border-radius: 30px; background: var(--mb-purple); color: #fff; overflow: hidden; position: relative; }
.private-panel::after { content: ""; width: 240px; height: 240px; border-radius: 50%; position: absolute; right: -80px; top: -120px; background: var(--mb-yellow); opacity: .96; }
.private-panel .mark-wrap { position: relative; z-index: 2; display: grid; place-items: center; }
.private-panel .mark-wrap img { width: min(100%, 230px); filter: drop-shadow(0 18px 24px rgba(0,0,0,.16)); }
.private-panel-content { position: relative; z-index: 2; }
.private-panel h2 { margin: 0 0 16px; font-size: clamp(32px, 4vw, 48px); letter-spacing: -.035em; }
.private-panel p { margin: 0; max-width: 680px; color: rgba(255,255,255,.78); font-size: 18px; line-height: 1.75; }

/* Generic content */
.site-main-content { padding: 80px 0; min-height: 55vh; }
.entry-title { color: var(--mb-purple); font-size: clamp(36px, 5vw, 60px); letter-spacing: -.04em; }
.entry-content { max-width: 820px; color: #4d4657; font-size: 17px; line-height: 1.8; }
.entry-content a { color: var(--mb-purple-2); text-decoration: underline; }
.not-found { text-align: center; padding: 110px 0; }
.not-found .code { color: var(--mb-yellow); font-size: 100px; line-height: 1; font-weight: 900; text-shadow: 3px 3px 0 var(--mb-purple); }

/* Footer */
.site-footer { padding: 52px 0 30px; background: #1f1034; color: #fff; }
.footer-top { display: flex; justify-content: space-between; gap: 30px; align-items: flex-end; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand-logo {
  width: 320px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}
.footer-brand-logo img {
  display: block;
  width: 550px;
  max-width: none;
  height: auto;
  flex: 0 0 auto;
}
.footer-tagline { margin: 8px 0 0; color: rgba(255,255,255,.68); font-size: 14px; }
.footer-links { display: flex; gap: 22px; font-size: 14px; font-weight: 700; }
.footer-links a { color: rgba(255,255,255,.8); }
.footer-links a:hover { color: var(--mb-yellow); }
.footer-bottom { padding-top: 24px; color: rgba(255,255,255,.48); font-size: 13px; }

@media (max-width: 960px) {
  .hero { padding-top: 78px; }
  .hero-grid { grid-template-columns: 1fr; gap: 62px; }
  .product-preview, .hero-image-wrap { max-width: 650px; width: 100%; margin-inline: auto; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .private-panel { grid-template-columns: 1fr; text-align: left; }
  .private-panel .mark-wrap { justify-content: start; }
}

@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

@media (max-width: 720px) {
  .mb-container { width: min(calc(100% - 30px), var(--mb-max)); }
  .header-inner { min-height: 76px; }
  .brand-logo-frame { width: 220px; height: 64px; }
  .brand-logo-frame img { width: 350px; }
  .primary-nav ul { gap: 14px; }
  .primary-nav a { font-size: 13px; }
  .hero { padding: 72px 0 86px; }
  .hero h1 { font-size: clamp(48px, 15vw, 66px); }
  .hero p { font-size: 17px; }
  .product-preview { min-height: 470px; padding: 13px; border-radius: 22px; }
  .hero-custom-image { max-height: 520px; }
  .product-preview::before { inset: 14px -10px -10px 14px; border-radius: 22px; }
  .preview-shell { grid-template-columns: 86px 1fr; min-height: 405px; }
  .preview-main { padding: 12px; }
  .preview-cards { gap: 8px; }
  .mini-card { padding: 9px; min-height: 78px; }
  .section { padding: 82px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .private-panel { padding: 36px 26px; gap: 28px; }
  .private-panel .mark-wrap img { width: 160px; }
  .footer-top { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 520px) {
  .primary-nav ul { gap: 11px; }
  .primary-nav a { font-size: 12px; }
  .brand-logo-frame { width: 180px; height: 56px; }
  .brand-logo-frame img { width: 300px; }
  .preview-sidebar { display: none; }
  .preview-shell { grid-template-columns: 1fr; }
  .footer-brand-logo { width: 280px; height: 88px; }
  .footer-brand-logo img { width: 480px; }
}
