/* ===========================
   PrinterSetupGuide.com
   Main Stylesheet
=========================== */

:root {
  --blue: #1A56DB;
  --blue-dark: #1240A8;
  --blue-light: #EBF3FF;
  --accent: #0EA5E9;
  --green: #16A34A;
  --text: #1A202C;
  --text-muted: #64748B;
  --border: #E2E8F0;
  --bg: #F8FAFC;
  --white: #FFFFFF;
  --radius: 10px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- HEADER ---- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon { font-size: 1.4rem; }
.logo-text { color: var(--blue); }
.main-nav { margin-left: auto; }
.main-nav ul {
  display: flex;
  gap: 6px;
  list-style: none;
}
.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  padding: 6px 14px;
  border-radius: 6px;
  transition: background 0.15s;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--blue-light);
  color: var(--blue);
  text-decoration: none;
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 1.1rem;
  margin-left: auto;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover { background: var(--blue-dark); text-decoration: none; color: var(--white); }
.btn-outline {
  background: var(--white);
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover { background: var(--blue-light); text-decoration: none; }

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, #EBF3FF 0%, #F0F9FF 60%, #E0F2FE 100%);
  padding: 72px 0 60px;
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(26,86,219,0.1);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 16px;
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 28px;
}
.hero-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* printer card */
.printer-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 28px;
  border: 1px solid var(--border);
}
.printer-icon { font-size: 3.5rem; margin-bottom: 12px; text-align: center; }
.printer-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green);
  justify-content: center;
  margin-bottom: 20px;
}
.status-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--green);
}
.printer-steps { display: flex; flex-direction: column; gap: 10px; }
.step-item {
  font-size: 0.9rem;
  padding: 10px 14px;
  border-radius: 8px;
  background: #F0FDF4;
  color: var(--green);
  font-weight: 500;
  border: 1px solid #BBF7D0;
}

/* ---- AD SLOTS ---- */
.ad-slot {
  padding: 20px 20px;
  text-align: center;
}
.ad-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #94A3B8;
  margin-bottom: 6px;
}
.ad-placeholder {
  background: #F1F5F9;
  border: 1px dashed #CBD5E1;
  border-radius: 6px;
  color: #94A3B8;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ad-728x90 .ad-placeholder { height: 90px; max-width: 728px; margin: 0 auto; }
.ad-336x280 .ad-placeholder { height: 280px; max-width: 336px; margin: 0 auto; }
.ad-300x250 .ad-placeholder { height: 250px; max-width: 300px; margin: 0 auto; }

/* ---- SECTION TITLES ---- */
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.section-sub {
  color: var(--text-muted);
  margin-bottom: 36px;
  font-size: 1rem;
}

/* ---- BRANDS ---- */
.brands-section { padding: 60px 0; }
.brands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.brand-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 22px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
  text-decoration: none;
  transition: all 0.15s;
  box-shadow: var(--shadow);
}
.brand-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  text-decoration: none;
}
.brand-logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--blue);
  font-family: 'Playfair Display', serif;
  line-height: 1;
  margin-bottom: 4px;
}
.brand-name { font-weight: 600; font-size: 1rem; color: var(--text); }
.brand-models { font-size: 0.82rem; color: var(--text-muted); }

/* ---- HOW STEPS ---- */
.how-section { background: var(--bg); padding: 60px 0; }
.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 20px;
  border: 1px solid var(--border);
  position: relative;
}
.step-num {
  width: 36px; height: 36px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 14px;
  flex-shrink: 0;
}
.step-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}
.step-card p { font-size: 0.88rem; color: var(--text-muted); }

/* ---- GUIDES GRID ---- */
.guides-section { padding: 60px 0; }
.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}
.guide-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: all 0.15s;
}
.guide-card:hover { box-shadow: var(--shadow-lg); border-color: #CBD5E1; }
.guide-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: 20px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.guide-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; line-height: 1.35; }
.guide-card h3 a { color: var(--text); }
.guide-card h3 a:hover { color: var(--blue); text-decoration: none; }
.guide-card p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 14px; }
.guide-link { font-size: 0.88rem; font-weight: 600; color: var(--blue); }
.center-link { text-align: center; }

/* ---- BLOG LIST ---- */
.blog-preview-section { background: var(--bg); padding: 60px 0; }
.blog-list { display: flex; flex-direction: column; gap: 24px; margin-bottom: 32px; }
.blog-list-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px 24px;
  border: 1px solid var(--border);
}
.blog-meta { display: flex; gap: 12px; margin-bottom: 8px; }
.blog-date { font-size: 0.8rem; color: var(--text-muted); }
.blog-cat {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-light);
  padding: 1px 10px;
  border-radius: 20px;
}
.blog-list-item h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 6px; }
.blog-list-item h3 a { color: var(--text); }
.blog-list-item h3 a:hover { color: var(--blue); }
.blog-list-item p { font-size: 0.9rem; color: var(--text-muted); }

/* ---- TRUST ---- */
.trust-section { padding: 48px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.trust-num {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue);
  font-family: 'Playfair Display', serif;
}
.trust-label { font-size: 0.85rem; color: var(--text-muted); }

/* ---- FOOTER ---- */
.site-footer { background: #0F172A; color: #94A3B8; padding: 56px 0 0; margin-top: 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo { color: var(--white); margin-bottom: 14px; }
.footer-brand .logo-text { color: #60A5FA; }
.footer-brand p { font-size: 0.85rem; line-height: 1.6; color: #64748B; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-col h4 { font-size: 0.9rem; font-weight: 600; color: var(--white); margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { font-size: 0.88rem; color: #64748B; transition: color 0.15s; }
.footer-col a:hover { color: var(--white); text-decoration: none; }
.footer-bottom { padding: 18px 0; }
.footer-bottom p { font-size: 0.8rem; color: #475569; }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, #EBF3FF 0%, #F0F9FF 100%);
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 10px;
}
.page-hero p { font-size: 1rem; color: var(--text-muted); max-width: 560px; }

/* ---- CONTENT LAYOUT ---- */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  padding: 48px 0;
  align-items: start;
}
.content-main h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin: 28px 0 12px;
  color: var(--text);
}
.content-main h3 { font-size: 1.1rem; font-weight: 600; margin: 20px 0 8px; }
.content-main p { margin-bottom: 14px; color: var(--text); line-height: 1.7; }
.content-main ul, .content-main ol {
  padding-left: 22px;
  margin-bottom: 16px;
  color: var(--text);
}
.content-main li { margin-bottom: 6px; }

.sidebar { position: sticky; top: 88px; }
.sidebar-widget {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
}
.sidebar-widget h4 { font-size: 0.9rem; font-weight: 600; margin-bottom: 12px; }
.sidebar-widget ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.sidebar-widget li a { font-size: 0.88rem; color: var(--blue); }

/* ---- NOTICE BOX ---- */
.notice-box {
  background: #FFF7ED;
  border: 1px solid #FED7AA;
  border-radius: 8px;
  padding: 16px 18px;
  font-size: 0.9rem;
  margin: 20px 0;
  color: #92400E;
}
.info-box {
  background: var(--blue-light);
  border: 1px solid #BFDBFE;
  border-radius: 8px;
  padding: 16px 18px;
  font-size: 0.9rem;
  margin: 20px 0;
  color: #1E3A8A;
}

/* ---- CONTACT FORM ---- */
.contact-form { display: flex; flex-direction: column; gap: 18px; max-width: 600px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.9rem; font-weight: 600; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  width: 100%;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,86,219,0.1);
}

/* ---- BREADCRUMB ---- */
.breadcrumb { padding: 14px 0; font-size: 0.85rem; color: var(--text-muted); }
.breadcrumb a { color: var(--blue); }
.breadcrumb span { margin: 0 6px; }

/* ---- POLICY PAGES ---- */
.policy-content { padding: 48px 0; max-width: 760px; }
.policy-content h2 { font-family: 'Playfair Display', serif; font-size: 1.4rem; margin: 28px 0 10px; }
.policy-content h3 { font-size: 1.05rem; font-weight: 600; margin: 18px 0 8px; }
.policy-content p, .policy-content li { font-size: 0.95rem; color: var(--text); line-height: 1.75; margin-bottom: 12px; }
.policy-content ul, .policy-content ol { padding-left: 22px; margin-bottom: 14px; }
.policy-content .last-updated { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 28px; }

/* ---- TROUBLESHOOTING ---- */
.trouble-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.trouble-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 12px; }
.trouble-steps { counter-reset: step; list-style: none; padding: 0; }
.trouble-steps li {
  counter-increment: step;
  padding: 8px 0 8px 36px;
  position: relative;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border);
}
.trouble-steps li:last-child { border-bottom: none; }
.trouble-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 8px;
  width: 24px; height: 24px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-row { grid-template-columns: repeat(2, 1fr); }
  .guides-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .content-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 12px 20px 20px;
    box-shadow: var(--shadow-lg);
  }
  .main-nav.open ul { flex-direction: column; }
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-row { grid-template-columns: 1fr; }
  .guides-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-links { grid-template-columns: 1fr; }
  .hero-cta-row { flex-direction: column; }
}
