/* LoadedWP Design System - Built-in CSS */
/* Replaces 50c-cssinjector plugin */

/* Hide WordPress page title on landing pages */
.lwp-landing .entry-title,
.lwp-landing .page-title,
.lwp-landing header.entry-header,
.home .entry-title,
.home .page-title,
body.page .ast-archive-description,
body.page .entry-header {
  display: none !important;
}

/* Full-width override - break out of WordPress container */
.gsbp-hero-v3,
.gsbp-features-v3,
.gsbp-how-v3,
.gsbp-pricing-v3,
.gsbp-cta-v3,
.gsbp-footer-v3,
.lwp-full-section {
  width: 100vw;
  max-width: none;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  overflow-x: hidden;
}

/* Prevent horizontal scroll */
body {
  overflow-x: hidden;
}

/* Reset for blocks */
[class^="gsbp-"], [class^="wf-"], [class^="lwp-"] {
  box-sizing: border-box;
}

/* Design Tokens */
:root {
  --lwp-primary: #4A3AFF;
  --lwp-secondary: #702DFF;
  --lwp-accent: #00D4FF;
  --lwp-dark: #0a0a0f;
  --lwp-light: #ffffff;
  --lwp-gray: #71717a;
  --lwp-gray-light: #a1a1aa;
  --lwp-gray-border: #e4e4e7;
  --lwp-radius-sm: 8px;
  --lwp-radius-md: 12px;
  --lwp-radius-lg: 24px;
  --lwp-radius-full: 9999px;
  --lwp-section-padding: 120px;
  --lwp-card-padding: 40px;
}

/* Hero Section */
.gsbp-hero-v3, .lwp-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--lwp-dark);
  background-image: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(74,58,255,0.3), transparent);
  position: relative;
  overflow: hidden;
}

.lwp-hero-inner {
  max-width: 1200px;
  width: 100%;
  padding: var(--lwp-section-padding) 24px;
  text-align: center;
  margin: 0 auto;
}

.lwp-badge {
  display: inline-block;
  background-color: rgba(74,58,255,0.15);
  color: #818cf8;
  padding: 8px 16px;
  border-radius: var(--lwp-radius-full);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.lwp-h1 {
  font-size: 72px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--lwp-light);
  margin-bottom: 16px;
}

.lwp-h1-gradient {
  font-size: 72px;
  font-weight: 800;
  line-height: 1.1;
  background-image: linear-gradient(135deg, var(--lwp-primary) 0%, var(--lwp-secondary) 50%, var(--lwp-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lwp-subtitle {
  font-size: 20px;
  line-height: 1.6;
  color: var(--lwp-gray-light);
  max-width: 640px;
  margin: 0 auto;
}

.lwp-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.lwp-btn-primary {
  display: inline-flex;
  align-items: center;
  background-color: var(--lwp-primary);
  color: var(--lwp-light);
  padding: 16px 32px;
  border-radius: var(--lwp-radius-md);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 0 40px rgba(74,58,255,0.4);
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.lwp-btn-primary:hover {
  background-color: #5B4CFF;
  transform: translateY(-2px);
  color: var(--lwp-light);
}

.lwp-btn-secondary {
  display: inline-flex;
  align-items: center;
  background-color: transparent;
  color: var(--lwp-light);
  padding: 16px 32px;
  border-radius: var(--lwp-radius-md);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.3s;
  cursor: pointer;
}

.lwp-btn-secondary:hover {
  background-color: rgba(255,255,255,0.05);
  color: var(--lwp-light);
}

/* Features Section */
.lwp-features {
  background-color: var(--lwp-light);
  padding: var(--lwp-section-padding) 0;
}

.lwp-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.lwp-section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--lwp-primary);
  text-align: center;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.lwp-h2 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--lwp-dark);
  text-align: center;
  margin-bottom: 16px;
}

.lwp-section-subtitle {
  font-size: 18px;
  color: var(--lwp-gray);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

.lwp-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.lwp-card {
  background-color: #fafafa;
  border-radius: var(--lwp-radius-lg);
  padding: var(--lwp-card-padding);
  border: 1px solid var(--lwp-gray-border);
  transition: all 0.3s;
}

.lwp-card:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  border-color: rgba(74,58,255,0.3);
}

.lwp-icon {
  width: 56px;
  height: 56px;
  background-color: rgba(74,58,255,0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--lwp-primary);
}

.lwp-card-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--lwp-dark);
  margin-bottom: 12px;
}

.lwp-card-desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--lwp-gray);
}

/* Dark Section */
.lwp-section-dark {
  background-color: var(--lwp-dark);
  padding: var(--lwp-section-padding) 0;
}

.lwp-section-dark .lwp-h2 {
  color: var(--lwp-light);
}

.lwp-section-dark .lwp-section-label {
  color: #818cf8;
}

/* CTA Section */
.lwp-cta {
  padding: 40px 24px var(--lwp-section-padding);
}

.lwp-cta-box {
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--lwp-primary) 0%, var(--lwp-secondary) 100%);
  border-radius: 32px;
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.lwp-cta-box .lwp-h2 {
  color: var(--lwp-light);
}

.lwp-cta-box .lwp-subtitle {
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
}

/* Pricing */
.lwp-pricing-card {
  background-color: #fafafa;
  border-radius: var(--lwp-radius-lg);
  padding: var(--lwp-card-padding);
  border: 1px solid var(--lwp-gray-border);
  display: flex;
  flex-direction: column;
}

.lwp-pricing-card.featured {
  background-color: var(--lwp-primary);
  box-shadow: 0 25px 50px -12px rgba(74,58,255,0.35);
}

.lwp-pricing-card.dark {
  background-color: var(--lwp-dark);
  border-color: #27272a;
}

.lwp-price {
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
}

.lwp-pricing-card.featured .lwp-price,
.lwp-pricing-card.dark .lwp-price {
  color: var(--lwp-light);
}

/* Footer */
.lwp-footer {
  background-color: var(--lwp-light);
  padding: 48px 24px;
  border-top: 1px solid var(--lwp-gray-border);
}

.lwp-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.lwp-footer-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.lwp-footer-link {
  font-size: 14px;
  color: var(--lwp-gray);
  text-decoration: none;
  transition: color 0.3s;
}

.lwp-footer-link:hover {
  color: var(--lwp-dark);
}

/* Responsive */
@media (max-width: 1024px) {
  .lwp-h1, .lwp-h1-gradient { font-size: 56px; }
  .lwp-h2 { font-size: 40px; }
  .lwp-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  :root {
    --lwp-section-padding: 80px;
    --lwp-card-padding: 24px;
  }
  .lwp-h1, .lwp-h1-gradient { font-size: 40px; }
  .lwp-h2 { font-size: 32px; }
  .lwp-grid-3 { grid-template-columns: 1fr; }
  .lwp-footer-inner { flex-direction: column; text-align: center; }
  .lwp-footer-links { flex-wrap: wrap; justify-content: center; }
}
