/*
Theme Name: ezPromoting Agency
Theme URI: https://ezpromotingagency.com
Author: ezPromoting Agency
Author URI: https://ezpromotingagency.com
Description: Custom conversion-focused theme for ezPromoting Agency — dark, futuristic, AI operations center aesthetic.
Version: 1.0.0
Template: hostinger-ai-theme
Text Domain: ezpromoting
*/

/* ═══════════════════════════════════════════════════════════════
   ezPromoting Agency — WordPress Child Theme
   Design: Glassmorphism × Neon × Dark × 2032
   ═══════════════════════════════════════════════════════════════ */

:root {
  --bg: #06070C;
  --bg-1: #0A0B14;
  --bg-2: #0D0F1A;
  --card: rgba(18, 21, 32, 0.6);
  --card-solid: #11141E;
  --border: rgba(255, 255, 255, 0.05);
  --border-bright: rgba(255, 255, 255, 0.1);
  --border-glow: rgba(124, 92, 252, 0.3);

  --text-primary: #EDF0F7;
  --text-secondary: #7C8499;
  --text-muted: #4A5160;

  --accent: #7C5CFC;
  --accent-light: #9D7FFF;
  --accent-dark: #5B3FD6;
  --accent-glow: rgba(124, 92, 252, 0.4);

  --green: #22C55E;
  --amber: #F59E0B;
  --red: #EF4444;
  --blue: #38BDF8;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius: 16px;
  --radius-sm: 12px;
  --radius-xs: 8px;
}

/* ─── Reset Hostinger theme defaults ─── */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg) !important;
  color: var(--text-primary) !important;
  font-family: var(--font-body), system-ui, sans-serif !important;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
}

/* Hide Hostinger theme elements we don't need */
.site-header { display: none !important; }
.site-footer { display: none !important; }
.entry-header { display: none !important; }
.page-header { display: none !important; }
.entry-meta { display: none !important; }
.post-navigation { display: none !important; }
.comments-area { display: none !important; }
.wp-block-spacer { display: none !important; }

/* Remove default WP content wrappers */
.site-content { background: var(--bg) !important; }
.site-main { background: var(--bg) !important; }
.entry-content { max-width: none !important; margin: 0 !important; padding: 0 !important; }
article.page { background: var(--bg) !important; }

/* ─── Ambient background ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 1200px 600px at 15% -10%, rgba(124, 92, 252, 0.06), transparent 60%),
    radial-gradient(ellipse 800px 400px at 85% 110%, rgba(56, 189, 248, 0.03), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black, transparent 90%);
}

/* ─── Custom Header (injected via functions.php) ─── */
.ezp-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(6, 7, 12, 0.8);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--border);
  padding: 0;
  transition: padding 0.3s ease;
}

.ezp-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.ezp-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ezp-logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #7C5CFC 0%, #5B3FD6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  box-shadow: 0 0 20px rgba(124, 92, 252, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.ezp-logo-text { letter-spacing: -0.03em; }
.ezp-logo-sub { font-size: 10px; color: var(--text-muted); font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }

.ezp-nav { display: flex; align-items: center; gap: 8px; }
.ezp-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-xs);
  transition: all 0.2s ease;
}
.ezp-nav a:hover {
  color: var(--text-primary);
  background: rgba(124, 92, 252, 0.06);
}

.ezp-nav-cta {
  background: linear-gradient(135deg, #7C5CFC 0%, #5B3FD6 100%) !important;
  color: #fff !important;
  font-weight: 600 !important;
  padding: 9px 20px !important;
  box-shadow: 0 2px 8px rgba(124, 92, 252, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.ezp-nav-cta:hover {
  box-shadow: 0 4px 16px rgba(124, 92, 252, 0.4), 0 0 24px rgba(124, 92, 252, 0.15);
  transform: translateY(-1px);
}

.ezp-mobile-toggle { display: none; background: none; border: none; color: var(--text-primary); font-size: 24px; cursor: pointer; }

@media (max-width: 768px) {
  .ezp-nav { display: none; }
  .ezp-nav.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(6,7,12,0.95); backdrop-filter: blur(20px); padding: 16px; gap: 4px; border-bottom: 1px solid var(--border); }
  .ezp-mobile-toggle { display: block; }
}

/* ─── Main content wrapper ─── */
.ezp-main {
  position: relative;
  z-index: 1;
  padding-top: 70px;
  min-height: 100vh;
}

/* ─── Sections ─── */
.ezp-section {
  padding: 80px 24px;
  position: relative;
  z-index: 1;
}

.ezp-container {
  max-width: 1100px;
  margin: 0 auto;
}

.ezp-container-narrow {
  max-width: 800px;
  margin: 0 auto;
}

/* ─── Hero ─── */
.ezp-hero {
  background: linear-gradient(135deg, #06070C 0%, #12152D 50%, #0a0b14 100%);
  text-align: center;
  padding: 120px 24px 80px;
}

.ezp-eyebrow {
  font-size: 14px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 16px;
}

.ezp-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #EDF0F7 0%, rgba(124, 92, 252, 0.9) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ezp-hero p {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

/* ─── Buttons ─── */
.ezp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-xs);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.01em;
}

.ezp-btn-primary {
  background: linear-gradient(135deg, #7C5CFC 0%, #5B3FD6 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(124, 92, 252, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.ezp-btn-primary:hover {
  box-shadow: 0 4px 16px rgba(124, 92, 252, 0.4), 0 0 24px rgba(124, 92, 252, 0.15);
  transform: translateY(-1px);
}

.ezp-btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  border-color: var(--border-bright);
  backdrop-filter: blur(8px);
}
.ezp-btn-secondary:hover {
  border-color: var(--border-glow);
  background: rgba(124, 92, 252, 0.04);
}

/* ─── Trust bar ─── */
.ezp-trust-bar {
  background: var(--bg-1);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  padding: 40px 24px;
}

.ezp-trust-item { text-align: center; }
.ezp-trust-number { font-family: var(--font-display); font-size: 32px; font-weight: 700; color: var(--accent); }
.ezp-trust-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* ─── Cards ─── */
.ezp-card {
  background: var(--card);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.03);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ezp-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 24px rgba(124,92,252,0.06);
  transform: translateY(-2px);
}

.ezp-card h3 { color: var(--accent); font-size: 20px; margin-bottom: 12px; }
.ezp-card p { color: var(--text-secondary); font-size: 15px; line-height: 1.6; }

/* ─── Grid ─── */
.ezp-grid { display: grid; gap: 24px; }
.ezp-grid-2 { grid-template-columns: repeat(2, 1fr); }
.ezp-grid-3 { grid-template-columns: repeat(3, 1fr); }
.ezp-grid-auto { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

@media (max-width: 768px) {
  .ezp-grid-2, .ezp-grid-3, .ezp-grid-auto { grid-template-columns: 1fr; }
}

/* ─── Section titles ─── */
.ezp-section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-align: center;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #EDF0F7 0%, rgba(124, 92, 252, 0.9) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ezp-section-sub {
  text-align: center;
  color: var(--text-secondary);
  font-size: 17px;
  max-width: 700px;
  margin: 0 auto 48px;
}

/* ─── Pricing cards ─── */
.ezp-pricing {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.ezp-pricing-card {
  background: var(--card-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  max-width: 320px;
  flex: 1;
  transition: all 0.3s ease;
}

.ezp-pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 24px rgba(124, 92, 252, 0.1);
}

.ezp-pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.ezp-pricing-card h3 { color: var(--accent); font-size: 22px; margin-bottom: 8px; }
.ezp-pricing-card .desc { color: var(--text-muted); font-size: 14px; margin-bottom: 24px; }
.ezp-pricing-card .price { font-family: var(--font-display); font-size: 40px; font-weight: 700; margin-bottom: 24px; }
.ezp-pricing-card .price span { font-size: 16px; color: var(--text-muted); font-weight: 400; }
.ezp-pricing-card ul { list-style: none; padding: 0; }
.ezp-pricing-card li { color: var(--text-secondary); font-size: 14px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.03); }
.ezp-pricing-card li:last-child { border-bottom: none; }
.ezp-pricing-badge { background: var(--accent); color: #fff; text-align: center; padding: 6px; border-radius: 6px; font-size: 12px; font-weight: 600; margin-top: 16px; }

/* ─── CTA section ─── */
.ezp-cta {
  background: linear-gradient(135deg, #7C5CFC 0%, #5B3FD6 100%);
  text-align: center;
  padding: 80px 24px;
}

.ezp-cta h2 { color: #fff; font-family: var(--font-display); font-size: 36px; margin-bottom: 16px; }
.ezp-cta p { color: rgba(255,255,255,0.9); font-size: 18px; margin-bottom: 32px; }

.ezp-cta .ezp-btn-primary {
  background: #fff !important;
  color: var(--accent) !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

/* ─── Footer ─── */
.ezp-footer {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  padding: 60px 24px 24px;
}

.ezp-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

@media (max-width: 768px) { .ezp-footer-inner { grid-template-columns: 1fr 1fr; } }

.ezp-footer h4 { color: var(--text-primary); font-size: 14px; margin-bottom: 16px; font-weight: 600; }
.ezp-footer a { display: block; color: var(--text-secondary); text-decoration: none; font-size: 14px; padding: 4px 0; transition: color 0.2s; }
.ezp-footer a:hover { color: var(--accent); }

.ezp-footer-bottom {
  max-width: 1100px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

/* ─── Entry content (WP page content) ─── */
.entry-content > * { max-width: 1100px; margin-left: auto; margin-right: auto; }
.entry-content { padding: 0 !important; max-width: none !important; }

/* ─── Mobile sticky bar ─── */
.ezp-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(6, 7, 12, 0.95);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-top: 1px solid var(--border);
  padding: 10px 16px;
  gap: 8px;
  justify-content: center;
}
.ezp-mobile-bar a {
  flex: 1;
  text-align: center;
  padding: 12px;
  border-radius: var(--radius-xs);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.ezp-mobile-bar-call {
  background: rgba(34, 197, 94, 0.1);
  color: var(--green);
  border: 1px solid rgba(34, 197, 94, 0.2);
}
.ezp-mobile-bar-cta {
  background: linear-gradient(135deg, #7C5CFC 0%, #5B3FD6 100%);
  color: #fff;
}

@media (max-width: 768px) {
  .ezp-mobile-bar { display: flex; }
  .ezp-main { padding-bottom: 70px; }
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .ezp-hero { padding: 100px 20px 60px; }
  .ezp-section { padding: 60px 20px; }
  .ezp-pricing { flex-direction: column; align-items: center; }
}