/*
Theme Name: SabLearn Agents
Theme URI: https://sablearnagents.com/
Author: SabLearn Agents
Author URI: https://sablearnagents.com/
Description: Dark neon purple WordPress theme for SabLearn Agents - AI Agents & No-Code Automation Course. Features a modern dark design with purple/neon accents.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sablearn-agents
Tags: dark, custom-colors, one-column, custom-logo, education, portfolio

This theme provides the styling for the SabLearn Agents course landing page.
Upload this file as part of your WordPress theme package.
*/

/* =====================================================
   CSS VARIABLES - Neon Purple Theme
   ===================================================== */
:root {
  /* Background & Foreground */
  --sa-bg: hsl(260, 30%, 6%);
  --sa-fg: hsl(0, 0%, 98%);
  
  /* Card */
  --sa-card: hsl(260, 28%, 9%);
  --sa-card-hover: hsl(260, 28%, 11%);
  
  /* Primary / Neon Purple */
  --sa-primary: hsl(270, 85%, 60%);
  --sa-primary-light: hsl(270, 85%, 70%);
  --sa-neon: hsl(280, 100%, 65%);
  
  /* Secondary */
  --sa-secondary: hsl(260, 25%, 14%);
  
  /* Muted */
  --sa-muted: hsl(260, 10%, 65%);
  
  /* Border */
  --sa-border: hsl(260, 20%, 16%);
  --sa-border-hover: hsl(270, 50%, 30%);
  
  /* Effects */
  --sa-radius: 12px;
  --sa-radius-lg: 16px;
  --sa-shadow-neon: 0 8px 32px -8px hsla(280, 100%, 65%, 0.5);
  --sa-shadow-card: 0 16px 48px -16px hsla(280, 100%, 65%, 0.3);
  --sa-gradient-hero: radial-gradient(ellipse 80% 50% at 50% -20%, hsla(280, 100%, 65%, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 100% 0%, hsla(270, 85%, 60%, 0.1), transparent),
    linear-gradient(180deg, hsl(260, 30%, 6%), hsl(260, 30%, 6%));
  --sa-gradient-button: linear-gradient(135deg, hsl(270, 85%, 60%), hsl(280, 100%, 65%));
  --sa-gradient-card: linear-gradient(135deg, hsl(260, 28%, 11%), hsl(260, 28%, 8%));
}

/* =====================================================
   BASE STYLES
   ===================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--sa-bg);
  color: var(--sa-fg);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* =====================================================
   TYPOGRAPHY
   ===================================================== */
h1, h2, h3, h4, h5, h6 {
  color: var(--sa-fg);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }

p {
  color: var(--sa-muted);
}

a {
  color: var(--sa-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--sa-neon);
}

/* =====================================================
   LAYOUT
   ===================================================== */
.sa-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.sa-section {
  padding: 5rem 0;
}

.sa-section-alt {
  background-color: hsla(260, 28%, 9%, 0.3);
  border-top: 1px solid var(--sa-border);
  border-bottom: 1px solid var(--sa-border);
}

/* =====================================================
   HEADER
   ===================================================== */
.sa-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: hsla(260, 30%, 6%, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid hsla(260, 20%, 16%, 0.5);
}

.sa-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.sa-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--sa-fg);
}

.sa-logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: hsla(270, 85%, 60%, 0.2);
  border: 1px solid hsla(270, 85%, 60%, 0.3);
  border-radius: 8px;
}

.sa-logo-highlight {
  color: var(--sa-primary);
}

.sa-nav {
  display: none;
  gap: 2rem;
}

@media (min-width: 768px) {
  .sa-nav {
    display: flex;
  }
}

.sa-nav a {
  color: var(--sa-muted);
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.sa-nav a:hover {
  color: var(--sa-fg);
}

/* =====================================================
   BUTTONS
   ===================================================== */
.sa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--sa-radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.sa-btn-primary {
  background: var(--sa-gradient-button);
  color: var(--sa-bg);
  box-shadow: var(--sa-shadow-neon);
}

.sa-btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.sa-btn-outline {
  background-color: hsla(260, 28%, 9%, 0.5);
  color: var(--sa-fg);
  border: 1px solid var(--sa-border);
}

.sa-btn-outline:hover {
  background-color: var(--sa-card);
  border-color: var(--sa-border-hover);
}

.sa-btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.sa-hero {
  background: var(--sa-gradient-hero);
  padding: 5rem 0 6rem;
  text-align: center;
}

@media (min-width: 768px) {
  .sa-hero {
    padding: 8rem 0 10rem;
  }
}

.sa-hero-content {
  max-width: 56rem;
  margin: 0 auto;
}

.sa-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--sa-primary);
  background-color: hsla(270, 85%, 60%, 0.1);
  border: 1px solid hsla(270, 85%, 60%, 0.3);
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.sa-hero h1 {
  margin-bottom: 1.5rem;
}

.sa-text-gradient {
  background: linear-gradient(135deg, var(--sa-primary), var(--sa-neon));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sa-hero-desc {
  max-width: 42rem;
  margin: 0 auto 2rem;
  font-size: 1.125rem;
  color: var(--sa-muted);
}

.sa-hero-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  font-size: 0.875rem;
  color: var(--sa-muted);
}

.sa-hero-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sa-hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .sa-hero-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

.sa-price-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background-color: hsla(260, 28%, 9%, 0.6);
  border: 1px solid var(--sa-border);
  border-radius: var(--sa-radius-lg);
  backdrop-filter: blur(8px);
}

.sa-price-label {
  font-size: 0.875rem;
  color: var(--sa-muted);
}

.sa-price-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--sa-primary);
}

/* =====================================================
   CARDS
   ===================================================== */
.sa-card {
  background: var(--sa-gradient-card);
  border: 1px solid var(--sa-border);
  border-radius: var(--sa-radius-lg);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.sa-card:hover {
  border-color: var(--sa-border-hover);
  box-shadow: var(--sa-shadow-card);
}

.sa-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  background-color: hsla(270, 85%, 60%, 0.1);
  border: 1px solid hsla(270, 85%, 60%, 0.2);
  border-radius: 12px;
}

.sa-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.sa-card-desc {
  font-size: 0.875rem;
  color: var(--sa-muted);
}

.sa-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .sa-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .sa-grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* =====================================================
   SECTION HEADERS
   ===================================================== */
.sa-section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.sa-section-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--sa-primary);
  margin-bottom: 0.5rem;
}

.sa-section-title {
  margin-bottom: 1rem;
}

.sa-section-desc {
  max-width: 42rem;
  margin: 0 auto;
  color: var(--sa-muted);
}

/* =====================================================
   PROJECT CARDS
   ===================================================== */
.sa-project-client {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--sa-primary);
  margin-bottom: 0.5rem;
}

.sa-project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.sa-tag {
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  background-color: var(--sa-secondary);
  border-radius: 9999px;
  color: var(--sa-muted);
}

.sa-project-result {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--sa-primary);
}

/* =====================================================
   PRICING CARD
   ===================================================== */
.sa-pricing-card {
  position: relative;
  max-width: 32rem;
  margin: 0 auto;
  background: var(--sa-gradient-card);
  border: 1px solid var(--sa-border-hover);
  border-radius: var(--sa-radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--sa-shadow-card);
}

.sa-pricing-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--sa-gradient-button);
  color: var(--sa-bg);
  border-radius: 9999px;
}

.sa-pricing-title {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.sa-pricing-desc {
  font-size: 0.875rem;
  color: var(--sa-muted);
  margin-bottom: 1.5rem;
}

.sa-pricing-old {
  font-size: 1.125rem;
  color: var(--sa-muted);
  text-decoration: line-through;
  margin-right: 0.75rem;
}

.sa-pricing-discount {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  background-color: hsl(0, 84%, 60%);
  color: white;
  border-radius: 4px;
}

.sa-pricing-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--sa-primary);
  margin: 0.5rem 0;
}

.sa-pricing-note {
  font-size: 0.875rem;
  color: var(--sa-muted);
  margin-bottom: 1.5rem;
}

.sa-pricing-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.sa-pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  padding: 0.5rem 0;
}

.sa-pricing-check {
  color: var(--sa-primary);
  flex-shrink: 0;
}

.sa-pricing-footer {
  text-align: center;
  font-size: 0.75rem;
  color: var(--sa-muted);
  margin-top: 1rem;
}

/* =====================================================
   FAQ / ACCORDION
   ===================================================== */
.sa-faq-list {
  max-width: 48rem;
  margin: 0 auto;
}

.sa-faq-item {
  background-color: var(--sa-card);
  border: 1px solid var(--sa-border);
  border-radius: var(--sa-radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.sa-faq-item[open] {
  border-color: var(--sa-border-hover);
}

.sa-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--sa-fg);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.sa-faq-answer {
  padding: 0 1.5rem 1rem;
  font-size: 0.875rem;
  color: var(--sa-muted);
}

/* =====================================================
   FOOTER
   ===================================================== */
.sa-footer {
  border-top: 1px solid var(--sa-border);
  padding: 2.5rem 0;
}

.sa-footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--sa-muted);
}

@media (min-width: 768px) {
  .sa-footer-inner {
    flex-direction: row;
  }
}

/* =====================================================
   UTILITIES
   ===================================================== */
.sa-text-center { text-align: center; }
.sa-text-primary { color: var(--sa-primary); }
.sa-text-muted { color: var(--sa-muted); }
.sa-font-bold { font-weight: 700; }
.sa-mb-2 { margin-bottom: 0.5rem; }
.sa-mb-4 { margin-bottom: 1rem; }
.sa-mb-6 { margin-bottom: 1.5rem; }
.sa-mt-4 { margin-top: 1rem; }
.sa-mt-8 { margin-top: 2rem; }

/* =====================================================
   WORDPRESS SPECIFIC
   ===================================================== */
.wp-block-button__link {
  background: var(--sa-gradient-button);
  color: var(--sa-bg);
  box-shadow: var(--sa-shadow-neon);
  border-radius: var(--sa-radius);
  padding: 0.75rem 1.5rem;
}

.wp-block-button__link:hover {
  opacity: 0.9;
}

/* Ensure WordPress content inherits theme styles */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  color: var(--sa-fg);
}

.entry-content p {
  color: var(--sa-muted);
}

.entry-content a {
  color: var(--sa-primary);
}

.entry-content a:hover {
  color: var(--sa-neon);
}
