/*
Theme Name: AgentReady Child
Theme URI: https://agentready.co.za
Template: generatepress
Author: LA & CO Content Agency
Author URI: https://golacocontent.com
Description: Custom child theme for AgentReady — AI-Ready Websites
Version: 1.0.0
*/

/* ============================================================
   AGENTREADY DESIGN SYSTEM
   GeneratePress Child Theme
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;1,400;1,500&display=swap');

:root {
  /* PRIMARY PALETTE */
  --ar-navy:           #0D1B2A;
  --ar-navy-surface:   #111F30;
  --ar-navy-light:     #162538;
  --ar-charcoal:       #1B1F23;
  --ar-teal:           #00D4AA;
  --ar-teal-hover:     #00B894;
  --ar-teal-dark:      #00A88A;
  --ar-teal-glow:      rgba(0, 212, 170, 0.10);
  --ar-teal-glow-lg:   rgba(0, 212, 170, 0.06);

  /* NEUTRALS */
  --ar-white:          #F8F4ED;
  --ar-cream:          #EDE8E0;
  --ar-cream-border:   #D4CCBF;
  --ar-pure-white:     #FFFFFF;

  /* TEXT */
  --ar-text-dark:      #0D1B2A;
  --ar-text-body:      #4A5568;
  --ar-text-light:     #7A8A9A;
  --ar-text-faint:     #A0AEC0;
  --ar-text-on-dark:   #CBD5E0;
  --ar-text-on-dark-muted: #5A6A7A;
  --ar-slate:          #7A8A9A;

  /* TYPOGRAPHY */
  --ar-font-display:   'Playfair Display', Georgia, serif;
  --ar-font-body:      'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}


/* ============================================================
   BASE OVERRIDES (GeneratePress)
   ============================================================ */

body {
  font-family: var(--ar-font-body);
  color: var(--ar-text-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--ar-white);
}

/* Remove GP default container padding for full-width sections */
.site-content {
  padding: 0;
}
.inside-article {
  padding: 0;
}
.entry-content {
  max-width: 100%;
  margin: 0;
}
.no-sidebar .entry-content {
  max-width: 100%;
}

/* Link defaults */
a { text-decoration: none; transition: color 0.2s ease; }


/* ============================================================
   AGENTREADY COMPONENT SYSTEM
   ============================================================ */

.ar * { box-sizing: border-box; }
.ar {
  font-family: var(--ar-font-body);
  color: var(--ar-text-body);
  line-height: 1.65;
}
.ar a { text-decoration: none; }
.ar h1, .ar h2, .ar h3, .ar h4 { margin: 0; padding: 0; }
.ar p { margin: 0; padding: 0; }
.ar ul { list-style: none; margin: 0; padding: 0; }


/* SECTIONS */
.ar-section { padding: 100px 32px; }
.ar-section-navy     { background: var(--ar-navy); color: var(--ar-white); }
.ar-section-navy-alt { background: var(--ar-navy-surface); color: var(--ar-white); }
.ar-section-light    { background: var(--ar-white); color: var(--ar-text-dark); }
.ar-section-cream    { background: var(--ar-cream); color: var(--ar-text-dark); }
.ar-section-white    { background: var(--ar-pure-white); color: var(--ar-text-dark); }

.ar-container        { max-width: 1200px; margin: 0 auto; }
.ar-container-narrow { max-width: 780px; margin: 0 auto; }

/* TEXT ALIGNMENT */
.ar-text-center { text-align: center; }
.ar-mx-auto { margin-left: auto; margin-right: auto; }


/* EYEBROW */
.ar-eyebrow {
  display: inline-block;
  font-family: var(--ar-font-body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ar-teal);
  margin-bottom: 24px;
  padding: 6px 14px;
  background: transparent;
  border: 0.5px solid rgba(0, 212, 170, 0.25);
}
.ar-section-light .ar-eyebrow,
.ar-section-cream .ar-eyebrow,
.ar-section-white .ar-eyebrow {
  border-color: rgba(0, 212, 170, 0.35);
  background: var(--ar-teal-glow);
}


/* ============================================================
   HERO
   ============================================================ */

.ar-hero {
  padding: 160px 32px 100px;
  background: var(--ar-navy);
  position: relative;
  overflow: hidden;
}
.ar-hero::before {
  content: '';
  position: absolute;
  top: -30%; right: -15%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.08) 0%, transparent 65%);
  pointer-events: none;
}
.ar-hero::after {
  content: '';
  position: absolute;
  bottom: -20%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.04) 0%, transparent 60%);
  pointer-events: none;
}
.ar-hero .ar-container { position: relative; z-index: 2; }

.ar-hero h1 {
  font-family: var(--ar-font-display);
  font-size: clamp(38px, 5.5vw, 62px);
  font-weight: 400;
  color: var(--ar-white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  max-width: 800px;
}
.ar-hero h1 .ar-teal { color: var(--ar-teal); }

.ar-hero-sub {
  font-size: 17px;
  color: var(--ar-text-on-dark);
  max-width: 600px;
  margin-bottom: 44px;
  line-height: 1.75;
}

.ar-hero-buttons { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }


/* ============================================================
   BUTTONS
   ============================================================ */

.ar-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ar-teal); color: var(--ar-navy);
  padding: 15px 34px; border-radius: 0;
  font-size: 14px; font-weight: 600; font-family: var(--ar-font-body);
  letter-spacing: 0.04em; text-decoration: none;
  transition: background 0.2s ease, transform 0.1s ease;
  border: none; cursor: pointer;
}
.ar-btn-primary:hover { background: var(--ar-teal-hover); color: var(--ar-navy); transform: translateY(-1px); }

.ar-btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--ar-white);
  border: 0.5px solid rgba(248, 244, 237, 0.3);
  padding: 15px 34px; border-radius: 0;
  font-size: 14px; font-weight: 500; font-family: var(--ar-font-body);
  letter-spacing: 0.04em; text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.ar-btn-outline:hover { border-color: rgba(248, 244, 237, 0.7); color: var(--ar-white); }

/* Light section button variants */
.ar-section-light .ar-btn-outline,
.ar-section-cream .ar-btn-outline {
  color: var(--ar-text-dark);
  border-color: var(--ar-cream-border);
}
.ar-section-light .ar-btn-outline:hover,
.ar-section-cream .ar-btn-outline:hover {
  border-color: var(--ar-text-dark);
  color: var(--ar-text-dark);
}

.ar-btn-dark {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ar-navy); color: var(--ar-white);
  padding: 15px 34px; border-radius: 0;
  font-size: 14px; font-weight: 600; font-family: var(--ar-font-body);
  letter-spacing: 0.04em; text-decoration: none;
  transition: background 0.2s ease;
  border: none; cursor: pointer;
}
.ar-btn-dark:hover { background: var(--ar-navy-light); color: var(--ar-white); }


/* ============================================================
   SECTION HEADINGS
   ============================================================ */

.ar-section-heading {
  font-family: var(--ar-font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 16px;
}
.ar-heading-dark  { color: var(--ar-text-dark) !important; }
.ar-heading-light { color: var(--ar-white) !important; }

.ar-section-sub {
  font-size: 16px;
  line-height: 1.75;
  max-width: 640px;
}
.ar-sub-dark  { color: var(--ar-text-body); }
.ar-sub-light { color: var(--ar-text-on-dark); }


/* ============================================================
   STATS BAR
   ============================================================ */

.ar-stats-bar {
  padding: 60px 32px;
  background: var(--ar-navy-surface);
  border-top: 0.5px solid rgba(0, 212, 170, 0.1);
  border-bottom: 0.5px solid rgba(0, 212, 170, 0.1);
}
.ar-stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; text-align: left;
}
.ar-stats-grid > div {
  padding: 0 2rem;
  border-right: 0.5px solid rgba(248, 244, 237, 0.08);
}
.ar-stats-grid > div:first-child { padding-left: 0; }
.ar-stats-grid > div:last-child { border-right: none; padding-right: 0; }
.ar-stat-number {
  font-family: var(--ar-font-display);
  font-size: 40px; font-weight: 400;
  color: var(--ar-white);
  letter-spacing: -0.02em;
  line-height: 1.1; margin-bottom: 8px;
}
.ar-stat-number .ar-teal { color: var(--ar-teal); }
.ar-stat-label {
  font-size: 13px; color: var(--ar-text-on-dark-muted);
  line-height: 1.5; max-width: 200px;
}


/* ============================================================
   CARDS (Services, Features)
   ============================================================ */

.ar-card-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 0.5px solid var(--ar-cream-border);
  border-left: 0.5px solid var(--ar-cream-border);
}
.ar-card-grid-dark {
  border-top-color: rgba(248, 244, 237, 0.06);
  border-left-color: rgba(248, 244, 237, 0.06);
}

.ar-card {
  padding: 36px 32px;
  border-right: 0.5px solid var(--ar-cream-border);
  border-bottom: 0.5px solid var(--ar-cream-border);
  transition: background 0.25s;
  position: relative; overflow: hidden;
}
.ar-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: var(--ar-teal);
  transform: scaleX(0); transition: transform 0.3s; transform-origin: left;
}
.ar-card:hover { background: rgba(0, 212, 170, 0.03); }
.ar-card:hover::before { transform: scaleX(1); }

.ar-card-dark {
  border-right-color: rgba(248, 244, 237, 0.06);
  border-bottom-color: rgba(248, 244, 237, 0.06);
}
.ar-card-dark:hover { background: rgba(0, 212, 170, 0.05); }

.ar-card-icon {
  width: 44px; height: 44px;
  background: var(--ar-teal-glow);
  border: 0.5px solid rgba(0, 212, 170, 0.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.ar-card h3 {
  font-family: var(--ar-font-display);
  font-size: 19px; font-weight: 400;
  color: var(--ar-text-dark);
  margin-bottom: 12px;
}
.ar-card-dark h3 { color: var(--ar-white); }
.ar-card p {
  font-size: 14px; color: var(--ar-text-body);
  line-height: 1.7; margin-bottom: 20px;
}
.ar-card-dark p { color: var(--ar-text-on-dark); }
.ar-card-link {
  color: var(--ar-teal);
  font-size: 12px; font-weight: 600;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 5px;
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: gap 0.2s;
}
.ar-card-link:hover { gap: 9px; }


/* ============================================================
   PRICING CARDS
   ============================================================ */

.ar-pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 56px;
}

.ar-pricing-card {
  background: var(--ar-navy-surface);
  border: 0.5px solid rgba(248, 244, 237, 0.08);
  padding: 40px 32px;
  position: relative; overflow: hidden;
  transition: border-color 0.3s, transform 0.2s;
}
.ar-pricing-card:hover {
  border-color: rgba(0, 212, 170, 0.3);
  transform: translateY(-2px);
}
.ar-pricing-card.ar-featured {
  border-color: var(--ar-teal);
  background: var(--ar-navy-light);
}
.ar-pricing-card.ar-featured::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--ar-teal);
}

.ar-pricing-tier {
  font-family: var(--ar-font-body);
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--ar-teal); margin-bottom: 12px;
}
.ar-pricing-name {
  font-family: var(--ar-font-display);
  font-size: 24px; font-weight: 400;
  color: var(--ar-white); margin-bottom: 8px;
}
.ar-pricing-price {
  font-family: var(--ar-font-display);
  font-size: 36px; font-weight: 400;
  color: var(--ar-white); margin-bottom: 4px;
}
.ar-pricing-price .ar-teal { color: var(--ar-teal); font-size: 20px; }
.ar-pricing-desc {
  font-size: 14px; color: var(--ar-text-on-dark-muted);
  line-height: 1.6; margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 0.5px solid rgba(248, 244, 237, 0.08);
}
.ar-pricing-features { margin-bottom: 32px; }
.ar-pricing-feature {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--ar-text-on-dark);
  line-height: 1.5; padding: 8px 0;
}
.ar-pricing-check {
  width: 16px; height: 16px; min-width: 16px;
  color: var(--ar-teal); margin-top: 2px;
}


/* ============================================================
   STEPS (How It Works)
   ============================================================ */

.ar-steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 48px; margin-top: 64px; position: relative;
}
.ar-steps-grid::before {
  display: none;
}
.ar-step { text-align: center; position: relative; }
.ar-step-number {
  font-family: var(--ar-font-display);
  font-size: 52px; font-weight: 400;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 212, 170, 0.7);
  line-height: 1; margin-bottom: 24px;
}
.ar-step h3 {
  font-family: var(--ar-font-display);
  font-size: 20px; font-weight: 400;
  color: var(--ar-white); margin-bottom: 12px;
}
.ar-step p {
  font-size: 14px; color: var(--ar-text-on-dark-muted);
  line-height: 1.7; max-width: 300px; margin: 0 auto;
}


/* ============================================================
   FAQ
   ============================================================ */

.ar-faq-layout {
  display: grid; grid-template-columns: 300px 1fr;
  gap: 64px; align-items: start;
}
.ar-faq-list { display: flex; flex-direction: column; }
.ar-faq-item {
  background: transparent; border: none;
  border-bottom: 0.5px solid rgba(248, 244, 237, 0.07);
  overflow: hidden; transition: border-color 0.3s;
}
.ar-faq-item:first-child { border-top: 0.5px solid rgba(248, 244, 237, 0.07); }
.ar-faq-item:hover, .ar-faq-item.active { border-color: rgba(0, 212, 170, 0.2); }
.ar-faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; cursor: pointer; gap: 16px;
}
.ar-faq-q span {
  font-family: var(--ar-font-body);
  font-size: 15px; font-weight: 500;
  color: var(--ar-white); line-height: 1.4;
}
.ar-faq-num {
  font-size: 12px; font-weight: 600;
  color: var(--ar-teal); margin-right: 10px;
  flex-shrink: 0; letter-spacing: 0.06em;
}
.ar-faq-arrow {
  width: 24px; height: 24px; min-width: 24px;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s;
}
.ar-faq-item.active .ar-faq-arrow { transform: rotate(180deg); }
.ar-faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.ar-faq-item.active .ar-faq-a { max-height: 300px; }
.ar-faq-a-inner {
  padding: 0 0 20px;
  font-size: 14px; color: var(--ar-text-on-dark-muted);
  line-height: 1.75;
}


/* ============================================================
   CTA SECTION
   ============================================================ */

.ar-cta {
  text-align: center; position: relative; overflow: hidden;
}
.ar-cta::before {
  content: ''; position: absolute;
  top: -30%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.ar-cta .ar-container { position: relative; z-index: 2; }


/* ============================================================
   PROBLEM LINK
   ============================================================ */

.ar-problem-link {
  color: var(--ar-teal); font-weight: 600;
  text-decoration: none; font-size: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap 0.2s; letter-spacing: 0.02em;
}
.ar-problem-link:hover { gap: 10px; }


/* ============================================================
   FORM STYLES
   ============================================================ */

.ar-form-group { margin-bottom: 20px; }
.ar-form-label {
  display: block; font-size: 13px; font-weight: 500;
  color: var(--ar-white); margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.ar-form-input,
.ar-form-select,
.ar-form-textarea {
  width: 100%; padding: 14px 16px;
  background: var(--ar-navy-surface);
  border: 0.5px solid rgba(248, 244, 237, 0.12);
  color: var(--ar-white);
  font-family: var(--ar-font-body);
  font-size: 14px;
  transition: border-color 0.2s;
  outline: none;
  border-radius: 0;
}
.ar-form-input:focus,
.ar-form-select:focus,
.ar-form-textarea:focus {
  border-color: var(--ar-teal);
}
.ar-form-input::placeholder { color: var(--ar-text-on-dark-muted); }
.ar-form-textarea { min-height: 120px; resize: vertical; }


/* ============================================================
   TRUST / SOCIAL PROOF
   ============================================================ */

.ar-trust-bar {
  margin-top: 64px; padding-top: 48px;
  border-top: 0.5px solid rgba(248, 244, 237, 0.08);
}
.ar-trust-label {
  font-family: var(--ar-font-body);
  font-size: 10.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--ar-text-on-dark-muted);
  display: block; margin-bottom: 28px;
}


/* ============================================================
   FOOTER LINK (LA&CO connection)
   ============================================================ */

.ar-footer-brand {
  font-size: 12px; color: var(--ar-text-on-dark-muted);
  letter-spacing: 0.04em;
}
.ar-footer-brand a {
  color: var(--ar-text-on-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ar-footer-brand a:hover { color: var(--ar-teal); }


/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes arFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ar-hero .ar-eyebrow   { animation: arFadeUp 0.6s ease both; }
.ar-hero h1            { animation: arFadeUp 0.6s ease 0.1s both; }
.ar-hero-sub           { animation: arFadeUp 0.6s ease 0.2s both; }
.ar-hero-buttons       { animation: arFadeUp 0.6s ease 0.3s both; }
.ar-trust-bar          { animation: arFadeUp 0.6s ease 0.45s both; }


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .ar-pricing-grid   { grid-template-columns: 1fr; max-width: 500px; margin-left: auto; margin-right: auto; }
  .ar-faq-layout     { grid-template-columns: 1fr; gap: 40px; }
  .ar-card-grid      { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .ar-section        { padding: 64px 20px; }
  .ar-hero           { padding: 120px 20px 64px; }
  .ar-stats-grid     { grid-template-columns: repeat(2, 1fr); }
  .ar-stats-grid > div {
    padding: 0 1rem 2rem;
    border-right: none;
    border-bottom: 0.5px solid rgba(248, 244, 237, 0.08);
  }
  .ar-card-grid      { grid-template-columns: 1fr; }
  .ar-steps-grid     { grid-template-columns: 1fr; gap: 40px; }
  .ar-steps-grid::before { display: none; }
  .ar-hero-buttons   { flex-direction: column; align-items: stretch; }
  .ar-btn-primary    { width: 100%; justify-content: center; }
  .ar-btn-outline    { width: 100%; justify-content: center; }
  .ar-btn-dark       { width: 100%; justify-content: center; }
}
