/* ============================================
   CenturyName.com — Page Stylesheet
   Shared across articles, about, contact, sale
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300..700;1,9..40,300..700&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  --bg: #FAFAF8;
  --bg-warm: #F5F3EF;
  --bg-white: #FFFFFF;
  --ink: #1A1A1A;
  --ink-secondary: #555555;
  --ink-muted: #888888;
  --accent: #1B6B4A;
  --accent-light: #E8F5EE;
  --accent-hover: #155A3D;
  --sale-red: #D93025;
  --sale-red-light: #FEF0EF;
  --gold: #B8860B;
  --gold-light: #FDF8EC;
  --border: #E5E2DB;
  --border-light: #F0EDE7;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.06), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Instrument Serif', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); 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(1200px, 92%); margin: 0 auto; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(250,250,248,0.85); backdrop-filter: saturate(140%) blur(16px); -webkit-backdrop-filter: saturate(140%) blur(16px); border-bottom: 1px solid var(--border); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 0; }
.brand { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em; }
.brand-c { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; background: var(--accent); color: white; border-radius: 8px; font-weight: 700; font-size: 1.05rem; }
.brand-dot { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 0.25rem; }
.nav-links a { padding: 0.5rem 0.85rem; border-radius: 8px; font-size: 0.92rem; font-weight: 500; color: var(--ink-secondary); transition: all 0.2s; }
.nav-links a:hover { color: var(--ink); background: var(--bg-warm); }
.nav-links a.active { color: var(--ink); font-weight: 600; }
.nav-cta { background: var(--ink) !important; color: white !important; font-weight: 600 !important; padding: 0.5rem 1.1rem !important; margin-left: 0.5rem; }
.nav-cta:hover { background: #333 !important; }
.nav-sale { background: var(--sale-red) !important; color: white !important; font-weight: 600 !important; padding: 0.5rem 1rem !important; animation: pulse-sale 2s ease-in-out infinite; }
@keyframes pulse-sale { 0%,100%{box-shadow:0 0 0 0 rgba(217,48,37,0.3);} 50%{box-shadow:0 0 0 6px rgba(217,48,37,0);} }
.hamburger { display: none; background: none; border: 0; flex-direction: column; gap: 5px; padding: 6px; cursor: pointer; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: all 0.3s; }

/* Breadcrumb */
.breadcrumb { padding: 0.8rem 0; font-size: 0.82rem; color: var(--ink-muted); }
.breadcrumb a { color: var(--ink-secondary); transition: color 0.15s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { margin: 0 0.3rem; color: var(--border); }

/* Page content */
.page-header { padding: 3rem 0 1.5rem; background: radial-gradient(ellipse 800px 400px at 50% 0%, rgba(27,107,74,0.04), transparent), var(--bg); }
.page-header h1 { font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 400; line-height: 1.15; max-width: 720px; }
.page-header h1 em { font-style: italic; color: var(--accent); }
.page-header .lead { font-size: 1.05rem; color: var(--ink-secondary); line-height: 1.65; max-width: 640px; margin-top: 0.8rem; }

.page-body { padding: 2rem 0 3rem; }
.page-body .content { max-width: 720px; }
.page-body h2 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 400; margin: 2rem 0 0.6rem; line-height: 1.25; }
.page-body h3 { font-size: 1rem; font-weight: 600; margin: 1.5rem 0 0.4rem; }
.page-body p { font-size: 0.95rem; color: var(--ink-secondary); line-height: 1.7; margin-bottom: 0.8rem; }
.page-body ul, .page-body ol { margin: 0.6rem 0 1rem 1.2rem; color: var(--ink-secondary); font-size: 0.95rem; line-height: 1.7; }
.page-body li { margin-bottom: 0.3rem; }
.page-body a { color: var(--accent); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.page-body a:hover { color: var(--accent-hover); }

/* Domain examples block */
.domain-examples { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.8rem 0 1.2rem; }
.domain-examples span { background: var(--bg-white); border: 1px solid var(--border); padding: 0.4rem 0.8rem; border-radius: 8px; font-weight: 600; font-size: 0.88rem; }

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

/* FAQ on article pages */
.page-faq { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.page-faq h2 { margin-top: 0; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 0.6rem; background: var(--bg-white); overflow: hidden; }
.faq-q { padding: 0.9rem 1.2rem; font-weight: 600; font-size: 0.92rem; 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(--ink-muted); flex-shrink: 0; margin-left: 1rem; }
details[open] .faq-q::after { content: '\2212'; }
.faq-a { padding: 0 1.2rem 1rem; font-size: 0.9rem; color: var(--ink-secondary); line-height: 1.6; }

/* Related guides */
.related-guides { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.related-guides h2 { margin-top: 0; }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; margin-top: 0.8rem; }
.related-card { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; transition: all 0.2s; text-decoration: none !important; }
.related-card:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.related-card h3 { font-size: 0.88rem; font-weight: 600; margin-bottom: 0.15rem; color: var(--ink); }
.related-card p { font-size: 0.78rem; color: var(--ink-muted); margin-bottom: 0; }

/* Contact form */
.contact-form { max-width: 540px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-bottom: 0.8rem; }
.form-row.full { grid-template-columns: 1fr; }
.form-group { display: flex; flex-direction: column; gap: 0.25rem; }
.form-group label { font-size: 0.78rem; font-weight: 600; color: var(--ink-secondary); }
.form-group input, .form-group textarea, .form-group select { font-family: var(--font-body); font-size: 0.92rem; padding: 0.7rem 0.9rem; border: 1px solid var(--border); border-radius: 8px; background: var(--bg-white); color: var(--ink); outline: none; transition: border-color 0.15s; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(27,107,74,0.1); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit { background: var(--accent); color: white; border: 0; padding: 0.8rem 2rem; border-radius: 10px; font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: all 0.2s; }
.form-submit:hover { background: var(--accent-hover); }
.form-note { font-size: 0.78rem; color: var(--ink-muted); margin-top: 0.5rem; }

/* Sale page specifics */
.sale-hero { padding: 3rem 0; background: linear-gradient(135deg, #1B1B1B 0%, #2D1810 50%, #1B1B1B 100%); color: white; text-align: center; }
.sale-hero h1 { color: white; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); max-width: 700px; margin: 0 auto 0.6rem; }
.sale-hero h1 em { color: #FF6B35; }
.sale-hero .lead { color: rgba(255,255,255,0.75); max-width: 580px; margin: 0 auto; }
.sale-price-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); padding: 0.6rem 1.4rem; border-radius: 10px; margin: 1.2rem auto; font-size: 1.3rem; font-weight: 700; color: #FF6B35; }
.sale-cta { display: inline-flex; align-items: center; gap: 0.5rem; background: #FF6B35; color: white; padding: 0.85rem 2rem; border-radius: 10px; font-weight: 700; font-size: 0.95rem; transition: all 0.2s; text-decoration: none !important; margin-top: 0.8rem; }
.sale-cta:hover { background: #E55A25; transform: translateY(-1px); color: white; }

/* Countdown */
.countdown-inline { display: flex; gap: 0.5rem; justify-content: center; margin: 1rem 0; }
.cd-unit { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 0.6rem 0.8rem; text-align: center; min-width: 60px; }
.cd-num { display: block; font-size: 1.5rem; font-weight: 700; color: #FF6B35; font-variant-numeric: tabular-nums; }
.cd-label { display: block; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.45); }

/* Footer */
.site-footer { background: #1A1A1A; color: white; padding: 3rem 0 0; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 1.1rem; margin-bottom: 0.6rem; }
.footer-brand .brand-c { background: var(--accent); }
.footer-tagline { font-size: 0.88rem; color: rgba(255,255,255,0.5); line-height: 1.6; max-width: 280px; }
.footer-col h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.4); margin-bottom: 0.8rem; }
.footer-col a { display: block; font-size: 0.88rem; color: rgba(255,255,255,0.65); padding: 0.25rem 0; transition: color 0.2s; }
.footer-col a:hover { color: white; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 0; font-size: 0.82rem; color: rgba(255,255,255,0.35); }
.footer-bottom a { color: rgba(255,255,255,0.35); transition: color 0.2s; }
.footer-bottom a:hover { color: rgba(255,255,255,0.65); }
.footer-legal-links { display: flex; gap: 1.2rem; }

/* Mobile */
@media (max-width: 900px) {
  .hamburger { display: flex; }
  .nav-links { display: none; position: absolute; top: 56px; right: 4%; background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 0.5rem; flex-direction: column; min-width: 200px; box-shadow: var(--shadow-lg); z-index: 200; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.65rem 0.85rem; }
  .nav-cta { margin-left: 0 !important; }
  .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.6rem; text-align: center; }
  .countdown-inline { flex-wrap: wrap; }
}
