/* ==========================================================================
   Maaz Shaikh — Social Media Manager Portfolio
   Design Tokens & Color Palette (Yellow / Amber Gold Accent + Theme System)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg: #0a0a0a;
  --bg2: #111111;
  --bg3: #161616;
  --card: #141414;
  --border: rgba(255,255,255,.08);
  --border-ho: rgba(249,115,22,.4);
  --text: #f5f5f5;
  --muted: #888;
  --subtle: #555;
  --orange: #f97316;
  --orange-dk: #ea6005;
  --yellow: #f6c90e;
  --grad-hero: linear-gradient(135deg,#f97316 0%,#f6c90e 100%);
  --grad-card: linear-gradient(145deg,#1a1a1a,#111);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 24px 64px rgba(0,0,0,.55);

  /* Component Aliases for site compatibility */
  --bg-soft: var(--bg2);
  --surface: var(--card);
  --surface-2: var(--bg3);
  --border-strong: var(--border-ho);

  --yellow-bright: #fef08a;
  --yellow-deep: var(--orange-dk);
  --amber: var(--orange);
  --amber-dark: var(--orange-dk);

  --text-dim: #c5c5c5;
  --text-mute: var(--muted);

  --grad-brand: var(--grad-hero);
  --grad-brand-subtle: linear-gradient(135deg, rgba(249, 115, 22, 0.15), rgba(246, 201, 14, 0.05));
  --glow-color: rgba(249, 115, 22, 0.25);
  --shadow-card: var(--shadow);

  --font-display: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-md: var(--radius);
  --radius-lg: 20px;
  --container: 1180px;
}

/* Light Theme Overrides */
[data-theme="light"] {
  --bg:            #f8fafc;
  --bg2:           #ffffff;
  --bg3:           #f1f5f9;
  --card:          #ffffff;
  --surface:       #ffffff;
  --surface-2:     #f1f5f9;
  --border:        rgba(249, 115, 22, 0.16);
  --border-ho:     rgba(249, 115, 22, 0.45);
  --border-strong: rgba(249, 115, 22, 0.45);

  --yellow:        #ea6005;
  --orange:        #f97316;
  --orange-dk:     #ea6005;

  --text:          #0f172a;
  --muted:         #64748b;
  --subtle:        #94a3b8;
  --text-dim:      #334155;
  --text-mute:     #64748b;

  --grad-hero: linear-gradient(135deg, #f97316 0%, #f6c90e 100%);
  --grad-brand: linear-gradient(135deg, #f97316 0%, #f6c90e 100%);
  --grad-brand-subtle: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(246, 201, 14, 0.05));
  --grad-card: linear-gradient(145deg, #ffffff, #f8fafc);
  --glow-color: rgba(249, 115, 22, 0.2);
  --shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 15px 35px -10px rgba(0, 0, 0, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.1; }
p { margin: 0; }
section { position: relative; }
::selection { background: var(--yellow); color: #000; }

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

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--yellow);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}
.eyebrow::before {
  content: '';
  width: 22px; height: 2px;
  background: var(--yellow);
}

.section-head {
  max-width: 640px;
  margin: 0 0 52px;
}
.section-head h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  margin-top: 14px;
  letter-spacing: -.02em;
}
.section-head p {
  color: var(--text-dim);
  margin-top: 14px;
  font-size: 16.5px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-brand);
  color: #000;
  font-weight: 700;
  box-shadow: 0 10px 30px -8px var(--glow-color);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -8px rgba(249, 115, 22, 0.5);
}
.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--border-ho);
  background: rgba(249, 115, 22, 0.1);
  color: var(--yellow);
}

/* Background Texture Glows */
body::before {
  content: '';
  position: fixed; inset: 0;
  background:
    radial-gradient(circle at 85% -5%, var(--glow-color), transparent 45%),
    radial-gradient(circle at 5% 20%, rgba(245, 158, 11, 0.15), transparent 40%),
    radial-gradient(circle at 50% 100%, var(--glow-color), transparent 50%);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.3s ease;
}

/* ==========================================================================
   Navbar & Theme Toggle
   ========================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background .3s ease, padding .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  padding: 12px 0;
  background: rgba(13, 13, 12, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
[data-theme="light"] .nav.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 19px; }
.logo-mark {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--grad-brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800; color: #000;
  box-shadow: 0 6px 18px -6px var(--glow-color);
}

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 14.5px; font-weight: 500; color: var(--text-dim);
  position: relative; padding: 4px 0; transition: color .2s ease;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--grad-brand); transition: width .25s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-search {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
  min-width: 170px;
}
.nav-search input {
  background: none; border: none; outline: none;
  color: var(--text); font-family: var(--font-body); font-size: 13.5px;
  width: 100%;
}
.nav-search input::placeholder { color: var(--text-mute); }
.nav-search svg { flex: none; opacity: .7; stroke: var(--text-dim); }

/* Theme Switcher — Pill Track Toggle */
.theme-toggle {
  position: relative;
  width: 56px;
  height: 30px;
  border-radius: 999px;
  background: var(--bg3);
  border: 1px solid var(--border-strong);
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
  overflow: hidden;
  padding: 0;
}
.theme-toggle:hover {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.18);
}
/* Sliding circle */
.theme-toggle::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--grad-hero);
  box-shadow: 0 2px 8px rgba(249,115,22,0.45);
  transition: transform 0.35s cubic-bezier(.4,0,.2,1);
  z-index: 1;
}
[data-theme="light"] .theme-toggle::before {
  transform: translateX(26px);
}
/* Icons inside toggle */
.theme-toggle svg {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 14px; height: 14px;
  fill: none; stroke-width: 2.2;
  stroke-linecap: round; stroke-linejoin: round;
  transition: opacity 0.3s ease;
  z-index: 2;
}
.theme-toggle .moon-icon {
  left: 6px;
  stroke: #000;
  opacity: 1;
}
.theme-toggle .sun-icon {
  right: 6px;
  stroke: var(--muted);
  opacity: 0.5;
}
/* In light mode: sun is active (right side), moon dims */
[data-theme="light"] .theme-toggle .moon-icon {
  stroke: var(--muted);
  opacity: 0.5;
}
[data-theme="light"] .theme-toggle .sun-icon {
  stroke: #000;
  opacity: 1;
}
[data-theme="light"] .theme-toggle {
  background: #e2e8f0;
  border-color: rgba(249,115,22,0.35);
}

.nav-social { display: flex; align-items: center; gap: 10px; }
.nav-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim); transition: all .2s ease;
}
.nav-social a:hover { color: #000; background: var(--grad-brand); border-color: transparent; transform: translateY(-2px); }

.nav-toggle { display: none; }

/* ==========================================================================
   Hero Section with Maaz Shaikh Image
   ========================================================================== */
.hero {
  padding: 160px 0 100px;
  position: relative;
  z-index: 1;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(42px, 5.8vw, 76px);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-top: 18px;
}
.hero h1 span {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-role {
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--text-dim);
  margin-top: 16px;
  display: flex; align-items: center; gap: 10px;
}
.hero-role .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 4px var(--glow-color);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px var(--glow-color); }
  50% { box-shadow: 0 0 0 8px rgba(249, 115, 22, 0); }
}
.hero p.lede {
  margin-top: 22px;
  font-size: 16.5px;
  color: var(--text-dim);
  max-width: 490px;
}
.hero-cta { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.hero-stats .stat b {
  display: block; font-family: var(--font-display); font-size: 26px; font-weight: 800;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-stats .stat span { font-size: 12px; color: var(--text-mute); font-family: var(--font-mono); letter-spacing: .04em; }

/* Hero Visual Framing Maaz Image */
.hero-portrait-frame {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-card), 0 0 35px var(--glow-color);
  transition: transform 0.4s ease;
}
.hero-portrait-frame:hover {
  transform: translateY(-4px);
}
.portrait-img-wrapper {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: calc(var(--radius-lg) - 8px);
  overflow: hidden;
  position: relative;
  background: var(--surface-2);
}
.portrait-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}
.hero-portrait-frame:hover .portrait-img-wrapper img {
  transform: scale(1.04);
}
.portrait-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(18, 17, 15, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
}
[data-theme="light"] .portrait-badge {
  background: rgba(255, 255, 255, 0.9);
}
.portrait-badge-title { font-size: 15px; font-weight: 700; font-family: var(--font-display); }
.portrait-badge-sub { font-size: 11.5px; font-family: var(--font-mono); color: var(--yellow); }

.floating-stat-card {
  position: absolute;
  top: -20px; right: -20px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
  display: flex; align-items: center; gap: 12px;
  z-index: 3;
}
.f-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--grad-brand); color: #000;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800;
}
.f-num { font-weight: 800; font-family: var(--font-display); font-size: 16px; }
.f-lbl { font-size: 11px; font-family: var(--font-mono); color: var(--text-mute); }

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  overflow: hidden;
  background: var(--bg-soft);
  position: relative; z-index: 1;
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 56px;
  animation: scroll-left 26s linear infinite;
}
.marquee span {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-mute);
  display: flex; align-items: center; gap: 10px;
  white-space: nowrap;
}
.marquee span::before { content: '✦'; color: var(--yellow); }
@keyframes scroll-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==========================================================================
   Generic Sections
   ========================================================================== */
.section { padding: 110px 0; position: relative; z-index: 1; }
.section-alt { background: var(--bg-soft); }

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}
.about-quote {
  border-left: 3px solid var(--yellow);
  padding-left: 22px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 26px;
}
.about-text p { color: var(--text-dim); font-size: 15.5px; margin-bottom: 16px; }
.about-facts {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.fact {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}
.fact span { display: block; font-family: var(--font-mono); font-size: 11px; color: var(--text-mute); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.fact b { font-size: 14.5px; font-weight: 600; color: var(--text); }

.about-langs { display: flex; flex-direction: column; gap: 14px; }
.lang-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.lang-row .lg-name { font-size: 14px; font-weight: 600; width: 80px; flex: none; }
.lang-bar { flex: 1; height: 6px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.lang-bar i { display: block; height: 100%; background: var(--grad-brand); border-radius: 99px; }
.lang-row .lg-level { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-mute); width: 96px; text-align: right; flex: none; }

.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
}
.about-card h4 { font-size: 15px; margin-bottom: 18px; color: var(--text); }

/* ==========================================================================
   Skills & Tools
   ========================================================================== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}
.skill-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  position: relative;
  overflow: hidden;
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.skill-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--grad-hero);
  opacity: 0;
  transition: opacity .28s ease;
}
.skill-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-ho);
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
}
.skill-card:hover::before { opacity: 1; }

.skill-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.2);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: background .28s ease, box-shadow .28s ease;
}
.skill-card:hover .skill-icon {
  background: rgba(249, 115, 22, 0.22);
  box-shadow: 0 6px 18px rgba(249,115,22,0.2);
}
.skill-card h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
  letter-spacing: -.01em;
}
.skill-card p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

/* Light mode skill cards */
[data-theme="light"] .skill-card { background: #fff; }
[data-theme="light"] .skill-icon {
  background: rgba(249,115,22,0.09);
  border-color: rgba(249,115,22,0.25);
}

.tools-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.tool-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  padding: 9px 16px 9px 9px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  transition: border-color .2s, color .2s, background .2s;
  cursor: default;
}
.tool-chip:hover {
  border-color: var(--border-ho);
  color: var(--text);
  background: rgba(249,115,22,0.06);
}
.tool-chip .tc-mono {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 11px;
  color: #000;
  flex-shrink: 0;
}
[data-theme="light"] .tool-chip { background: #fff; }
[data-theme="light"] .tools-row { border-top-color: rgba(249,115,22,0.15); }

/* ==========================================================================
   Experience Timeline
   ========================================================================== */
.timeline { position: relative; margin-top: 10px; }
.timeline::before {
  content: ''; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(var(--yellow), transparent 95%);
}
.tl-item { position: relative; padding-left: 46px; margin-bottom: 46px; }
.tl-item:last-child { margin-bottom: 0; }
.tl-dot {
  position: absolute; left: 0; top: 4px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--yellow);
  display: flex; align-items: center; justify-content: center;
}
.tl-dot::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.tl-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.tl-head h4 { font-size: 19px; font-weight: 700; }
.tl-head time { font-family: var(--font-mono); font-size: 12.5px; color: var(--yellow); font-weight: 600; }
.tl-org { color: var(--text-dim); font-size: 13.5px; font-weight: 600; margin-bottom: 12px; }
.tl-item ul { display: flex; flex-direction: column; gap: 8px; }
.tl-item li { position: relative; padding-left: 18px; color: var(--text-dim); font-size: 14.5px; }
.tl-item li::before { content: '—'; position: absolute; left: 0; color: var(--yellow); }

/* ==========================================================================
   Portfolio / Projects Grid (Using Uploaded Ad Images & CV)
   ========================================================================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.pf-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  box-shadow: var(--shadow-card);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.pf-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: 0 24px 50px -15px var(--glow-color);
}
.pf-img-wrapper {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  overflow: hidden;
}
.pf-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}
.pf-card:hover img {
  transform: scale(1.06);
}
.pf-card .pf-tag {
  position: absolute; top: 18px; left: 18px; z-index: 3;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .05em;
  background: rgba(13, 13, 12, 0.82); backdrop-filter: blur(8px);
  border: 1px solid var(--border-strong);
  padding: 6px 14px; border-radius: 999px; color: var(--yellow);
  text-transform: uppercase; font-weight: 600;
}
[data-theme="light"] .pf-card .pf-tag {
  background: rgba(255, 255, 255, 0.9);
}
.pf-card .pf-info {
  position: relative; z-index: 3;
  padding: 28px 24px;
  background: linear-gradient(to top, rgba(10, 10, 8, 0.95) 20%, rgba(10, 10, 8, 0.6) 70%, transparent 100%);
  transition: background 0.3s ease;
}
[data-theme="light"] .pf-card .pf-info {
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 20%, rgba(15, 23, 42, 0.6) 70%, transparent 100%);
}
.pf-info h4 { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.pf-info p { font-size: 13.5px; color: #d4d0c7; line-height: 1.5; }
.pf-zoom-icon {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 12px; font-family: var(--font-mono); font-size: 12px;
  color: var(--yellow); font-weight: 600;
}

.pf-note {
  margin-top: 28px;
  font-size: 13px;
  color: var(--text-mute);
  display: flex; align-items: center; gap: 8px;
}

/* ==========================================================================
   Certifications + Achievements
   ========================================================================== */
.cert-achieve {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px;
}
.panel h3 { font-size: 20px; margin-bottom: 22px; }
.cert-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14.5px; color: var(--text-dim);
}
.cert-list li:last-child { border-bottom: none; }
.cert-list .ci {
  width: 28px; height: 28px; border-radius: 50%; flex: none;
  background: rgba(249, 115, 22, 0.16); color: var(--yellow);
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.achieve-list { display: flex; flex-direction: column; gap: 20px; }
.achieve-item { display: flex; gap: 16px; align-items: flex-start; }
.achieve-num {
  font-family: var(--font-display); font-weight: 800; font-size: 22px;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
  flex: none; width: 44px;
}
.achieve-item p { font-size: 14.5px; color: var(--text-dim); }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
}
.contact-info h4 { font-size: 15px; margin: 26px 0 10px; color: var(--text); }
.contact-line { display: flex; align-items: center; gap: 12px; color: var(--text-dim); font-size: 14.5px; margin-bottom: 12px; }
.contact-line .ci {
  width: 36px; height: 36px; border-radius: 10px; flex: none;
  background: rgba(249, 115, 22, 0.14); color: var(--yellow);
  display: flex; align-items: center; justify-content: center;
}
.contact-social { display: flex; gap: 12px; margin-top: 26px; }
.contact-social a {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; color: var(--text-dim);
  transition: all .2s ease;
}
.contact-social a:hover { background: var(--grad-brand); border-color: transparent; color: #000; transform: translateY(-2px); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 12.5px; color: var(--text-mute); margin-bottom: 8px; font-family: var(--font-mono); letter-spacing: .03em; }
.field input, .field textarea {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 13px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14.5px;
  outline: none;
  transition: border-color .2s ease, background .2s ease;
  resize: vertical;
}
.field input:focus, .field textarea:focus { border-color: var(--yellow); background: var(--surface-2); }
.form-msg {
  margin-bottom: 18px; padding: 12px 16px; border-radius: 10px;
  font-size: 13.5px; display: none;
}
.form-msg.show { display: block; }
.form-msg.success { background: rgba(16, 185, 129, 0.12); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }
.form-msg.error { background: rgba(239, 68, 68, 0.12); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
  position: relative; z-index: 1;
}
.footer .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.footer p { font-size: 13px; color: var(--text-mute); }
.footer-links { display: flex; gap: 22px; }
.footer-links a { font-size: 13px; color: var(--text-mute); transition: color .2s ease; }
.footer-links a:hover { color: var(--yellow); }

/* ==========================================================================
   Reveal Animations
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   Lightbox Modal
   ========================================================================== */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(8, 8, 6, 0.92);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: min(850px, 92vw); max-height: 88vh; border-radius: 16px; box-shadow: 0 40px 90px -20px rgba(0,0,0,.8); object-fit: contain; }
.lightbox-close {
  position: absolute; top: 28px; right: 32px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border-strong);
  color: var(--text); display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 18px; transition: transform 0.2s ease;
}
.lightbox-close:hover { transform: scale(1.1); color: var(--yellow); }

/* ==========================================================================
   Responsive Rules
   ========================================================================== */
@media (max-width: 980px) {
  .about-grid, .contact-grid, .cert-achieve { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .hero-portrait-frame { max-width: 360px; margin-top: 20px; }
  .nav-search { display: none; }
}
@media (max-width: 760px) {
  .nav-links {
    position: fixed; top: 0; right: 0; height: 100vh; width: 78%;
    background: var(--bg-soft); border-left: 1px solid var(--border);
    flex-direction: column; justify-content: center; align-items: flex-start;
    padding: 40px; gap: 26px;
    transform: translateX(100%); transition: transform .35s ease;
    z-index: 99;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-toggle {
    display: flex; flex-direction: column; gap: 5px; cursor: pointer; z-index: 101;
    background: none; border: none; padding: 6px;
  }
  .nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; }
  .nav-social { display: none; }
  .hero { padding: 140px 0 70px; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .form-row { grid-template-columns: 1fr; }
  .about-facts { grid-template-columns: 1fr 1fr; }
  .footer .wrap { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 20px; }
  .floating-stat-card { display: none; }
}
/* ==========================================================================
   REVIEWS SECTION — Comprehensive Premium Styles
   ========================================================================== */
.reviews-section {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.reviews-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(249,115,22,0.06) 0%, transparent 55%),
    radial-gradient(circle at 80% 20%, rgba(246,201,14,0.04) 0%, transparent 45%);
  pointer-events: none;
}

/* ---------- Header flex row ---------- */
.reviews-header-flex {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}
.reviews-action-top {
  flex-shrink: 0;
  padding-top: 14px;
}

/* ---------- Rating Summary Dashboard ---------- */
.reviews-summary {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 18px;
  margin-bottom: 44px;
}
.rev-stat-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color .25s, transform .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
}
.rev-stat-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 100%;
  background: var(--grad-hero);
  opacity: 0;
  transition: opacity .25s;
}
.rev-stat-box:hover {
  border-color: var(--border-ho);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,.4);
}
.rev-stat-box:hover::before { opacity: 1; }
.rev-stat-box.flex-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
}

.rev-stat-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.rev-stars-col { display: flex; flex-direction: column; gap: 4px; }

.rev-big-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 42px;
  line-height: 1;
  background: var(--grad-hero);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
}
.rev-stars {
  color: var(--yellow);
  font-size: 15px;
  letter-spacing: 3px;
  margin-bottom: 4px;
}
.rev-count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.rev-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-top: 6px;
}
.rev-subtext {
  font-size: 12.5px;
  color: var(--subtle);
  margin-top: 8px;
  line-height: 1.5;
  max-width: 180px;
}

/* Rating bar breakdown */
.rating-breakdown { display: flex; flex-direction: column; gap: 8px; }
.bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}
.bar-row > span:first-child { width: 22px; flex: none; color: var(--yellow); }
.bar-row > span:last-child { width: 30px; flex: none; text-align: right; }
.bar-track {
  flex: 1;
  height: 6px;
  background: var(--bg3);
  border-radius: 99px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  background: var(--grad-hero);
  border-radius: 99px;
  transition: width 1.2s ease;
}

/* Emoji icon inside stat box */
.stat-circle-icon {
  font-size: 26px;
  margin-bottom: 10px;
  display: block;
  filter: saturate(1.2);
}

/* ---------- Brand Chips Strip ---------- */
.reviews-brands-strip {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 24px;
  margin-bottom: 34px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.strip-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--subtle);
  white-space: nowrap;
  flex-shrink: 0;
}
.brand-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.brand-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-dim);
  transition: border-color .2s, color .2s, background .2s;
  cursor: default;
}
.brand-chip:hover {
  border-color: var(--border-ho);
  color: var(--text);
  background: rgba(249,115,22,0.06);
}
.brand-chip span { font-size: 14px; }

/* ---------- Filter Bar ---------- */
.reviews-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.rev-filter-btn {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .05em;
  cursor: pointer;
  transition: all .22s ease;
  white-space: nowrap;
}
.rev-filter-btn:hover {
  border-color: var(--border-ho);
  color: var(--text);
  background: rgba(249,115,22,0.07);
}
.rev-filter-btn.active {
  background: var(--grad-hero);
  border-color: transparent;
  color: #000;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(249,115,22,0.35);
}

/* ---------- Reviews Grid ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

/* ---------- Review Card ---------- */
.review-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color .28s, transform .28s, box-shadow .28s;
  position: relative;
  overflow: hidden;
}
.review-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-hero);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.review-card:hover {
  border-color: var(--border-ho);
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0,0,0,.5), 0 0 0 1px rgba(249,115,22,.12);
}
.review-card:hover::after { transform: scaleX(1); }

/* Card header row */
.rev-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.rev-platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(249,115,22,0.1);
  border: 1px solid rgba(249,115,22,0.2);
  border-radius: 999px;
  padding: 4px 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.verified-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #22c55e;
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.25);
  border-radius: 999px;
  padding: 3px 10px;
  letter-spacing: .04em;
  font-weight: 600;
  white-space: nowrap;
}

/* Metric Pill */
.rev-metric-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(246,201,14,0.08);
  border: 1px solid rgba(246,201,14,0.2);
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--yellow);
  align-self: flex-start;
}
.metric-icon { font-size: 15px; }
.metric-text { font-family: var(--font-mono); letter-spacing: .03em; }

/* Review text */
.rev-text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-dim);
  font-style: italic;
  flex: 1;
}

/* Author row */
.rev-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.rev-avatar-grad {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--grad-hero);
  color: #000;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(249,115,22,0.35);
}
.rev-author-meta { flex: 1; }
.rev-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
}
.check-icon {
  width: 16px;
  height: 16px;
  background: #22c55e;
  color: #000;
  border-radius: 50%;
  font-size: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}
.rev-role {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.rev-date {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--subtle);
  margin-top: 3px;
  letter-spacing: .04em;
}

/* Review card hidden state (for filter) */
.review-card.hidden {
  display: none;
}

/* ---------- Testimonial Section ---------- */
.testimonial-section { border-top: 1px solid var(--border); }
.testimonial-inner {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 64px;
  background: var(--grad-card);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.testimonial-inner::before {
  content: '"';
  position: absolute;
  top: -20px; left: 40px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 200px;
  color: rgba(249,115,22,.05);
  line-height: 1;
  pointer-events: none;
}
.testimonial-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 3.5vw, 40px);
  line-height: 1.3;
  letter-spacing: -1.5px;
  max-width: 760px;
  margin: 0 auto 28px;
  position: relative;
  z-index: 1;
}
.testimonial-text em { color: var(--orange); font-style: normal; }
.testimonial-source {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
}

/* ---------- CTA Banner Section ---------- */
.cta-section { padding: 80px 0; }
.cta-card {
  border-radius: 20px;
  background: linear-gradient(135deg, #1a0f00 0%, #0f0a00 50%, #1a0f00 100%);
  border: 1px solid rgba(249,115,22,0.25);
  padding: 72px 80px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(249,115,22,.08);
}
.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(249,115,22,0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 30%, rgba(246,201,14,0.1) 0%, transparent 45%);
  pointer-events: none;
}
.cta-card::after {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 2px;
  background: var(--grad-hero);
}
.cta-content { position: relative; z-index: 1; max-width: 680px; }
.cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(249,115,22,0.1);
  border: 1px solid rgba(249,115,22,0.25);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 22px;
}
.cta-card h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--text);
  margin: 0 0 18px;
}
.cta-card h2 span {
  background: var(--grad-hero);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta-card p {
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 560px;
}
.cta-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Light Mode Overrides for Reviews ---------- */
[data-theme="light"] .reviews-section { background: #f8fafc; }
[data-theme="light"] .reviews-brands-strip { background: #f1f5f9; }
[data-theme="light"] .review-card { background: #fff; }
[data-theme="light"] .rev-stat-box { background: #fff; }
[data-theme="light"] .cta-card {
  background: linear-gradient(135deg, #fff8f0 0%, #fff5e8 50%, #fff8f0 100%);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .reviews-summary { grid-template-columns: 1fr 1fr; }
  .reviews-summary .rev-stat-box:first-child { grid-column: 1 / -1; }
  .reviews-grid { grid-template-columns: 1fr; }
  .reviews-header-flex { flex-direction: column; gap: 20px; }
  .cta-card { padding: 48px 36px; }
}
@media (max-width: 760px) {
  .reviews-summary { grid-template-columns: 1fr; }
  .reviews-summary .rev-stat-box:first-child { grid-column: auto; }
  .reviews-filter-bar { gap: 8px; }
  .rev-filter-btn { padding: 7px 14px; font-size: 11px; }
  .testimonial-inner { padding: 40px 24px; }
  .cta-card { padding: 40px 24px; }
  .cta-buttons { flex-direction: column; }
  .reviews-brands-strip { flex-direction: column; align-items: flex-start; gap: 12px; }
}

