/*
Theme Name: nuvo.coach
Theme URI: https://nuvo.coach
Author: nuvo.coach
Author URI: https://nuvo.coach
Description: Custom parallax theme for nuvo.coach — AI-powered life coaching app. Features a one-page parallax landing page with coach profiles, pricing, and legal pages.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nuvo-coach
*/

/* ── Reset & Base ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #0B1220;
  --primary-light: #1C2A3D;
  --accent: #FF6A00;
  --accent-hover: #E85D00;
  --accent-light: #FFF0E0;
  --happy: #8b5cf6;
  --healthy: #10b981;
  --wealthy: #FF6A00;
  --text: #0B1220;
  --text-light: #5A6171;
  --text-white: #f4f5f7;
  --bg: #ffffff;
  --bg-alt: #f4f5f7;
  --border: #e0e2e7;
  --success: #10b981;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow: 0 4px 24px rgba(11, 18, 32, 0.08);
  --shadow-lg: 0 8px 40px rgba(11, 18, 32, 0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --max-width: 1200px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }

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

h1, h2, h3, h4, h5, h6 { 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.2rem, 2.5vw, 1.5rem); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ── Header / Navigation ──────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(11, 18, 32, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

.site-header.scrolled {
  background: rgba(11, 18, 32, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  padding: 10px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.site-logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}

.site-logo .logo-accent { color: var(--accent); }

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.main-nav a {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition);
}

.main-nav a:hover { color: #fff; }

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 10px 24px;
  border-radius: var(--radius-lg);
  font-weight: 600 !important;
  transition: background var(--transition), transform var(--transition) !important;
}

.nav-cta:hover {
  background: var(--accent-hover) !important;
  transform: translateY(-1px);
}

/* ── Language Switch ────────────────────────────────────────────── */
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity var(--transition);
  white-space: nowrap;
  opacity: 0.8;
}

.lang-switch:hover { opacity: 1; }

.lang-flag {
  font-size: 1.4rem;
  line-height: 1;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 6px 0;
  transition: var(--transition);
}

/* ── Hero Section ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #0B1220 0%, #1C2A3D 40%, #0B1220 70%, #FF6A00 150%);
  z-index: -2;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 80%, rgba(255, 106, 0, 0.15) 0%, transparent 60%);
  z-index: -1;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero-particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 106, 0, 0.3);
  border-radius: 50%;
  animation: float 8s infinite ease-in-out;
}

.hero-particles span:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 7s; }
.hero-particles span:nth-child(2) { left: 30%; top: 60%; animation-delay: 1s; animation-duration: 9s; }
.hero-particles span:nth-child(3) { left: 50%; top: 30%; animation-delay: 2s; animation-duration: 6s; }
.hero-particles span:nth-child(4) { left: 70%; top: 70%; animation-delay: 3s; animation-duration: 8s; }
.hero-particles span:nth-child(5) { left: 90%; top: 40%; animation-delay: 0.5s; animation-duration: 10s; }
.hero-particles span:nth-child(6) { left: 20%; top: 80%; animation-delay: 1.5s; animation-duration: 7.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
  50% { transform: translateY(-40px) scale(1.5); opacity: 0.7; }
}

.hero-content { position: relative; z-index: 1; padding: 0 24px; }

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.hero h1 .word-happy { color: var(--happy); }
.hero h1 .word-healthy { color: var(--healthy); }
.hero h1 .word-wealthy { color: var(--wealthy); }

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin: 0 auto 40px;
  font-weight: 400;
}

.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 106, 0, 0.35);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
  color: #fff;
  transform: translateY(-2px);
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-indicator svg { width: 32px; height: 32px; stroke: rgba(255,255,255,0.4); }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* ── Section Basics ───────────────────────────────────────────────── */
.section {
  padding: 100px 0;
  position: relative;
}

.section-alt { background: var(--bg-alt); }

.section-dark {
  background: var(--primary);
  color: #fff;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-header h2 { margin-bottom: 16px; }

.section-header p {
  font-size: 1.15rem;
  color: var(--text-light);
}

.section-dark .section-header p { color: rgba(255,255,255,0.65); }

/* ── Domains Section ──────────────────────────────────────────────── */
.domains-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.domain-card {
  background: var(--bg);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.domain-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.domain-card.happy::before { background: var(--happy); }
.domain-card.healthy::before { background: var(--healthy); }
.domain-card.wealthy::before { background: var(--wealthy); }

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

.domain-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2rem;
}

.domain-card.happy .domain-icon { background: rgba(139, 92, 246, 0.12); }
.domain-card.healthy .domain-icon { background: rgba(16, 185, 129, 0.12); }
.domain-card.wealthy .domain-icon { background: rgba(255, 106, 0, 0.12); }

.domain-card h3 { margin-bottom: 8px; }

.domain-card .domain-subtitle {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.domain-card p { color: var(--text-light); font-size: 0.95rem; }

/* ── Coaches Section ──────────────────────────────────────────────── */
.coaches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.coach-card {
  background: var(--primary-light);
  border-radius: var(--radius-xl);
  padding: 32px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.coach-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(255, 106, 0, 0.15);
}

.coach-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 3px solid rgba(255, 106, 0, 0.3);
  transition: border-color var(--transition);
}

.coach-card:hover .coach-avatar { border-color: var(--accent); }

.coach-card h3 { color: #fff; margin-bottom: 8px; }

.coach-card p { color: rgba(255,255,255,0.65); font-size: 0.9rem; }

/* ── How It Works Section ─────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 48px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

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

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(255, 106, 0, 0.3);
}

.step-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.step-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.step-card p { color: var(--text-light); font-size: 0.9rem; }

/* ── Pricing Section ──────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.pricing-card.featured {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-lg);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 4px;
}

.pricing-price span { font-size: 1rem; font-weight: 400; color: var(--text-light); }

.pricing-period { color: var(--text-light); margin-bottom: 32px; font-size: 0.9rem; }

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li::before {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
}

.pricing-features .included::before {
  background: var(--success);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z'/%3E%3C/svg%3E");
}

.pricing-features .excluded::before {
  background: var(--border);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath d='M6.28 5.22a.75.75 0 00-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 101.06 1.06L10 11.06l3.72 3.72a.75.75 0 101.06-1.06L11.06 10l3.72-3.72a.75.75 0 00-1.06-1.06L10 8.94 6.28 5.22z'/%3E%3C/svg%3E");
}

.pricing-features .excluded { color: var(--text-light); }

.pricing-note {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 16px;
  font-style: italic;
}

.pricing-card .btn { width: 100%; justify-content: center; }

/* ── CTA Section ──────────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, #1C2A3D 100%);
  color: #fff;
  text-align: center;
  padding: 100px 0;
}

.cta-section h2 { margin-bottom: 16px; }

.cta-section p {
  color: rgba(255,255,255,0.7);
  font-size: 1.15rem;
  max-width: 550px;
  margin: 0 auto 40px;
}

.store-badges { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }

.store-badge {
  height: 52px;
  border-radius: var(--radius-md);
  transition: transform var(--transition), opacity var(--transition);
}

.store-badge:hover { transform: scale(1.05); opacity: 0.9; }

/* ── Waitlist Form ────────────────────────────────────────────────── */
.waitlist-form { max-width: 640px; margin: 0 auto; }

.waitlist-fields {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  align-items: stretch;
}

.waitlist-input {
  flex: 1;
  min-width: 0;
  padding: 14px 20px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  box-sizing: border-box;
}

.waitlist-input::placeholder { color: rgba(255,255,255,0.5); }
.waitlist-input:focus { border-color: var(--accent); background: rgba(255,255,255,0.15); }

.waitlist-btn {
  flex-shrink: 0;
  padding: 14px 28px;
  font-size: 0.95rem;
  white-space: nowrap;
}

.waitlist-btn:disabled { opacity: 0.7; cursor: wait; }

.waitlist-message {
  margin-top: 16px;
  padding: 10px 16px;
  border-radius: var(--radius-lg);
  font-size: 0.9rem;
  text-align: center;
}

.waitlist-success { background: rgba(34,197,94,0.2); color: #86efac; }
.waitlist-info { background: rgba(59,130,246,0.2); color: #93c5fd; }
.waitlist-error { background: rgba(239,68,68,0.2); color: #fca5a5; }

@media (max-width: 680px) {
  .waitlist-fields { flex-direction: column; }
  .waitlist-btn { width: 100%; justify-content: center; }
}

/* ── Footer ───────────────────────────────────────────────────────── */
.site-footer {
  background: var(--primary);
  color: rgba(255,255,255,0.5);
  padding: 48px 0 32px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

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

.footer-links a:hover { color: #fff; }

.footer-copy { font-size: 0.85rem; }

/* ── Legal Pages ──────────────────────────────────────────────────── */
.legal-page {
  padding: 140px 0 80px;
  min-height: 100vh;
}

.legal-page .container { max-width: 800px; }

.legal-page h1 {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.legal-date {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 48px;
}

.legal-content h2 {
  font-size: 1.4rem;
  margin: 40px 0 16px;
  color: var(--text);
}

.legal-content h3 {
  font-size: 1.1rem;
  margin: 24px 0 12px;
}

.legal-content p {
  margin-bottom: 16px;
  color: var(--text);
  line-height: 1.7;
}

.legal-content ul {
  margin: 0 0 16px 24px;
  line-height: 1.8;
}

.legal-content a {
  color: var(--accent);
  text-decoration: underline;
}

/* ── Support Page ─────────────────────────────────────────────────── */
.support-contact {
  background: var(--accent-light);
  border-radius: var(--radius-xl);
  padding: 40px;
  text-align: center;
  margin-bottom: 48px;
}

.support-contact h2 { margin-bottom: 12px; }

.support-email {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
}

.faq-section { margin-bottom: 48px; }

.faq-section h2 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}

.faq-item { margin-bottom: 20px; }

.faq-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.faq-item p { color: var(--text-light); font-size: 0.95rem; }

/* ── Parallax Utility ─────────────────────────────────────────────── */
[data-parallax] {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* ── Scroll Reveal Animations ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .domains-grid,
  .coaches-grid { grid-template-columns: repeat(2, 1fr); }

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

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

@media (max-width: 768px) {
  .main-nav { display: none; }
  .main-nav.open {
    display: flex;
    position: fixed;
    inset: 0;
    background: rgba(11, 18, 32, 0.98);
    z-index: 999;
    align-items: center;
    justify-content: center;
  }

  .main-nav.open ul {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .main-nav.open a { font-size: 1.3rem; color: #fff; }

  /* Language switch stays visible in header-right on mobile */

  .mobile-toggle { display: block; z-index: 1001; }

  .domains-grid,
  .coaches-grid,
  .pricing-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .section { padding: 64px 0; }
  .section-header { margin-bottom: 40px; }

  .hero h1 { font-size: 2.2rem; }
  .hero-subtitle { font-size: 1rem; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 20px; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 300px; justify-content: center; }
  .pricing-card { padding: 32px 24px; }
}

/* ── Blog Archive ────────────────────────────────────────────────── */
.blog-page {
  padding: 120px 0 80px;
  min-height: 80vh;
  background: var(--bg-alt);
}

.blog-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.blog-header h1 { margin-bottom: 16px; }
.blog-header p { color: var(--text-light); font-size: 1.1rem; }

/* ── Blog Grid & Cards ─────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.blog-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.blog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent);
  border-radius: 16px 16px 0 0;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.blog-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.blog-card-body {
  padding: 32px 28px 28px;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.82rem;
  color: #8a8a8a;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.blog-card-meta time {
  color: #8a8a8a;
}

.blog-card-cat {
  background: rgba(255, 107, 53, 0.1);
  color: var(--accent);
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
}

.blog-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--dark);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.blog-card-excerpt {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #666;
  margin-bottom: 20px;
}

.blog-card-read {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap 0.2s ease;
}

.blog-card:hover .blog-card-read {
  gap: 8px;
}

/* ── Blog Pagination ────────────────────────────────────────────── */
.blog-pagination {
  text-align: center;
  margin-top: 56px;
}

.blog-pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--bg);
  box-shadow: var(--shadow);
  transition: all var(--transition);
  text-decoration: none;
}

.blog-pagination .page-numbers:hover {
  background: var(--accent);
  color: #fff;
}

.blog-pagination .page-numbers.current {
  background: var(--accent);
  color: #fff;
}

/* ── Blog Empty State ───────────────────────────────────────────── */
.blog-empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-light);
  font-size: 1.1rem;
}

/* ── Blog Single Post ────────────────────────────────────── */
.blog-single-hero {
  padding: 140px 0 56px;
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
  position: relative;
}

.blog-single-hero::before {
  content: '';
  position: absolute;
  top: 80px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin-left: max(24px, calc((100% - 1200px) / 2 + 24px));
}

.blog-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 32px;
  letter-spacing: 0.02em;
  transition: gap 0.2s ease, opacity 0.2s ease;
}

.blog-back-link:hover { gap: 10px; opacity: 0.85; }

.blog-single-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 0.825rem;
  color: var(--text-light);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.blog-single-meta .blog-card-cat {
  color: var(--accent);
  font-weight: 700;
}

.blog-single-meta time {
  font-weight: 500;
}

.blog-single-meta .blog-reading-time {
  position: relative;
  padding-left: 16px;
}

.blog-single-meta .blog-reading-time::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-light);
}

.blog-single-hero h1 {
  font-size: 2.75rem;
  line-height: 1.15;
  max-width: 780px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.blog-single-excerpt {
  color: var(--text-light);
  font-size: 1.2rem;
  max-width: 680px;
  margin-top: 20px;
  line-height: 1.7;
  font-weight: 400;
}

/* ── Blog Single Content ── */
.blog-single-content {
  padding: 56px 0 80px;
}

.blog-content-inner {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.075rem;
  line-height: 1.85;
  color: var(--text);
}

.blog-content-inner h2 {
  font-size: 1.6rem;
  margin: 56px 0 18px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

.blog-content-inner h3 {
  font-size: 1.25rem;
  margin: 40px 0 14px;
  font-weight: 600;
}

.blog-content-inner p { margin-bottom: 22px; }

.blog-content-inner ul,
.blog-content-inner ol {
  margin-bottom: 22px;
  padding-left: 28px;
}

.blog-content-inner li {
  margin-bottom: 10px;
  line-height: 1.75;
}

.blog-content-inner a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  transition: color 0.2s ease;
}

.blog-content-inner a:hover { color: var(--accent-hover); }

.blog-content-inner blockquote {
  border-left: 4px solid var(--accent);
  padding: 20px 28px;
  margin: 36px 0;
  background: var(--bg-alt);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  font-style: italic;
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.7;
}

.blog-content-inner img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  margin: 28px 0;
}

/* ── Blog Share ── */
.blog-share {
  max-width: 700px;
  margin: 48px auto 0;
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}

.blog-share-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  white-space: nowrap;
}

.blog-share-buttons {
  display: flex;
  gap: 10px;
}

.share-btn-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--text-light);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.share-btn-mini:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

/* ── Blog CTA ── */
.blog-cta-card {
  max-width: 700px;
  margin: 64px auto 0;
  background: linear-gradient(135deg, #0B1220 0%, #1a2640 100%);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.blog-cta-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.08;
}

.blog-cta-card::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 120px;
  height: 120px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.05;
}

.blog-cta-card h3 {
  font-size: 1.6rem;
  margin-bottom: 14px;
  color: #fff;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.blog-cta-card p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 28px;
  font-size: 1.075rem;
  line-height: 1.65;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.blog-cta-card .btn {
  position: relative;
  z-index: 1;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-page { padding: 100px 0 60px; }
  .blog-header { margin-bottom: 40px; }
  .blog-single-hero { padding: 110px 0 40px; }
  .blog-single-hero h1 { font-size: 1.9rem; }
  .blog-single-excerpt { font-size: 1.05rem; }
  .blog-cta-card { padding: 40px 28px; }
  .blog-share { flex-direction: column; align-items: flex-start; }
  .blog-single-hero::before { margin-left: 24px; }
}

@media (max-width: 480px) {
  .blog-card-body { padding: 20px 20px 24px; }
  .blog-card-title { font-size: 1.1rem; }
  .blog-single-hero h1 { font-size: 1.5rem; }
  .blog-content-inner { font-size: 1rem; }
  .blog-cta-card { padding: 36px 20px; }
  .blog-cta-card h3 { font-size: 1.35rem; }
}
