/*
Theme Name: Embrace
Theme URI: https://embrace.digital
Author: Embrace Digital
Author URI: https://embrace.digital
Description: A premium digital agency WordPress theme with red accent, dark/light modes, animated sections, and full-featured homepage.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: embrace
Tags: one-page, portfolio, agency, dark, animation, full-width-template
*/

/* =====================================================
   DESIGN TOKENS & CSS VARIABLES
   ===================================================== */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
  /* Colors - Light mode */
  --bg: #ffffff;
  --fg: hsl(220, 20%, 10%);
  --card: hsl(0, 0%, 98%);
  --card-fg: hsl(220, 20%, 10%);
  --primary: hsl(0, 85%, 55%);
  --primary-fg: #ffffff;
  --secondary: hsl(220, 15%, 20%);
  --muted: hsl(220, 10%, 94%);
  --muted-fg: hsl(220, 10%, 45%);
  --border: hsl(220, 10%, 88%);
  --radius: 0.75rem;

  --gradient-primary: linear-gradient(135deg, hsl(0, 85%, 55%) 0%, hsl(350, 80%, 50%) 50%, hsl(0, 90%, 60%) 100%);
  --gradient-mesh: radial-gradient(at 40% 20%, hsla(0, 85%, 55%, 0.15) 0px, transparent 50%),
                   radial-gradient(at 80% 0%, hsla(0, 75%, 50%, 0.1) 0px, transparent 50%),
                   radial-gradient(at 0% 50%, hsla(0, 85%, 55%, 0.08) 0px, transparent 50%),
                   radial-gradient(at 80% 50%, hsla(350, 80%, 50%, 0.1) 0px, transparent 50%);
  --shadow-primary: 0 0 60px hsla(0, 85%, 55%, 0.25);
  --shadow-card: 0 4px 40px hsla(220, 20%, 10%, 0.08);
}

.dark-mode {
  --bg: hsl(220, 20%, 8%);
  --fg: hsl(0, 0%, 98%);
  --card: hsl(220, 18%, 12%);
  --card-fg: hsl(0, 0%, 98%);
  --primary: hsl(0, 85%, 55%);
  --primary-fg: #ffffff;
  --secondary: hsl(220, 10%, 85%);
  --muted: hsl(220, 15%, 18%);
  --muted-fg: hsl(220, 10%, 60%);
  --border: hsl(220, 15%, 22%);
  --gradient-mesh: radial-gradient(at 40% 20%, hsla(0, 85%, 55%, 0.12) 0px, transparent 50%),
                   radial-gradient(at 80% 0%, hsla(0, 75%, 50%, 0.08) 0px, transparent 50%),
                   radial-gradient(at 0% 50%, hsla(0, 85%, 55%, 0.06) 0px, transparent 50%),
                   radial-gradient(at 80% 50%, hsla(350, 80%, 50%, 0.08) 0px, transparent 50%);
  --shadow-card: 0 4px 40px hsla(0, 0%, 0%, 0.3);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Space Grotesk', sans-serif;
  background-color: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  transition: background-color 0.3s, color 0.3s;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-family: 'Syne', sans-serif; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
::selection { background: hsla(0, 85%, 55%, 0.2); color: hsl(220, 20%, 10%); }

/* =====================================================
   UTILITY CLASSES
   ===================================================== */
.gradient-text {
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-image: var(--gradient-primary);
}

.glass-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: var(--shadow-card);
}

.glass-card-hover {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: var(--shadow-card);
  transition: all 0.5s;
}
.glass-card-hover:hover {
  border-color: hsla(0, 85%, 55%, 0.4);
  transform: translateY(-8px);
  box-shadow: var(--shadow-primary);
}

.mesh-bg {
  position: fixed;
  inset: 0;
  background-image: var(--gradient-mesh);
  pointer-events: none;
  z-index: 0;
}

.section-padding {
  padding: 5rem 1rem;
}
@media (min-width: 768px) { .section-padding { padding: 7rem 1.5rem; } }

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

.text-outline {
  -webkit-text-stroke: 2px var(--secondary);
  -webkit-text-fill-color: transparent;
}

/* Noise overlay */
.noise-overlay { position: relative; }
.noise-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  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='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  pointer-events: none;
  z-index: 1;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1.25rem;
  border-radius: 9999px;
  background: hsla(0, 85%, 55%, 0.1);
  border: 1px solid hsla(0, 85%, 55%, 0.2);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* =====================================================
   ANIMATIONS
   ===================================================== */
@keyframes floating {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}
@keyframes floating-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes marquee-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes marquee-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
@keyframes glow-pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
@keyframes bounce-subtle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in-scale {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

.animate-float { animation: floating 6s ease-in-out infinite; }
.animate-float-slow { animation: floating-slow 8s ease-in-out infinite; }
.animate-marquee-left { animation: marquee-left 30s linear infinite; }
.animate-marquee-right { animation: marquee-right 30s linear infinite; }
.animate-fade-up { animation: fade-in-up 0.7s ease-out forwards; }
.animate-fade-scale { animation: fade-in-scale 0.5s ease-out forwards; }

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.reveal.visible { opacity: 1; transform: none; }

/* =====================================================
   HEADER / NAVIGATION
   ===================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: all 0.5s;
}
.site-header.scrolled {
  background: hsla(var(--bg-raw, 0, 0%, 100%), 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 20px hsla(0,0%,0%,0.05);
}
.dark-mode .site-header.scrolled {
  background: hsla(220, 20%, 8%, 0.95);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.site-logo img { height: 48px; width: auto; }
.site-logo .site-name {
  font-family: 'Syne', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fg);
}

.primary-nav {
  display: none;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
@media (min-width: 1024px) { .primary-nav { display: flex; } }

.primary-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-fg);
  transition: color 0.3s;
  position: relative;
}
.primary-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  height: 2px;
  width: 0;
  background: var(--primary);
  transition: width 0.3s;
}
.primary-nav a:hover, .primary-nav a.active { color: var(--fg); }
.primary-nav a:hover::after, .primary-nav a.active::after { width: 100%; }

.header-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}
@media (min-width: 1024px) { .header-actions { display: flex; } }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  font-family: inherit;
}
.btn-hero {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 20px hsla(0, 85%, 55%, 0.35);
}
.btn-hero:hover {
  box-shadow: 0 8px 30px hsla(0, 85%, 55%, 0.5);
  transform: translateY(-1px);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border);
  backdrop-filter: blur(4px);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.btn-lg { padding: 0.875rem 2rem; font-size: 1rem; }
.btn svg { width: 1.125rem; height: 1.125rem; }

/* Theme Toggle */
.theme-toggle {
  width: 2.25rem; height: 2.25rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--card);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  color: var(--fg);
}
.theme-toggle:hover { border-color: var(--primary); color: var(--primary); }

/* Mobile menu */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 2.5rem; height: 2.5rem;
  cursor: pointer;
  gap: 5px;
  background: none;
  border: none;
  color: var(--fg);
  position: relative;
  z-index: 110;
}
@media (min-width: 1024px) { .hamburger { display: none; } }
.hamburger span {
  display: block;
  width: 20px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: all 0.3s;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 105;
  flex-direction: column;
  padding: 5rem 1.5rem 2rem;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav ul { list-style: none; padding: 0; }
.mobile-nav li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  transition: background 0.2s;
}
.mobile-nav li a:hover, .mobile-nav li a.active {
  background: hsla(0, 85%, 55%, 0.1);
  color: var(--primary);
}
.mobile-nav-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
}

.hero-orb {
  position: absolute;
  border-radius: 9999px;
  filter: blur(80px);
  pointer-events: none;
}
.hero-orb-1 {
  top: 25%; left: 25%;
  width: 384px; height: 384px;
  background: hsla(0, 85%, 55%, 0.1);
  animation: floating 6s ease-in-out infinite;
}
.hero-orb-2 {
  bottom: 25%; right: 25%;
  width: 320px; height: 320px;
  background: hsla(0, 85%, 55%, 0.05);
  animation: floating-slow 8s ease-in-out infinite;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.015;
  background-image: radial-gradient(circle at 1px 1px, currentColor 1px, transparent 0);
  background-size: 48px 48px;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 1rem;
  max-width: 1000px;
  margin: 0 auto;
  animation: fade-in-up 0.8s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  background: hsla(0, 85%, 55%, 0.1);
  border: 1px solid hsla(0, 85%, 55%, 0.2);
  margin-bottom: 2.5rem;
  backdrop-filter: blur(4px);
}
.hero-badge .glow-dot {
  width: 6px; height: 6px;
  border-radius: 9999px;
  background: var(--primary);
  animation: glow-pulse 2s ease-in-out infinite;
  box-shadow: 0 0 6px var(--primary);
}
.hero-badge span { font-size: 0.875rem; font-weight: 500; color: var(--fg); }

.hero-title {
  margin-bottom: 2rem;
}
.hero-title .line1 {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.5rem, 8vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 0.5rem;
}
.hero-title .line2 {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.5rem, 8vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--muted-fg);
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 4rem;
}
@media (min-width: 640px) { .hero-cta { flex-direction: row; } }

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
}
.scroll-indicator span {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted-fg);
  font-weight: 500;
}
.scroll-mouse {
  width: 24px; height: 40px;
  border: 2px solid hsla(220, 10%, 45%, 0.3);
  border-radius: 9999px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.scroll-mouse-inner {
  width: 4px; height: 8px;
  background: var(--primary);
  border-radius: 9999px;
  animation: bounce-subtle 2s ease-in-out infinite;
}

.hero-bottom-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 12rem;
  background: linear-gradient(to top, var(--bg), transparent);
}

/* =====================================================
   LOGOS / CLIENTS SECTION
   ===================================================== */
.logos-section {
  padding: 4rem 1rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  background: hsla(220, 10%, 50%, 0.05);
}
.logos-section-fade-left,
.logos-section-fade-right {
  position: absolute;
  top: 0; bottom: 0;
  width: 8rem;
  z-index: 10;
  pointer-events: none;
}
.logos-section-fade-left { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.logos-section-fade-right { right: 0; background: linear-gradient(to left, var(--bg), transparent); }

.logos-title {
  text-align: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted-fg);
  font-weight: 600;
  margin-bottom: 3rem;
}
.logos-track {
  display: flex;
  gap: 2rem;
  animation: marquee-left 30s linear infinite;
  width: max-content;
}
.logos-track.reverse { animation: marquee-right 30s linear infinite; }

.logo-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 3.5rem;
  padding: 0 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  opacity: 0.7;
  transition: all 0.3s;
  cursor: pointer;
  white-space: nowrap;
}
.logo-item:hover {
  opacity: 1;
  border-color: hsla(0, 85%, 55%, 0.3);
  box-shadow: 0 4px 20px hsla(0, 85%, 55%, 0.1);
  transform: translateY(-2px);
}
.logo-item svg { width: 1.25rem; height: 1.25rem; color: var(--primary); }
.logo-item span { font-size: 0.875rem; font-weight: 600; color: var(--fg); }

/* =====================================================
   SERVICES SECTION
   ===================================================== */
.services-section {
  background: hsla(220, 10%, 50%, 0.05);
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-header h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 800;
  color: var(--fg);
  margin: 1.5rem 0 1rem;
  letter-spacing: -0.02em;
}
.section-header p {
  color: var(--muted-fg);
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  position: relative;
  padding: 2.5rem;
  border-radius: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: all 0.5s;
  cursor: pointer;
  overflow: hidden;
}
.service-card:hover {
  border-color: hsla(0, 85%, 55%, 0.3);
  transform: translateY(-8px) rotateY(2deg);
  box-shadow: 0 20px 60px hsla(0, 85%, 55%, 0.1);
}
.service-card-num {
  position: absolute;
  top: 1rem; right: 1.25rem;
  font-family: 'Syne', sans-serif;
  font-size: 4.5rem;
  font-weight: 700;
  color: hsla(0, 85%, 55%, 0.04);
  transition: color 0.5s;
  user-select: none;
  line-height: 1;
}
.service-card:hover .service-card-num { color: hsla(0, 85%, 55%, 0.07); }

.service-icon {
  width: 3.5rem; height: 3.5rem;
  border-radius: 0.875rem;
  background: hsla(0, 85%, 55%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.5s;
}
.service-card:hover .service-icon {
  background: var(--primary);
  box-shadow: 0 0 30px hsla(0, 85%, 55%, 0.3);
}
.service-icon svg { width: 1.75rem; height: 1.75rem; color: var(--primary); transition: color 0.3s; }
.service-card:hover .service-icon svg { color: #fff; }

.service-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.service-title svg {
  width: 1.25rem; height: 1.25rem;
  color: var(--muted-fg);
  opacity: 0;
  transition: all 0.3s;
  transform: translateX(-8px);
}
.service-card:hover .service-title svg { opacity: 1; transform: translateX(0); }

.service-desc { color: var(--muted-fg); line-height: 1.7; }

/* =====================================================
   PORTFOLIO SECTION
   ===================================================== */
.portfolio-section { position: relative; }

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 3rem;
}
.filter-tab {
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  font-family: inherit;
  background: var(--muted);
  color: var(--muted-fg);
}
.filter-tab.active, .filter-tab:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 15px hsla(0, 85%, 55%, 0.3);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); } }

.project-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  transition: all 0.5s;
  group: true;
}
.project-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px hsla(0,0%,0%,0.15); }

.project-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.5s;
}
.project-card:hover .project-img { transform: scale(1.05); }

.project-img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, hsla(0, 85%, 55%, 0.1) 0%, hsla(220, 20%, 10%, 0.05) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s;
}
.project-card:hover .project-img-placeholder { transform: scale(1.05); }

.project-overlay {
  position: absolute;
  top: 0; left: 0; right: 0;
  bottom: 0;
  background: linear-gradient(to top, hsla(0,0%,0%,0.9), hsla(0,0%,0%,0.3), transparent);
  opacity: 0;
  transition: opacity 0.5s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-card:hover .project-overlay { opacity: 1; }

.project-info {
  padding: 1.5rem;
}
.project-cat {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}
.project-name {
  font-family: 'Syne', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.5rem;
}
.project-desc { font-size: 0.875rem; color: var(--muted-fg); }

/* =====================================================
   STATS SECTION
   ===================================================== */
.stats-section {
  padding: 5rem 1rem;
  position: relative;
}
.stats-bg-orb {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 400px;
  background: hsla(0, 85%, 55%, 0.05);
  border-radius: 9999px;
  filter: blur(120px);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

.stat-card {
  text-align: center;
  padding: 2rem;
  border-radius: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: all 0.5s;
  position: relative;
  overflow: hidden;
}
.stat-card:hover {
  border-color: hsla(0, 85%, 55%, 0.2);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px hsla(0, 85%, 55%, 0.1);
}
.stat-icon {
  width: 3.5rem; height: 3.5rem;
  border-radius: 0.875rem;
  background: hsla(0, 85%, 55%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  transition: all 0.3s;
}
.stat-card:hover .stat-icon { background: var(--primary); }
.stat-icon svg { width: 1.5rem; height: 1.5rem; color: var(--primary); transition: color 0.3s; }
.stat-card:hover .stat-icon svg { color: #fff; }

.stat-value {
  font-family: 'Syne', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-image: var(--gradient-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-divider {
  width: 2rem; height: 2px;
  background: hsla(0, 85%, 55%, 0.2);
  margin: 0.75rem auto;
  border-radius: 9999px;
  transition: width 0.5s;
}
.stat-card:hover .stat-divider { width: 3rem; background: hsla(0, 85%, 55%, 0.4); }
.stat-label { color: var(--muted-fg); font-size: 0.875rem; font-weight: 500; }

/* =====================================================
   TESTIMONIALS SECTION
   ===================================================== */
.testimonials-section { background: hsla(220, 10%, 50%, 0.05); position: relative; overflow: hidden; }

.testimonials-carousel {
  position: relative;
  overflow: hidden;
}
.testimonials-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s ease;
}
.testimonial-card {
  flex: 0 0 100%;
  padding: 2.5rem;
  border-radius: 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  position: relative;
}
@media (min-width: 768px) {
  .testimonial-card { flex: 0 0 calc(50% - 0.75rem); }
}
@media (min-width: 1024px) {
  .testimonial-card { flex: 0 0 calc(33.333% - 1rem); }
}

.testimonial-quote {
  width: 2.5rem; height: 2.5rem;
  background: hsla(0, 85%, 55%, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.testimonial-quote svg { width: 1.25rem; height: 1.25rem; color: var(--primary); }

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
  color: hsl(45, 100%, 55%);
}
.testimonial-stars svg { width: 1rem; height: 1rem; fill: currentColor; }

.testimonial-text {
  color: var(--fg);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.testimonial-avatar {
  width: 2.5rem; height: 2.5rem;
  border-radius: 9999px;
  overflow: hidden;
  background: var(--muted);
  flex-shrink: 0;
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-name {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--fg);
}
.testimonial-role {
  font-size: 0.75rem;
  color: var(--muted-fg);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}
.carousel-btn {
  width: 2.5rem; height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--card);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  color: var(--fg);
}
.carousel-btn:hover { border-color: var(--primary); color: var(--primary); }
.carousel-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 9999px;
  background: var(--border);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  padding: 0;
}
.carousel-dot.active { width: 24px; background: var(--primary); }

/* =====================================================
   BLOG SECTION
   ===================================================== */
.blog-section { background: hsla(220, 10%, 50%, 0.05); position: relative; }

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }

.blog-card {
  border-radius: 1rem;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  transition: all 0.5s;
}
.blog-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px hsla(0,0%,0%,0.1); border-color: hsla(0, 85%, 55%, 0.2); }

.blog-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.5s;
}
.blog-card:hover .blog-img { transform: scale(1.05); }
.blog-img-container { overflow: hidden; position: relative; }

.blog-content { padding: 1.5rem; }
.blog-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}
.blog-cat {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: hsla(0, 85%, 55%, 0.1);
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.blog-meta-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--muted-fg);
}
.blog-meta-item svg { width: 0.875rem; height: 0.875rem; }

.blog-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.75rem;
  line-height: 1.4;
  transition: color 0.3s;
}
.blog-card:hover .blog-title { color: var(--primary); }
.blog-excerpt { font-size: 0.875rem; color: var(--muted-fg); line-height: 1.6; margin-bottom: 1rem; }

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  transition: gap 0.3s;
}
.blog-card:hover .blog-read-more { gap: 0.625rem; }
.blog-read-more svg { width: 1rem; height: 1rem; }

/* =====================================================
   FAQ SECTION
   ===================================================== */
.faq-section { max-width: 56rem; margin: 0 auto; }

.faq-list { display: flex; flex-direction: column; gap: 1rem; }

.faq-item {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item.open { border-color: hsla(0, 85%, 55%, 0.3); }

.faq-trigger {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  text-align: left;
}
.faq-question {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  color: var(--fg);
  font-size: 0.9375rem;
}
.faq-icon {
  flex-shrink: 0;
  width: 1.5rem; height: 1.5rem;
  border-radius: 50%;
  background: hsla(0, 85%, 55%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  color: var(--primary);
}
.faq-item.open .faq-icon {
  background: var(--primary);
  color: #fff;
  transform: rotate(45deg);
}
.faq-icon svg { width: 0.875rem; height: 0.875rem; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s;
}
.faq-item.open .faq-answer { max-height: 500px; }

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--muted-fg);
  line-height: 1.7;
}

/* =====================================================
   CTA SECTION
   ===================================================== */
.cta-section { padding: 5rem 1rem; position: relative; overflow: hidden; }
.cta-bg-orb {
  position: absolute;
  border-radius: 9999px;
  filter: blur(120px);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  padding: 4rem 2rem;
  text-align: center;
}
@media (min-width: 768px) { .cta-inner { padding: 5rem 3rem; } }

.cta-bg-dark { background: var(--secondary); }
.dark-mode .cta-bg-dark { background: hsl(220, 18%, 14%); }

.cta-orb {
  position: absolute;
  border-radius: 9999px;
  filter: blur(80px);
  pointer-events: none;
}
.cta-orb-1 { top: -5rem; left: -5rem; width: 20rem; height: 20rem; background: hsla(0, 85%, 55%, 0.15); }
.cta-orb-2 { bottom: -5rem; right: -5rem; width: 18rem; height: 18rem; background: hsla(0, 85%, 55%, 0.1); }

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  background: hsla(0, 85%, 55%, 0.2);
  border: 1px solid hsla(0, 85%, 55%, 0.3);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}
.cta-badge svg { width: 0.875rem; height: 0.875rem; }

.cta-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}
.cta-desc {
  color: hsla(0, 0%, 100%, 0.75);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  position: relative;
  z-index: 2;
}
.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}
@media (min-width: 640px) { .cta-actions { flex-direction: row; } }

/* =====================================================
   PARTNERS SECTION (reverse marquee)
   ===================================================== */
.partners-section {
  padding: 4rem 1rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  background: hsla(220, 10%, 50%, 0.05);
}

/* =====================================================
   CONTACT SECTION
   ===================================================== */
.contact-section { position: relative; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

.contact-info { display: flex; flex-direction: column; gap: 2rem; }

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-info-icon {
  width: 3rem; height: 3rem;
  border-radius: 0.75rem;
  background: hsla(0, 85%, 55%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon svg { width: 1.25rem; height: 1.25rem; color: var(--primary); }
.contact-info-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-fg); font-weight: 600; margin-bottom: 0.25rem; }
.contact-info-value { font-weight: 600; color: var(--fg); }

.contact-form {
  padding: 2.5rem;
  border-radius: 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
}

.form-group { margin-bottom: 1.25rem; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.375rem;
}
.form-input, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--fg);
  font-family: inherit;
  font-size: 0.875rem;
  transition: all 0.3s;
  outline: none;
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px hsla(0, 85%, 55%, 0.15);
}
.form-textarea { min-height: 120px; resize: vertical; }

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background: hsla(220, 10%, 50%, 0.05);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.footer-newsletter {
  border-bottom: 1px solid var(--border);
  padding: 3rem 1.5rem;
}
.footer-newsletter-inner {
  max-width: 56rem;
  margin: 0 auto;
  padding: 2.5rem;
  border-radius: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}
@media (min-width: 768px) {
  .footer-newsletter-inner { flex-direction: row; align-items: center; }
}
.newsletter-text h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.375rem;
}
.newsletter-text p { color: var(--muted-fg); font-size: 0.875rem; }
.newsletter-form {
  display: flex;
  gap: 0.75rem;
  flex-direction: column;
  width: 100%;
}
@media (min-width: 640px) {
  .newsletter-form { flex-direction: row; }
  .newsletter-form { width: auto; min-width: 360px; }
}
.newsletter-input {
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--fg);
  font-family: inherit;
  font-size: 0.875rem;
  transition: border-color 0.3s;
  outline: none;
  flex: 1;
}
.newsletter-input:focus { border-color: var(--primary); }
.newsletter-btn {
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-family: inherit;
  font-size: 0.875rem;
  cursor: pointer;
  border: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s;
  white-space: nowrap;
}
.newsletter-btn:hover { background: hsl(0, 85%, 48%); box-shadow: 0 4px 15px hsla(0, 85%, 55%, 0.3); }
.newsletter-btn svg { width: 1rem; height: 1rem; }

.footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 3rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 640px) { .footer-main { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-main { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-brand .footer-desc {
  color: var(--muted-fg);
  font-size: 0.875rem;
  line-height: 1.7;
  margin: 1rem 0 1.5rem;
  max-width: 280px;
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--muted-fg);
  margin-bottom: 0.625rem;
}
.footer-contact-item svg { width: 1rem; height: 1rem; color: var(--primary); flex-shrink: 0; }

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.social-link {
  width: 2.25rem; height: 2.25rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  color: var(--muted-fg);
}
.social-link:hover { border-color: var(--primary); color: var(--primary); background: hsla(0, 85%, 55%, 0.1); }
.social-link svg { width: 1rem; height: 1rem; }

.footer-col-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--fg);
  margin-bottom: 1.25rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.625rem; }
.footer-links a {
  font-size: 0.875rem;
  color: var(--muted-fg);
  display: flex;
  align-items: center;
  gap: 0.375rem;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--primary); }
.footer-links a svg { width: 0.75rem; height: 0.75rem; opacity: 0; transition: opacity 0.3s; }
.footer-links a:hover svg { opacity: 1; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }
.footer-bottom p { font-size: 0.8125rem; color: var(--muted-fg); }
.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}
.footer-bottom-links a { font-size: 0.8125rem; color: var(--muted-fg); transition: color 0.3s; }
.footer-bottom-links a:hover { color: var(--primary); }

/* =====================================================
   BACK TO TOP
   ===================================================== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 2.75rem; height: 2.75rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px hsla(0, 85%, 55%, 0.4);
  transition: all 0.3s;
  opacity: 0;
  pointer-events: none;
  z-index: 99;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 8px 25px hsla(0, 85%, 55%, 0.5); }
.back-to-top svg { width: 1.125rem; height: 1.125rem; }

/* =====================================================
   LOADING SCREEN
   ===================================================== */
.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
  transition: opacity 0.5s;
}
.loading-screen.hidden { opacity: 0; pointer-events: none; }
.loading-spinner {
  width: 3rem; height: 3rem;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.loading-text {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-image: var(--gradient-primary);
}

/* =====================================================
   INNER PAGES
   ===================================================== */
.page-hero {
  padding: 9rem 1.5rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 1rem;
}
.page-hero p {
  color: var(--muted-fg);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.0625rem;
}

.wp-content { padding: 3rem 1.5rem; max-width: 800px; margin: 0 auto; }
.wp-content p { margin-bottom: 1rem; line-height: 1.8; color: var(--muted-fg); }
.wp-content h2 { font-family: 'Syne', sans-serif; font-size: 1.5rem; font-weight: 700; margin: 2rem 0 0.75rem; color: var(--fg); }

/* =====================================================
   PARTICLES BG (pseudo)
   ===================================================== */
.particle-bg {
  background-image:
    radial-gradient(1px 1px at 20% 30%, hsla(0,85%,55%,0.15) 0%, transparent 100%),
    radial-gradient(1px 1px at 75% 15%, hsla(0,85%,55%,0.1) 0%, transparent 100%),
    radial-gradient(1px 1px at 60% 80%, hsla(0,85%,55%,0.1) 0%, transparent 100%),
    radial-gradient(1px 1px at 10% 60%, hsla(0,85%,55%,0.08) 0%, transparent 100%),
    radial-gradient(1px 1px at 90% 50%, hsla(0,85%,55%,0.08) 0%, transparent 100%);
}

/* =====================================================
   WORDPRESS SPECIFIC
   ===================================================== */
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin: 0 auto 1rem; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.8125rem; color: var(--muted-fg); margin-top: 0.375rem; }

/* Single post / page */
.entry-content { max-width: 800px; margin: 0 auto; padding: 2rem 1.5rem 4rem; }
.entry-content p, .entry-content li { line-height: 1.8; color: var(--muted-fg); margin-bottom: 1rem; }
.entry-content h2, .entry-content h3 { font-family: 'Syne', sans-serif; font-weight: 700; color: var(--fg); margin: 2rem 0 0.75rem; }
.entry-content a { color: var(--primary); }
.entry-content img { border-radius: 0.75rem; margin: 1.5rem 0; }
.entry-content blockquote {
  border-left: 3px solid var(--primary);
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--muted-fg);
}

/* Gutenberg */
.wp-block-image img { border-radius: 0.75rem; }
.wp-block-quote { border-left: 3px solid var(--primary); padding-left: 1.5rem; }

/* Comments */
.comments-area { max-width: 800px; margin: 0 auto; padding: 2rem 1.5rem; }
.comment-form input, .comment-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--fg);
  font-family: inherit;
  margin-bottom: 1rem;
  outline: none;
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--primary); }
.comment-form .submit {
  background: var(--gradient-primary);
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 0.75rem;
  border: none;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.3s;
}
.comment-form .submit:hover { opacity: 0.9; }

/* Pagination */
.nav-links { display: flex; gap: 0.5rem; justify-content: center; padding: 2rem 1rem; }
.page-numbers {
  padding: 0.5rem 0.875rem;
  border-radius: 0.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--fg);
  transition: all 0.3s;
}
.page-numbers.current, .page-numbers:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* =====================================================
   CAREER PAGE
   ===================================================== */
.jobs-list { display: flex; flex-direction: column; gap: 1rem; }
.job-card {
  padding: 1.75rem;
  border-radius: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all 0.4s;
}
@media (min-width: 768px) {
  .job-card { flex-direction: row; align-items: center; justify-content: space-between; }
}
.job-card:hover { border-color: hsla(0,85%,55%,0.3); box-shadow: 0 8px 30px hsla(0,85%,55%,0.08); transform: translateX(4px); }
.job-tag {
  display: inline-flex; align-items: center; gap: 0.25rem;
  padding: 0.25rem 0.75rem; border-radius: 9999px;
  font-size: 0.75rem; font-weight: 600;
  background: hsla(0,85%,55%,0.1); color: var(--primary);
  border: 1px solid hsla(0,85%,55%,0.2);
}
.job-tag svg { width: 0.75rem; height: 0.75rem; }

/* Benefits grid */
.benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .benefits-grid { grid-template-columns: repeat(4, 1fr); } }
.benefit-card {
  padding: 1.5rem; border-radius: 1rem;
  background: var(--card); border: 1px solid var(--border);
  text-align: center; transition: all 0.4s;
}
.benefit-card:hover { border-color: hsla(0,85%,55%,0.2); transform: translateY(-4px); }

/* =====================================================
   MODAL / DIALOG
   ===================================================== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: hsla(0,0%,0%,0.7); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center; padding: 1rem;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--card); border: 1px solid var(--border); border-radius: 1.25rem;
  width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto;
  padding: 2rem; position: relative; animation: fade-in-scale 0.3s ease-out;
}
.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--muted); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted-fg); transition: all 0.2s;
}
.modal-close:hover { background: var(--primary); color: #fff; }
.modal-close svg { width: 1rem; height: 1rem; }
.modal-title { font-family: 'Syne',sans-serif; font-size: 1.375rem; font-weight: 700; color: var(--fg); margin-bottom: 0.375rem; }
.modal-subtitle { font-size: 0.875rem; color: var(--muted-fg); margin-bottom: 1.5rem; }

/* =====================================================
   PRIVACY / TERMS PAGES
   ===================================================== */
.legal-content {
  max-width: 800px; margin: 0 auto; padding: 3rem 1.5rem;
}
.legal-content h2 {
  font-family: 'Syne',sans-serif; font-size: 1.375rem; font-weight: 700;
  color: var(--fg); margin: 2.5rem 0 0.75rem; padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}
.legal-content h2:first-of-type { border-top: none; margin-top: 0; }
.legal-content p, .legal-content li { color: var(--muted-fg); line-height: 1.8; margin-bottom: 0.75rem; }
.legal-content ul, .legal-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-content a { color: var(--primary); }
.legal-content strong { color: var(--fg); font-weight: 600; }

/* =====================================================
   TOAST NOTIFICATIONS
   ===================================================== */
.toast-container {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 500;
  display: flex; flex-direction: column; gap: 0.75rem;
  pointer-events: none;
}
.toast {
  display: flex; align-items: center; gap: 0.875rem;
  padding: 0.875rem 1.25rem; border-radius: 0.875rem;
  background: var(--card); border: 1px solid var(--border);
  box-shadow: 0 8px 30px hsla(0,0%,0%,0.15);
  min-width: 280px; max-width: 420px;
  pointer-events: auto;
  animation: slide-in-right 0.35s ease-out;
}
.toast.success { border-color: hsla(142,72%,40%,0.4); }
.toast.error   { border-color: hsla(0,85%,55%,0.4); }
.toast-icon { flex-shrink: 0; width: 1.375rem; height: 1.375rem; }
.toast.success .toast-icon { color: hsl(142,72%,40%); }
.toast.error   .toast-icon { color: var(--primary); }
.toast-text { flex: 1; }
.toast-title { font-weight: 700; font-size: 0.875rem; color: var(--fg); }
.toast-desc   { font-size: 0.8rem; color: var(--muted-fg); margin-top: 0.125rem; }
.toast-dismiss { background: none; border: none; cursor: pointer; color: var(--muted-fg); padding: 0.125rem; }
.toast-dismiss:hover { color: var(--fg); }
.toast-dismiss svg { width: 1rem; height: 1rem; }
@keyframes slide-in-right {
  from { opacity: 0; transform: translateX(100%); }
  to   { opacity: 1; transform: translateX(0); }
}

/* =====================================================
   TIMELINE
   ===================================================== */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: ''; position: absolute; left: 0.5rem; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, var(--primary), transparent);
}
.timeline-item { position: relative; padding-bottom: 2.5rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute; left: -1.6rem; top: 0.25rem;
  width: 1rem; height: 1rem; border-radius: 50%;
  background: var(--primary); border: 3px solid var(--bg);
  box-shadow: 0 0 12px hsla(0,85%,55%,0.4);
}
.timeline-year {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--primary); margin-bottom: 0.25rem;
}
.timeline-title {
  font-family: 'Syne',sans-serif; font-weight: 700; color: var(--fg);
  margin-bottom: 0.25rem;
}
.timeline-desc { font-size: 0.875rem; color: var(--muted-fg); }

/* =====================================================
   FILE UPLOAD BUTTON
   ===================================================== */
.file-upload-btn {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1rem; border-radius: 0.75rem;
  border: 2px dashed var(--border); background: var(--bg);
  cursor: pointer; transition: all 0.3s; width: 100%;
  color: var(--muted-fg); font-size: 0.875rem;
}
.file-upload-btn:hover { border-color: var(--primary); color: var(--primary); }
.file-upload-btn svg { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.file-chosen { color: var(--fg); font-weight: 500; }

/* =====================================================
   BREADCRUMB
   ===================================================== */
.breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.8125rem; color: var(--muted-fg); padding: 0.75rem 0;
}
.breadcrumb a { color: var(--muted-fg); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb-sep { color: var(--border); }
.breadcrumb-current { color: var(--fg); font-weight: 600; }

/* =====================================================
   PARTICLE DRIFT ANIMATION (enhanced)
   ===================================================== */
@keyframes particle-drift {
  0%   { background-position: 0 0, 0 0, 0 0, 0 0, 0 0; }
  100% { background-position: 120px 120px, -180px 180px, 150px -150px, -200px 200px, 160px -160px; }
}
.particle-bg {
  position: relative;
}
.particle-bg::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    radial-gradient(circle at 20% 30%, hsla(0,85%,55%,0.08) 1px, transparent 1px),
    radial-gradient(circle at 80% 20%, hsla(0,85%,55%,0.06) 1px, transparent 1px),
    radial-gradient(circle at 40% 70%, hsla(0,85%,55%,0.05) 1px, transparent 1px),
    radial-gradient(circle at 60% 50%, hsla(0,85%,55%,0.07) 1px, transparent 1px),
    radial-gradient(circle at 90% 80%, hsla(0,85%,55%,0.04) 1px, transparent 1px);
  background-size: 120px 120px, 180px 180px, 150px 150px, 200px 200px, 160px 160px;
  animation: particle-drift 20s linear infinite;
}

/* =====================================================
   CUSTOM SCROLLBAR
   ===================================================== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--muted); }
::-webkit-scrollbar-thumb { background: hsla(220,10%,45%,0.5); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* =====================================================
   DARK MODE TEXT-OUTLINE ADJUSTMENT
   ===================================================== */
.dark-mode .text-outline {
  -webkit-text-stroke: 2px hsl(0, 0%, 70%);
}

/* =====================================================
   SHIMMER SKELETON LOADER
   ===================================================== */
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skeleton {
  background: linear-gradient(90deg, var(--muted) 25%, hsla(220,10%,85%,0.5) 50%, var(--muted) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 0.5rem;
}

/* =====================================================
   SECTION TRANSITIONS (page-level)
   ===================================================== */
.page-transition-enter { animation: fade-in-up 0.5s ease-out; }

/* Glow dot */
.glow-dot {
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 6px var(--primary);
  animation: glow-pulse 2s ease-in-out infinite;
}

/* Section dividers */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* Card shine effect */
.card-shine {
  position: relative;
  overflow: hidden;
}
.card-shine::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, hsla(0,0%,100%,0.03), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s;
}
.card-shine:hover::after { left: 150%; }
