/*
Theme Name: WFPXhost
Theme URI: https://wfpxhost.com
Author: WFPX Communications & Publishing
Author URI: https://wfpx.com
Description: Private hosting theme for WFPXhost. Clean, professional, Elementor-compatible hosting brand theme with full page templates.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wfpxhost
Tags: elementor, custom-header, custom-footer, technology, business, hosting
*/

/* ============================================================
   DESIGN TOKENS
============================================================ */
:root {
  --c-primary:    #2255DD;
  --c-primary-dk: #1844BB;
  --c-black:      #0B0D12;
  --c-dark:       #111318;
  --c-white:      #FFFFFF;
  --c-off:        #F7F8FC;
  --c-border:     #E4E6EF;
  --c-muted:      #6B7280;
  --c-text:       #14181F;
  --ff-head: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  --ff-body: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  --r-sm: 4px; --r-md: 8px; --r-lg: 14px; --r-xl: 20px;
  --sh-blue: 0 8px 28px rgba(34,85,221,.28);
  --sh-lg: 0 12px 48px rgba(0,0,0,.13);
  --ease: .22s cubic-bezier(.4,0,.2,1);
  --max-w: 1160px; --pad: 40px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--ff-body); color: var(--c-text); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

h1,h2,h3,h4,h5,h6 { font-family: var(--ff-head); font-weight: 800; line-height: 1.15; letter-spacing: -.025em; color: var(--c-text); }
h1 { font-size: clamp(2.2rem,4.5vw,3.25rem); }
h2 { font-size: clamp(1.7rem,3vw,2.4rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }
p  { color: var(--c-muted); line-height: 1.7; }

.wrap { max-width: var(--max-w); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: 80px; }
.bg-white { background: #fff; }
.bg-off   { background: var(--c-off); }
.bg-dark  { background: var(--c-dark); }
.bg-primary { background: var(--c-primary); }
.text-center { text-align: center; }

.kicker { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--c-primary); margin-bottom: 14px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 32px; border-radius: var(--r-md); font-family: var(--ff-body); font-size: .9375rem; font-weight: 600; transition: all var(--ease); cursor: pointer; white-space: nowrap; }
.btn-primary { background: var(--c-primary); color: #fff; box-shadow: var(--sh-blue); }
.btn-primary:hover { background: var(--c-primary-dk); transform: translateY(-1px); box-shadow: 0 14px 40px rgba(34,85,221,.36); }
.btn-white { background: #fff; color: var(--c-primary); font-weight: 700; }
.btn-white:hover { background: var(--c-off); }
.btn-outline { background: transparent; color: var(--c-primary); border: 2px solid var(--c-primary); }
.btn-outline:hover { background: var(--c-primary); color: #fff; }
.btn-lg { padding: 18px 44px; font-size: 1rem; }

/* HEADER */
#site-header { position: sticky; top: 0; z-index: 200; background: #fff; border-bottom: 1px solid var(--c-border); box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.admin-bar #site-header { top: 32px; }
.header-wrap { max-width: var(--max-w); margin-inline: auto; padding-inline: var(--pad); display: flex; align-items: center; justify-content: space-between; height: 68px; }
.site-logo { display: flex; align-items: center; text-decoration: none; }
.logo-mark { font-size: 1.375rem; font-weight: 900; letter-spacing: -.045em; color: var(--c-text); font-family: var(--ff-head); }
.logo-mark em { font-style: normal; color: var(--c-primary); }
.primary-nav { display: flex; align-items: center; gap: 36px; }
.primary-nav a { font-size: .9rem; font-weight: 500; color: #374151; transition: color var(--ease); }
.primary-nav a:hover, .primary-nav a.current-menu-item { color: var(--c-primary); }
.nav-cta { margin-left: 12px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 26px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--c-text); border-radius: 2px; transition: all var(--ease); }

/* HERO */
.hero { padding-block: 88px 72px; background: #fff; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: center; max-width: var(--max-w); margin-inline: auto; padding-inline: var(--pad); }
.hero-title { font-size: clamp(2.4rem,4.8vw,3.5rem); font-weight: 900; line-height: 1.08; letter-spacing: -.035em; color: var(--c-black); margin-bottom: 20px; }
.hero-sub { font-size: 1.05rem; line-height: 1.7; color: var(--c-muted); margin-bottom: 36px; max-width: 440px; }
.hero-cta { margin-bottom: 20px; }
.hero-note { font-size: .8125rem; color: #9CA3AF; line-height: 1.5; }
.hero-visual { display: flex; align-items: center; justify-content: center; }
.hero-visual svg { width: 100%; max-width: 400px; filter: drop-shadow(0 20px 40px rgba(34,85,221,.14)); }

/* PILLARS */
.pillars { background: #fff; padding-block: 80px; }
.pillars-grid { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--c-border); border-radius: var(--r-lg); overflow: hidden; background: var(--c-border); gap: 1px; }
.pillar { background: #fff; padding: 48px 36px; text-align: center; transition: background var(--ease); }
.pillar:hover { background: var(--c-off); }
.pillar-icon { width: 52px; height: 52px; margin: 0 auto 22px; color: var(--c-primary); }
.pillar h3 { font-size: 1.125rem; font-weight: 800; margin-bottom: 12px; color: var(--c-black); }
.pillar p { font-size: .9375rem; line-height: 1.7; color: var(--c-muted); }

/* FEATURES BAND */
.features-band { background: var(--c-dark); padding-block: 72px; }
.band-heading { text-align: center; margin-bottom: 52px; }
.band-heading h2 { color: #fff; font-size: clamp(1.6rem,2.8vw,2.2rem); }
.band-grid { display: grid; grid-template-columns: repeat(5,1fr); }
.band-item { text-align: center; padding: 28px 20px; border-right: 1px solid rgba(255,255,255,.07); }
.band-item:last-child { border-right: none; }
.band-item svg { width: 38px; height: 38px; margin: 0 auto 14px; color: rgba(255,255,255,.65); }
.band-item h4 { font-size: .9rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.band-item p  { font-size: .8rem; color: rgba(255,255,255,.4); line-height: 1.6; }

/* AUDIENCE */
.audience { background: #fff; padding-block: 80px; }
.audience-head { text-align: center; margin-bottom: 52px; }
.underline-accent { width: 44px; height: 4px; background: var(--c-primary); border-radius: 2px; margin: 16px auto 0; }
.audience-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.audience-card { display: flex; gap: 16px; padding: 28px 24px; border: 1px solid var(--c-border); border-radius: var(--r-lg); transition: border-color var(--ease), box-shadow var(--ease); }
.audience-card:hover { border-color: var(--c-primary); box-shadow: 0 4px 20px rgba(34,85,221,.08); }
.audience-card svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--c-primary); margin-top: 2px; }
.audience-card h4 { font-size: 1rem; font-weight: 700; color: var(--c-black); margin-bottom: 6px; }
.audience-card p  { font-size: .875rem; color: var(--c-muted); line-height: 1.6; }

/* PERFORMANCE */
.performance { background: var(--c-off); padding-block: 80px; }
.perf-grid { display: grid; grid-template-columns: 1fr 460px; gap: 72px; align-items: center; max-width: var(--max-w); margin-inline: auto; padding-inline: var(--pad); }
.perf-content .kicker { margin-bottom: 12px; }
.perf-content h2 { margin-bottom: 20px; }
.perf-content > p { margin-bottom: 28px; }
.perf-list { display: flex; flex-direction: column; gap: 11px; }
.perf-item { display: flex; align-items: center; gap: 10px; font-size: .9375rem; font-weight: 500; color: #374151; }
.perf-item svg { flex-shrink: 0; width: 19px; height: 19px; color: var(--c-primary); }
.server-card { background: var(--c-dark); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); display: flex; }
.card-sidebar { display: flex; flex-direction: column; padding: 24px 14px; gap: 20px; border-right: 1px solid rgba(255,255,255,.07); }
.card-sidebar svg { width: 16px; height: 16px; color: rgba(255,255,255,.35); }
.card-main { flex: 1; padding: 24px 28px; }
.card-title { font-size: .8rem; font-weight: 700; color: #fff; margin-bottom: 20px; }
.card-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 24px; }
.stat-label { font-size: .65rem; text-transform: uppercase; letter-spacing: .09em; color: rgba(255,255,255,.35); margin-bottom: 4px; }
.stat-value { font-size: 1.5rem; font-weight: 800; color: #fff; letter-spacing: -.03em; }

/* CTA BANNER */
.cta-banner { background: var(--c-primary); padding-block: 80px; text-align: center; }
.cta-banner h2 { color: #fff; margin-bottom: 10px; }
.cta-banner .cta-sub { color: rgba(255,255,255,.75); font-size: 1.05rem; margin-bottom: 32px; }

/* FOOTER */
#site-footer { background: var(--c-black); padding-top: 56px; }
.footer-inner { max-width: var(--max-w); margin-inline: auto; padding-inline: var(--pad); }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.07); }
.footer-brand .logo-mark { color: #fff; display: block; margin-bottom: 12px; }
.footer-brand p { font-size: .875rem; color: rgba(255,255,255,.35); max-width: 210px; line-height: 1.6; }
.footer-col h5 { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.85); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: .875rem; color: rgba(255,255,255,.4); transition: color var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-social { display: flex; gap: 10px; margin-top: 6px; }
.footer-social a { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.4); transition: all var(--ease); }
.footer-social a:hover { border-color: var(--c-primary); color: #fff; background: var(--c-primary); }
.footer-social svg { width: 16px; height: 16px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-block: 20px; }
.footer-bottom p { font-size: .8125rem; color: rgba(255,255,255,.22); }

/* ELEMENTOR */
.elementor-section.elementor-section-boxed > .elementor-container { max-width: var(--max-w) !important; }

/* ANIMATIONS */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.anim-fadeup { animation: fadeUp .55s cubic-bezier(.4,0,.2,1) both; }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .band-grid { grid-template-columns: repeat(3,1fr); }
  .band-item:nth-child(3) { border-right: none; }
  .perf-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --pad: 20px; }
  .primary-nav { display: none; }
  .primary-nav.open { display: flex; flex-direction: column; align-items: flex-start; position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--c-border); padding: 20px var(--pad); gap: 16px; }
  .nav-toggle { display: flex; }
  .pillars-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .band-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .band-grid { grid-template-columns: 1fr; }
}
