/* ===== do-what-you.love — Global Styles ===== */

@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg: #0a0a0f;
  --bg-card: #12121a;
  --bg-card-hover: #1a1a2e;
  --text: #e8e6e3;
  --text-muted: #8a8a9a;
  --text-dim: #5a5a6a;
  --accent: #6c5ce7;
  --accent-light: #a29bfe;
  --accent-glow: rgba(108, 92, 231, 0.3);
  --gradient-1: linear-gradient(135deg, #6c5ce7, #fd79a8);
  --gradient-2: linear-gradient(135deg, #00cec9, #6c5ce7);
  --gradient-3: linear-gradient(135deg, #fd79a8, #fdcb6e);
  --border: rgba(255,255,255,0.06);
  --border-hover: rgba(255,255,255,0.12);
  --radius: 16px;
  --radius-sm: 8px;
  --font: 'Heebo', sans-serif;
}

/* ===== Light Mode ===== */
body.light-mode {
  --bg: #f5f5f7;
  --bg-card: #ffffff;
  --bg-card-hover: #f0f0f5;
  --text: #1a1a2e;
  --text-muted: #555566;
  --text-dim: #888899;
  --accent-glow: rgba(108, 92, 231, 0.15);
  --border: rgba(0,0,0,0.08);
  --border-hover: rgba(0,0,0,0.15);
}

body.light-mode .nav {
  background: rgba(245,245,247,0.85);
}
body.light-mode .nav.scrolled {
  background: rgba(245,245,247,0.95);
}
body.light-mode .post-content h2 { color: #1a1a2e; }
body.light-mode .post-content strong { color: #1a1a2e; }
body.light-mode .hero h1 { color: #1a1a2e; }
body.light-mode .section-title { color: #1a1a2e; }
body.light-mode .about-text h2 { color: #1a1a2e; }
body.light-mode .cta-box h2 { color: #1a1a2e; }
body.light-mode .stat-number {
  -webkit-text-fill-color: unset;
  background: none;
  background-clip: unset;
  -webkit-background-clip: unset;
  color: var(--accent);
}
body.light-mode .cursor-glow { opacity: 0.15; }
body.light-mode .noise { opacity: 0.015; }
body.light-mode .grid-bg {
  background-image:
    linear-gradient(rgba(108,92,231,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,92,231,0.04) 1px, transparent 1px);
}
body.light-mode .post-content blockquote {
  background: rgba(108,92,231,0.05);
  color: #555566;
}
body.light-mode .post-card:hover {
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

/* ===== Theme Toggle ===== */
.theme-toggle {
  position: fixed;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  z-index: 200;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  backdrop-filter: blur(10px);
}

.theme-toggle button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.theme-toggle button:hover {
  color: var(--accent-light);
  background: rgba(108,92,231,0.1);
}

.theme-toggle button.active {
  background: var(--accent);
  color: #fff;
}

/* ===== WhatsApp Float Button ===== */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
}

.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37,211,102,0.5);
}

.wa-float svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

.wa-float-label {
  position: absolute;
  left: -140px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.wa-float:hover .wa-float-label {
  opacity: 1;
}

/* ===== Accessibility Toolbar ===== */
.a11y-toolbar {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 6px;
  backdrop-filter: blur(10px);
}

.a11y-toolbar button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.a11y-toolbar button:hover {
  color: var(--accent-light);
  background: rgba(108,92,231,0.1);
}

.a11y-toolbar button.active {
  background: var(--accent);
  color: #fff;
}

/* A11y: High contrast */
body.high-contrast {
  --text: #ffffff;
  --text-muted: #cccccc;
  --text-dim: #aaaaaa;
  --bg: #000000;
  --bg-card: #111111;
  --border: rgba(255,255,255,0.2);
}

/* A11y: Big text — controlled by JS variable */

/* A11y: Links underline */
body.underline-links a { text-decoration: underline !important; }

/* A11y: No animations */
body.no-animations *,
body.no-animations *::before,
body.no-animations *::after {
  animation: none !important;
  transition: none !important;
}
body.no-animations .cursor-glow,
body.no-animations .particles,
body.no-animations .floating-shapes,
body.no-animations .code-tokens,
body.no-animations .workflow-pipeline,
body.no-animations .scroll-gear,
body.no-animations .data-stream,
body.no-animations .grid-bg { display: none !important; }

/* ===== Newsletter Form ===== */
.newsletter-section {
  padding: 6rem 0;
  text-align: center;
}

.newsletter-box {
  max-width: 560px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem 2.5rem;
  position: relative;
}

.newsletter-box h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
}

body.light-mode .newsletter-box h3 { color: #1a1a2e; }

.newsletter-box p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.newsletter-form input {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  direction: rtl;
  transition: border-color 0.3s;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--accent);
}

.newsletter-form input::placeholder {
  color: var(--text-dim);
}

.newsletter-submit {
  padding: 0.9rem 2rem;
  background: var(--gradient-1);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.3s, transform 0.3s;
}

.newsletter-submit:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.newsletter-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.newsletter-msg {
  margin-top: 1rem;
  font-size: 0.9rem;
  min-height: 1.4em;
}

.newsletter-msg.success { color: #00cec9; }
.newsletter-msg.error { color: #fd79a8; }

@media (max-width: 480px) {
  .newsletter-box { padding: 2rem 1.2rem; }
}

/* ===== Cookie Banner ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  backdrop-filter: blur(20px);
  transform: translateY(100%);
  transition: transform 0.4s;
  direction: rtl;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
  max-width: 600px;
}

.cookie-banner a { color: var(--accent-light); }

.cookie-accept {
  padding: 0.5rem 1.5rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 100px;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.3s;
}

.cookie-accept:hover { opacity: 0.85; }

/* ===== Light Mode Logo Fix ===== */
body.light-mode .nav-logo-img {
  filter: invert(0.85) sepia(0.3) hue-rotate(200deg) brightness(0.4) contrast(1.2);
}

@media (max-width: 768px) {
  .theme-toggle { top: auto; bottom: 24px; left: 24px; flex-direction: row; }
  .a11y-toolbar { top: auto; bottom: 90px; right: 24px; }
  .wa-float { bottom: 24px; right: 24px; width: 52px; height: 52px; }
  .wa-float svg { width: 28px; height: 28px; }
  .wa-float-label { display: none; }
  .cookie-banner { flex-direction: column; gap: 0.8rem; padding: 1rem; }
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  direction: rtl;
  line-height: 1.8;
  overflow-x: hidden;
  cursor: default;
}

::selection {
  background: var(--accent);
  color: #fff;
}

a {
  color: var(--accent-light);
  text-decoration: none;
  transition: color 0.3s;
}
a:hover { color: #fff; }

/* ===== Cursor Glow ===== */
.cursor-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  opacity: 0.4;
  transition: opacity 0.3s;
}

/* ===== Floating Shapes (mouse parallax) ===== */
.floating-shapes {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.03;
  will-change: transform;
  transition: transform 0.1s linear;
}

.shape-1 { width: 300px; height: 300px; background: var(--gradient-1); top: 10%; right: 15%; }
.shape-2 { width: 200px; height: 200px; background: var(--gradient-2); top: 60%; right: 70%; }
.shape-3 { width: 150px; height: 150px; background: var(--gradient-3); top: 30%; right: 50%; }
.shape-4 { width: 250px; height: 250px; background: var(--gradient-1); top: 75%; right: 20%; }
.shape-5 { width: 180px; height: 180px; background: var(--gradient-2); top: 5%; right: 80%; }
.shape-6 { width: 120px; height: 120px; background: var(--gradient-3); top: 45%; right: 35%; }

/* ===== Noise Texture Overlay ===== */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px;
}

/* ===== Grid Lines Background ===== */
.grid-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(108,92,231,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,92,231,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
}

/* ===== Layout ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(20px);
  background: rgba(10, 10, 15, 0.8);
  border-bottom: 1px solid var(--border);
  transition: all 0.4s;
}

.nav.scrolled {
  padding: 0.6rem 2rem;
  background: rgba(10, 10, 15, 0.95);
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 40px;
  width: auto;
  transition: height 0.4s, opacity 0.3s;
}

.nav.scrolled .nav-logo-img {
  height: 28px;
}

.nav-logo:hover .nav-logo-img {
  opacity: 0.85;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s;
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-1);
  transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }

/* ===== Hero Section ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  position: relative;
}

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

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border: 1px solid var(--border-hover);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--accent-light);
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  background: rgba(108, 92, 231, 0.08);
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero h1 .gradient-text {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.3rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.8;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2.5rem;
  background: var(--gradient-1);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  font-family: var(--font);
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px var(--accent-glow);
  color: #fff;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-dim);
  font-size: 0.8rem;
  animation: float 2s ease-in-out infinite;
}

.scroll-indicator .arrow {
  width: 24px;
  height: 24px;
  border-left: 2px solid var(--text-dim);
  border-bottom: 2px solid var(--text-dim);
  transform: rotate(-45deg);
}

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

/* ===== Magnetic Particles ===== */
.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--accent-light);
  border-radius: 50%;
  opacity: 0;
  will-change: transform, opacity;
}

/* ===== Section Titles ===== */
.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 4rem;
}

/* ===== Blog Cards ===== */
.posts-section {
  padding: 8rem 0;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.post-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s, border-color 0.4s, box-shadow 0.4s;
  will-change: transform;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.post-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--gradient-1);
  opacity: 0;
  transition: opacity 0.4s;
}

.post-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.post-card:hover::before { opacity: 1; }

.post-card .tag {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
  background: rgba(108, 92, 231, 0.15);
  color: var(--accent-light);
}

.post-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  line-height: 1.4;
  transition: color 0.3s;
}

.post-card:hover h3 { color: var(--accent-light); }

.post-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.post-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-light);
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap 0.3s;
}

.post-card:hover .read-more { gap: 1rem; }

/* ===== Stats Counter Section ===== */
.stats-section {
  padding: 6rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 2rem;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 900;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===== About / Services ===== */
.about-section {
  padding: 8rem 0;
}

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

.about-text h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.service-list {
  list-style: none;
  display: grid;
  gap: 1rem;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all 0.3s;
}

.service-item:hover {
  border-color: var(--accent);
  transform: translateX(-5px);
}

.service-icon {
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(108,92,231,0.1);
  border-radius: 12px;
  flex-shrink: 0;
}

/* ===== CTA Section ===== */
.cta-section {
  padding: 8rem 0;
  text-align: center;
}

.cta-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 5rem 3rem;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, var(--accent-glow) 0%, transparent 50%);
  opacity: 0.3;
  pointer-events: none;
}

.cta-box h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
}

.cta-box p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  position: relative;
}

/* ===== Footer ===== */
.footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* ===== Scroll Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ===== Blog Post Page ===== */
.post-hero {
  padding: 10rem 2rem 4rem;
  text-align: center;
  position: relative;
}

.post-hero .tag {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(108, 92, 231, 0.15);
  color: var(--accent-light);
  margin-bottom: 1.5rem;
}

.post-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  max-width: 800px;
  margin: 0 auto 1.5rem;
  line-height: 1.3;
}

.post-meta {
  color: var(--text-dim);
  font-size: 0.9rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.post-content {
  padding: 0 2rem 6rem;
}

.post-content .container-narrow {
  font-size: 1.1rem;
  line-height: 2;
}

.post-content h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 3rem 0 1.5rem;
  color: #fff;
}

.post-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 2rem 0 1rem;
  color: var(--accent-light);
}

.post-content p {
  margin-bottom: 1.5rem;
  color: var(--text);
}

.post-content strong {
  color: #fff;
  font-weight: 600;
}

.post-content ul, .post-content ol {
  margin: 1.5rem 0;
  padding-right: 2rem;
}

.post-content li {
  margin-bottom: 0.8rem;
  color: var(--text);
}

.post-content blockquote {
  border-right: 3px solid var(--accent);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  background: var(--bg-card);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-muted);
  font-style: italic;
}

.post-content .highlight-box {
  background: rgba(108, 92, 231, 0.08);
  border: 1px solid rgba(108, 92, 231, 0.2);
  border-radius: var(--radius);
  padding: 2rem;
  margin: 2rem 0;
}

.post-content .stat-highlight {
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  text-align: center;
  margin: 2rem 0;
}

/* Post CTA */
.post-cta {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem;
  text-align: center;
  margin-top: 4rem;
}

.post-cta h3 {
  font-size: 1.5rem;
  color: #fff !important;
  margin-bottom: 1rem !important;
}

.post-cta p {
  color: var(--text-muted) !important;
  margin-bottom: 1.5rem !important;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }

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

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

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

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

  .cta-box { padding: 3rem 1.5rem; }

  .post-meta { flex-direction: column; gap: 0.5rem; }
}

@media (max-width: 480px) {
  .container, .container-narrow { padding: 0 1rem; }
  .hero { padding: 6rem 1rem 3rem; }
  .stat-number { font-size: 2.5rem; }
}

/* ===== Floating Code Tokens (scroll parallax) ===== */
.code-tokens {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.code-token {
  position: absolute;
  font-family: 'Courier New', monospace;
  font-size: 0.8rem;
  color: var(--accent-light);
  opacity: 0;
  letter-spacing: 0.05em;
  white-space: nowrap;
  will-change: transform, opacity;
  transition: opacity 0.6s;
  direction: ltr;
  text-align: left;
}

.code-token.visible {
  opacity: 0.12;
}

/* ===== Workflow Pipeline ===== */
.workflow-pipeline {
  position: fixed;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 60px;
  pointer-events: none;
  z-index: 2;
}

.pipeline-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.pipeline-track {
  stroke: var(--border);
  stroke-width: 2;
}

.pipeline-progress {
  stroke: var(--accent);
  stroke-width: 2;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  filter: drop-shadow(0 0 6px var(--accent-glow));
  transition: stroke-dashoffset 0.05s linear;
}

.pipeline-node {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transition: opacity 0.5s, transform 0.5s;
}

.pipeline-node.reached {
  opacity: 1;
}

.node-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
  flex-shrink: 0;
  position: relative;
  transition: all 0.4s;
}

.pipeline-node.reached .node-dot {
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow), 0 0 24px var(--accent-glow);
}

.node-label {
  font-family: 'Courier New', monospace;
  font-size: 0.7rem;
  color: var(--text-dim);
  white-space: nowrap;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.4s;
  direction: ltr;
}

.pipeline-node.reached .node-label {
  color: var(--accent-light);
}

/* ===== Scroll Gears ===== */
.scroll-gear {
  position: fixed;
  bottom: 60px;
  right: 40px;
  width: 80px;
  height: 80px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.06;
  color: var(--accent-light);
  will-change: transform;
}

.scroll-gear.gear-2 {
  bottom: 110px;
  right: 85px;
  width: 50px;
  height: 50px;
  opacity: 0.04;
}

.gear-svg {
  width: 100%;
  height: 100%;
}

/* ===== Data Streams ===== */
.data-stream {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 20px;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.data-stream-right { right: 8px; }
.data-stream-left { left: 8px; }

.data-char {
  position: absolute;
  font-family: 'Courier New', monospace;
  font-size: 0.65rem;
  color: var(--accent);
  opacity: 0.08;
  will-change: transform;
  direction: ltr;
  line-height: 1;
}

/* ===== Hide scroll elements on mobile ===== */
@media (max-width: 768px) {
  .workflow-pipeline { display: none; }
  .scroll-gear { display: none; }
  .data-stream { display: none; }
  .code-token { font-size: 0.65rem; }
}
