/* ==========================================================================
   HostPilot Theme Suite — Core Design System
   Inspired by YouStable: Dark navy header/footer, white body, indigo/blue
   primary, Inter font, clean sections, subtle borders, professional feel.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --hp-primary: #4338CA;
  --hp-primary-dark: #3730A3;
  --hp-primary-light: #6366F1;
  --hp-secondary: #0F172A;
  --hp-accent: #F97316;
  --hp-bg: #FFFFFF;
  --hp-bg-soft: #F8FAFC;
  --hp-bg-alt: #F1F5F9;
  --hp-surface: #FFFFFF;
  --hp-border: #E2E8F0;
  --hp-text: #1E293B;
  --hp-text-dark: #0F172A;
  --hp-muted: #64748B;
  --hp-success: #16A34A;
  --hp-warning: #F59E0B;
  --hp-danger: #DC2626;
  --hp-radius: 12px;
  --hp-radius-sm: 8px;
  --hp-radius-lg: 20px;
  --hp-container: 1200px;
  --hp-shadow-sm: 0 1px 3px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
  --hp-shadow-md: 0 4px 16px rgba(15,23,42,0.08);
  --hp-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body.hp-dark {
  --hp-bg: #0B1120;
  --hp-bg-soft: #0F172A;
  --hp-bg-alt: #1E293B;
  --hp-surface: #111827;
  --hp-border: #1E293B;
  --hp-text: #F1F5F9;
  --hp-text-dark: #FFFFFF;
  --hp-muted: #94A3B8;
}

/* Reset */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;font-family:var(--hp-font);font-size:15px;line-height:1.6;color:var(--hp-text);background:var(--hp-bg);-webkit-font-smoothing:antialiased}
img,svg{max-width:100%;height:auto;display:block}
a{color:var(--hp-primary);text-decoration:none;transition:color .15s}
a:hover{color:var(--hp-primary-dark)}

/* Typography */
h1,h2,h3,h4,h5,h6{margin:0 0 .5em;color:var(--hp-text-dark);font-weight:700;line-height:1.2;letter-spacing:-.01em}
h1{font-size:clamp(28px,4.5vw,48px)}
h2{font-size:clamp(22px,3vw,34px)}
h3{font-size:clamp(18px,2vw,24px)}
h4{font-size:clamp(16px,1.5vw,18px)}
p{margin:0 0 1rem}

.hp-kicker{display:inline-block;font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--hp-primary);margin-bottom:8px}
.hp-subtitle{font-size:15px;color:var(--hp-muted);max-width:58ch;line-height:1.7}
.hp-muted{color:var(--hp-muted)}

/* Layout */
.hp-container{width:100%;max-width:var(--hp-container);margin:0 auto;padding:0 20px}
.hp-section{padding:80px 0}
.hp-section-tight{padding:40px 0}
.hp-section--soft{background:var(--hp-bg-soft)}
.hp-section--alt{background:var(--hp-bg-alt)}
.hp-section--dark{background:var(--hp-secondary);color:#E2E8F0}
.hp-section--dark h1,.hp-section--dark h2,.hp-section--dark h3{color:#fff}
.hp-section--dark .hp-subtitle{color:#94A3B8}
.hp-section--dark .hp-kicker{color:var(--hp-primary-light)}
.hp-section-head{text-align:center;max-width:680px;margin:0 auto 48px}
.hp-section-head .hp-subtitle{margin:8px auto 0}
.hp-grid{display:grid;gap:20px}
.hp-grid-2{grid-template-columns:repeat(2,1fr)}
.hp-grid-3{grid-template-columns:repeat(3,1fr)}
.hp-grid-4{grid-template-columns:repeat(4,1fr)}

/* Cards */
.hp-card{background:var(--hp-surface);border:1px solid var(--hp-border);border-radius:var(--hp-radius);padding:24px}
.hp-card-hover{transition:transform .15s,box-shadow .15s,border-color .15s}
.hp-card-hover:hover{transform:translateY(-2px);box-shadow:var(--hp-shadow-md);border-color:#CBD5E1}

/* Buttons */
.hp-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;font-family:var(--hp-font);font-size:14px;font-weight:600;line-height:1;padding:12px 22px;border-radius:var(--hp-radius-sm);border:1.5px solid transparent;cursor:pointer;transition:all .15s;text-decoration:none;white-space:nowrap}
.hp-btn:active{transform:translateY(1px)}
.hp-btn-lg{padding:14px 28px;font-size:15px}
.hp-btn-sm{padding:9px 16px;font-size:13px}
.hp-btn-block{display:flex;width:100%}
.hp-btn-primary{background:var(--hp-primary);color:#fff;border-color:var(--hp-primary)}
.hp-btn-primary:hover{background:var(--hp-primary-dark);border-color:var(--hp-primary-dark);color:#fff}
.hp-btn-secondary{background:var(--hp-secondary);color:#fff}
.hp-btn-secondary:hover{background:#1E293B;color:#fff}
.hp-btn-outline{background:transparent;color:var(--hp-text);border-color:var(--hp-border)}
.hp-btn-outline:hover{border-color:var(--hp-primary);color:var(--hp-primary)}
.hp-btn-accent{background:var(--hp-accent);color:#fff}
.hp-btn-accent:hover{background:#EA580C;color:#fff}

/* Badges */
.hp-badge{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;padding:4px 10px;border-radius:999px;background:#EEF2FF;color:var(--hp-primary)}
.hp-badge-popular{background:var(--hp-accent);color:#fff}
.hp-badge-success{background:#DCFCE7;color:#166534}

/* Header */
.hp-announcement{background:var(--hp-primary);color:#fff;font-size:13px;font-weight:500;text-align:center;padding:8px 16px}
.hp-announcement a{color:#fff;text-decoration:underline}

.hp-header{position:sticky;top:0;z-index:1000;background:var(--hp-secondary);border-bottom:1px solid #1E293B;transition:box-shadow .2s}
.hp-header.hp-stuck{box-shadow:0 2px 12px rgba(0,0,0,.3)}
.hp-nav{display:flex;align-items:center;justify-content:space-between;height:64px;gap:24px}
.hp-nav-brand{display:flex;align-items:center;gap:8px;font-weight:700;font-size:17px;color:#fff;text-decoration:none;flex-shrink:0}
.hp-nav-brand:hover{color:#fff}
.hp-nav-brand img{max-height:32px;width:auto}
.hp-nav-menu{display:flex;align-items:center;gap:2px;list-style:none;margin:0;padding:0;flex:1;justify-content:center}
.hp-nav-menu>li{position:relative}
.hp-nav-menu>li>a{display:inline-flex;align-items:center;padding:7px 14px;border-radius:6px;font-weight:500;font-size:13px;color:#CBD5E1;text-decoration:none;transition:color .12s,background .12s}
.hp-nav-menu>li>a:hover{color:#fff;background:rgba(255,255,255,.06)}
.hp-nav-dropdown{position:absolute;top:100%;left:0;min-width:180px;background:var(--hp-surface);border:1px solid var(--hp-border);border-radius:10px;box-shadow:var(--hp-shadow-md);padding:6px;list-style:none;margin:6px 0 0;opacity:0;visibility:hidden;transform:translateY(6px);transition:all .12s;z-index:100}
.hp-nav-menu>li:hover>.hp-nav-dropdown{opacity:1;visibility:visible;transform:translateY(0)}
.hp-nav-dropdown li a{display:block;padding:8px 12px;font-size:13px;font-weight:500;color:var(--hp-text);border-radius:6px;text-decoration:none}
.hp-nav-dropdown li a:hover{background:var(--hp-bg-soft);color:var(--hp-primary)}
.hp-nav-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}
.hp-nav-toggle{display:none;background:none;border:0;cursor:pointer;padding:8px;z-index:1300}
.hp-nav-toggle span{display:block;width:20px;height:2px;background:#fff;margin:4px 0;border-radius:2px;transition:all .2s}

/* Mobile menu */
.hp-mobile-menu{display:none;position:fixed;top:0;right:0;bottom:0;width:min(320px,85vw);background:var(--hp-surface);border-left:1px solid var(--hp-border);box-shadow:var(--hp-shadow-md);z-index:1200;transform:translateX(100%);transition:transform .25s;overflow-y:auto}
.hp-mobile-menu-inner{padding:72px 20px 32px}
.hp-mobile-nav-list{list-style:none;margin:0 0 20px;padding:0;display:flex;flex-direction:column;gap:1px}
.hp-mobile-nav-list li a{display:block;padding:12px 14px;font-size:15px;font-weight:500;color:var(--hp-text);border-radius:6px;text-decoration:none}
.hp-mobile-nav-list li a:hover{background:var(--hp-bg-soft);color:var(--hp-primary)}
.hp-mobile-nav-child a{padding-left:28px;font-size:14px;color:var(--hp-muted)}
.hp-mobile-nav-actions{display:flex;flex-direction:column;gap:8px}
body.hp-nav-open .hp-mobile-menu{transform:translateX(0)}
body.hp-nav-open::before{content:"";position:fixed;inset:0;background:rgba(15,23,42,.6);z-index:1100}

/* Hero */
.hp-hero{padding:64px 0 56px;background:var(--hp-bg)}
.hp-hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.hp-hero h1{margin-bottom:12px}
.hp-hero .hp-subtitle{margin-bottom:20px}
.hp-hero-cta{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:14px}
.hp-hero-social-proof{display:flex;align-items:center;gap:10px;margin-bottom:16px}
.hp-avatar-stack{display:flex}
.hp-avatar-stack .hp-avatar-img{width:30px;height:30px;border-radius:50%;border:2px solid #fff;margin-left:-8px;object-fit:cover;box-shadow:0 1px 3px rgba(0,0,0,.1)}
.hp-avatar-stack .hp-avatar-img:first-child{margin-left:0}
.hp-hero-social-text{font-size:13px;font-weight:500;color:var(--hp-muted)}
.hp-hero-badges{display:flex;flex-wrap:wrap;gap:8px 18px;margin-bottom:20px}
.hp-hero-badge{display:inline-flex;align-items:center;gap:5px;font-size:13px;font-weight:500;color:var(--hp-text)}
.hp-hero-guarantee{display:flex;align-items:center;gap:5px;font-size:13px;color:var(--hp-muted);margin:0}
.hp-hero-image{position:relative;display:flex;align-items:center;justify-content:center}
.hp-hero-img{width:100%;max-width:460px;height:auto}
.hp-hero-float{position:absolute;background:#fff;border-radius:8px;padding:6px;box-shadow:var(--hp-shadow-md);border:1px solid var(--hp-border)}
.hp-hero-float--1{top:10%;left:-4%}
.hp-hero-float--2{bottom:14%;right:-2%}

/* Partners strip */
.hp-partners-label{text-align:center;font-size:11px;font-weight:500;color:var(--hp-muted);text-transform:uppercase;letter-spacing:.06em;margin:0 0 14px}
.hp-partners-strip{display:flex;align-items:center;justify-content:center;gap:28px;flex-wrap:wrap;opacity:.6;filter:grayscale(100%);transition:all .3s}
.hp-partners-strip:hover{opacity:1;filter:none}
.hp-partners-strip img{height:24px;width:auto}

/* Review bar */
.hp-review-bar{display:flex;align-items:center;justify-content:center;gap:32px;flex-wrap:wrap;padding:16px 0}
.hp-review-item{display:flex;align-items:center;gap:6px}
.hp-review-stars{color:#f59e0b;font-size:13px;letter-spacing:1px}
.hp-review-score{font-size:13px;font-weight:700;color:var(--hp-text-dark)}
.hp-review-source{font-size:12px;color:var(--hp-muted);font-weight:500}

/* Domain search */
.hp-domain{background:var(--hp-surface);border:1px solid var(--hp-border);border-radius:var(--hp-radius-lg);box-shadow:var(--hp-shadow-md);padding:24px;margin-top:-32px;position:relative;z-index:5}
.hp-domain-form{display:flex;gap:10px}
.hp-domain-form .hp-form-control{flex:1;font-size:16px;padding:14px 16px}
.hp-domain-tlds{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.hp-domain-tld{font-weight:600;font-size:13px;padding:6px 12px;border-radius:999px;background:var(--hp-bg-soft);border:1px solid var(--hp-border);color:var(--hp-text)}
.hp-domain-tld b{color:var(--hp-primary)}

/* Forms */
.hp-form-control{width:100%;font-family:var(--hp-font);font-size:14px;color:var(--hp-text);background:var(--hp-surface);border:1.5px solid var(--hp-border);border-radius:var(--hp-radius-sm);padding:11px 14px;transition:border-color .15s,box-shadow .15s}
.hp-form-control:focus{outline:none;border-color:var(--hp-primary);box-shadow:0 0 0 3px rgba(67,56,202,.1)}
.hp-form-label{display:block;font-weight:600;font-size:13px;margin-bottom:6px;color:var(--hp-text-dark)}
.hp-form-group{margin-bottom:16px}

/* Pricing */
.hp-pricing-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;align-items:start}
.hp-pricing-tabs{display:flex;align-items:center;justify-content:center;gap:3px;margin-bottom:36px;background:var(--hp-bg-alt);border:1px solid var(--hp-border);border-radius:999px;padding:4px;width:fit-content;margin-left:auto;margin-right:auto}
.hp-pricing-tab{font-family:var(--hp-font);font-size:13px;font-weight:600;padding:8px 18px;border-radius:999px;border:none;background:transparent;color:var(--hp-muted);cursor:pointer;transition:all .15s}
.hp-pricing-tab:hover{color:var(--hp-text)}
.hp-pricing-tab.is-active{background:var(--hp-primary);color:#fff;box-shadow:0 2px 8px rgba(67,56,202,.25)}

.hp-pricing-card{background:var(--hp-surface);border:1px solid var(--hp-border);border-radius:16px;overflow:hidden;display:flex;flex-direction:column;transition:transform .15s,box-shadow .15s}
.hp-pricing-card:hover{transform:translateY(-3px);box-shadow:var(--hp-shadow-md)}
.hp-pricing-card.is-popular{border-color:var(--hp-primary);box-shadow:0 4px 24px rgba(67,56,202,.15)}
.hp-pricing-header{background:var(--hp-secondary);color:#fff;padding:22px 20px 18px;text-align:center}
.hp-pricing-card.is-popular .hp-pricing-header{background:var(--hp-primary)}
.hp-pricing-name{font-size:18px;font-weight:700;margin:0 0 3px;color:#fff}
.hp-pricing-subtitle{font-size:12px;color:#94A3B8;margin:0;font-weight:400}
.hp-pricing-card.is-popular .hp-pricing-subtitle{color:#C7D2FE}
.hp-pricing-body{padding:0 20px 24px;flex:1;display:flex;flex-direction:column}
.hp-pricing-price-box{background:var(--hp-bg-soft);border:1px solid var(--hp-border);border-radius:12px;padding:16px;margin:-16px 0 20px;text-align:center}
.hp-pricing-price{display:flex;align-items:baseline;justify-content:center;gap:2px}
.hp-pricing-currency{font-size:18px;font-weight:600;color:var(--hp-text-dark);margin-top:6px;align-self:flex-start}
.hp-pricing-amount{font-size:36px;font-weight:700;color:var(--hp-text-dark);letter-spacing:-.02em;line-height:1}
.hp-pricing-cycle{font-size:14px;font-weight:500;color:var(--hp-muted);margin-left:3px}
.hp-pricing-promo{margin-top:8px}
.hp-pricing-promo-text{font-size:11px;font-weight:600;color:var(--hp-primary);background:#EEF2FF;padding:3px 8px;border-radius:999px}
.hp-pricing-features{flex:1;margin-bottom:18px}
.hp-pricing-features-title{font-size:12px;font-weight:700;color:var(--hp-text-dark);margin:0 0 10px;text-transform:uppercase;letter-spacing:.04em}
.hp-pricing-feature-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:0}
.hp-pricing-feature-list li{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--hp-text);padding:7px 0;border-bottom:1px solid var(--hp-border)}
.hp-pricing-feature-list li:last-child{border-bottom:0}
.hp-pricing-check{flex-shrink:0;width:16px;height:16px;display:flex;align-items:center;justify-content:center}
.hp-pricing-feature-text{flex:1}
.hp-pricing-cta{margin-top:auto}
.hp-pricing-btn{padding:12px 20px;font-size:14px;border-radius:10px;font-weight:600;background:var(--hp-secondary);color:#fff;border-color:var(--hp-secondary)}
.hp-pricing-btn:hover{background:#1E293B;color:#fff}
.hp-pricing-card.is-popular .hp-pricing-btn{background:var(--hp-primary);border-color:var(--hp-primary)}
.hp-pricing-card.is-popular .hp-pricing-btn:hover{background:var(--hp-primary-dark)}
.hp-pricing-renewal{text-align:center;font-size:11px;color:var(--hp-muted);margin:10px 0 0}

/* Feature cards */
.hp-feature-card{text-align:left}
.hp-feature-icon{width:44px;height:44px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;background:#EEF2FF;color:var(--hp-primary);margin-bottom:12px}
.hp-feature-icon svg{width:20px;height:20px}
.hp-feature-card h4{margin-bottom:6px;font-size:15px;font-weight:600}
.hp-feature-card p{color:var(--hp-muted);margin:0;font-size:13px;line-height:1.6}

/* Comparison table */
.hp-compare-wrap{overflow-x:auto}
.hp-compare{width:100%;border-collapse:separate;border-spacing:0;border:1px solid var(--hp-border);border-radius:var(--hp-radius);overflow:hidden;background:var(--hp-surface);font-size:13px}
.hp-compare th,.hp-compare td{padding:13px 16px;text-align:left;border-bottom:1px solid var(--hp-border)}
.hp-compare thead th{background:var(--hp-bg-soft);font-weight:700;font-size:12px;text-transform:uppercase;letter-spacing:.03em;color:var(--hp-muted)}
.hp-compare tbody tr:last-child td{border-bottom:0}
.hp-compare .hp-yes{color:var(--hp-success);font-weight:600}
.hp-compare .hp-no{color:var(--hp-muted)}
.hp-compare-us{background:#FAFBFF}

/* Testimonials */
.hp-testimonial{display:flex;flex-direction:column;gap:12px}
.hp-stars{color:#f59e0b;font-size:14px;letter-spacing:1px;line-height:1}
.hp-testimonial-quote{font-size:13px;line-height:1.7;color:var(--hp-text);margin:0;flex:1}
.hp-testimonial-author{display:flex;align-items:center;gap:10px;margin-top:auto;padding-top:12px;border-top:1px solid var(--hp-border)}
.hp-testimonial-photo{width:32px;height:32px;border-radius:50%;object-fit:cover;flex-shrink:0;border:1.5px solid var(--hp-border)}
.hp-testimonial-avatar{width:32px;height:32px;border-radius:50%;background:var(--hp-primary);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:12px;flex-shrink:0}
.hp-testimonial-name{display:block;font-size:12px;font-weight:600;color:var(--hp-text-dark)}
.hp-testimonial-role{display:block;font-size:11px;color:var(--hp-muted);text-transform:uppercase;letter-spacing:.03em;font-weight:500}

/* FAQ */
.hp-faq{max-width:760px;margin:0 auto;display:grid;gap:10px}
.hp-faq-item{background:var(--hp-surface);border:1px solid var(--hp-border);border-radius:var(--hp-radius-sm);overflow:hidden}
.hp-faq-q{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;text-align:left;background:none;border:0;cursor:pointer;font-family:var(--hp-font);font-size:14px;font-weight:600;color:var(--hp-text-dark);padding:16px 18px}
.hp-faq-q .hp-faq-icon{transition:transform .2s;font-size:18px;color:var(--hp-primary);flex-shrink:0}
.hp-faq-item.is-open .hp-faq-icon{transform:rotate(45deg)}
.hp-faq-a{max-height:0;overflow:hidden;transition:max-height .25s}
.hp-faq-a-inner{padding:0 18px 16px;color:var(--hp-muted);font-size:13px;line-height:1.7}
.hp-faq-item.is-open .hp-faq-a{max-height:400px}

/* CTA panel */
.hp-cta-panel{background:var(--hp-secondary);color:#fff;border-radius:var(--hp-radius-lg);padding:44px;text-align:center}
.hp-cta-panel h2{color:#fff;margin-bottom:8px;font-size:26px}
.hp-cta-panel p{color:#94A3B8;font-size:14px;margin-bottom:20px}
.hp-cta-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-bottom:16px}
.hp-cta-panel .hp-btn-primary{background:var(--hp-primary);border-color:var(--hp-primary)}
.hp-cta-panel .hp-btn-primary:hover{background:var(--hp-primary-dark)}
.hp-cta-panel .hp-btn-outline{color:#fff;border-color:rgba(255,255,255,.3)}
.hp-cta-panel .hp-btn-outline:hover{border-color:#fff;color:#fff}
.hp-cta-trust{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap;font-size:12px;color:rgba(255,255,255,.6)}
.hp-cta-trust span{display:inline-flex;align-items:center;gap:4px}

/* Footer — dark navy like YouStable */
.hp-footer{background:var(--hp-secondary);color:#94A3B8;padding:56px 0 24px}
.hp-footer h5{color:#fff;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;margin-bottom:14px}
.hp-footer-cols{display:grid;grid-template-columns:1.6fr repeat(4,1fr);gap:32px}
.hp-footer-links{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.hp-footer-links a{color:#94A3B8;font-size:13px;text-decoration:none;transition:color .12s}
.hp-footer-links a:hover{color:#fff}
.hp-footer-about p{color:#64748B;font-size:13px;line-height:1.6}
.hp-social{display:flex;gap:8px;margin-top:14px}
.hp-social a{width:32px;height:32px;border-radius:8px;background:#1E293B;display:inline-flex;align-items:center;justify-content:center;color:#94A3B8;transition:all .12s}
.hp-social a:hover{background:var(--hp-primary);color:#fff}
.hp-footer-bottom{border-top:1px solid #1E293B;margin-top:36px;padding-top:18px;display:flex;flex-wrap:wrap;gap:14px;justify-content:space-between;align-items:center;font-size:12px;color:#64748B}
.hp-payment-icons{display:flex;gap:6px;flex-wrap:wrap}
.hp-payment-icons span{background:#1E293B;border-radius:4px;padding:4px 8px;font-size:10px;font-weight:700;color:#94A3B8}

/* Auth */
.hp-auth{min-height:65vh;display:flex;align-items:center;padding:56px 0;background:var(--hp-bg-soft)}
.hp-auth-card{max-width:440px;margin:0 auto;width:100%}
.hp-auth-card.is-wide{max-width:720px}
.hp-auth-head{text-align:center;margin-bottom:22px}
.hp-auth-head h1{font-size:clamp(24px,3vw,32px)}
.hp-auth-foot{text-align:center;margin-top:16px;color:var(--hp-muted);font-size:13px}

/* Dashboard */
.hp-dash{padding:28px 0 56px}
.hp-dash-welcome{background:linear-gradient(135deg,var(--hp-primary),var(--hp-primary-dark));color:#fff;border-radius:14px;padding:24px 28px;margin-bottom:20px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.hp-dash-welcome h2{color:#fff;margin:0 0 3px;font-size:20px}
.hp-dash-welcome p{color:#C7D2FE;margin:0;font-size:13px}
.hp-dash-welcome-actions{display:flex;gap:8px;flex-wrap:wrap}
.hp-dash-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:22px}
.hp-dash-stat-card{background:var(--hp-surface);border:1px solid var(--hp-border);border-radius:10px;padding:16px;display:flex;align-items:center;gap:12px}
.hp-dash-stat-icon{width:38px;height:38px;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.hp-dash-stat-icon--blue{background:#EEF2FF;color:var(--hp-primary)}
.hp-dash-stat-icon--purple{background:#F5F3FF;color:#7C3AED}
.hp-dash-stat-icon--amber{background:#FFFBEB;color:#D97706}
.hp-dash-stat-icon--green{background:#F0FDF4;color:#16A34A}
.hp-dash-stat-number{display:block;font-size:20px;font-weight:700;color:var(--hp-text-dark);line-height:1}
.hp-dash-stat-label{display:block;font-size:11px;color:var(--hp-muted);font-weight:500;margin-top:2px}
.hp-dash-section{background:var(--hp-surface);border:1px solid var(--hp-border);border-radius:12px;padding:20px;margin-bottom:16px}
.hp-dash-section-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.hp-dash-section-title{font-size:14px;font-weight:700;margin:0;color:var(--hp-text-dark)}
.hp-dash-view-all{font-size:12px;font-weight:600;color:var(--hp-primary);text-decoration:none}
.hp-dash-actions-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.hp-dash-action{display:flex;flex-direction:column;align-items:center;gap:6px;padding:14px 10px;border-radius:8px;background:var(--hp-bg-soft);border:1px solid var(--hp-border);text-decoration:none;transition:all .12s}
.hp-dash-action:hover{border-color:var(--hp-primary);background:#EEF2FF}
.hp-dash-action-icon{color:var(--hp-primary)}
.hp-dash-action-text{font-size:11px;font-weight:600;color:var(--hp-text);text-align:center}
.hp-dash-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.hp-dash-list{display:flex;flex-direction:column;gap:1px}
.hp-dash-list-item{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:6px;border:1px solid transparent;transition:background .1s}
.hp-dash-list-item--link{text-decoration:none;cursor:pointer}
.hp-dash-list-item--link:hover{background:var(--hp-bg-soft);border-color:var(--hp-border)}
.hp-dash-list-icon{color:var(--hp-muted);flex-shrink:0}
.hp-dash-list-content{flex:1;min-width:0}
.hp-dash-list-content strong{display:block;font-size:12px;font-weight:600;color:var(--hp-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hp-dash-list-meta{font-size:11px;color:var(--hp-muted)}
.hp-dash-badge{font-size:10px;font-weight:600;padding:2px 7px;border-radius:999px;background:var(--hp-bg-soft);color:var(--hp-muted);text-transform:capitalize;flex-shrink:0}
.hp-dash-badge--success{background:#DCFCE7;color:#166534}
.hp-dash-badge--warning{background:#FEF3C7;color:#92400E}
.hp-dash-badge--danger{background:#FEE2E2;color:#991B1B}
.hp-dash-empty{text-align:center;padding:20px;color:var(--hp-muted);font-size:12px}
.hp-dash-empty p{margin:0 0 8px}

/* Alerts */
.hp-alert{border-radius:var(--hp-radius-sm);padding:12px 16px;font-weight:500;font-size:13px;border:1px solid transparent;margin-bottom:14px}
.hp-alert-info{background:#EEF2FF;color:#3730A3;border-color:#C7D2FE}
.hp-alert-success{background:#DCFCE7;color:#166534;border-color:#BBF7D0}
.hp-alert-warning{background:#FEF3C7;color:#92400E;border-color:#FDE68A}
.hp-alert-danger{background:#FEE2E2;color:#991B1B;border-color:#FECACA}

/* Page header + breadcrumbs */
.hp-page-header{background:var(--hp-bg-soft);border-bottom:1px solid var(--hp-border);padding:36px 0}
.hp-page-header h1{margin:0;font-size:22px}
.hp-breadcrumbs{list-style:none;display:flex;flex-wrap:wrap;gap:6px;padding:0;margin:0 0 8px;font-size:12px;font-weight:500;color:var(--hp-muted)}
.hp-breadcrumbs a{color:var(--hp-primary)}
.hp-breadcrumbs li+li::before{content:"/";margin-right:6px;color:var(--hp-border)}

/* Knowledgebase */
.hp-kb-search{max-width:560px;margin:0 auto}
.hp-kb-card{display:flex;flex-direction:column;gap:6px}
.hp-kb-card h4 a{color:var(--hp-text-dark);text-decoration:none}
.hp-kb-card h4 a:hover{color:var(--hp-primary)}

/* Sidebar */
.hp-sidebar{background:var(--hp-surface);border:1px solid var(--hp-border);border-radius:10px;padding:14px}
.hp-sidebar-group{margin-bottom:14px}
.hp-sidebar-group:last-child{margin-bottom:0}
.hp-sidebar-title{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--hp-muted);margin:0 0 6px;padding:0 10px}
.hp-sidebar-nav{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:1px}
.hp-sidebar-link{display:flex;align-items:center;justify-content:space-between;padding:8px 10px;border-radius:6px;font-size:12px;font-weight:500;color:var(--hp-text);text-decoration:none;transition:all .1s}
.hp-sidebar-link:hover{background:var(--hp-bg-soft);color:var(--hp-primary)}
.hp-sidebar-link.is-active{background:#EEF2FF;color:var(--hp-primary);font-weight:600}

/* Trust row */
.hp-trust-row{display:flex;flex-wrap:wrap;align-items:center;gap:14px;color:var(--hp-muted);font-weight:500;font-size:13px}
.hp-trust-row .hp-trust-item{display:inline-flex;align-items:center;gap:5px}
.hp-trust-row strong{color:var(--hp-text-dark)}

/* Utilities */
.hp-mt-0{margin-top:0}.hp-mb-0{margin-bottom:0}.hp-text-center{text-align:center}
.hp-flex{display:flex}.hp-gap{gap:20px}.hp-wrap{flex-wrap:wrap}

/* Suppress parent theme leaked elements */
.hp-whmcs-output{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.header-lined,#main-navbar,.navbar-default,.site-footer,.twenty-one-header,.twenty-one-footer{display:none!important}

/* Old pricing compat */
.hp-price{display:flex;align-items:baseline;gap:4px;margin:12px 0}
.hp-price .hp-price-amount{font-size:36px;font-weight:700;letter-spacing:-.02em}
.hp-price .hp-price-cycle{color:var(--hp-muted);font-weight:500;font-size:14px}
.hp-feature-list{list-style:none;margin:14px 0 20px;padding:0;display:grid;gap:8px}
.hp-feature-list li{display:flex;align-items:flex-start;gap:8px;font-size:13px;color:var(--hp-text)}
.hp-feature-list li::before{content:"✓";color:var(--hp-success);font-weight:700;flex:0 0 auto}

/* Nav buttons on dark header */
.hp-nav-actions .hp-btn-outline{color:#CBD5E1;border-color:#334155}
.hp-nav-actions .hp-btn-outline:hover{color:#fff;border-color:#fff}
.hp-nav-actions .hp-btn-primary{background:var(--hp-primary);border-color:var(--hp-primary)}

/* CSS-based check icon (avoids Smarty SVG rendering issues) */
.hp-check-icon{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:50%;background:var(--hp-primary);flex-shrink:0}
.hp-check-icon::after{content:'';display:block;width:5px;height:8px;border:solid #fff;border-width:0 1.5px 1.5px 0;transform:rotate(45deg) translate(-0.5px,-0.5px)}

/* Feature icon backgrounds (CSS-only, no inline SVG needed) */
.hp-feature-icon{position:relative}
.hp-ficon-nvme::after{content:'⚡'}
.hp-ficon-ssl::after{content:'🔒'}
.hp-ficon-shield::after{content:'🛡'}
.hp-ficon-migration::after{content:'🔄'}
.hp-ficon-backup::after{content:'💾'}
.hp-ficon-support::after{content:'💬'}
.hp-ficon-globe::after{content:'🌐'}
.hp-ficon-server::after{content:'🖥'}
.hp-ficon-default::after{content:'✓'}
.hp-feature-icon::after{font-size:20px;font-style:normal}

/* Hero badges with CSS check */
.hp-hero-badge .hp-check-icon{width:14px;height:14px}
.hp-hero-badge .hp-check-icon::after{width:4px;height:7px;border-width:0 1.5px 1.5px 0}

/* Kill any WHMCS default theme elements that leak through headoutput/footeroutput */
.header-lined,.main-menu-dropdown-toggle,#main-navbar,.navbar,.navbar-default,
.navbar-header,.site-footer,.footer-container,.twenty-one-header,.twenty-one-footer,
.main-content>.container>.row>.col-md-9,.main-content>.container>.sidebar,
#primaryNavbar,nav.navbar{display:none!important;visibility:hidden!important;height:0!important;overflow:hidden!important;margin:0!important;padding:0!important}

/* ==========================================================================
   ANIMATIONS & SMOOTH UI
   Scroll-reveal, hover micro-interactions, smooth transitions
   ========================================================================== */

/* Fade-in on scroll (activated by JS IntersectionObserver) */
.hp-reveal{opacity:0;transform:translateY(20px);transition:opacity .5s ease,transform .5s ease}
.hp-reveal.is-visible{opacity:1;transform:translateY(0)}
.hp-reveal-delay-1{transition-delay:.1s}
.hp-reveal-delay-2{transition-delay:.2s}
.hp-reveal-delay-3{transition-delay:.3s}

/* Stagger children animation */
.hp-stagger>*{opacity:0;transform:translateY(16px);transition:opacity .4s ease,transform .4s ease}
.hp-stagger.is-visible>*{opacity:1;transform:translateY(0)}
.hp-stagger.is-visible>*:nth-child(1){transition-delay:.05s}
.hp-stagger.is-visible>*:nth-child(2){transition-delay:.1s}
.hp-stagger.is-visible>*:nth-child(3){transition-delay:.15s}
.hp-stagger.is-visible>*:nth-child(4){transition-delay:.2s}
.hp-stagger.is-visible>*:nth-child(5){transition-delay:.25s}
.hp-stagger.is-visible>*:nth-child(6){transition-delay:.3s}

/* Button hover glow */
.hp-btn-primary:hover{box-shadow:0 4px 14px rgba(67,56,202,.3)}
.hp-btn-accent:hover{box-shadow:0 4px 14px rgba(249,115,22,.3)}

/* Card lift on hover */
.hp-card-hover:hover{box-shadow:0 8px 24px rgba(15,23,42,.1);border-color:var(--hp-primary-light)}

/* Pricing card popular pulse border */
.hp-pricing-card.is-popular{animation:hp-pulse-border 3s ease-in-out infinite}
@keyframes hp-pulse-border{0%,100%{box-shadow:0 4px 24px rgba(67,56,202,.15)}50%{box-shadow:0 4px 32px rgba(67,56,202,.25)}}

/* Hero image float animation */
.hp-hero-img{animation:hp-float 4s ease-in-out infinite}
@keyframes hp-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
.hp-hero-float{animation:hp-float-sm 3s ease-in-out infinite}
.hp-hero-float--1{animation-delay:.5s}
.hp-hero-float--2{animation-delay:1.5s}
@keyframes hp-float-sm{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}

/* Section head fade up */
.hp-section-head{animation:hp-fade-up .6s ease both}
@keyframes hp-fade-up{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}

/* Nav link underline on hover */
.hp-nav-menu>li>a{position:relative}
.hp-nav-menu>li>a::after{content:'';position:absolute;bottom:2px;left:14px;right:14px;height:2px;background:var(--hp-primary-light);border-radius:2px;transform:scaleX(0);transition:transform .2s ease;transform-origin:center}
.hp-nav-menu>li>a:hover::after{transform:scaleX(1)}

/* Domain search input focus glow */
.hp-domain-form .hp-form-control:focus{box-shadow:0 0 0 4px rgba(67,56,202,.12);border-color:var(--hp-primary)}

/* FAQ smooth expand */
.hp-faq-a{transition:max-height .3s cubic-bezier(.4,0,.2,1)}

/* Pricing tab switch */
.hp-pricing-tab{transition:all .2s cubic-bezier(.4,0,.2,1)}
.hp-pricing-tab.is-active{transform:scale(1.02)}

/* Footer links subtle hover shift */
.hp-footer-links a{transition:color .12s,padding-left .15s}
.hp-footer-links a:hover{padding-left:3px}

/* Dashboard stat card hover */
.hp-dash-stat-card{transition:border-color .15s,box-shadow .15s}
.hp-dash-stat-card:hover{border-color:var(--hp-primary-light);box-shadow:0 2px 12px rgba(67,56,202,.08)}

/* Dashboard action hover scale */
.hp-dash-action{transition:all .15s ease}
.hp-dash-action:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(67,56,202,.1)}

/* Smooth page transitions (no flash) */
.hp-body{animation:hp-page-in .3s ease}
@keyframes hp-page-in{from{opacity:.92}to{opacity:1}}

/* Comparison table row hover */
.hp-compare tbody tr{transition:background .12s}
.hp-compare tbody tr:hover{background:var(--hp-bg-soft)}

/* Trust badges subtle bounce */
.hp-trust-row .hp-trust-item{transition:transform .2s}
.hp-trust-row .hp-trust-item:hover{transform:translateY(-1px)}

/* Partners strip hover individual */
.hp-partners-strip img{transition:opacity .2s,transform .2s}
.hp-partners-strip img:hover{opacity:1;filter:none;transform:scale(1.08)}

/* Respect reduced motion */
@media(prefers-reduced-motion:reduce){
  .hp-reveal,.hp-stagger>*{opacity:1!important;transform:none!important;transition:none!important}
  .hp-hero-img,.hp-hero-float{animation:none!important}
  .hp-pricing-card.is-popular{animation:none!important}
  .hp-section-head{animation:none!important}
  .hp-body{animation:none!important}
}
