/* ============================================================
   seo-pages.css — Shared styles for MalerPlus SEO landing pages
   Matches landing.html brand & design system exactly.
   ============================================================ */

/* =====================
   CSS VARIABLES
   ===================== */
:root {
  --blue: #2bb0ff;
  --blue-dark: #0e8fd4;
  --orange: #ff8a3d;
  --bg: #f4f7fb;
  --white: #ffffff;
  --text: #0c1526;
  --muted: #5a6a82;
  --border: rgba(12,21,38,.09);
  --radius: 20px;
  --shadow: 0 12px 32px rgba(12,21,38,.10);
  --shadow-lg: 0 22px 56px rgba(12,21,38,.13);
}

/* =====================
   RESET + BASE
   ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

/* BG DECORATION */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 600px at 90% 0%, rgba(43,176,255,.10), transparent 60%),
    radial-gradient(ellipse 600px 500px at 0% 60%, rgba(255,138,61,.08), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* =====================
   LAYOUT
   ===================== */
.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* =====================
   TYPOGRAPHY
   ===================== */
h1, h2, h3 {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.1;
}
h1 { font-size: clamp(30px, 4.5vw, 50px); font-weight: 900; letter-spacing: -.5px; }
h2 { font-size: clamp(24px, 3.5vw, 36px); font-weight: 800; letter-spacing: -.3px; }
h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }

.hl  { color: var(--blue); }
.hl2 { color: var(--orange); }

p { line-height: 1.65; }

/* =====================
   BUTTONS
   ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), #56c5ff);
  color: #fff;
  box-shadow: 0 10px 28px rgba(43,176,255,.30);
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
  transform: translate(-50%,-50%);
  transition: width .6s ease, height .6s ease;
}
.btn-primary:hover::before { width: 300px; height: 300px; }
.btn-primary::after { content: '→'; margin-left: 2px; display: inline-block; transition: transform .3s ease; }
.btn-primary:hover::after { transform: translateX(4px); }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(43,176,255,.38);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: rgba(255,255,255,.80);
  border: 1px solid var(--border);
  color: var(--text);
  box-shadow: 0 6px 18px rgba(12,21,38,.07);
  transition: all .2s ease;
}
.btn-ghost::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(43,176,255,.05), rgba(43,176,255,.1));
  opacity: 0;
  transition: opacity .3s ease;
}
.btn-ghost:hover::before { opacity: 1; }
.btn-ghost:hover {
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(12,21,38,.10);
  border-color: rgba(43,176,255,.2);
}

.btn-lg { padding: 16px 32px; font-size: 16px; border-radius: 16px; }
.btn-sm { padding: 10px 16px; font-size: 14px; }

/* =====================
   HEADER / NAV
   ===================== */
header {
  position: sticky;
  top: 14px;
  z-index: 100;
  margin-bottom: 48px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 14px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(43,176,255,.16);
  border-radius: 22px;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 12px 36px rgba(12,21,38,.10), inset 0 1px 0 rgba(255,255,255,.6);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.brand img {
  width: 38px; height: 38px;
  border-radius: 11px;
  box-shadow: 0 6px 18px rgba(12,21,38,.14);
}
.brand-name { font-weight: 800; font-size: 16px; }
.brand-sub { font-size: 12px; color: var(--muted); display: block; margin-top: 1px; }

nav {
  display: flex;
  gap: 4px;
  font-size: 14px;
}
nav a {
  padding: 8px 12px;
  border-radius: 11px;
  color: var(--muted);
  font-weight: 500;
  transition: all .15s;
}
nav a:hover { color: var(--text); background: rgba(255,255,255,.6); }

.header-actions { display: flex; gap: 10px; align-items: center; }

/* =====================
   BREADCRUMB
   ===================== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--blue); font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: rgba(90,106,130,.4); font-size: 12px; }
.breadcrumb span:last-child { color: var(--text); font-weight: 600; }

/* =====================
   HERO SEO (centered, single column)
   ===================== */
.hero-seo {
  text-align: center;
  padding: 20px 0 64px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.75);
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 20px;
  box-shadow: 0 6px 18px rgba(12,21,38,.06);
}
.hero-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }

.hero-seo h1 { margin-bottom: 16px; max-width: 820px; margin-left: auto; margin-right: auto; }

.hero-lead {
  font-size: 17px;
  color: #3a4a60;
  max-width: 580px;
  margin: 0 auto 28px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 20px;
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
}
.hero-trust span { display: flex; align-items: center; gap: 5px; }
.hero-trust .sep { color: rgba(90,106,130,.3); }

/* =====================
   DEFINITION BOX (Featured Snippet)
   ===================== */
.definition-box {
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(43,176,255,.22);
  border-left: 5px solid var(--blue);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 32px;
  box-shadow: var(--shadow);
  position: relative;
}
.definition-box::before {
  content: '📖';
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--bg);
  padding: 0 8px;
  font-size: 16px;
  line-height: 1;
}
.definition-box h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--blue-dark, #0e8fd4);
  margin-bottom: 10px;
  letter-spacing: 0;
}
.definition-box p {
  font-size: 15px;
  color: #2a3a52;
  line-height: 1.7;
  margin: 0;
}

/* =====================
   PROBLEM BLOCK
   ===================== */
.problem-block {
  background: rgba(244,247,251,.95);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 36px;
  margin-bottom: 32px;
  box-shadow: 0 6px 20px rgba(12,21,38,.07);
}
.problem-block h2 {
  font-size: 22px;
  margin-bottom: 20px;
  color: var(--text);
}
.problem-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.problem-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: #3a4a60;
  line-height: 1.5;
}
.problem-list li::before {
  content: '✗';
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(239,68,68,.10);
  color: #dc2626;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* =====================
   SOLUTION BLOCK
   ===================== */
.solution-block {
  background: linear-gradient(135deg, rgba(43,176,255,.07), rgba(255,255,255,.92));
  border: 1px solid rgba(43,176,255,.20);
  border-radius: var(--radius);
  padding: 32px 36px;
  margin-bottom: 32px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.solution-block::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(43,176,255,.15), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}
.solution-block h2 {
  font-size: 22px;
  margin-bottom: 14px;
  color: var(--text);
}
.solution-block p {
  font-size: 15px;
  color: #2a3a52;
  line-height: 1.7;
  margin-bottom: 0;
}

/* =====================
   STEP BLOCK (numbered steps)
   ===================== */
.step-block {
  margin: 24px 0;
}
.step-block-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
}
.step-block-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 15px;
  color: #2a3a52;
  line-height: 1.55;
}
.step-num-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #56c5ff);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(43,176,255,.30);
}

/* =====================
   FEATURE GRID
   ===================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 0;
}

.feat-card {
  background: rgba(255,255,255,.88);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative;
  overflow: hidden;
}
.feat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(43,176,255,.03), rgba(255,138,61,.03));
  opacity: 0;
  transition: opacity .3s ease;
}
.feat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(43,176,255,.1);
  border-color: rgba(43,176,255,.2);
}
.feat-card:hover::before { opacity: 1; }

.feat-icon {
  width: 44px; height: 44px;
  border-radius: 14px;
  background: rgba(43,176,255,.10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 20px;
  transition: all .3s ease;
}
.feat-card:hover .feat-icon {
  transform: scale(1.1) rotate(5deg);
  background: rgba(43,176,255,.16);
}
.feat-card h3 { font-size: 16px; margin-bottom: 8px; }
.feat-card p  { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* =====================
   FEATURES CHECK LIST
   ===================== */
.features-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
}
.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: #2a3a52;
  line-height: 1.5;
}
.features-list li::before {
  content: '';
  width: 18px; height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='9' cy='9' r='9' fill='%2322c55e'/%3E%3Cpath d='M5 9l2.5 2.5L13 6.5' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: cover;
}

/* =====================
   SECTION WRAPPER
   ===================== */
.seo-section {
  margin-bottom: 52px;
}
.sec-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}
.sec-head {
  text-align: center;
  margin-bottom: 36px;
}
.sec-head h2 { margin-bottom: 10px; }
.sec-head p { color: var(--muted); font-size: 16px; max-width: 520px; margin: 0 auto; }

/* =====================
   FAQ SECTION
   ===================== */
.faq-section {
  margin-bottom: 52px;
}
.faq-section h2 {
  margin-bottom: 24px;
  font-size: clamp(22px, 3vw, 30px);
}
.faq-list {
  max-width: 820px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: rgba(255,255,255,.88);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(12,21,38,.06);
  transition: box-shadow .15s;
}
.faq-item:hover { box-shadow: var(--shadow); }
.faq-q {
  padding: 18px 20px;
  font-weight: 600;
  font-size: 15.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  gap: 12px;
}
.faq-q:hover { background: rgba(43,176,255,.04); }
.faq-icon {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(43,176,255,.12);
  color: var(--blue);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .22s ease, background .22s ease;
  line-height: 1;
}
.faq-item.active .faq-icon { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .32s ease;
  font-size: 15px;
  color: #475569;
  line-height: 1.65;
  padding: 0 20px;
}
.faq-item.active .faq-a { max-height: 360px; padding: 0 20px 18px; }

/* =====================
   CTA BAND
   ===================== */
.cta-band {
  background: linear-gradient(135deg, rgba(43,176,255,.12), rgba(255,138,61,.08));
  border: 1px solid rgba(43,176,255,.20);
  border-radius: 26px;
  padding: 52px 48px;
  text-align: center;
  margin-bottom: 64px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.55);
  z-index: 0;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { color: var(--muted); margin-bottom: 28px; font-size: 16px; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-band .actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.cta-band .trust-row {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
}
.cta-band .trust-row span { display: flex; align-items: center; gap: 5px; }

/* =====================
   INTERNAL LINKS
   ===================== */
.internal-links {
  margin-bottom: 52px;
}
.internal-links h2 {
  font-size: 20px;
  margin-bottom: 18px;
  color: var(--text);
}
.link-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.link-card {
  background: rgba(255,255,255,.85);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: 0 6px 16px rgba(12,21,38,.07);
  transition: all .2s ease;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
}
.link-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(43,176,255,.22);
  background: #fff;
}
.link-card-icon { font-size: 22px; }
.link-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
.link-card-desc {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.4;
}
.link-card-arrow {
  font-size: 13px;
  color: var(--blue);
  font-weight: 600;
  margin-top: auto;
}

/* =====================
   SEO FOOTER
   ===================== */
.seo-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  color: var(--muted);
  gap: 12px;
  flex-wrap: wrap;
}
.seo-footer a { margin-left: 16px; }
.seo-footer a:hover { color: var(--blue); }
.footer-links { display: flex; flex-wrap: wrap; }

/* =====================
   PROOF BADGES
   ===================== */
.proof-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
  justify-content: center;
}
.proof-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.80);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  box-shadow: 0 4px 10px rgba(12,21,38,.06);
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 980px) {
  nav { display: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .link-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  header { margin-bottom: 32px; }
  .header-inner {
    flex-wrap: nowrap;
    padding: 10px 12px;
    gap: 10px;
  }
  nav { display: none; }
  .brand-sub { display: none; }
  .brand-name { font-size: 15px; }
  .brand img { width: 32px; height: 32px; }
  .header-actions { gap: 6px; flex-shrink: 0; }
  .header-actions .btn-ghost:first-child { display: none; }
  .header-actions .btn {
    padding: 9px 13px;
    font-size: 13px;
    border-radius: 11px;
  }

  .hero-seo { padding: 10px 0 44px; }
  .hero-lead { font-size: 16px; }

  .problem-block { padding: 24px 20px; }
  .solution-block { padding: 24px 20px; }

  .feature-grid { grid-template-columns: 1fr; }
  .features-list { grid-template-columns: 1fr; }
  .link-grid { grid-template-columns: repeat(2, 1fr); }

  .definition-box { padding: 20px 22px; }

  .cta-band { padding: 36px 24px; }

  .seo-footer { flex-direction: column; text-align: center; gap: 8px; }
  .seo-footer a { margin: 0 8px; }
}

@media (max-width: 520px) {
  .link-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-lg { width: 100%; max-width: 340px; justify-content: center; }
  .definition-box { border-left-width: 4px; }
  .cta-band .actions { flex-direction: column; align-items: center; }
}

@media (max-width: 400px) {
  .header-inner { padding: 8px 10px; }
  .header-actions .btn { padding: 8px 11px; font-size: 12px; }
  .brand-name { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .btn, .feat-card, .link-card { transition: none; }
}
