/*
Theme Name: Meekspace Apps
Theme URI: https://example.com/meekspace-apps
Author: Meekspace Apps
Description: A clean blue, white, and yellow WordPress theme for Meekspace Apps and the Outline Manager app landing page.
Version: 1.0.2
Requires at least: 5.9
Tested up to: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: outline-manager
Tags: landing-page, custom-logo, featured-images, one-column, blue, yellow
*/

:root {
  --om-blue: #0057c8;
  --om-blue-dark: #01357b;
  --om-blue-deep: #001f56;
  --om-yellow: #ffc400;
  --om-yellow-soft: #ffe793;
  --om-white: #ffffff;
  --om-offwhite: #f5f8ff;
  --om-slate: #516070;
  --om-shadow: 0 24px 60px rgba(0, 37, 96, .18);
  --om-radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--om-blue-deep);
  background: linear-gradient(180deg, var(--om-offwhite), #ffffff 48%, #f9fbff);
  line-height: 1.6;
}

a { color: var(--om-blue); text-decoration: none; }
a:hover { color: var(--om-blue-dark); }
img { max-width: 100%; height: auto; }

.om-container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,87,200,.08);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; color: var(--om-blue-deep); }
.brand img { width: 44px; height: 44px; border-radius: 12px; box-shadow: 0 8px 20px rgba(0, 87, 200, .2); }
.site-title { font-size: 1.1rem; letter-spacing: -.02em; }
.menu { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; align-items: center; }
.menu a { color: var(--om-blue-deep); font-weight: 700; font-size: .96rem; }
.menu a:hover { color: var(--om-blue); }

.om-button, .wp-block-button__link, input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  background: linear-gradient(135deg, var(--om-yellow), #ffde59);
  color: var(--om-blue-deep) !important;
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(255, 196, 0, .26);
  cursor: pointer;
}
.om-button.secondary { background: #fff; border: 1px solid rgba(0,87,200,.15); box-shadow: 0 10px 28px rgba(0,37,96,.08); color: var(--om-blue) !important; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 70px;
  background:
    radial-gradient(circle at 85% 22%, rgba(255,196,0,.28), transparent 28%),
    radial-gradient(circle at 8% 12%, rgba(0,87,200,.18), transparent 26%);
}
.hero::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -150px;
  width: 460px;
  height: 460px;
  background: var(--om-yellow);
  border-radius: 50%;
  opacity: .32;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.04fr .96fr; gap: 54px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--om-blue); background: #fff; border: 1px solid rgba(0,87,200,.12); padding: 8px 13px; border-radius: 999px; box-shadow: 0 8px 22px rgba(0,37,96,.06); }
.hero h1 { font-size: clamp(2.7rem, 6vw, 5.4rem); line-height: .95; letter-spacing: -.07em; margin: 18px 0; color: var(--om-blue-deep); }
.hero p { font-size: clamp(1.08rem, 2vw, 1.32rem); color: var(--om-slate); margin: 0 0 28px; max-width: 650px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-card { position: relative; padding: 30px; border-radius: 42px; background: linear-gradient(160deg, var(--om-blue), var(--om-blue-dark)); box-shadow: var(--om-shadow); }
.hero-card::before { content: ""; position: absolute; inset: auto 0 0 auto; width: 52%; height: 52%; background: var(--om-yellow); border-top-left-radius: 100%; border-bottom-right-radius: 42px; }
.hero-card img { position: relative; z-index: 1; display: block; border-radius: 34px; box-shadow: 0 28px 50px rgba(0,0,0,.28); }

.section { padding: 72px 0; }
.section-title { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.section-title h2 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.05; letter-spacing: -.045em; margin: 0 0 12px; }
.section-title p { margin: 0; color: var(--om-slate); font-size: 1.08rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { background: #fff; border: 1px solid rgba(0,87,200,.10); border-radius: var(--om-radius); padding: 28px; box-shadow: 0 15px 40px rgba(0,37,96,.07); }
.feature-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; color: var(--om-blue-deep); background: linear-gradient(135deg, var(--om-yellow), var(--om-yellow-soft)); font-size: 1.4rem; margin-bottom: 16px; }
.feature-card h3 { margin: 0 0 8px; font-size: 1.28rem; }
.feature-card p { margin: 0; color: var(--om-slate); }

.workflow { background: linear-gradient(135deg, var(--om-blue-deep), var(--om-blue)); color: #fff; }
.workflow .section-title p, .workflow p { color: rgba(255,255,255,.78); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { counter-increment: step; padding: 26px; border-radius: 26px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.15); }
.step::before { content: counter(step); width: 42px; height: 42px; display: grid; place-items: center; background: var(--om-yellow); color: var(--om-blue-deep); border-radius: 50%; font-weight: 900; margin-bottom: 14px; }
.step h3 { margin: 0 0 8px; }
.step p { margin: 0; }

.cta { padding: 70px 0 90px; }
.cta-box { position: relative; overflow: hidden; border-radius: 38px; padding: 48px; background: linear-gradient(135deg, #fff, #f3f7ff); border: 1px solid rgba(0,87,200,.10); box-shadow: var(--om-shadow); text-align: center; }
.cta-box::before { content: ""; position: absolute; left: -60px; bottom: -90px; width: 230px; height: 230px; background: var(--om-yellow); border-radius: 50%; opacity: .42; }
.cta-box h2 { position: relative; margin: 0 0 12px; font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.045em; }
.cta-box p { position: relative; max-width: 680px; margin: 0 auto 24px; color: var(--om-slate); }

.site-main { min-height: 60vh; }
.content-page { padding: 56px 0; }
.content-page .entry-content { background: #fff; padding: 34px; border-radius: 28px; box-shadow: 0 15px 40px rgba(0,37,96,.07); border: 1px solid rgba(0,87,200,.08); }
.site-footer { padding: 28px 0; background: var(--om-blue-deep); color: rgba(255,255,255,.75); text-align: center; }
.site-footer a { color: #fff; }

@media (max-width: 820px) {
  .hero-grid, .feature-grid, .steps { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
  .menu { display: none; }
  .hero-card { max-width: 460px; margin: 0 auto; }
}


/* Meekspace Apps homepage additions */
.app-showcase-card { display: grid; place-items: center; min-height: 520px; }
.phone-mockup {
  position: relative;
  z-index: 1;
  width: min(330px, 100%);
  min-height: 520px;
  padding: 58px 28px 30px;
  border-radius: 42px;
  background: linear-gradient(180deg, #ffffff, #f4f8ff);
  box-shadow: 0 30px 55px rgba(0,0,0,.28);
  border: 10px solid var(--om-blue-deep);
  text-align: center;
}
.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 104px;
  height: 24px;
  border-radius: 999px;
  background: var(--om-blue-deep);
}
.mock-app-icon {
  width: 116px;
  height: 116px;
  margin: 8px auto 22px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 34px rgba(0,37,96,.22);
}
.mock-app-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: 28px; }
.phone-mockup h2 { margin: 0 0 10px; font-size: 1.75rem; letter-spacing: -.04em; }
.phone-mockup p { margin: 0 auto 28px; font-size: 1rem; color: var(--om-slate); }
.mock-lines { display: grid; gap: 12px; margin-top: 24px; }
.mock-lines span { height: 14px; border-radius: 999px; background: rgba(0,87,200,.14); }
.mock-lines span:nth-child(2) { width: 78%; margin: 0 auto; background: rgba(255,196,0,.45); }
.mock-lines span:nth-child(3) { width: 56%; margin: 0 auto; }
.app-highlight {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 36px;
  align-items: center;
  padding: 36px;
  border-radius: 38px;
  background: #fff;
  border: 1px solid rgba(0,87,200,.10);
  box-shadow: var(--om-shadow);
}
.app-highlight h2 { font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: 1; letter-spacing: -.05em; margin: 16px 0 12px; }
.app-highlight p { color: var(--om-slate); font-size: 1.12rem; margin: 0 0 22px; max-width: 660px; }
.app-highlight img { width: min(280px, 100%); border-radius: 42px; box-shadow: 0 24px 48px rgba(0,37,96,.2); justify-self: center; }
@media (max-width: 820px) {
  .app-highlight { grid-template-columns: 1fr; text-align: center; }
  .app-showcase-card { min-height: auto; }
  .phone-mockup { min-height: 440px; }
}

/* Outline Manager detail page */
.outline-hero .hero-card { padding: 34px; }
.outline-preview-card {
  position: relative;
  z-index: 1;
  width: min(380px, 100%);
  margin: 0 auto;
  padding: 28px;
  border-radius: 38px;
  background: linear-gradient(180deg, #fff, #f4f8ff);
  box-shadow: 0 26px 52px rgba(0,37,96,.25);
  border: 1px solid rgba(0,87,200,.12);
}
.outline-preview-card img {
  display: block;
  width: 150px;
  height: 150px;
  margin: 0 auto 24px;
  border-radius: 34px;
  box-shadow: 0 18px 38px rgba(0,37,96,.22);
}
.outline-preview-lines { display: grid; gap: 13px; }
.outline-preview-lines span {
  display: block;
  height: 15px;
  border-radius: 999px;
  background: rgba(0,87,200,.18);
}
.outline-preview-lines span:nth-child(1),
.outline-preview-lines span:nth-child(3) { background: rgba(0,42,102,.85); }
.outline-preview-lines span:nth-child(2) { width: 78%; background: rgba(255,196,0,.58); }
.outline-preview-lines span:nth-child(4) { width: 58%; }
.presentation-section .app-highlight { background: linear-gradient(135deg, #fff, #f7fbff); }
.presentation-panel {
  justify-self: center;
  width: min(320px, 100%);
  padding: 30px;
  border-radius: 34px;
  background: var(--om-blue-deep);
  color: #fff;
  box-shadow: 0 24px 50px rgba(0,37,96,.24);
}
.timer-pill {
  display: inline-flex;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--om-yellow);
  color: var(--om-blue-deep);
  font-weight: 900;
  margin-bottom: 24px;
}
.panel-line {
  height: 14px;
  width: 76%;
  border-radius: 999px;
  background: rgba(255,255,255,.75);
  margin: 0 0 14px;
}
.panel-line.wide { width: 100%; }
.panel-note {
  display: inline-block;
  margin: 12px 0 18px;
  padding: 12px 16px;
  border-radius: 18px;
  background: rgba(255,196,0,.95);
  color: var(--om-blue-deep);
  font-weight: 800;
}
.panel-links {
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.82);
  font-weight: 700;
}
.audience-section { padding-top: 40px; padding-bottom: 20px; }

/* Full Outline Manager landing page refresh */
.om-detail-hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  padding: 96px 0 86px;
  background:
    radial-gradient(circle at 92% 10%, rgba(255,196,0,.72) 0 15%, transparent 16%),
    radial-gradient(circle at 0% 88%, rgba(0,87,200,.92) 0 13%, transparent 14%),
    linear-gradient(180deg, #f2f6ff 0%, #ffffff 100%);
}
.om-detail-hero::before {
  content: "";
  position: absolute;
  right: -150px;
  top: 170px;
  width: 520px;
  height: 520px;
  background: var(--om-yellow);
  border-radius: 50%;
  opacity: .95;
}
.om-detail-hero::after {
  content: "";
  position: absolute;
  right: 60px;
  top: 138px;
  width: 280px;
  height: 220px;
  border: 22px solid var(--om-blue);
  border-radius: 28px;
  transform: rotate(0deg);
  opacity: .98;
}
.om-detail-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr .95fr;
  align-items: center;
  gap: 56px;
}
.om-detail-copy h1 {
  margin: 18px 0 22px;
  max-width: 720px;
  font-size: clamp(3.25rem, 7vw, 6.8rem);
  line-height: .91;
  letter-spacing: -.075em;
  color: var(--om-blue-deep);
}
.hero-lead {
  max-width: 690px;
  margin: 0 0 30px;
  font-size: clamp(1.12rem, 2vw, 1.32rem);
  color: var(--om-slate);
  line-height: 1.45;
}
.hero-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 14px;
  max-width: 560px;
  margin-top: 34px;
}
.hero-mini-stats div {
  padding: 16px 18px;
  border: 1px solid rgba(0,87,200,.12);
  border-radius: 20px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 14px 34px rgba(0,37,96,.08);
}
.hero-mini-stats strong { display: block; font-size: 1.4rem; line-height: 1; color: var(--om-blue); }
.hero-mini-stats span { display: block; margin-top: 5px; color: var(--om-slate); font-weight: 700; font-size: .9rem; }
.om-icon-stage {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}
.om-device-frame {
  position: relative;
  z-index: 2;
  width: min(380px, 84%);
  padding: 24px;
  border-radius: 46px;
  background: linear-gradient(145deg, var(--om-blue), var(--om-blue-dark));
  box-shadow: 0 35px 70px rgba(0,37,96,.28);
}
.om-device-frame::before {
  content: "";
  position: absolute;
  inset: auto 0 0 auto;
  width: 58%;
  height: 54%;
  background: var(--om-yellow);
  border-top-left-radius: 100%;
  border-bottom-right-radius: 46px;
}
.om-device-frame img {
  position: relative;
  z-index: 1;
  display: block;
  border-radius: 34px;
  box-shadow: 0 20px 48px rgba(0,0,0,.28);
}
.floating-card {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(0,87,200,.12);
  box-shadow: 0 16px 38px rgba(0,37,96,.16);
  color: var(--om-blue-deep);
  font-weight: 900;
}
.floating-card span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--om-yellow);
  color: var(--om-blue-deep);
}
.card-one { top: 56px; left: 0; }
.card-two { right: 0; top: 270px; }
.card-three { left: 42px; bottom: 54px; }
.om-feature-section { background: #fff; }
.om-detailed-grid .feature-card { min-height: 240px; }
.om-split-section {
  background:
    radial-gradient(circle at 8% 70%, rgba(0,87,200,.12), transparent 28%),
    radial-gradient(circle at 92% 8%, rgba(255,196,0,.2), transparent 24%),
    #f7faff;
}
.om-split-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.om-split-grid h2 {
  font-size: clamp(2.2rem, 4vw, 4.1rem);
  line-height: 1;
  letter-spacing: -.055em;
  margin: 16px 0;
}
.om-split-grid p { color: var(--om-slate); font-size: 1.13rem; }
.om-outline-mockup {
  padding: 28px;
  border-radius: 36px;
  background: #fff;
  border: 1px solid rgba(0,87,200,.12);
  box-shadow: var(--om-shadow);
  transform: rotate(-2deg);
}
.mockup-top { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.mockup-top img { width: 58px; height: 58px; border-radius: 15px; box-shadow: 0 10px 22px rgba(0,37,96,.14); }
.mockup-top strong { font-size: 1.1rem; }
.mock-outline-row { display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 14px; margin: 16px 0 8px; }
.mock-outline-row b { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--om-blue); color: #fff; }
.mock-outline-row span, .mock-outline-sub { height: 14px; border-radius: 999px; background: var(--om-blue-deep); opacity: .9; }
.mock-outline-sub { width: 70%; margin-left: 56px; background: rgba(81,96,112,.5); }
.mock-outline-sub.short { width: 48%; }
.mock-note { margin: 18px 0 12px 56px; padding: 12px 14px; border-radius: 16px; background: var(--om-yellow-soft); color: var(--om-blue-deep); font-weight: 800; }
.mock-link { margin: 18px 0 12px 56px; color: var(--om-blue); font-weight: 900; }
.om-check-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.om-check-list li { position: relative; padding-left: 34px; color: var(--om-blue-deep); font-weight: 750; }
.om-check-list li::before { content: "✓"; position: absolute; left: 0; top: -1px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--om-yellow); color: var(--om-blue-deep); font-weight: 900; }
.om-workflow-detail { position: relative; overflow: hidden; }
.om-workflow-detail::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 360px; height: 360px; border-radius: 50%; background: var(--om-yellow); opacity: .14; }
.om-presentation-highlight { position: relative; overflow: hidden; }
.presentation-list { display: flex; flex-wrap: wrap; gap: 10px; }
.presentation-list span { padding: 10px 13px; border-radius: 999px; background: rgba(0,87,200,.08); color: var(--om-blue-deep); font-weight: 800; }
.om-audience-detail { padding-top: 18px; }
.om-soft-box { display: grid; grid-template-columns: 150px 1fr; gap: 26px; align-items: center; text-align: left; }
.om-soft-box img { width: 150px; border-radius: 34px; box-shadow: 0 22px 45px rgba(0,37,96,.18); }
.om-soft-box .eyebrow { margin-bottom: 12px; }
.om-soft-box h2 { font-size: clamp(1.9rem, 3vw, 3rem); }
.om-download-cta { padding-top: 36px; }
@media (max-width: 980px) {
  .om-detail-hero-grid, .om-split-grid { grid-template-columns: 1fr; }
  .om-icon-stage { min-height: 460px; }
  .card-one { left: 6%; }
  .card-two { right: 4%; }
  .card-three { left: 10%; }
}
@media (max-width: 640px) {
  .om-detail-hero { padding: 64px 0 56px; min-height: auto; }
  .om-detail-hero::after { display: none; }
  .hero-mini-stats { grid-template-columns: 1fr; }
  .floating-card { position: static; margin: 8px; }
  .om-icon-stage { min-height: auto; display: flex; flex-direction: column; }
  .om-device-frame { width: min(300px, 100%); margin-bottom: 14px; }
  .om-soft-box { grid-template-columns: 1fr; text-align: center; }
  .om-soft-box img { margin: 0 auto; }
  .om-outline-mockup { transform: none; }
}
