/*
Theme Name: Teckou Pro
Theme URI: https://teckou.pro
Author: Mohamed Abd Sattar Teckou
Author URI: https://teckou.pro
Description: A premium digital publishing theme for TECKOU.PRO — AI Prompt Libraries & Marketing Toolkits. Built for showcasing books, blog content, and lead generation.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: teckou-pro
Tags: blog, e-commerce, portfolio, custom-colors, custom-menu, featured-images, full-width-template, theme-options

© 2026 Teckou.pro — All rights reserved.
*/

/* ===== CSS VARIABLES ===== */
:root {
  /* Primary */
  --navy: #1B2A4A;
  --gold: #D4AC0D;
  --white: #FFFFFF;

  /* Secondary */
  --royal-blue: #2E5090;
  --slate: #64748B;
  --light-blue: #F0F4FF;

  /* Extended */
  --navy-dark: #111D35;
  --gold-light: #F5E6A3;
  --gold-dark: #B8960B;
  --border: #E2E8F0;
  --bg-alt: #F8FAFC;
  --text-body: #334155;
  --text-muted: #94A3B8;
  --success: #10B981;
  --danger: #EF4444;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', 'Calibri', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;
  --gap: 2rem;
  --radius: 12px;
  --radius-sm: 8px;

  /* Transitions */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(27,42,74,0.08);
  --shadow: 0 4px 20px rgba(27,42,74,0.1);
  --shadow-lg: 0 10px 40px rgba(27,42,74,0.15);
  --shadow-gold: 0 4px 20px rgba(212,172,13,0.25);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--royal-blue);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--gold);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.4rem, 3vw, 1.8rem); }
h4 { font-size: 1.3rem; }

p { margin-bottom: 1rem; }

/* ===== UTILITY ===== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: var(--section-padding);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

.section-header p {
  color: var(--slate);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 1.2rem auto 0;
}

.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.bg-navy { background: var(--navy); }
.bg-light { background: var(--light-blue); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1.4;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy-dark);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212,172,13,0.35);
  color: var(--navy-dark);
}

.btn-secondary {
  background: var(--navy);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--royal-blue);
  transform: translateY(-2px);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-lg {
  padding: 1.1rem 2.8rem;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.875rem;
}

/* ===== HEADER / NAVIGATION ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow);
}

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

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.site-logo .dot-pro {
  color: var(--gold);
  font-weight: 800;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 0.25rem;
}

.main-nav a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--text-body);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.main-nav a:hover,
.main-nav .current-menu-item a,
.main-nav .current_page_item a {
  color: var(--navy);
  background: var(--light-blue);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 50%, #0D1525 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(212,172,13,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--white), transparent);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.2rem;
  background: rgba(212,172,13,0.15);
  border: 1px solid rgba(212,172,13,0.3);
  border-radius: 50px;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  margin-bottom: 1.2rem;
  line-height: 1.15;
}

.hero h1 .highlight {
  color: var(--gold);
  display: inline;
}

.hero-description {
  color: rgba(255,255,255,0.75);
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
}

.hero-stat {
  text-align: left;
}

.hero-stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
}

.hero-stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}

.hero-books-display {
  position: relative;
  width: 400px;
  height: 480px;
}

.hero-book-card {
  position: absolute;
  width: 260px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: var(--transition-slow);
}

.hero-book-card:nth-child(1) {
  top: 0;
  left: 0;
  transform: rotate(-6deg);
  z-index: 1;
}

.hero-book-card:nth-child(2) {
  top: 30px;
  left: 80px;
  transform: rotate(3deg);
  z-index: 2;
}

.hero-book-card:nth-child(3) {
  top: 60px;
  left: 40px;
  transform: rotate(-2deg);
  z-index: 3;
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--navy);
  padding: 2.5rem 0;
  position: relative;
  overflow: hidden;
}

.stats-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.stats-grid {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  color: var(--white);
  min-width: 150px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  margin-top: 0.25rem;
}

/* ===== FEATURED BOOKS ===== */
.featured-books {
  padding: var(--section-padding);
  background: var(--bg-alt);
}

.books-filter {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.5rem;
  border: 2px solid var(--border);
  border-radius: 50px;
  background: var(--white);
  color: var(--slate);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--gold);
  color: var(--navy);
  background: var(--gold-light);
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.book-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.book-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.book-card-image {
  position: relative;
  height: 280px;
  background: linear-gradient(135deg, var(--navy), var(--royal-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.book-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book-card-image .book-placeholder {
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 1.4rem;
  text-align: center;
  padding: 2rem;
}

.book-industry-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.3rem 0.8rem;
  background: rgba(212,172,13,0.9);
  color: var(--navy-dark);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.book-card-body {
  padding: 1.5rem;
}

.book-card-title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.book-card-title a {
  color: var(--navy);
}

.book-card-title a:hover {
  color: var(--gold);
}

.book-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--slate);
}

.book-stars {
  color: var(--gold);
  letter-spacing: 2px;
}

.book-card-excerpt {
  color: var(--slate);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.book-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.book-price {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: var(--section-padding);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, var(--border), var(--gold), var(--border));
  z-index: 0;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy-dark);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-gold);
}

.step-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.step-card p {
  color: var(--slate);
  font-size: 0.9rem;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: var(--section-padding);
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at right, rgba(212,172,13,0.06), transparent);
}

.testimonials .section-header h2 {
  color: var(--white);
}

.testimonials .section-header h2::after {
  background: var(--gold);
}

.testimonials .section-header p {
  color: rgba(255,255,255,0.6);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.testimonial-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: 3px;
}

.testimonial-text {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--navy-dark);
  font-size: 1.1rem;
}

.testimonial-name {
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
}

.testimonial-role {
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
}

/* ===== BLOG SECTION ===== */
.latest-blog {
  padding: var(--section-padding);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.post-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.post-card-image {
  height: 220px;
  background: linear-gradient(135deg, var(--light-blue), var(--bg-alt));
  overflow: hidden;
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.post-card:hover .post-card-image img {
  transform: scale(1.05);
}

.post-card-body {
  padding: 1.5rem;
}

.post-card-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--slate);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.post-card-category {
  color: var(--gold-dark);
  font-weight: 600;
}

.post-card-title {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.post-card-title a {
  color: var(--navy);
}

.post-card-title a:hover {
  color: var(--gold);
}

.post-card-excerpt {
  color: var(--slate);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--royal-blue);
  font-weight: 600;
  font-size: 0.9rem;
}

.read-more:hover {
  color: var(--gold);
  gap: 0.7rem;
}

/* ===== NEWSLETTER CTA ===== */
.newsletter-cta {
  padding: var(--section-padding);
  background: var(--light-blue);
  text-align: center;
}

.newsletter-inner {
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-inner h2 {
  margin-bottom: 0.75rem;
}

.newsletter-inner p {
  color: var(--slate);
  margin-bottom: 2rem;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto 1rem;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 0.875rem 1.25rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--white);
  transition: var(--transition);
}

.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,172,13,0.1);
}

.newsletter-trust {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .site-logo {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  max-width: 280px;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-dark);
}

.footer-links h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* ===== SINGLE BOOK PAGE ===== */
.book-hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  position: relative;
  overflow: hidden;
}

.book-hero::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,172,13,0.08), transparent);
  top: -200px;
  right: -100px;
}

.book-hero-grid {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 4rem;
  align-items: center;
}

.book-cover-wrapper {
  position: relative;
  z-index: 2;
}

.book-cover-wrapper img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.book-cover-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--royal-blue), var(--navy));
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  border: 2px solid rgba(212,172,13,0.3);
}

.book-cover-placeholder h3 {
  color: var(--white);
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.book-cover-placeholder span {
  color: var(--gold);
  font-size: 0.9rem;
}

.book-hero-content {
  position: relative;
  z-index: 2;
}

.book-hero-content h1 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.book-subtitle {
  color: rgba(255,255,255,0.65);
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
}

.book-rating {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.book-rating .stars {
  color: var(--gold);
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.book-rating span {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

.book-buy-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.book-stats-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.book-stat-mini {
  text-align: center;
  padding: 1rem;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.08);
}

.book-stat-mini .number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
}

.book-stat-mini .label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Book Content Sections */
.book-content {
  padding: var(--section-padding);
}

.book-toc {
  margin-bottom: 3rem;
}

.toc-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.toc-toggle {
  width: 100%;
  padding: 1rem 1.5rem;
  background: var(--white);
  border: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.toc-toggle:hover {
  background: var(--light-blue);
}

.toc-toggle::after {
  content: '+';
  font-size: 1.2rem;
  font-weight: 300;
  transition: var(--transition);
}

.toc-item.active .toc-toggle::after {
  content: '−';
}

.toc-content {
  padding: 0 1.5rem 1rem;
  display: none;
  color: var(--slate);
  font-size: 0.9rem;
}

.toc-item.active .toc-content {
  display: block;
}

/* Sample Prompts */
.sample-prompts {
  background: var(--bg-alt);
  padding: var(--section-padding);
}

.prompt-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.prompt-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.prompt-label {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.9rem;
}

.copy-btn {
  padding: 0.35rem 0.8rem;
  background: var(--light-blue);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--royal-blue);
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
}

.copy-btn:hover {
  background: var(--royal-blue);
  color: var(--white);
}

.prompt-text {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.6;
  background: var(--bg-alt);
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

/* ===== BLOG ARCHIVE ===== */
.blog-archive {
  padding: 120px 0 80px;
}

.blog-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
}

/* ===== SINGLE POST ===== */
.single-post-content {
  padding: 120px 0 80px;
}

.post-header {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
}

.post-header .post-card-meta {
  justify-content: center;
  margin-bottom: 1rem;
}

.post-header h1 {
  margin-bottom: 1rem;
}

.post-header .post-excerpt {
  color: var(--slate);
  font-size: 1.15rem;
}

.post-body {
  max-width: 750px;
  margin: 0 auto;
}

.post-body p {
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

.post-body h2 {
  margin: 2.5rem 0 1rem;
  font-size: 1.8rem;
}

.post-body h3 {
  margin: 2rem 0 0.75rem;
  font-size: 1.4rem;
}

.post-body blockquote {
  border-left: 4px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--light-blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--navy);
}

.post-body code {
  font-family: var(--font-mono);
  background: var(--bg-alt);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9em;
  border: 1px solid var(--border);
}

.post-body pre {
  background: var(--navy-dark);
  color: #E2E8F0;
  padding: 1.5rem;
  border-radius: var(--radius);
  overflow-x: auto;
  margin: 2rem 0;
}

.post-body pre code {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
}

/* Sidebar */
.sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.sidebar-widget h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gold);
}

/* ===== ABOUT PAGE ===== */
.about-hero {
  padding: 120px 0 80px;
  background: var(--light-blue);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
}

/* ===== CONTACT ===== */
.contact-section {
  padding: var(--section-padding);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 500;
  color: var(--navy);
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,172,13,0.1);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

/* ===== FREE RESOURCES ===== */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.resource-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}

.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}

.resource-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--light-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-weight: 500;
  transition: var(--transition);
}

.pagination .current {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.pagination a:hover {
  background: var(--light-blue);
  border-color: var(--gold);
  color: var(--navy);
}

/* ===== SCROLL TO TOP ===== */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--gold);
  color: var(--navy-dark);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  z-index: 99;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  transform: translateY(-3px);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid::before {
    display: none;
  }

  .book-hero-grid {
    grid-template-columns: 280px 1fr;
    gap: 2rem;
  }

  .blog-layout {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
  }

  .header-inner {
    height: 64px;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: 1rem;
  }

  .main-nav.active {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
  }

  .main-nav a {
    padding: 0.75rem 1rem;
  }

  .menu-toggle {
    display: flex;
  }

  .header-cta .btn {
    display: none;
  }

  .hero {
    min-height: 80vh;
    padding-top: 64px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .stats-grid {
    gap: 1.5rem;
  }

  .books-grid,
  .blog-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .book-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .book-cover-wrapper {
    max-width: 280px;
    margin: 0 auto;
  }

  .book-buy-buttons {
    justify-content: center;
  }

  .book-stats-mini {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  .resources-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .book-stats-mini {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn {
    justify-content: center;
  }
}

/* ===== WORDPRESS SPECIFIC ===== */
.wp-block-image img {
  border-radius: var(--radius-sm);
}

.alignleft {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.aligncenter {
  display: block;
  margin: 1.5rem auto;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  font-size: 0.85rem;
  color: var(--slate);
  margin-top: 0.5rem;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}
