
/* Project Phoenix Tech Inc - CMS v4 (WYSIWYG + email notify + password change) */
:root {
  --color-primary-from: #f97316;
  --color-primary-to: #ef4444;
  --color-accent: #0ea5e9;
  --color-text: #0f172a;
  --color-muted: #64748b;
  --color-border: #e2e8f0;
  --color-bg: #ffffff;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; color: var(--color-text); background: var(--color-bg); }
a { color: var(--color-accent); text-decoration: none; } a:hover { text-decoration: underline; }
.container { max-width: 1080px; margin: 0 auto; padding: 24px; }
.header { border-bottom: 1px solid var(--color-border); background: #ffffffd9; backdrop-filter: blur(6px); position: sticky; top: 0; z-index: 10; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: 0.2px; }
.brand img { width: 40px; height: 40px; }
.menu { display: flex; gap: 18px; font-weight: 700; }
.menu a { padding: 10px 8px; border-radius: 8px; }
.menu a.active, .menu a:hover { background: #f1f5f9; }
.hero { padding: 64px 0 32px; }
.hero h1 { font-size: clamp(30px, 6vw, 54px); line-height: 1.05; margin: 0 0 10px; }
.hero p { font-size: clamp(16px, 2.3vw, 20px); color: var(--color-muted); margin: 0 0 20px; }
.cta { display: inline-block; background: linear-gradient(135deg, var(--color-primary-from), var(--color-primary-to)); color: white; padding: 12px 18px; border-radius: 12px; font-weight: 800; box-shadow: 0 8px 20px #ef444420; }
.cta:hover { filter: brightness(0.95); }
.section { padding: 28px 0; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { border: 1px solid var(--color-border); border-radius: 14px; padding: 18px; background: #fff; }
.card h3 { margin-top: 0; }
.badge { display:inline-block; padding:6px 10px; border-radius:999px; background: #f1f5f9; color: var(--color-muted); font-weight:700; font-size:12px; }
.footer { margin-top: 36px; padding: 24px 0; border-top: 1px solid var(--color-border); color: var(--color-muted); font-size: 14px; }
form { display: grid; gap: 12px; max-width: 720px; }
label { font-weight: 700; }
input[type="text"], input[type="email"], input[type="password"], textarea { width: 100%; padding: 12px; border: 1px solid #cbd5e1; border-radius: 12px; font-size: 16px; background: #fff; }
textarea { min-height: 200px; resize: vertical; }
button { background: linear-gradient(135deg, var(--color-primary-from), var(--color-primary-to)); color: white; padding: 10px 16px; border: 0; border-radius: 12px; font-weight: 800; cursor: pointer; }
button:hover { filter: brightness(0.95); }
.table { width: 100%; border-collapse: collapse; }
.table th, ..table td { border-bottom: 1px solid var(--color-border); padding: 10px; text-align: left; }
.alert { padding: 10px 12px; background: #fff7ed; border: 1px solid #fed7aa; color: #7c2d12; border-radius: 10px; }
.success { padding: 10px 12px; background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; border-radius: 10px; }
.small { font-size: 13px; color: var(--color-muted); }
.comment { border-top: 1px solid var(--color-border); padding-top: 12px; margin-top: 12px; }
.comment .meta { color: var(--color-muted); font-size: 14px; margin-bottom: 6px; }
.toolbar { display:flex; flex-wrap:wrap; gap:8px; margin: 6px 0 8px; }
.toolbar button { padding:6px 10px; background:#f1f5f9; color:#0f172a; border-radius:8px; border:1px solid #e2e8f0; }
.toolbar button:hover { background:#e2e8f0; }


/* v4.2: Centered hero with logo + blurb */
.hero.center { text-align: center; padding-top: 72px; }
.hero.center .brandmark { display: block; margin: 0 auto 16px; width: min(180px, 40vw); height: auto; }
.hero.center h1 { margin: 0 0 8px; }
.hero.center p.teaser { max-width: 720px; margin: 0 auto 20px; color: var(--color-muted); font-size: clamp(16px, 2.3vw, 20px); }
.hero.center .cta-row { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.hero.center .cta.secondary { background: #f1f5f9; color: var(--color-text); box-shadow: none; }
.hero.center .cta.secondary:hover { filter: none; background: #e2e8f0; }
