/* ============================================
   DomainSaving.com — Page Stylesheet
   Shared across articles, about, contact pages
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300..800;1,300..800&family=Space+Grotesk:wght@400;600;700&display=swap');

:root {
  --bg: #FFFFFF;
  --bg-off: #F8FAFB;
  --bg-blue: #EDF4F9;
  --bg-green: #EFF8F0;
  --ink: #1A2332;
  --ink2: #4A5568;
  --ink3: #8899AA;
  --blue: #1565A0;
  --blue-dark: #0D4F80;
  --blue-light: #E3F0FA;
  --green: #2E8B3E;
  --green-light: #DCFCE7;
  --green-dark: #1B6B2A;
  --orange: #E8710A;
  --red: #DC2626;
  --red-light: #FEF2F2;
  --border: #E2E8F0;
  --radius: 12px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.07);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.1);
  --font: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); background: var(--bg); color: var(--ink); line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1140px, 92%); margin: 0 auto; }

/* Header */
.header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.92); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 0.65rem 0; }
.nav-logo img { height: 36px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 0.2rem; }
.nav-links a { padding: 0.45rem 0.75rem; border-radius: 8px; font-size: 0.88rem; font-weight: 500; color: var(--ink2); transition: all 0.15s; }
.nav-links a:hover { color: var(--ink); background: var(--bg-off); }
.nav-links a.active { color: var(--ink); font-weight: 600; }
.nav-cta { background: var(--green) !important; color: white !important; font-weight: 600 !important; }
.nav-cta:hover { background: var(--green-dark) !important; }
.hamburger { display: none; background: none; border: 0; flex-direction: column; gap: 4px; padding: 6px; cursor: pointer; }
.hamburger span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }

/* Breadcrumb */
.breadcrumb { padding: 0.7rem 0; font-size: 0.8rem; color: var(--ink3); }
.breadcrumb a { color: var(--ink2); transition: color 0.15s; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb .sep { margin: 0 0.3rem; color: var(--border); }

/* Page content */
.page-header { padding: 2.5rem 0 1.2rem; background: radial-gradient(ellipse 700px 350px at 50% 0%, rgba(21,101,160,0.04), transparent), var(--bg); }
.page-header h1 { font-family: var(--font-display); font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; line-height: 1.15; max-width: 680px; letter-spacing: -0.02em; }
.page-header .lead { font-size: 1rem; color: var(--ink2); line-height: 1.6; max-width: 600px; margin-top: 0.7rem; }

.page-body { padding: 1.5rem 0 3rem; }
.page-body .content { max-width: 700px; }
.page-body h2 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; margin: 1.8rem 0 0.5rem; letter-spacing: -0.01em; }
.page-body h3 { font-size: 0.95rem; font-weight: 600; margin: 1.3rem 0 0.3rem; }
.page-body p { font-size: 0.92rem; color: var(--ink2); line-height: 1.7; margin-bottom: 0.7rem; }
.page-body ul, .page-body ol { margin: 0.5rem 0 0.8rem 1.1rem; color: var(--ink2); font-size: 0.92rem; line-height: 1.7; }
.page-body li { margin-bottom: 0.25rem; }
.page-body a { color: var(--blue); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.page-body a:hover { color: var(--blue-dark); }

/* Domain examples */
.domain-examples { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.6rem 0 1rem; }
.domain-examples span { background: var(--bg-off); border: 1px solid var(--border); padding: 0.35rem 0.7rem; border-radius: 8px; font-weight: 600; font-size: 0.85rem; }

/* CTA */
.page-cta { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--green); color: white; padding: 0.75rem 1.4rem; border-radius: 10px; font-weight: 600; font-size: 0.92rem; transition: all 0.2s; text-decoration: none !important; margin: 0.8rem 0; }
.page-cta:hover { background: var(--green-dark); transform: translateY(-1px); color: white; }

/* FAQ */
.page-faq { margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid var(--border); }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 0.5rem; background: var(--bg); overflow: hidden; }
.faq-q { padding: 0.8rem 1rem; font-weight: 600; font-size: 0.9rem; cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after { content: '+'; font-size: 1.1rem; color: var(--ink3); }
details[open] .faq-q::after { content: '\2212'; }
.faq-a { padding: 0 1rem 0.8rem; font-size: 0.85rem; color: var(--ink2); line-height: 1.6; }

/* Related */
.related-guides { margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid var(--border); }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem; margin-top: 0.7rem; }
.related-card { background: var(--bg-off); border: 1px solid var(--border); border-radius: var(--radius); padding: 0.9rem; transition: all 0.15s; text-decoration: none !important; }
.related-card:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.related-card h3 { font-size: 0.85rem; font-weight: 600; margin-bottom: 0.1rem; color: var(--ink); }
.related-card p { font-size: 0.75rem; color: var(--ink3); margin-bottom: 0; }

/* Contact form */
.contact-form { max-width: 520px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; margin-bottom: 0.7rem; }
.form-row.full { grid-template-columns: 1fr; }
.form-group { display: flex; flex-direction: column; gap: 0.2rem; }
.form-group label { font-size: 0.72rem; font-weight: 600; color: var(--ink2); }
.form-group input, .form-group textarea, .form-group select { font-family: var(--font); font-size: 0.9rem; padding: 0.65rem 0.85rem; border: 1px solid var(--border); border-radius: 8px; background: var(--bg); color: var(--ink); outline: none; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21,101,160,0.1); }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-submit { background: var(--green); color: white; border: 0; padding: 0.75rem 1.8rem; border-radius: 10px; font-family: var(--font); font-weight: 600; font-size: 0.92rem; cursor: pointer; }
.form-submit:hover { background: var(--green-dark); }

/* Domain page */
.dp-hero { padding: 2.5rem 0; text-align: center; background: radial-gradient(ellipse 500px 250px at 50% 20%, rgba(21,101,160,0.04), transparent); }
.dp-logo { width: 280px; height: 280px; margin: 0 auto 1.3rem; border-radius: 18px; overflow: hidden; background: var(--bg-off); border: 1px solid var(--border); box-shadow: var(--shadow-md); display: flex; align-items: center; justify-content: center; }
.dp-logo img { width: 100%; height: 100%; object-fit: contain; }
.dp-logo .ph { font-size: 2.5rem; font-weight: 700; color: var(--blue); font-family: var(--font-display); display: none; }
.dp-name { font-family: var(--font-display); font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 700; margin-bottom: 0.2rem; }
.dp-name .tld { color: var(--blue); }
.dp-cat { font-size: 0.85rem; color: var(--ink3); margin-bottom: 1rem; }
.dp-price-box { display: inline-flex; align-items: baseline; gap: 0.5rem; background: var(--bg-off); border: 1px solid var(--border); padding: 0.8rem 1.8rem; border-radius: 14px; margin-bottom: 0.8rem; }
.dp-was { font-size: 0.95rem; color: var(--ink3); text-decoration: line-through; }
.dp-now { font-size: 1.8rem; font-weight: 700; color: var(--green); }
.dp-off { background: var(--red-light); color: var(--red); padding: 0.15rem 0.5rem; border-radius: 5px; font-size: 0.75rem; font-weight: 700; }
.dp-buy { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--green); color: white; padding: 0.85rem 2.2rem; border-radius: 12px; font-weight: 700; font-size: 1rem; text-decoration: none; transition: all 0.2s; margin-top: 0.4rem; }
.dp-buy:hover { background: var(--green-dark); transform: translateY(-1px); }
.dp-meta { display: flex; gap: 1.2rem; justify-content: center; margin-top: 1rem; flex-wrap: wrap; }
.dp-meta span { font-size: 0.8rem; color: var(--ink3); display: flex; align-items: center; gap: 0.25rem; }
.dp-meta .ck { color: var(--green); font-weight: 700; }

/* Footer */
.footer { background: #1A2332; color: white; padding: 2.5rem 0 0; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand img { height: 26px; margin-bottom: 0.4rem; filter: brightness(10); }
.footer-tagline { font-size: 0.8rem; color: rgba(255,255,255,0.45); line-height: 1.5; max-width: 240px; }
.footer-col h4 { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.07em; color: rgba(255,255,255,0.3); margin-bottom: 0.5rem; }
.footer-col a { display: block; font-size: 0.82rem; color: rgba(255,255,255,0.55); padding: 0.2rem 0; }
.footer-col a:hover { color: white; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; font-size: 0.75rem; color: rgba(255,255,255,0.25); }
.footer-bottom a { color: rgba(255,255,255,0.25); }
.footer-links { display: flex; gap: 0.8rem; }

@media (max-width: 900px) {
  .hamburger { display: flex; }
  .nav-links { display: none; position: absolute; top: 52px; right: 4%; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 0.4rem; flex-direction: column; min-width: 190px; box-shadow: var(--shadow-lg); z-index: 200; }
  .nav-links.open { display: flex; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) { .footer-top { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; gap: 0.4rem; text-align: center; } }
