/* ═══════════════════════════════════════════════════════
   seomatic.app — Growth Green Brand System
   Import this file in every page: <link rel="stylesheet" href="brand.css">
═══════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --color-primary:       #0F9B6E;
  --color-primary-dark:  #0A7A56;
  --color-primary-light: #E6F7F2;
  --color-secondary:     #0D1F3C;
  --color-accent:        #22D4A0;
  --color-alert:         #FF5C35;
  --color-surface:       #F4F7FA;
  --color-text:          #1A1A1A;
  --color-text-muted:    #6B7B8D;
  --color-border:        #E0E8F0;
  --color-white:         #FFFFFF;
  --brand-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ── Navbar ──────────────────────────────────────────────────── */
.s-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--color-secondary);
  height: 60px; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-family: var(--brand-font);
}
.s-nav-logo {
  display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0;
}
.s-nav-wordmark {
  font-size: 20px; font-weight: 800; color: #fff; letter-spacing: -0.02em;
  font-family: var(--brand-font);
}
.s-nav-wordmark .dot-app { color: var(--color-accent); font-weight: 300; }
.s-nav-links { display: flex; gap: 28px; }
.s-nav-links a {
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.7);
  text-decoration: none; transition: color .15s; font-family: var(--brand-font);
}
.s-nav-links a:hover, .s-nav-links a.active { color: var(--color-accent); }
.s-nav-actions { display: flex; align-items: center; gap: 10px; }
.s-nav-signin {
  font-size: 14px; color: rgba(255,255,255,0.65); text-decoration: none;
  padding: 6px 12px; font-family: var(--brand-font); transition: color .15s;
}
.s-nav-signin:hover { color: #fff; }
.s-nav-cta {
  background: var(--color-primary); color: #fff;
  padding: 8px 20px; border-radius: 8px;
  font-size: 14px; font-weight: 600; font-family: var(--brand-font);
  text-decoration: none; border: none; cursor: pointer;
  transition: background .15s; white-space: nowrap; display: inline-block;
}
.s-nav-cta:hover { background: var(--color-primary-dark); color: #fff; }

/* ── Footer ─────────────────────────────────────────────────── */
.s-footer {
  background: var(--color-secondary);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 48px 24px 32px;
  font-family: var(--brand-font);
}
.s-footer-inner { max-width: 1200px; margin: 0 auto; }
.s-footer-grid {
  display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 40px; margin-bottom: 40px;
}
.s-footer-brand-name { font-size: 16px; font-weight: 700; color: #fff; }
.s-footer-tagline { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.7; max-width: 220px; margin: 8px 0 0; }
.s-footer-col-title {
  font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.45);
  text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 14px;
}
.s-footer-col a, .s-footer-col span {
  display: block; font-size: 13px; color: rgba(255,255,255,0.5);
  text-decoration: none; margin-bottom: 9px; transition: color .15s;
}
.s-footer-col a:hover { color: var(--color-accent); }
.s-footer-divider { height: 1px; background: rgba(255,255,255,0.08); margin-bottom: 24px; }
.s-footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.s-footer-copy { font-size: 12px; color: rgba(255,255,255,0.35); }
.s-footer-legal { display: flex; gap: 20px; }
.s-footer-legal a { font-size: 12px; color: rgba(255,255,255,0.35); text-decoration: none; transition: color .15s; }
.s-footer-legal a:hover { color: var(--color-accent); }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn-brand-primary {
  background: var(--color-primary); color: #fff;
  padding: 10px 22px; border-radius: 8px;
  font-family: var(--brand-font); font-size: 14px; font-weight: 600;
  border: none; cursor: pointer; transition: background .15s;
  text-decoration: none; display: inline-block; line-height: 1.4;
}
.btn-brand-primary:hover { background: var(--color-primary-dark); color: #fff; }

.btn-brand-secondary {
  background: transparent; color: var(--color-primary);
  padding: 9px 22px; border-radius: 8px;
  border: 1.5px solid var(--color-primary);
  font-family: var(--brand-font); font-size: 14px; font-weight: 600;
  cursor: pointer; transition: background .15s;
  text-decoration: none; display: inline-block; line-height: 1.4;
}
.btn-brand-secondary:hover { background: var(--color-primary-light); }

.btn-brand-dark {
  background: var(--color-secondary); color: #fff;
  padding: 10px 22px; border-radius: 8px;
  font-family: var(--brand-font); font-size: 14px; font-weight: 600;
  border: none; cursor: pointer; transition: opacity .15s;
  text-decoration: none; display: inline-block; line-height: 1.4;
}
.btn-brand-dark:hover { opacity: .88; color: #fff; }

.btn-brand-ghost {
  background: var(--color-surface); color: var(--color-text-muted);
  padding: 9px 22px; border-radius: 8px;
  border: 1px solid var(--color-border);
  font-family: var(--brand-font); font-size: 14px; font-weight: 500;
  cursor: pointer; transition: background .15s;
  text-decoration: none; display: inline-block; line-height: 1.4;
}
.btn-brand-ghost:hover { background: var(--color-border); }

/* ── Status Badges ───────────────────────────────────────────── */
.badge-success  { background: #E6F7F2; color: #0A7A56; }
.badge-warning  { background: #FFF4E6; color: #995500; }
.badge-critical { background: #FDECEA; color: #C0392B; }
.badge-info     { background: #EEF0F3; color: #4A5568; }
.badge-pro      { background: var(--color-secondary); color: var(--color-accent); }
.badge-success, .badge-warning, .badge-critical, .badge-info, .badge-pro {
  border-radius: 20px; padding: 4px 12px;
  font-family: var(--brand-font); font-size: 11px; font-weight: 600;
  display: inline-block;
}

/* ── Shared focus ring ───────────────────────────────────────── */
*:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

/* ── Responsive nav ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .s-nav-links { display: none !important; }
  .s-footer-grid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 480px) {
  .s-footer-grid { grid-template-columns: 1fr !important; }
}
