/*
Theme Name: AlphaBull Native
Theme URI: https://www.pubcowire.com/
Author: AlphaBull LLC
Description: A fast, accessible block theme for PubcoWire and AlphaBull.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: alphabull-native
*/

:root {
  --ab-navy: #0b1f3a;
  --ab-navy-2: #122b4d;
  --ab-blue: #0b70e0;
  --ab-cyan: #1fb6c9;
  --ab-ink: #172033;
  --ab-muted: #5d6b80;
  --ab-line: #dce5ef;
  --ab-soft: #f4f8fc;
  --ab-white: #ffffff;
  --ab-shadow: 0 18px 55px rgba(11, 31, 58, 0.1);
}

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }
a { text-underline-offset: .18em; }
img { height: auto; }

.ab-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(220, 229, 239, .9);
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(14px);
}

.ab-brand-logo { margin: 0; line-height: 0; }
.ab-brand-logo img { display: block; height: auto; max-height: 58px; object-fit: contain; object-position: left center; }
.ab-footer-logo img { max-height: 64px; }
.ab-image-band { padding: 2rem 1.25rem 4.75rem; }
.ab-image-band-dark { background: #071a33; padding-top: 4rem; padding-bottom: 4rem; }
.ab-feature-image { margin-top: 0; margin-bottom: 0; }
.ab-feature-image img { display: block; width: 100%; max-height: 610px; object-fit: cover; border-radius: 28px; box-shadow: 0 28px 70px rgba(7, 26, 51, .18); }
.ab-image-band-dark .ab-feature-image img { box-shadow: 0 28px 70px rgba(0, 0, 0, .34); }
.admin-bar .ab-site-header { top: 32px; }
.ab-header-row { min-height: 78px; }
.ab-header-row .wp-block-site-logo img { max-height: 52px; width: auto; }
.ab-header-row .wp-block-navigation-item__content { font-weight: 650; }
.ab-header-actions { white-space: nowrap; }

.wp-element-button,
.wp-block-button__link {
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  box-shadow: 0 9px 25px rgba(11, 112, 224, .18);
}
.wp-element-button:hover,
.wp-block-button__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 13px 30px rgba(11, 112, 224, .25);
}
.is-style-outline > .wp-block-button__link {
  box-shadow: none;
}

.ab-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 12%, rgba(31, 182, 201, .18), transparent 31%),
    linear-gradient(135deg, #f7fbff 0%, #edf5fd 100%);
}
.ab-hero::after {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  right: -180px;
  bottom: -250px;
  border-radius: 50%;
  border: 70px solid rgba(11, 112, 224, .06);
  pointer-events: none;
}
.ab-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--ab-blue);
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .78rem;
}
.ab-hero h1 { max-width: 760px; text-wrap: balance; }
.ab-lead { color: var(--ab-muted); max-width: 700px; }
.ab-proof { color: var(--ab-muted); font-size: .9rem; }

.ab-media-card,
.ab-card,
.ab-price-card {
  border: 1px solid var(--ab-line);
  border-radius: 20px;
  background: var(--ab-white);
  box-shadow: var(--ab-shadow);
}
.ab-media-card { overflow: hidden; }
.ab-media-card img { display: block; width: 100%; }
.ab-card { height: 100%; padding: clamp(1.4rem, 3vw, 2rem); }
.ab-card h3 { margin-top: .9rem; }
.ab-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  color: var(--ab-blue);
  background: #eaf3fe;
  font-weight: 800;
}

.ab-stats {
  margin-top: -36px;
  position: relative;
  z-index: 2;
}
.ab-stat-row {
  border: 1px solid var(--ab-line);
  border-radius: 18px;
  background: var(--ab-white);
  box-shadow: var(--ab-shadow);
}
.ab-stat { padding: 1.4rem; text-align: center; }
.ab-stat strong { display: block; color: var(--ab-navy); font-size: clamp(1.5rem, 3vw, 2rem); }
.ab-stat span { color: var(--ab-muted); font-size: .85rem; }

.ab-section-title { max-width: 720px; margin-left: auto; margin-right: auto; text-align: center; }
.ab-section-title p { color: var(--ab-muted); }
.ab-soft-section { background: var(--ab-soft); }
.ab-dark-section {
  color: var(--ab-white);
  background: linear-gradient(135deg, var(--ab-navy), var(--ab-navy-2));
}
.ab-dark-section h2,
.ab-dark-section h3 { color: var(--ab-white); }
.ab-dark-section p { color: #cbd8e8; }

.ab-price-card { overflow: hidden; height: 100%; }
.ab-price-card > .wp-block-group { padding: clamp(1.5rem, 3vw, 2.1rem); }
.ab-price-card.is-featured { border: 2px solid var(--ab-blue); transform: translateY(-8px); }
.ab-price-card .ab-badge {
  display: inline-block;
  padding: .35rem .7rem;
  border-radius: 999px;
  color: #fff;
  background: var(--ab-blue);
  font-size: .75rem;
  font-weight: 750;
}
.ab-price { color: var(--ab-navy); font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; line-height: 1; }
.ab-price small { color: var(--ab-muted); font-size: .85rem; font-weight: 500; }
.ab-checklist { padding-left: 0; list-style: none; }
.ab-checklist li { position: relative; padding-left: 1.65rem; margin: .65rem 0; color: var(--ab-muted); }
.ab-checklist li::before { content: "✓"; position: absolute; left: 0; color: #169b62; font-weight: 800; }

.ab-cta { border-radius: 24px; overflow: hidden; }
.ab-site-footer { background: #07172c; color: #bfcde0; }
.ab-site-footer h2,
.ab-site-footer h3 { color: #fff; }
.ab-site-footer a { color: #d9e7f8; }
.ab-footer-meta { border-top: 1px solid rgba(255,255,255,.12); }

@media (max-width: 781px) {
  .admin-bar .ab-site-header { top: 46px; }
  .ab-header-actions { display: none !important; }
  .ab-stats { margin-top: -18px; }
  .ab-price-card.is-featured { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
