* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: Arial, sans-serif; line-height: 1.6; color: #333; background: #f5f5f5; }

/* ── 404 ERROR PAGE ── */
.error-page { background: linear-gradient(135deg, #0d0d0d 0%, #1a0000 100%); min-height: calc(100vh - 60px); display: flex; align-items: center; justify-content: center; padding: 60px 8%; text-align: center; }
.error-inner { max-width: 520px; }
.error-code { font-size: 8rem; font-weight: 900; color: #8b0000; line-height: 1; margin-bottom: 16px; opacity: 0.8; letter-spacing: -4px; }
.error-inner h1 { font-size: 2rem; color: #fff; margin-bottom: 12px; }
.error-inner > p { font-size: 1rem; color: #888; margin-bottom: 32px; line-height: 1.7; }
.error-dns-hint { display: inline-flex; align-items: center; gap: 10px; background: #1a1a1a; border: 1px solid #2a2a2a; border-radius: 6px; padding: 10px 18px; margin-bottom: 36px; }
.error-dns-icon { font-size: 1rem; }
.error-dns-hint code { font-size: 0.82rem; color: #e05555; font-family: monospace; }
.error-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.error-links { font-size: 0.85rem; color: #444; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; }
.error-links span { color: #444; }
.error-links a { color: #888; text-decoration: none; transition: color 0.2s; }
.error-links a:hover { color: #fff; }

header { background: #8b0000; color: #fff; padding: 60px 10%; text-align: center; }
header h1 { font-size: 2.5rem; margin-bottom: 10px; }
header p { font-size: 1.2rem; margin-bottom: 8px; }
header .sub-slogan { font-size: 1rem; color: #ffc0c0; margin-bottom: 20px; }
header .cta-btn { display: inline-block; padding: 12px 25px; background: #fff; color: #8b0000; border-radius: 6px; text-decoration: none; font-weight: bold; transition: 0.3s; }
header .cta-btn:hover { background: #8b0000; color: #fff; border: 1px solid #fff; }

/* Nav: fundal full-width, conținut boxed */
nav { background: #660000; }
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: stretch; flex-wrap: wrap; padding: 0 2%; }
nav a { color: #fff; padding: 14px 16px; text-decoration: none; font-weight: 500; display: flex; align-items: center; }
nav a:hover { background: #a50000; }
.nav-left  { display: flex; flex-wrap: wrap; }
.nav-right { display: flex; align-items: center; gap: 4px; }
/* Buton evidențiat pentru Register / Dashboard */
.nav-btn { background: rgba(255,255,255,0.12); border-radius: 5px; margin: 8px 0; padding: 6px 16px !important; font-weight: 600 !important; }
.nav-btn:hover { background: rgba(255,255,255,0.22) !important; }
@media (max-width: 700px) {
  .nav-inner { flex-direction: column; padding: 0; }
  .nav-right { border-top: 1px solid rgba(255,255,255,0.1); padding: 6px 8px; }
  .nav-btn { margin: 4px 0; }
}

section { padding: 60px 10%; }
section h2 { text-align: center; margin-bottom: 30px; color: #8b0000; font-size: 2rem; }

.services, .pricing, .blog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .services, .pricing, .blog { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services, .pricing, .blog { grid-template-columns: 1fr; } }
.card { background: #fff; padding: 20px; border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); transition: transform 0.3s ease; }
.card:hover { transform: translateY(-5px); }
.card h3 { margin-bottom: 10px; color: #a50000; }

.contact { text-align: center; }
.contact form { max-width: 500px; margin: auto; display: flex; flex-direction: column; }
.contact input, .contact textarea { margin: 10px 0; padding: 10px; border: 1px solid #ccc; border-radius: 4px; }
.contact button { background: #a50000; color: #fff; border: none; padding: 12px; cursor: pointer; border-radius: 4px; font-weight: bold; }
.contact button:hover { background: #8b0000; }

/* ── NEW FOOTER ── */
.site-footer { background: #0d0d0d; color: #aaa; font-size: 0.88rem; }
.footer-main { max-width: 1200px; margin: 0 auto; padding: 60px 6% 40px; display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; }
.footer-brand-logo { font-size: 1.4rem; font-weight: 800; color: #fff; margin-bottom: 12px; letter-spacing: -0.02em; }
.footer-brand-logo span { color: #e05555; }
.footer-brand p { font-size: 0.85rem; color: #666; line-height: 1.7; max-width: 260px; margin-bottom: 20px; }
.footer-ns { background: #1a1a1a; border: 1px solid #2a2a2a; border-radius: 6px; padding: 10px 14px; font-family: monospace; font-size: 0.8rem; color: #888; line-height: 1.8; }
.footer-ns strong { color: #aaa; display: block; margin-bottom: 4px; font-family: Arial, sans-serif; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-col h4 { color: #fff; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.footer-col a { display: block; color: #666; text-decoration: none; margin-bottom: 10px; transition: color 0.2s; font-size: 0.88rem; }
.footer-col a:hover { color: #fff; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 0.85rem; color: #666; }
.footer-contact-item span:first-child { color: #e05555; flex-shrink: 0; }
.footer-contact-item a { color: #666; text-decoration: none; }
.footer-contact-item a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #1e1e1e; }
.footer-bottom-inner { max-width: 1200px; margin: 0 auto; padding: 20px 6%; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom-copy { font-size: 0.82rem; color: #444; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 0.82rem; color: #444; text-decoration: none; }
.footer-bottom-links a:hover { color: #aaa; }

/* ── AUTH PAGES split layout ── */
.auth-page { display: flex; min-height: 100vh; }
.auth-left { width: 400px; flex-shrink: 0; background: linear-gradient(160deg, #0d0d0d 0%, #1a0000 100%); color: #fff; padding: 48px 40px; display: flex; flex-direction: column; }
.auth-left-logo { font-size: 1.3rem; font-weight: 800; color: #fff; margin-bottom: 48px; letter-spacing: -0.02em; }
.auth-left-logo span { color: #e05555; }
.auth-left h2 { font-size: 1.6rem; font-weight: 800; color: #fff; line-height: 1.3; margin-bottom: 14px; }
.auth-left p { font-size: 0.88rem; color: #888; line-height: 1.7; margin-bottom: 32px; }
.auth-perks { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: auto; }
.auth-perks li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; color: #aaa; }
.auth-perks li::before { content: "✓"; color: #e05555; font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.auth-left-foot { font-size: 0.78rem; color: #333; margin-top: 40px; }
.auth-right { flex: 1; background: #fff; display: flex; align-items: center; justify-content: center; padding: 48px 40px; }
.auth-right-inner { width: 100%; max-width: 400px; }
.auth-right-inner h2 { font-size: 1.6rem; font-weight: 800; color: #1a1a1a; margin-bottom: 6px; }
.auth-right-inner .auth-subtitle { font-size: 0.9rem; color: #888; margin-bottom: 28px; }
.auth-right-inner .form-group { margin-bottom: 18px; }
.auth-right-inner .form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: #444; margin-bottom: 6px; }
.auth-right-inner .form-group input { width: 100%; padding: 11px 14px; border: 1px solid #ddd; border-radius: 6px; font-size: 0.95rem; transition: border-color 0.2s; background: #fafafa; }
.auth-right-inner .form-group input:focus { outline: none; border-color: #8b0000; background: #fff; }
.auth-submit-btn { width: 100%; background: #8b0000; color: #fff; border: none; padding: 13px; border-radius: 6px; font-size: 1rem; font-weight: 700; cursor: pointer; transition: background 0.2s; margin-bottom: 16px; }
.auth-submit-btn:hover { background: #a50000; }
.auth-divider { text-align: center; font-size: 0.85rem; color: #888; margin-bottom: 6px; }
.auth-divider a { color: #8b0000; font-weight: 600; text-decoration: none; }
.auth-divider a:hover { text-decoration: underline; }
.auth-forgot { text-align: right; margin-bottom: 20px; }
.auth-forgot a { font-size: 0.82rem; color: #888; text-decoration: none; }
.auth-forgot a:hover { color: #8b0000; }

/* ── BLOG page ── */
.blog-wrap { padding: 60px 8%; background: #f9f9f9; }
.blog-wrap .blog { max-width: 1100px; margin: 0 auto; }
.blog-wrap .card { display: flex; flex-direction: column; }
.blog-wrap .card h3 { font-size: 1.05rem; }
.blog-wrap .card p { flex: 1; }

/* ── POST article ── */
.post-page { background: #fff; }
.post-hero { background: linear-gradient(135deg, #0d0d0d 0%, #1a0000 100%); padding: 56px 8% 48px; }
.post-hero .post-back { color: #666; text-decoration: none; font-size: 0.85rem; display: inline-block; margin-bottom: 20px; }
.post-hero .post-back:hover { color: #aaa; }
.post-hero h1 { font-size: 2.2rem; font-weight: 800; color: #fff; line-height: 1.25; max-width: 760px; margin-bottom: 16px; }
.post-hero .post-meta { font-size: 0.85rem; color: #666; display: flex; gap: 10px; flex-wrap: wrap; }
.post-body { max-width: 760px; margin: 0 auto; padding: 48px 6%; }
.post-body .post-content { font-size: 1rem; line-height: 1.85; color: #333; }
.post-body .post-content p { margin-bottom: 20px; }
.post-body .post-content h2 { font-size: 1.5rem; color: #1a1a1a; margin: 36px 0 14px; }
.post-body .post-content h3 { font-size: 1.15rem; color: #333; margin: 28px 0 10px; }
.post-body .post-content ol,.post-body .post-content ul { margin: 0 0 20px 24px; }
.post-body .post-content li { margin-bottom: 8px; }
.post-body .post-content code { background: #f4f4f4; padding: 2px 6px; border-radius: 3px; font-size: 0.88em; }
.post-body .post-content pre { background: #1e1e1e; color: #a5f3fc; padding: 20px; border-radius: 8px; overflow-x: auto; margin-bottom: 20px; }
.post-footer-nav { border-top: 1px solid #eee; padding: 24px 0; margin-top: 40px; }

/* ── CONTACT page ── */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; max-width: 960px; margin: 0 auto; padding: 70px 8%; }
.contact-info h2 { font-size: 1.6rem; font-weight: 800; color: #1a1a1a; margin-bottom: 14px; }
.contact-info p { font-size: 0.95rem; color: #666; line-height: 1.7; margin-bottom: 28px; }
.contact-detail { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.contact-detail-icon { width: 40px; height: 40px; background: #fff5f5; border: 1px solid #fecaca; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.contact-detail-text strong { display: block; font-size: 0.85rem; color: #333; margin-bottom: 2px; }
.contact-detail-text span, .contact-detail-text a { font-size: 0.88rem; color: #888; text-decoration: none; }
.contact-detail-text a:hover { color: #8b0000; }
.contact-form-wrap { background: #fff; border-radius: 12px; padding: 36px; box-shadow: 0 2px 16px rgba(0,0,0,0.07); }
.contact-form-wrap h3 { font-size: 1.1rem; font-weight: 700; color: #1a1a1a; margin-bottom: 20px; }
.contact-form-wrap .form-group { margin-bottom: 16px; }
.contact-form-wrap .form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: #555; margin-bottom: 6px; }
.contact-form-wrap .form-group input,
.contact-form-wrap .form-group textarea { width: 100%; padding: 10px 14px; border: 1px solid #ddd; border-radius: 6px; font-size: 0.95rem; font-family: inherit; transition: border-color 0.2s; }
.contact-form-wrap .form-group input:focus,
.contact-form-wrap .form-group textarea:focus { outline: none; border-color: #8b0000; }
.contact-form-wrap .form-group textarea { resize: vertical; }
.contact-submit { width: 100%; background: #8b0000; color: #fff; border: none; padding: 12px; border-radius: 6px; font-size: 0.95rem; font-weight: 700; cursor: pointer; transition: background 0.2s; }
.contact-submit:hover { background: #a50000; }

@media (max-width: 900px) {
  .footer-main { grid-template-columns: 1fr 1fr; }
  .auth-page { flex-direction: column; }
  .auth-left { width: 100%; min-height: auto; padding: 32px 24px; }
  .auth-left h2 { font-size: 1.2rem; }
  .auth-perks { display: none; }
  .auth-right { padding: 32px 24px; }
  .contact-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .footer-main { grid-template-columns: 1fr; gap: 28px; padding: 40px 6% 28px; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
  .post-hero h1 { font-size: 1.6rem; }
}

/* Feature list (services, pricing) */
.feature-list { list-style: none; margin-top: 14px; }
.feature-list li { padding: 5px 0; font-size: 0.9rem; color: #555; }
.feature-list li::before { content: "✓ "; color: #8b0000; font-weight: bold; }

/* Pricing cards */
.pricing-card { display: flex; flex-direction: column; position: relative; }
.pricing-featured { border: 2px solid #8b0000; }
.pricing-popular { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: #8b0000; color: #fff; font-size: 0.72rem; font-weight: 700; padding: 3px 12px; border-radius: 20px; white-space: nowrap; text-transform: uppercase; letter-spacing: 0.05em; }
.pricing-badge { font-size: 1.1rem; font-weight: 700; color: #222; margin-bottom: 6px; }
.pricing-price { font-size: 2.4rem; font-weight: 800; color: #8b0000; line-height: 1; margin-bottom: 8px; }
.pricing-price span { font-size: 1rem; font-weight: 400; color: #888; }
.pricing-desc { font-size: 0.88rem; color: #666; margin-bottom: 4px; }
.pricing-btn { display: block; text-align: center; padding: 11px; border-radius: 5px; font-weight: 700; font-size: 0.9rem; text-decoration: none; margin-top: auto; padding-top: 14px; transition: 0.2s; }
.pricing-btn-solid { background: #8b0000; color: #fff; }
.pricing-btn-solid:hover { background: #a50000; }
.pricing-btn-outline { border: 2px solid #8b0000; color: #8b0000; }
.pricing-btn-outline:hover { background: #8b0000; color: #fff; }

/* FAQ */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.faq-item { background: #fff; padding: 20px 24px; border-radius: 8px; box-shadow: 0 1px 6px rgba(0,0,0,0.07); }
.faq-item h3 { font-size: 1rem; color: #222; margin-bottom: 8px; }
.faq-item p { font-size: 0.9rem; color: #555; }

/* Blog listing */
.post-date { font-size: 0.8rem; color: #888; display: block; margin-bottom: 6px; }
.read-more { display: inline-block; margin-top: 12px; color: #a50000; font-weight: bold; text-decoration: none; }
.read-more:hover { text-decoration: underline; }

/* Single post */
.post-wrap { max-width: 780px; margin: 0 auto; padding: 48px 10%; }
.post-back { font-size: 0.88rem; color: #a50000; text-decoration: none; display: inline-block; margin-bottom: 20px; }
.post-back:hover { text-decoration: underline; }
.post-wrap h1 { font-size: 2rem; color: #1a1a1a; margin-bottom: 12px; line-height: 1.3; }
.post-meta { font-size: 0.85rem; color: #888; display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.post-content { font-size: 1rem; line-height: 1.8; color: #333; }
.post-content p { margin-bottom: 18px; }
.post-content h2 { font-size: 1.4rem; color: #8b0000; margin: 28px 0 12px; }
.post-content h3 { font-size: 1.15rem; color: #333; margin: 22px 0 10px; }
.post-content ol, .post-content ul { margin: 0 0 18px 24px; }
.post-content li { margin-bottom: 6px; }
.post-content code { background: #f4f4f4; padding: 2px 6px; border-radius: 3px; font-size: 0.88em; }
.post-footer { margin-top: 40px; padding-top: 24px; border-top: 1px solid #eee; }

/* Alerts */
.alert { width: 100%; max-width: 440px; margin: 0 auto 16px; padding: 12px 16px; border-radius: 6px; font-size: 0.9rem; }
.alert p { margin: 0; line-height: 1.5; }
.alert p + p { margin-top: 4px; }
.alert-error   { background: #fdecea; border: 1px solid #f5c6c2; color: #b91c1c; }
.alert-success { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }

/* Auth (login / register) */
.auth-wrap { display: flex; justify-content: center; padding: 10px 0; }
.auth-form { background: #fff; padding: 36px 40px; border-radius: 10px; box-shadow: 0 2px 12px rgba(0,0,0,0.1); width: 100%; max-width: 440px; display: flex; flex-direction: column; }
.form-group { display: flex; flex-direction: column; margin-bottom: 16px; }
.form-group label { font-size: 0.875rem; font-weight: 600; margin-bottom: 6px; color: #555; }
.form-group input { padding: 10px 12px; border: 1px solid #ccc; border-radius: 4px; font-size: 1rem; transition: border-color 0.2s; }
.form-group input:focus { outline: none; border-color: #8b0000; }
.form-forgot { text-align: right; margin-bottom: 16px; }
.form-forgot a { font-size: 0.875rem; color: #a50000; text-decoration: none; }
.form-forgot a:hover { text-decoration: underline; }
.auth-form button { background: #a50000; color: #fff; border: none; padding: 12px; cursor: pointer; border-radius: 4px; font-size: 1rem; font-weight: bold; transition: background 0.2s; }
.auth-form button:hover { background: #8b0000; }
.auth-switch { text-align: center; margin-top: 18px; font-size: 0.9rem; color: #555; }
.auth-switch a { color: #a50000; text-decoration: none; font-weight: 600; }
.auth-switch a:hover { text-decoration: underline; }

/* Dashboard */
.dash-wrap { display: flex; min-height: calc(100vh - 180px); }

.dash-sidebar { width: 220px; flex-shrink: 0; background: #1e1e1e; color: #ccc; display: flex; flex-direction: column; }
.dash-user { padding: 24px 20px; border-bottom: 1px solid #333; }
.dash-avatar { width: 48px; height: 48px; border-radius: 50%; background: #8b0000; color: #fff; font-size: 1.3rem; font-weight: bold; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.dash-username { font-weight: 600; color: #fff; font-size: 0.95rem; }

.dash-nav { display: flex; flex-direction: column; flex: 1; padding: 12px 0; }
.dash-nav a { color: #aaa; padding: 11px 20px; text-decoration: none; font-size: 0.9rem; transition: background 0.2s, color 0.2s; }
.dash-nav a:hover, .dash-nav a.active { background: #2a2a2a; color: #fff; }
.dash-nav a.active { border-left: 3px solid #8b0000; }
.dash-logout { margin-top: auto; color: #e07070 !important; border-top: 1px solid #333; }

.dash-main { flex: 1; padding: 32px 36px; overflow-x: auto; }
.dash-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.dash-topbar h2 { font-size: 1.6rem; color: #222; }

.btn-primary { background: #8b0000; color: #fff; padding: 9px 18px; border-radius: 5px; text-decoration: none; font-weight: 600; font-size: 0.9rem; transition: background 0.2s; }
.btn-primary:hover { background: #a50000; }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; margin-bottom: 36px; }
.stat-card { background: #fff; border-radius: 10px; padding: 20px; box-shadow: 0 1px 6px rgba(0,0,0,0.08); display: flex; flex-direction: column; align-items: center; }
.stat-value { font-size: 2rem; font-weight: 700; color: #8b0000; line-height: 1; }
.stat-label { font-size: 0.8rem; color: #888; margin-top: 6px; text-transform: uppercase; letter-spacing: 0.04em; }

.dash-section { background: #fff; border-radius: 10px; box-shadow: 0 1px 6px rgba(0,0,0,0.08); margin-bottom: 28px; overflow: hidden; }
.dash-section-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid #f0f0f0; }
.dash-section-head h3 { font-size: 1rem; font-weight: 700; color: #222; }
.dash-link { font-size: 0.85rem; color: #a50000; text-decoration: none; }
.dash-link:hover { text-decoration: underline; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
thead { background: #fafafa; }
th { padding: 11px 16px; text-align: left; font-weight: 600; color: #555; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.03em; border-bottom: 1px solid #eee; }
td { padding: 12px 16px; border-bottom: 1px solid #f5f5f5; color: #333; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: #fafafa; }
.table-empty td { text-align: center; color: #888; padding: 30px; }
.table-empty a { color: #a50000; }

.badge { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 0.75rem; font-weight: 700; }
.badge-a    { background: #e8f4fd; color: #1a6fa8; }
.badge-aaaa { background: #e8f4fd; color: #1a6fa8; }
.badge-cname{ background: #f0f8e8; color: #4a8a1a; }
.badge-mx   { background: #fdf3e8; color: #a86a1a; }
.badge-txt  { background: #f5e8fd; color: #7a1aa8; }
.badge-ns   { background: #e8eafd; color: #2a3aa8; }
.badge-srv  { background: #fde8f0; color: #a81a5a; }
.badge-caa  { background: #f4fde8; color: #5a8a1a; }

/* Status badges */
.status-badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.status-active  { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.status-pending { background: #fffbeb; color: #92400e; border: 1px solid #fcd34d; }

/* Table action buttons */
.table-actions { white-space: nowrap; }
.btn-action { display: inline-block; padding: 5px 12px; border-radius: 4px; font-size: 0.8rem; font-weight: 600; cursor: pointer; border: 1px solid transparent; text-decoration: none; transition: 0.2s; margin-right: 4px; }
.btn-action-primary { background: #8b0000; color: #fff; border-color: #8b0000; }
.btn-action-primary:hover { background: #a50000; }
.btn-action-info    { background: #fff; color: #1a6fa8; border-color: #1a6fa8; }
.btn-action-info:hover { background: #1a6fa8; color: #fff; }
.btn-action-danger  { background: #fff; color: #b91c1c; border-color: #b91c1c; }
.btn-action-danger:hover { background: #b91c1c; color: #fff; }

/* Cache page */
.cache-status-active { background: #f0fdf4; border: 1px solid #a7f3d0; border-radius: 8px; padding: 14px 18px; }
.cache-status-active p { font-size: 0.9rem; color: #065f46; }
.cache-status-active code { background: #d1fae5; padding: 2px 7px; border-radius: 3px; font-size: 0.85rem; }
.cache-bypass-item { display: flex; align-items: center; justify-content: space-between; background: #fafafa; border: 1px solid #eee; border-radius: 6px; padding: 8px 14px; margin-bottom: 8px; }
.cache-bypass-item code { font-size: 0.88rem; color: #333; }

/* SSL mode cards */
.ssl-mode-grid { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.ssl-mode-card { display: block; border: 2px solid #eee; border-radius: 10px; cursor: pointer; transition: border-color 0.15s; }
.ssl-mode-card:hover { border-color: #8b0000; }
.ssl-mode-card.selected { border-color: #8b0000; background: #fff8f8; }
.ssl-mode-card input[type=radio] { display: none; }
.ssl-mode-card-inner { display: flex; align-items: flex-start; gap: 16px; padding: 16px 18px; }
.ssl-mode-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.ssl-mode-label { display: block; font-size: 0.95rem; font-weight: 700; color: #1a1a1a; margin-bottom: 4px; }
.ssl-mode-desc { font-size: 0.82rem; color: #666; line-height: 1.55; margin: 0; }
.ssl-mode-active-badge { margin-left: auto; flex-shrink: 0; background: #8b0000; color: #fff; font-size: 0.7rem; font-weight: 700; padding: 2px 8px; border-radius: 10px; white-space: nowrap; align-self: flex-start; }

/* SSL diagram */
.ssl-diagram { display: flex; align-items: center; gap: 8px; background: #f9f9f9; border: 1px solid #eee; border-radius: 8px; padding: 16px 20px; flex-wrap: wrap; justify-content: center; }
.ssl-diagram-node { background: #fff; border: 1px solid #ddd; border-radius: 6px; padding: 8px 14px; font-size: 0.85rem; font-weight: 600; color: #333; }
.ssl-diagram-proxy { background: #fff8f8; border-color: #fecaca; color: #8b0000; }
.ssl-diagram-arrow { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 1rem; color: #aaa; }
.ssl-diagram-proto { font-size: 0.7rem; font-weight: 700; padding: 1px 6px; border-radius: 3px; }
.proto-https { background: #ecfdf5; color: #065f46; }
.proto-http  { background: #fff7ed; color: #c2410c; }

@media (max-width: 600px) {
  .ssl-mode-card-inner { flex-direction: column; }
  .ssl-diagram { flex-direction: column; }
  .ssl-diagram-arrow { flex-direction: row; }
}

/* Nameserver info box */
.ns-info-box { display: flex; gap: 16px; align-items: flex-start; background: #f0f4ff; border: 1px solid #c7d2fe; border-radius: 10px; padding: 18px 22px; margin-bottom: 24px; }
.ns-info-icon { font-size: 1.6rem; line-height: 1; flex-shrink: 0; }
.ns-info-box strong { display: block; color: #1e1b4b; margin-bottom: 4px; }
.ns-info-box p { font-size: 0.88rem; color: #4338ca; margin-bottom: 10px; }
.ns-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.ns-chip { background: #fff; border: 1px solid #c7d2fe; border-radius: 5px; padding: 5px 12px; font-size: 0.85rem; color: #1e1b4b; }
.ns-chip code { font-family: monospace; }

/* NS modal trigger */
.ns-modal-trigger { cursor: pointer; }
.ns-modal-trigger:hover { opacity: 0.8; }

/* Modal overlay */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 1000; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.active { display: flex; }

/* Modal box */
.modal-box { background: #fff; border-radius: 12px; padding: 32px 36px; max-width: 480px; width: 100%; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,0.25); animation: modalIn 0.18s ease; }
@keyframes modalIn { from { opacity: 0; transform: translateY(-16px) scale(0.97); } to { opacity: 1; transform: none; } }

.modal-close { position: absolute; top: 14px; right: 16px; background: none; border: none; font-size: 1.4rem; color: #aaa; cursor: pointer; line-height: 1; padding: 4px 8px; }
.modal-close:hover { color: #333; }

.modal-title { font-size: 1.15rem; font-weight: 700; color: #1a1a1a; margin-bottom: 6px; }
.modal-domain { font-size: 1rem; font-weight: 700; color: #8b0000; margin-bottom: 12px; }
.modal-desc { font-size: 0.88rem; color: #555; margin-bottom: 20px; line-height: 1.6; }

.modal-ns-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.modal-ns-item { display: flex; align-items: center; gap: 10px; background: #f8f8f8; border: 1px solid #e8e8e8; border-radius: 7px; padding: 10px 14px; }
.modal-ns-label { font-size: 0.72rem; font-weight: 700; color: #888; text-transform: uppercase; letter-spacing: 0.05em; min-width: 32px; }
.modal-ns-item code { flex: 1; font-family: monospace; font-size: 0.92rem; color: #1a1a1a; }
.modal-copy-btn { background: #fff; border: 1px solid #ddd; border-radius: 5px; padding: 4px 12px; font-size: 0.78rem; font-weight: 600; color: #555; cursor: pointer; transition: 0.15s; white-space: nowrap; }
.modal-copy-btn:hover { border-color: #8b0000; color: #8b0000; }
.modal-copy-btn.copied { border-color: #065f46; color: #065f46; background: #ecfdf5; }

.modal-note { font-size: 0.82rem; color: #888; background: #fffbeb; border: 1px solid #fcd34d; border-radius: 6px; padding: 10px 14px; line-height: 1.5; }

/* Record form */
.record-form-grid { display: grid; gap: 0 20px; margin-bottom: 8px; }
.record-form-main { grid-template-columns: 1.5fr 0.7fr 2fr; }
.record-form-meta { grid-template-columns: 1fr 0.8fr 1.4fr; }
.record-form-extra{ grid-template-columns: 1fr 1fr; }
.record-form-grid .form-group select,
.record-form-grid .form-group input { width: 100%; padding: 10px 12px; border: 1px solid #ddd; border-radius: 4px; font-size: 0.95rem; background: #fff; }
.record-form-grid .form-group select:focus,
.record-form-grid .form-group input:focus { outline: none; border-color: #8b0000; }
.record-form-grid small { font-size: 0.76rem; color: #999; margin-top: 3px; display: block; }
.field-optional { font-size: 0.72rem; color: #aaa; font-weight: 400; margin-left: 4px; }

/* Proxy toggle */
.proxy-toggle { display: flex; gap: 8px; margin-top: 2px; }
.proxy-opt { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid #ddd; border-radius: 5px; cursor: pointer; font-size: 0.88rem; color: #555; transition: 0.15s; }
.proxy-opt input[type=radio] { display: none; }
.proxy-opt.selected { border-color: #8b0000; color: #8b0000; background: #fff5f5; font-weight: 600; }
.proxy-opt:hover { border-color: #aaa; }

/* Proxy badges in table */
.proxy-badge { display: inline-block; font-size: 0.78rem; font-weight: 600; padding: 2px 8px; border-radius: 20px; white-space: nowrap; }
.proxy-badge.proxied  { background: #fff8e1; color: #b45309; border: 1px solid #fcd34d; }
.proxy-badge.dns-only { background: #f0f4ff; color: #3730a3; border: 1px solid #c7d2fe; }
.proxy-inactive { font-weight: 400; font-size: 0.7rem; opacity: 0.7; }
.proxy-origin-hint { display: inline-block; margin-left: 6px; font-size: 0.72rem; color: #b45309; background: #fff8e1; border: 1px solid #fcd34d; border-radius: 3px; padding: 1px 5px; cursor: help; }

/* Record table cells */
.record-name  { font-family: monospace; font-size: 0.88rem; }
.record-value { max-width: 240px; word-break: break-all; font-size: 0.88rem; }
.record-priority { display: inline-block; margin-left: 6px; font-size: 0.75rem; color: #888; background: #f0f0f0; padding: 1px 6px; border-radius: 4px; }
.record-tags  { display: block; font-size: 0.72rem; color: #888; margin-top: 2px; }
.record-comment { font-size: 0.82rem; color: #666; max-width: 200px; }
.record-count { display: inline-block; background: #f0f0f0; color: #666; font-size: 0.78rem; padding: 2px 8px; border-radius: 10px; margin-left: 8px; font-weight: 400; }

@media (max-width: 900px) {
  .record-form-main, .record-form-meta, .record-form-extra { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .record-form-main, .record-form-meta, .record-form-extra { grid-template-columns: 1fr; }
}

/* Sidebar level badge */
.dash-level-badge { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; margin-top: 4px; }
.dash-level-badge.user       { background: #2a2a2a; color: #aaa; border: 1px solid #444; }
.dash-level-badge.moderator  { background: #1a3a5c; color: #7ec8f0; border: 1px solid #2a5a8c; }
.dash-level-badge.admin      { background: #5c1a1a; color: #f0a0a0; border: 1px solid #8c2a2a; }

/* Dashboard two-column layout */
.dash-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* Panel body (form inside dash-section) */
.dash-panel-body { padding: 24px; }
.dash-panel-body .form-group { margin-bottom: 18px; }
.dash-panel-body .form-group label { font-size: 0.875rem; font-weight: 600; margin-bottom: 6px; display: block; color: #555; }
.dash-panel-body .form-group input { width: 100%; padding: 10px 12px; border: 1px solid #ddd; border-radius: 4px; font-size: 0.95rem; transition: border-color 0.2s; }
.dash-panel-body .form-group input:focus { outline: none; border-color: #8b0000; }

/* Buttons inside panels */
.btn-save { background: #8b0000; color: #fff; border: none; padding: 10px 22px; border-radius: 4px; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: background 0.2s; }
.btn-save:hover { background: #a50000; }
.btn-danger { background: #fff; color: #b91c1c; border: 1px solid #b91c1c; padding: 9px 18px; border-radius: 4px; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: background 0.2s, color 0.2s; white-space: nowrap; }
.btn-danger:hover { background: #b91c1c; color: #fff; }

/* Account info grid */
.info-grid { display: flex; flex-direction: column; gap: 16px; }
.info-item { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid #f5f5f5; }
.info-item:last-child { border-bottom: none; padding-bottom: 0; }
.info-label { font-size: 0.82rem; color: #888; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }
.info-value { font-size: 0.9rem; color: #222; }

/* Danger zone */
.dash-section.danger-zone .dash-section-head h3 { color: #b91c1c; }
.dash-section.danger-zone { border: 1px solid #fecaca; }
.danger-item { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.danger-item p { font-size: 0.85rem; color: #666; margin-top: 4px; }

/* Dashboard alerts */
.dash-main .alert { max-width: 100%; margin-bottom: 20px; }

@media (max-width: 900px) {
  .dash-columns { grid-template-columns: 1fr; }
}

/* NS check button & last-check hint */
.btn-ns-check { background: #fff; border: 1px solid #c7d2fe; color: #3730a3; border-radius: 4px; padding: 3px 10px; font-size: 0.78rem; font-weight: 600; cursor: pointer; transition: 0.15s; white-space: nowrap; }
.btn-ns-check:hover { background: #3730a3; color: #fff; border-color: #3730a3; }
.ns-last-check { font-size: 0.72rem; color: #aaa; margin-top: 4px; }

/* DDNS page */
.ddns-info-box { display: flex; gap: 16px; align-items: flex-start; background: #f0fdf4; border: 1px solid #a7f3d0; border-radius: 10px; padding: 18px 22px; margin-bottom: 24px; }
.ddns-info-icon { font-size: 1.6rem; flex-shrink: 0; }
.ddns-info-box strong { display: block; color: #065f46; margin-bottom: 4px; }
.ddns-info-box p { font-size: 0.88rem; color: #047857; }

.ddns-host-card { border-bottom: 1px solid #f0f0f0; padding: 20px 20px 16px; }
.ddns-host-card:last-child { border-bottom: none; }
.ddns-host-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; flex-wrap: wrap; gap: 8px; }
.ddns-host-name code { font-size: 1rem; font-weight: 700; color: #1a1a1a; }
.ddns-ip { display: inline-block; margin-left: 12px; background: #f0f4ff; color: #3730a3; border: 1px solid #c7d2fe; border-radius: 4px; padding: 2px 10px; font-size: 0.82rem; font-family: monospace; }
.ddns-host-meta { font-size: 0.8rem; color: #888; }

.ddns-update-url { display: flex; align-items: center; gap: 10px; background: #f8f8f8; border: 1px solid #eee; border-radius: 6px; padding: 8px 12px; }
.ddns-url-label { font-size: 0.72rem; font-weight: 700; color: #888; text-transform: uppercase; letter-spacing: 0.04em; min-width: 46px; }
.ddns-url-value { flex: 1; font-family: monospace; font-size: 0.82rem; color: #333; word-break: break-all; }
.ddns-url-value em { color: #aaa; font-style: normal; }

.ddns-host-actions { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; }

.ddns-manual-ip { margin-top: 10px; }
.ddns-ip-form { display: flex; align-items: center; gap: 10px; background: #fffbeb; border: 1px solid #fcd34d; border-radius: 6px; padding: 10px 14px; flex-wrap: wrap; }
.ddns-ip-form input[type="text"] { flex: 1; min-width: 180px; padding: 7px 10px; border: 1px solid #ddd; border-radius: 4px; font-family: monospace; font-size: 0.9rem; }
.ddns-ip-form input[type="text"]:focus { outline: none; border-color: #8b0000; }

.ddns-examples { display: flex; flex-direction: column; gap: 16px; }
.ddns-example strong { display: block; font-size: 0.88rem; color: #333; margin-bottom: 6px; }
.ddns-example code { display: block; background: #1e1e1e; color: #a5f3fc; padding: 10px 14px; border-radius: 6px; font-size: 0.82rem; line-height: 1.8; }

@media (max-width: 768px) {
  .dash-wrap { flex-direction: column; }
  .dash-sidebar { width: 100%; flex-direction: row; flex-wrap: wrap; }
  .dash-nav { flex-direction: row; flex-wrap: wrap; padding: 0; }
  .dash-nav a { padding: 10px 14px; }
  .dash-main { padding: 20px 16px; }
  .danger-item { flex-direction: column; align-items: flex-start; }
  .ddns-host-header { flex-direction: column; align-items: flex-start; }
}

/* ═══════════════════════════════════════════════════════════
   PAGE HERO (About / Services / Pricing sub-pages)
═══════════════════════════════════════════════════════════ */
.hp-page-hero { background: linear-gradient(135deg, #0d0d0d 0%, #1a0000 50%, #0d0d0d 100%); color: #fff; padding: 64px 8% 56px; text-align: center; }
.hp-page-hero .hp-badge { margin-bottom: 16px; }
.hp-page-hero h1 { font-size: 2.6rem; font-weight: 800; line-height: 1.2; margin-bottom: 16px; color: #fff; }
.hp-page-hero p { font-size: 1rem; color: #999; max-width: 560px; margin: 0 auto; line-height: 1.7; }

/* About page */
.about-mission { background: #fff; padding: 70px 8%; }
.about-mission-text { max-width: 760px; margin: 0 auto; text-align: center; font-size: 1.05rem; color: #555; line-height: 1.8; }
.about-values { background: #f9f9f9; padding: 70px 8%; }
.about-values h2 { text-align: center; color: #1a1a1a; font-size: 2rem; margin-bottom: 12px; }
.about-values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 900px; margin: 0 auto; }
.about-value-card { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 28px 24px; display: flex; gap: 18px; align-items: flex-start; }
.about-value-icon { font-size: 1.8rem; flex-shrink: 0; }
.about-value-card h3 { font-size: 1rem; font-weight: 700; color: #1a1a1a; margin-bottom: 8px; }
.about-value-card p { font-size: 0.88rem; color: #666; line-height: 1.65; }
.about-story { background: #fff; padding: 70px 8%; }
.about-story h2 { text-align: center; color: #1a1a1a; font-size: 2rem; margin-bottom: 36px; }
.about-story-inner { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.about-story-inner p { font-size: 1rem; color: #555; line-height: 1.8; }

/* Services page */
.services-grid-wrap { padding: 70px 8%; background: #fff; }
.services-grid-wrap h2 { text-align: center; color: #1a1a1a; font-size: 2rem; margin-bottom: 12px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }
.service-card { background: #fafafa; border: 1px solid #eee; border-radius: 12px; padding: 28px 24px; transition: box-shadow 0.2s, transform 0.2s; }
.service-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.08); transform: translateY(-3px); }
.service-card .hp-feat-icon { font-size: 1.8rem; margin-bottom: 14px; }
.service-card h3 { font-size: 1rem; font-weight: 700; color: #1a1a1a; margin-bottom: 10px; }
.service-card p { font-size: 0.88rem; color: #666; line-height: 1.65; margin-bottom: 14px; }
.service-card .feature-list { margin-top: 0; }

/* Pricing page */
.pricing-wrap { padding: 70px 8%; background: #f9f9f9; }
.pricing-wrap h2 { text-align: center; color: #1a1a1a; font-size: 2rem; margin-bottom: 12px; }
.pricing-wrap .pricing { max-width: 960px; margin: 0 auto; }
.faq-wrap { padding: 70px 8%; background: #fff; }
.faq-wrap h2 { text-align: center; color: #1a1a1a; font-size: 2rem; margin-bottom: 40px; }

/* Shared CTA mini-banner */
.hp-cta-mini { background: #f9f9f9; border-top: 1px solid #eee; padding: 56px 8%; text-align: center; }
.hp-cta-mini h2 { font-size: 1.7rem; color: #1a1a1a; margin-bottom: 10px; }
.hp-cta-mini p { color: #888; margin-bottom: 24px; font-size: 0.95rem; }

/* About / Services responsive */
@media (max-width: 800px) {
  .about-values-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hp-page-hero h1 { font-size: 2rem; }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   HOMEPAGE
═══════════════════════════════════════════════════════════ */

/* Hero */
.hp-hero { background: linear-gradient(135deg, #0d0d0d 0%, #1a0000 50%, #0d0d0d 100%); color: #fff; padding: 80px 8% 70px; }
.hp-hero-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; gap: 60px; }
.hp-hero-text { flex: 1; }

.hp-badge { display: inline-block; background: rgba(139,0,0,0.35); border: 1px solid rgba(139,0,0,0.6); color: #ff9999; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 5px 14px; border-radius: 20px; margin-bottom: 20px; }

.hp-hero-text h1 { font-size: 3rem; font-weight: 800; line-height: 1.15; margin-bottom: 20px; color: #fff; }
.hp-accent { color: #e05555; }

.hp-hero-sub { font-size: 1.05rem; color: #aaa; line-height: 1.7; margin-bottom: 32px; max-width: 500px; }

.hp-hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.hp-btn-primary { background: #8b0000; color: #fff; padding: 13px 28px; border-radius: 6px; text-decoration: none; font-weight: 700; font-size: 0.95rem; transition: background 0.2s; }
.hp-btn-primary:hover { background: #a50000; }
.hp-btn-ghost { background: transparent; color: #fff; padding: 12px 28px; border-radius: 6px; text-decoration: none; font-weight: 700; font-size: 0.95rem; border: 1px solid rgba(255,255,255,0.3); transition: 0.2s; }
.hp-btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.6); }

.hp-trust { font-size: 0.82rem; color: #666; }
.hp-trust { color: #555; }

/* Hero — DNS card visual */
.hp-hero-visual { flex: 0 0 420px; }
.hp-dns-card { background: #141414; border: 1px solid #2a2a2a; border-radius: 12px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,0.6); font-family: monospace; }
.hp-dns-header { background: #1e1e1e; padding: 12px 16px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid #2a2a2a; }
.hp-dns-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.hp-dns-dot.red    { background: #ff5f57; }
.hp-dns-dot.yellow { background: #febc2e; }
.hp-dns-dot.green  { background: #28c840; }
.hp-dns-title { font-size: 0.78rem; color: #666; margin-left: 6px; font-family: Arial, sans-serif; }
.hp-dns-cols { display: grid; grid-template-columns: 80px 60px 1fr 50px; padding: 8px 16px; font-size: 0.7rem; color: #444; text-transform: uppercase; letter-spacing: 0.06em; border-bottom: 1px solid #222; font-family: Arial, sans-serif; }
.hp-dns-row { display: grid; grid-template-columns: 80px 60px 1fr 50px; align-items: center; padding: 10px 16px; border-bottom: 1px solid #1e1e1e; transition: background 0.15s; }
.hp-dns-row:hover { background: #1a1a1a; }
.hp-dns-row code { font-size: 0.85rem; color: #e0e0e0; }
.hp-dns-row span:last-child { font-size: 0.78rem; color: #555; }
.hp-rec-badge { display: inline-block; padding: 2px 7px; border-radius: 4px; font-size: 0.7rem; font-weight: 700; font-family: Arial, sans-serif; }
.hp-rec-badge.a    { background: #1a3a5c; color: #7ec8f0; }
.hp-rec-badge.aaaa { background: #1a3a5c; color: #7ec8f0; }
.hp-rec-badge.cname{ background: #1a3a1a; color: #7ef07e; }
.hp-rec-badge.mx   { background: #3a2a1a; color: #f0c07e; }
.hp-dns-add { color: #333; cursor: pointer; }
.hp-dns-plus { display: inline-block; width: 20px; height: 20px; background: #8b0000; color: #fff; border-radius: 4px; text-align: center; line-height: 20px; font-size: 0.9rem; margin-right: 8px; }

/* Stats bar */
.hp-stats-bar { background: #fff; border-top: 1px solid #eee; border-bottom: 1px solid #eee; display: flex; justify-content: center; flex-wrap: wrap; gap: 0; }
.hp-stat { padding: 24px 48px; text-align: center; border-right: 1px solid #eee; }
.hp-stat:last-child { border-right: none; }
.hp-stat strong { display: block; font-size: 1.6rem; font-weight: 800; color: #8b0000; line-height: 1; margin-bottom: 4px; }
.hp-stat span { font-size: 0.8rem; color: #888; text-transform: uppercase; letter-spacing: 0.05em; }

/* Shared section styles */
.hp-section-sub { text-align: center; color: #888; margin-top: -18px; margin-bottom: 40px; font-size: 1rem; }

/* How it works */
.hp-steps { background: #f9f9f9; padding: 70px 8%; }
.hp-steps h2 { text-align: center; color: #1a1a1a; font-size: 2rem; margin-bottom: 12px; }
.hp-steps-grid { display: flex; align-items: flex-start; justify-content: center; gap: 0; max-width: 900px; margin: 0 auto; }
.hp-step { flex: 1; text-align: center; padding: 0 24px; }
.hp-step-num { width: 52px; height: 52px; background: #8b0000; color: #fff; border-radius: 50%; font-size: 1.3rem; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.hp-step h3 { font-size: 1.05rem; color: #1a1a1a; margin-bottom: 10px; }
.hp-step p { font-size: 0.88rem; color: #666; line-height: 1.65; }
.hp-step p code { background: #f0f0f0; padding: 1px 5px; border-radius: 3px; font-size: 0.82rem; }
.hp-step-arrow { font-size: 1.4rem; color: #ddd; padding-top: 18px; flex-shrink: 0; align-self: flex-start; }

/* Features grid */
.hp-features { padding: 70px 8%; background: #fff; }
.hp-features h2 { text-align: center; color: #1a1a1a; font-size: 2rem; margin-bottom: 12px; }
.hp-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }
.hp-feature-card { background: #fafafa; border: 1px solid #eee; border-radius: 12px; padding: 28px 24px; transition: box-shadow 0.2s, transform 0.2s; }
.hp-feature-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.08); transform: translateY(-3px); }
.hp-feat-icon { font-size: 1.8rem; margin-bottom: 14px; }
.hp-feature-card h3 { font-size: 1rem; color: #1a1a1a; margin-bottom: 10px; font-weight: 700; }
.hp-feature-card p { font-size: 0.88rem; color: #666; line-height: 1.65; }

/* Pricing section override */
.hp-pricing { padding: 70px 8%; background: #f9f9f9; }
.hp-pricing h2 { text-align: center; color: #1a1a1a; font-size: 2rem; margin-bottom: 12px; }
.hp-pricing .pricing { max-width: 960px; margin: 0 auto; }

/* Blog section */
.hp-blog { padding: 70px 8%; background: #fff; }
.hp-blog h2 { text-align: center; color: #1a1a1a; font-size: 2rem; margin-bottom: 12px; }
.hp-btn-outline-dark { display: inline-block; border: 2px solid #8b0000; color: #8b0000; padding: 11px 28px; border-radius: 6px; font-weight: 700; font-size: 0.9rem; text-decoration: none; transition: 0.2s; }
.hp-btn-outline-dark:hover { background: #8b0000; color: #fff; }

/* CTA banner */
.hp-cta-banner { background: linear-gradient(135deg, #8b0000, #5c0000); color: #fff; text-align: center; padding: 70px 8%; }
.hp-cta-banner h2 { font-size: 2rem; margin-bottom: 12px; }
.hp-cta-banner p { color: #ffb3b3; margin-bottom: 28px; font-size: 1rem; }

/* Contact */
.hp-contact { background: #f9f9f9; padding: 70px 8%; }
.hp-contact h2 { text-align: center; color: #1a1a1a; font-size: 2rem; margin-bottom: 12px; }

/* Homepage responsive */
@media (max-width: 1000px) {
  .hp-hero-inner { flex-direction: column; gap: 40px; }
  .hp-hero-visual { flex: none; width: 100%; max-width: 480px; }
  .hp-hero-text h1 { font-size: 2.2rem; }
  .hp-features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .hp-hero { padding: 50px 6% 40px; }
  .hp-hero-text h1 { font-size: 1.8rem; }
  .hp-steps-grid { flex-direction: column; align-items: center; gap: 24px; }
  .hp-step-arrow { display: none; }
  .hp-features-grid { grid-template-columns: 1fr; }
  .hp-stat { padding: 18px 24px; }
}
