/*
Theme Name: Bert Blevins Theme 2
Theme URI: https://bertblevins.com
Author: Bert Blevins
Author URI: https://bertblevins.com
Description: Professional dark purple and navy WordPress theme for AI and Security expert portfolio.
Version: 2.0.1
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bert-theme-2
Tags: one-column, custom-menu, featured-images, blog, portfolio, dark
*/
/* Theme 2 â€” Purple & Dark Blue (Client Brand) */
:root {
  --primary: #8b7cf6;
  --primary-light: #a78bfa;
  --primary-dark: #6d5ce6;
  --primary-glow: rgba(139, 124, 246, 0.45);
  --accent: #d4b86a;
  --accent-hover: #e8cc7a;
  --bg: #080c1a;
  --bg-alt: #0c1230;
  --bg-dark: #050810;
  --card: rgba(16, 22, 48, 0.78);
  --card-solid: #101630;
  --card-hover: #161d42;
  --input-bg: #0a0f24;
  --text: #eef0f8;
  --text-muted: #9499b8;
  --border: rgba(139, 124, 246, 0.2);
  --border-solid: #1a2248;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 0 40px rgba(139, 124, 246, 0.18);
  --font-body: 'Inter', sans-serif;
  --font-display: 'Playfair Display', serif;
  --radius: 12px;
  --radius-sm: 8px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-14px) scale(1.02); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.04); }
}

@keyframes ring-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes mesh-drift {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  33% { transform: translate(3%, -2%) scale(1.08) rotate(2deg); }
  66% { transform: translate(-2%, 3%) scale(0.96) rotate(-1deg); }
}

@keyframes grid-drift {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 60px 60px, 60px 60px; }
}

@keyframes particle-drift {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.15; }
  25% { transform: translate(40px, -60px) scale(1.3); opacity: 0.55; }
  50% { transform: translate(-30px, -110px) scale(0.85); opacity: 0.35; }
  75% { transform: translate(50px, -50px) scale(1.15); opacity: 0.45; }
}

@keyframes pulse-ring-out {
  0% { transform: translate(-50%, -50%) scale(0.75); opacity: 0.55; }
  100% { transform: translate(-50%, -50%) scale(1.65); opacity: 0; }
}

@keyframes orbit-spin {
  from { transform: rotate(0deg) translateX(168px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(168px) rotate(-360deg); }
}

@keyframes orbit-spin-reverse {
  from { transform: rotate(360deg) translateX(145px) rotate(-360deg); }
  to { transform: rotate(0deg) translateX(145px) rotate(0deg); }
}

@keyframes aurora-pulse {
  0%, 100% { opacity: 0.35; transform: translate(-50%, -50%) scale(1) rotate(0deg); }
  50% { opacity: 0.65; transform: translate(-50%, -50%) scale(1.2) rotate(180deg); }
}

@keyframes orbit-ring-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes scan-sweep {
  0% { transform: translateY(-100%); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { transform: translateY(100vh); opacity: 0; }
}

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

html { scroll-behavior: smooth; color-scheme: dark; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 90% 60% at 50% -15%, rgba(139, 124, 246, 0.18), transparent),
    radial-gradient(ellipse 55% 45% at 100% 50%, rgba(30, 58, 138, 0.22), transparent),
    radial-gradient(ellipse 45% 40% at 0% 80%, rgba(45, 31, 110, 0.18), transparent);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Full-page particle canvas */
#particle-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
  pointer-events: none;
}

main, .header, .footer { position: relative; z-index: 1; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

.hero-content.reveal { animation: fade-up 0.9s var(--ease-out) forwards; opacity: 1; transform: none; }
.hero-visual.reveal { animation: fade-up 0.9s var(--ease-out) 0.15s forwards; opacity: 1; transform: none; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 12, 26, 0.82);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}

.header.scrolled {
  background: rgba(5, 8, 16, 0.95);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.header-top {
  background: linear-gradient(90deg, var(--bg-dark) 0%, #0a0f28 50%, var(--bg-dark) 100%);
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

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

.header-social { display: flex; gap: 1.25rem; }
.header-social a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
}

.header-social a:hover { color: var(--accent); transform: translateY(-1px); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  border: 1px solid rgba(139, 124, 246, 0.35);
  box-shadow: 0 4px 16px rgba(139, 124, 246, 0.3);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.logo:hover .logo-mark {
  transform: scale(1.05) rotate(-2deg);
  box-shadow: 0 6px 24px rgba(139, 124, 246, 0.45);
}

.logo-name { display: block; font-weight: 700; font-size: 1.05rem; }
.logo-tagline { display: block; font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.header .logo-tagline { display: none !important; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.75rem;
  align-items: center;
}

.nav-links a:not(.btn) {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  transition: width 0.3s var(--ease-out);
}

.nav-links a:not(.btn):hover,
.nav-links a:not(.btn).active { color: var(--primary-light); }

.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn).active::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s var(--ease-out);
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #5b4fc7 100%);
  background-size: 200% auto;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(139, 124, 246, 0.25);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.15) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.5s;
}

.btn-primary:hover {
  background-position: right center;
  box-shadow: 0 6px 28px rgba(139, 124, 246, 0.45);
  transform: translateY(-2px);
}

.btn-primary:hover::before { transform: translateX(100%); }

.btn-secondary {
  background: rgba(139, 124, 246, 0.06);
  color: var(--primary-light);
  border: 2px solid rgba(139, 124, 246, 0.45);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(139, 124, 246, 0.35);
}

.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.85rem; }
.btn-full { width: 100%; }

/* Hero */
.hero {
  position: relative;
  padding: 5.5rem 0 6rem;
  background: transparent;
  overflow: hidden;
  isolation: isolate;
}

/* Hero-only interactive particle layer */
.hero-particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  display: block;
  pointer-events: none;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    160deg,
    rgba(18, 10, 40, 0.5) 0%,
    rgba(12, 18, 48, 0.35) 45%,
    rgba(8, 12, 26, 0.55) 100%
  );
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 2;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}

.hero-orb--1 {
  width: 420px;
  height: 420px;
  background: rgba(139, 124, 246, 0.22);
  top: -120px;
  right: -80px;
  animation: float 8s ease-in-out infinite;
}

.hero-orb--2 {
  width: 300px;
  height: 300px;
  background: rgba(45, 31, 110, 0.35);
  bottom: 10%;
  left: -60px;
  animation: float 10s ease-in-out infinite reverse;
}

.hero-orb--3 {
  width: 200px;
  height: 200px;
  background: rgba(212, 184, 106, 0.12);
  top: 40%;
  right: 25%;
  animation: pulse-glow 6s ease-in-out infinite;
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139, 124, 246, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 124, 246, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
  animation: grid-drift 25s linear infinite;
}

.hero-scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, rgba(139, 124, 246, 0.06), transparent);
  animation: scan-sweep 8s ease-in-out infinite;
  pointer-events: none;
}

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

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.25rem;
  padding: 0.45rem 1rem 0.45rem 0.75rem;
  background: rgba(212, 184, 106, 0.1);
  border: 1px solid rgba(212, 184, 106, 0.25);
  border-radius: 50px;
  backdrop-filter: blur(8px);
}

.hero-label-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse-glow 2s ease-in-out infinite;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #ffffff 0%, #e8e4ff 40%, #c4b5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-lead strong { color: var(--text); }

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

.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.75rem 1.5rem;
  margin-top: 0.5rem;
  max-width: 540px;
  background: rgba(16, 22, 48, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-glow);
}

.hero-visual { display: flex; justify-content: center; align-items: center; }

/* Animated effects behind profile image */
.hero-image-bg {
  position: absolute;
  inset: -80px;
  z-index: 0;
  pointer-events: none;
}

.hero-aurora {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    rgba(139, 124, 246, 0.25),
    rgba(30, 58, 138, 0.2),
    rgba(212, 184, 106, 0.15),
    rgba(109, 92, 230, 0.25),
    rgba(139, 124, 246, 0.25)
  );
  filter: blur(40px);
  animation: aurora-pulse 6s ease-in-out infinite;
}

.hero-pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(139, 124, 246, 0.4);
  animation: pulse-ring-out 3s ease-out infinite;
}

.hero-pulse-ring--2 {
  animation-delay: 1s;
  border-color: rgba(109, 92, 230, 0.35);
}

.hero-pulse-ring--3 {
  animation-delay: 2s;
  border-color: rgba(212, 184, 106, 0.25);
}

.hero-orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 1px dashed rgba(139, 124, 246, 0.2);
  transform: translate(-50%, -50%);
  animation: orbit-ring-spin 20s linear infinite;
}

.hero-orbit-ring--reverse {
  width: 400px;
  height: 400px;
  border-color: rgba(30, 58, 138, 0.25);
  animation: orbit-ring-spin 28s linear infinite reverse;
}

.hero-orbit-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: var(--primary-light);
  box-shadow: 0 0 12px var(--primary-glow);
}

.hero-orbit-dot--1 { animation: orbit-spin 10s linear infinite; }
.hero-orbit-dot--2 { animation: orbit-spin-reverse 14s linear infinite; width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--accent); box-shadow: 0 0 10px rgba(212, 184, 106, 0.6); }
.hero-orbit-dot--3 { animation: orbit-spin 18s linear infinite; animation-delay: -4s; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; }
.hero-orbit-dot--4 { animation: orbit-spin-reverse 12s linear infinite; animation-delay: -6s; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; }

.hero-image-wrap {
  position: relative;
  width: 320px;
  height: 320px;
  margin: 0 auto;
  animation: float 6s ease-in-out infinite;
}

.hero-image-ring {
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--primary), var(--accent), var(--primary-dark), var(--primary-light), var(--primary));
  z-index: 1;
  animation: ring-spin 12s linear infinite;
  opacity: 0.8;
}

.hero-image-ring::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--bg-alt);
}

.hero-image {
  position: relative;
  z-index: 2;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(139, 124, 246, 0.6);
  box-shadow:
    0 0 0 8px rgba(139, 124, 246, 0.1),
    0 0 60px rgba(139, 124, 246, 0.2),
    0 24px 48px rgba(0, 0, 0, 0.5);
  background: #12102a;
}

.hero-image .client-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  transform: scale(1.35);
  display: block;
}

.hero-badge-card {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  white-space: nowrap;
  background: rgba(16, 22, 48, 0.92);
  border: 1px solid rgba(139, 124, 246, 0.35);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg), 0 0 24px rgba(139, 124, 246, 0.15);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  backdrop-filter: blur(16px);
}

.trust-item strong {
  display: block;
  font-size: 1.65rem;
  font-family: var(--font-display);
  background: linear-gradient(135deg, var(--primary-light), #e8e0ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.trust-divider { width: 1px; height: 40px; background: var(--border); }

.badge-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
}

.hero-badge-card strong { display: block; font-size: 0.85rem; }
.hero-badge-card span { font-size: 0.75rem; color: var(--text-muted); }

/* Sections */
.section { padding: 5rem 0; }
.section-alt {
  background: linear-gradient(180deg, rgba(12, 18, 48, 0.92) 0%, rgba(10, 16, 42, 0.95) 50%, rgba(12, 18, 48, 0.92) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-intro { margin-bottom: 3rem; max-width: 600px; }
.section-intro.centered { text-align: center; margin-left: auto; margin-right: auto; }

.section-label {
  display: inline-block;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.85rem;
  background: rgba(212, 184, 106, 0.1);
  border-radius: 50px;
  border: 1px solid rgba(212, 184, 106, 0.18);
}

.section-label.light { color: rgba(255,255,255,0.7); }

.section-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--text);
  margin-bottom: 0.75rem;
}

.section-text { color: var(--text-muted); }

/* About */
/* About page */
.about-page-hero {
  padding-top: 3rem;
  padding-bottom: 2rem;
  text-align: center;
}

.about-page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--text);
  margin-bottom: 0.75rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.about-page-lead {
  max-width: 640px;
  margin: 0 auto;
}

.about-page-section { padding-top: 2rem; }

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}

.about-stat {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
}

.about-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  background: linear-gradient(135deg, var(--primary-light), #e8e0ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.35rem;
}

.about-stat span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.about-bio {
  max-width: 720px;
  margin: 3rem auto 0;
  text-align: center;
}

.about-bio h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.about-bio p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.75;
}

.about-bio strong { color: var(--text); }

.about-page-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.about-cta {
  text-align: center;
  padding: 4rem 0;
}

.about-cta-inner {
  max-width: 600px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
}

.about-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  color: var(--text);
  margin-bottom: 0.75rem;
}

.about-cta p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .about-stats { grid-template-columns: repeat(2, 1fr); }
}

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

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

.about-card {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.35s;
}

.about-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: rgba(139, 124, 246, 0.35);
}

.about-card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 124, 246, 0.1);
  border-radius: 14px;
  border: 1px solid rgba(139, 124, 246, 0.18);
}

.about-card h3 {
  font-family: var(--font-display);
  color: var(--primary-light);
  margin-bottom: 0.75rem;
}

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

/* Career / Experience */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 820px;
  margin: 0 auto 3rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.25rem;
  padding: 1.75rem 1.25rem;
  border-bottom: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: background 0.3s, padding-left 0.3s var(--ease-out);
}

.timeline-item:hover {
  background: rgba(139, 124, 246, 0.05);
  padding-left: 1.5rem;
}

.timeline-item:last-child { border-bottom: none; }

.timeline-mark {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-light);
  flex-shrink: 0;
}

.timeline-mark--delinea {
  background: linear-gradient(135deg, #2d1f6e, #1a1040);
  color: #4ade80;
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.timeline-body h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.timeline-org {
  font-size: 0.9rem;
  color: var(--primary-light);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.timeline-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.timeline-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.education-block {
  max-width: 820px;
  margin: 0 auto;
  padding-top: 1rem;
}

.education-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 1.25rem;
  text-align: center;
}

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

.edu-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.edu-badge {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: linear-gradient(135deg, #8b1a1a, #c0392b);
  color: white;
  font-size: 0.65rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

.edu-card h4 {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.edu-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-detail a { color: var(--primary-light); text-decoration: none; }
.contact-detail a:hover { color: var(--accent); }

/* Expertise */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.expertise-item {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.35s;
}

.expertise-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: rgba(139, 124, 246, 0.3);
}

.expertise-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--accent);
}

.expertise-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: 700;
}

.expertise-item h3 {
  font-family: var(--font-display);
  color: var(--primary-light);
  font-size: 1.15rem;
}

.expertise-item ul { list-style: none; }

.expertise-item li {
  padding: 0.4rem 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding-left: 1.25rem;
  position: relative;
}

.expertise-item li::before {
  content: 'â†’';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* Videos page */
.videos-page-hero {
  padding-top: 3rem;
  padding-bottom: 2rem;
  text-align: center;
}

.videos-page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--text);
  margin-bottom: 0.75rem;
}

.videos-page-lead {
  max-width: 560px;
  margin: 0 auto 1.5rem;
}

.video-count-badge {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-light);
  background: rgba(139, 124, 246, 0.12);
  border: 1px solid rgba(139, 124, 246, 0.25);
  vertical-align: middle;
}

.videos-page-section { padding-top: 2rem; }

.video-grid--page {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 968px) {
  .video-grid--page { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .video-grid--page { grid-template-columns: 1fr; }
}

/* Videos */
.video-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.tab {
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 50px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.2s;
}

.tab.active,
.tab:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

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

.video-item {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.video-item.hidden { display: none; }

.video-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(139, 124, 246, 0.35);
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-meta {
  display: flex;
  justify-content: space-between;
  padding: 1rem 1.25rem 0;
}

.video-tag {
  background: rgba(139, 124, 246, 0.15);
  color: var(--primary-light);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.video-duration { font-size: 0.75rem; color: var(--text-muted); }

.video-item h3 {
  font-size: 1rem;
  padding: 0.5rem 1.25rem;
  color: var(--text);
}

.video-item p {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Articles */
.articles-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
}

.article-featured {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}

.article-featured:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.article-image {
  height: 200px;
  background: linear-gradient(145deg, #1e1b4b 0%, #1e3a6e 50%, #312e81 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.article-body { padding: 2rem; }

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

.article-featured h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--text);
  margin: 0.5rem 0 1rem;
}

.article-featured p { color: var(--text-muted); margin-bottom: 1rem; }

.link-arrow {
  color: var(--primary-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.link-arrow:hover { color: var(--accent); }

.articles-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.article-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.article-row h4 {
  flex: 1;
  font-size: 0.95rem;
  color: var(--text);
  min-width: 200px;
}

/* Support */
.support-banner {
  background: linear-gradient(135deg, #1e1b4b 0%, #1e3a6e 40%, #312e81 70%, #1e1b4b 100%);
  background-size: 200% 200%;
  animation: gradient-shift 8s ease infinite;
  border-radius: var(--radius);
  padding: 3rem;
  color: white;
  margin-bottom: 2rem;
  border: 1px solid rgba(139, 124, 246, 0.35);
  box-shadow: 0 8px 40px rgba(30, 27, 75, 0.5);
  position: relative;
  overflow: hidden;
}

.support-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(139, 124, 246, 0.22), transparent 70%);
  pointer-events: none;
}

.support-banner h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.support-banner p { opacity: 0.85; max-width: 600px; }

.support-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.support-option {
  background: var(--card);
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  position: relative;
  backdrop-filter: blur(12px);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, border-color 0.3s;
}

.support-option:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(139, 124, 246, 0.3);
}

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

.support-option h3 {
  font-size: 1rem;
  color: var(--primary-light);
  margin-bottom: 0.5rem;
}

.support-option p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1rem; }

.support-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
}

.support-badge.premium { background: rgba(251, 191, 36, 0.15); color: #fbbf24; }

/* Testimonial */
.testimonial-quote {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  padding: 2.5rem 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-glow);
}

.quote-mark {
  display: block;
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: var(--primary);
  opacity: 0.25;
  margin-bottom: -1.5rem;
}

.testimonial-quote p {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--text);
  font-style: italic;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.testimonial-quote footer strong { display: block; color: var(--text); }
.testimonial-quote footer span { font-size: 0.85rem; color: var(--text-muted); }

/* Contact page */
.contact-page-hero {
  padding-top: 3rem;
  padding-bottom: 2rem;
  text-align: center;
}

.contact-page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--text);
  margin-bottom: 0.75rem;
}

.contact-page-lead {
  max-width: 560px;
  margin: 0 auto;
}

.contact-page-section { padding-top: 2rem; }

.contact-page-section .contact-info h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.contact-services {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(139, 124, 246, 0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.contact-services h3 {
  font-size: 0.95rem;
  color: var(--primary-light);
  margin-bottom: 0.75rem;
}

.contact-services ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-services li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 1.25rem;
  position: relative;
}

.contact-services li::before {
  content: 'âœ“';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.8rem;
}

.contact-form-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.form-group .optional {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.contact-cta {
  text-align: center;
  padding: 5rem 0;
}

.contact-cta-inner {
  max-width: 600px;
  margin: 0 auto;
  padding: 3rem 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-glow);
}

.contact-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--text);
  margin-bottom: 0.75rem;
}

.contact-cta p {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  line-height: 1.7;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--text);
  margin-bottom: 1rem;
}

.contact-info > p { color: var(--text-muted); margin-bottom: 2rem; }

.contact-details { display: flex; flex-direction: column; gap: 1.25rem; }

.contact-detail strong { display: block; color: var(--primary-light); font-size: 0.85rem; }
.contact-detail p { color: var(--text-muted); }

.contact-form {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-group { margin-bottom: 1rem; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-solid);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.9rem;
  background: var(--input-bg);
  color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(139, 124, 246, 0.2);
}

.form-notice {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.form-notice.success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
}

.form-notice.error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}

/* Footer */
.footer {
  background: linear-gradient(180deg, var(--bg-dark) 0%, #030508 100%);
  color: rgba(255,255,255,0.7);
  padding-top: 4rem;
  border-top: 1px solid rgba(139, 124, 246, 0.12);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 2rem;
  padding-bottom: 3rem;
}

.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand .logo-mark { border-color: rgba(212, 184, 106, 0.35); }
.footer-brand .logo-name { color: white; }
.footer-brand .logo-tagline { color: rgba(255,255,255,0.5); }
.footer-brand p { font-size: 0.9rem; line-height: 1.6; }

.footer-links h4 {
  color: white;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.footer-links a {
  display: block;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 0.3rem 0;
}

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

.footer-newsletter h4 { color: white; font-size: 0.9rem; margin-bottom: 0.5rem; }
.footer-newsletter p { font-size: 0.85rem; margin-bottom: 1rem; }

.newsletter-form { display: flex; gap: 0.5rem; }

.newsletter-form input {
  flex: 1;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border-solid);
  border-radius: var(--radius);
  font-size: 0.85rem;
  background: var(--input-bg);
  color: var(--text);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 968px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; margin-bottom: 2rem; }
  .hero-image-wrap,
  .hero-image { width: 260px; height: 260px; }

  .hero-image-bg { inset: -60px; }
  .hero-aurora { width: 300px; height: 300px; }
  .hero-pulse-ring { width: 240px; height: 240px; }
  .hero-orbit-ring { width: 290px; height: 290px; }
  .hero-orbit-ring--reverse { width: 320px; height: 320px; }

  @keyframes orbit-spin {
    from { transform: rotate(0deg) translateX(135px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(135px) rotate(-360deg); }
  }

  @keyframes orbit-spin-reverse {
    from { transform: rotate(360deg) translateX(118px) rotate(-360deg); }
    to { transform: rotate(0deg) translateX(118px) rotate(0deg); }
  }
  .hero-badge-card { bottom: -12px; }
  .education-grid { grid-template-columns: 1fr; }
  .about-cards,
  .expertise-grid,
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .support-options { grid-template-columns: repeat(2, 1fr); }
  .articles-layout { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

.nav a.active { color: var(--primary-light); font-weight: 600; }
.blog-hero { padding-top: 2rem; }
.blog-hero h1 { font-family: var(--font-display); color: var(--text); }
.blog-tabs { margin-bottom: 2rem; }
.blog-list-pro { display: flex; flex-direction: column; gap: 0; }
.blog-list-item { display: grid; grid-template-columns: 80px 1fr; gap: 1.5rem; padding: 1.75rem 0; border-bottom: 1px solid var(--border); text-decoration: none; color: inherit; transition: padding-left 0.15s; }
.blog-list-item.hidden { display: none; }
.blog-list-item:hover { padding-left: 0.5rem; }
.blog-list-img { width: 80px; height: 80px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 2rem; }
.blog-list-item h2 { font-family: var(--font-display); font-size: 1.2rem; margin: 0.35rem 0 0.5rem; color: var(--text); }
.blog-list-item p { color: var(--text-muted); font-size: 0.9rem; }
.article-single-wrap { max-width: 720px; }
.article-single-wrap h1 { font-family: var(--font-display); font-size: clamp(1.75rem, 3vw, 2.5rem); color: var(--text); margin: 0.75rem 0 1rem; line-height: 1.2; }
.article-single-wrap p { color: var(--text-muted); margin-bottom: 1.25rem; }
.article-single-wrap h2 { font-family: var(--font-display); color: var(--primary-light); margin: 2rem 0 0.75rem; font-size: 1.35rem; }
.article-single-meta { display: flex; gap: 1.5rem; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1rem; flex-wrap: wrap; }
.article-row { text-decoration: none; color: inherit; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal { opacity: 1; transform: none; }
  .hero-content.reveal,
  .hero-visual.reveal { animation: none; }
  .hero-scan-line { display: none; }
}

@media (max-width: 640px) {
  .header-top { display: none; }
  .nav-toggle { display: flex; }
  .blog-list-item { grid-template-columns: 1fr; }
  .blog-list-img { display: none; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .about-cards,
  .expertise-grid,
  .video-grid,
  .support-options { grid-template-columns: 1fr; }
  .hero-trust { flex-wrap: wrap; }
  .trust-divider { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

