/* ==========================================================================
   DESIGN SYSTEM - AZIENDA SOLUTION (GREEN IT TECH - THÈME CLAIR PREMIUM)
   ========================================================================== */

@import url('https://api.fontshare.com/v2/css?f%5B%5D=satoshi@300,301,400,401,500,501,700,701,900,901&f%5B%5D=cabinet-grotesk@400,500,700,900&display=swap');

:root {
  /* Color Palette (Thème Clair) */
  --bg-dark: #ffffff;
  --bg-darker: #f8fafc;        /* Slate 50 */
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: rgba(255, 255, 255, 0.98);
  --bg-admin-sidebar: #0f172a;  /* Keep admin sidebar dark for high-end feel */
  
  --primary: #10b981;          /* Emerald Green */
  --primary-rgb: 16, 185, 129;
  --primary-hover: #059669;
  --primary-light: #34d399;
  
  --secondary: #0ea5e9;        /* Sky Blue Tech */
  --secondary-rgb: 14, 165, 233;
  
  --accent: #84cc16;           /* Lime Green Nature */
  
  --text-main: #1e293b;        /* Slate 800 (très lisible) */
  --text-muted: #64748b;       /* Slate 500 */
  --text-dark: #0f172a;        /* Slate 900 */
  
  --border-color: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(16, 185, 129, 0.25);
  
  --shadow-glow: 0 10px 30px -10px rgba(16, 185, 129, 0.12);
  --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
  --shadow-card-large: 0 20px 40px -15px rgba(0, 0, 0, 0.08);
  
  /* Tinted section backgrounds */
  --bg-teal-tint: rgba(16, 185, 129, 0.04);    /* Soft emerald wash */
  --bg-sky-tint: rgba(14, 165, 233, 0.04);     /* Soft sky wash */
  --bg-lime-tint: rgba(132, 204, 22, 0.05);    /* Subtle lime accent */
  
  --glass-blur: blur(16px);
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s ease;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Satoshi', sans-serif;
  background-color: var(--bg-darker);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cabinet Grotesk', sans-serif;
  color: var(--text-dark);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
  background: rgba(16, 185, 129, 0.25);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(16, 185, 129, 0.5);
}

/* ==========================================================================
   LAYOUT & UTILITIES
   ========================================================================== */

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

.section {
  padding: 8rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  color: var(--primary);
  font-family: 'Cabinet Grotesk', sans-serif;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  color: var(--text-dark);
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.125rem;
}

/* Section Tinted Backgrounds - Break White Monotony */
.section--teal {
  background: linear-gradient(160deg, rgba(16, 185, 129, 0.05) 0%, rgba(14, 165, 233, 0.03) 100%);
  border-top: 1px solid rgba(16, 185, 129, 0.1);
  border-bottom: 1px solid rgba(16, 185, 129, 0.1);
}

.section--sky {
  background: linear-gradient(160deg, rgba(14, 165, 233, 0.05) 0%, rgba(16, 185, 129, 0.03) 100%);
  border-top: 1px solid rgba(14, 165, 233, 0.1);
  border-bottom: 1px solid rgba(14, 165, 233, 0.1);
}

.section--slate {
  background-color: #f1f5f9; /* Slate 100 */
  border-top: 1px solid rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.section--dark-band {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
}

.section--dark-band .section-title,
.section--dark-band h2,
.section--dark-band h3 {
  color: #ffffff;
}

.section--dark-band .section-desc,
.section--dark-band p {
  color: rgba(203, 213, 225, 0.85);
}

.section--dark-band .section-subtitle {
  color: var(--primary-light);
}

/* Subtle decorative top-border accent */
.section--accented::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 0 0 4px 4px;
}

/* Glassmorphism Panel (Clair) */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  border-radius: 16px;
  transition: var(--transition-smooth);
}

.glass-panel:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
  background: var(--bg-card-hover);
}

/* Accent Gradients Backgrounds */
.mesh-glow {
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, rgba(14, 165, 233, 0.03) 60%, transparent 100%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
}

.btn-secondary {
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.btn-secondary:hover {
  background: var(--bg-darker);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-danger {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.btn-danger:hover {
  background: #ef4444;
  color: #ffffff;
}

/* ==========================================================================
   HEADER / NAVIGATION & DROPDOWN
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.header.scrolled {
  padding: 0.75rem 0;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

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

.logo {
  display: flex;
  align-items: center;
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  gap: 0.5rem;
}

.logo span {
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 550;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
  cursor: pointer;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-dark);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Dropdown Menu CSS */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.dropdown-toggle svg {
  transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle svg {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  width: 250px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--shadow-card-large);
  padding: 0.75rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 100;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(5px);
}

.dropdown-item {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  transition: var(--transition-fast);
}

.dropdown-item strong {
  color: var(--text-dark);
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

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

.dropdown-item:hover {
  background: var(--bg-darker);
  color: var(--primary);
}

.dropdown-item:hover strong {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 101;
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background-color: var(--text-dark);
  transition: var(--transition-smooth);
}

/* ==========================================================================
   HERO SECTION - DIAPORAMA (SLIDESHOW)
   ========================================================================== */

.hero-section {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}

/* Diaporama Styles */
.hero-carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 0;
  transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  background-size: cover;
  background-position: center;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Dark overlay for rich slide visuals */
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.5) 0%, rgba(15, 23, 42, 0.8) 100%);
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 720px;
  text-align: left;
  margin: 0;
  padding-left: 0.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #a3e635; /* Neon lime for green popup on dark slide background */
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
  gap: 0.5rem;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.hero-title {
  font-size: 4.25rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #ffffff; /* Contrast on slideshow */
}

.hero-title span {
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.2rem;
  color: rgba(203, 213, 225, 0.92); /* White-slate on slideshow */
  margin-bottom: 3rem;
  max-width: 560px;
  margin-left: 0;
  margin-right: 0;
}

.hero-actions {
  display: flex;
  justify-content: flex-start;
  gap: 1.5rem;
}

/* Hero indicator dots */
.hero-dots {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 10;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.hero-dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--primary);
}

/* ==========================================================================
   SERVICES GRID & COMPONENT STYLING
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.service-card {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.15);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: #ffffff;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

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

.service-link {
  margin-top: auto;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.service-link svg {
  transition: var(--transition-fast);
}

.service-card:hover .service-link svg {
  transform: translateX(5px);
}

/* ==========================================================================
   IMPACT & KEY NUMBERS
   ========================================================================== */

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
  text-align: center;
}

.impact-card {
  padding: 2.5rem 1.5rem;
}

/* Dark-band override for impact cards */
.section--dark-band .glass-panel {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.section--dark-band .glass-panel:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.section--dark-band .impact-label {
  color: rgba(255, 255, 255, 0.9);
}

.section--dark-band .impact-desc {
  color: rgba(148, 163, 184, 0.9);
}

.impact-number {
  font-size: 3.5rem;
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.impact-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.impact-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ==========================================================================
   ADDITIONAL IMAGE ZONES (HOMEPAGE)
   ========================================================================== */

.image-text-block {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: center;
}

.image-text-block.reversed {
  grid-template-columns: 1fr 1.2fr;
}

@media (min-width: 1025px) {
  #eco-commitment .image-text-block.reversed {
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
  }
}

.glass-image-frame {
  padding: 1rem;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card-large);
  overflow: hidden;
}

.glass-image-frame img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  transition: var(--transition-smooth);
}

.glass-image-frame:hover img {
  transform: scale(1.02);
}

/* Eco showcase: glowing blob + floating emoji badges around the image */
.eco-image-showcase {
  position: relative;
}

.eco-glow-blob {
  position: absolute;
  inset: -12%;
  background:
    radial-gradient(circle at 25% 20%, rgba(16, 185, 129, 0.28), transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(14, 165, 233, 0.22), transparent 60%),
    radial-gradient(circle at 50% 100%, rgba(132, 204, 22, 0.15), transparent 60%);
  filter: blur(50px);
  z-index: -1;
  border-radius: 40px;
  animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.eco-emoji-badge {
  position: absolute;
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-color);
  animation: float 6s ease-in-out infinite;
}

.eco-emoji-badge--1 { top: -1.25rem; left: -1.25rem; animation-delay: 0s; }
.eco-emoji-badge--2 { top: 12%; right: -1.5rem; animation-delay: 1.5s; }
.eco-emoji-badge--3 { bottom: 14%; left: -1.75rem; animation-delay: 3s; }
.eco-emoji-badge--4 { bottom: -1.25rem; right: 14%; animation-delay: 4.5s; }

@media (max-width: 768px) {
  .eco-emoji-badge {
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1.25rem;
  }
  .eco-emoji-badge--1 { top: -0.75rem; left: -0.75rem; }
  .eco-emoji-badge--2 { right: -0.75rem; }
  .eco-emoji-badge--3 { left: -0.75rem; }
  .eco-emoji-badge--4 { bottom: -0.75rem; right: 8%; }
}

/* ==========================================================================
   CAROUSEL / TESTIMONIALS
   ========================================================================== */

.testimonial-wrapper {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial-slider {
  overflow: hidden;
  position: relative;
  min-height: 320px;
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(100px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2.5rem;
}

.testimonial-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  position: relative;
}

.testimonial-quote {
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 400;
  color: var(--text-main);
  margin-bottom: 2rem;
  position: relative;
}

.testimonial-quote::before, .testimonial-quote::after {
  font-size: 3rem;
  color: rgba(16, 185, 129, 0.15);
  font-family: Georgia, serif;
  position: absolute;
}

.testimonial-quote::before {
  content: '“';
  left: -2rem;
  top: -1.5rem;
}

.testimonial-quote::after {
  content: '”';
  right: -2rem;
  bottom: -2.5rem;
}

.testimonial-user {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.testimonial-name {
  font-weight: 600;
  font-size: 1.1rem;
}

.testimonial-role {
  font-size: 0.875rem;
  color: var(--primary);
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: #ffffff;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: var(--transition-fast);
}

.slider-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  transform: scale(1.05);
}

/* ==========================================================================
   TEAM SHOWCASE
   ========================================================================== */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.team-card {
  overflow: hidden;
  text-align: center;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 0;
}

.team-avatar-wrapper {
  height: 250px;
  width: 100%;
  position: relative;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(14, 165, 233, 0.05) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-avatar {
  font-size: 5rem;
  user-select: none;
}

.team-info {
  padding: 2rem;
}

.team-name {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.team-role {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.team-bio {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* ==========================================================================
   TEAM SLIDER V2 (Circular photos + slider)
   ========================================================================== */

.team-slider-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
}

.team-slider-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.team-slide {
  min-width: 100%;
  padding: 0.5rem;
}

.team-card-v2 {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  overflow: hidden;
  padding: 0;
  min-height: 340px;
}

.team-avatar-circle {
  width: 100%;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.06) 0%, rgba(14, 165, 233, 0.06) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--border-color);
  padding: 2.5rem;
}

.team-avatar-circle img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ffffff;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.15), 0 0 0 6px rgba(16, 185, 129, 0.08);
  transition: var(--transition-smooth);
}

.team-card-v2:hover .team-avatar-circle img {
  box-shadow: 0 15px 40px rgba(16, 185, 129, 0.25), 0 0 0 6px rgba(16, 185, 129, 0.15);
  transform: scale(1.03);
}

.team-info-v2 {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.team-cofounder-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--primary);
  padding: 0.25rem 0.85rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  width: fit-content;
}

.team-info-v2 .team-name {
  font-size: 1.75rem;
  margin-bottom: 0.35rem;
}

.team-info-v2 .team-role {
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.team-info-v2 .team-bio {
  font-size: 0.975rem;
  line-height: 1.7;
  max-width: 480px;
}

/* Slider Controls */
.team-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.team-slider-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: #ffffff;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: var(--transition-fast);
}

.team-slider-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  transform: scale(1.08);
}

.team-slider-dots {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.team-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.25);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.team-dot.active {
  width: 28px;
  border-radius: 5px;
  background: var(--primary);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

/* Mobile responsive for team slider */
@media (max-width: 768px) {
  .team-card-v2 {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .team-avatar-circle {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding: 2rem;
  }

  .team-avatar-circle img {
    width: 150px;
    height: 150px;
  }

  .team-info-v2 {
    padding: 2rem;
  }

  .team-info-v2 .team-name {
    font-size: 1.4rem;
  }
}

/* ==========================================================================
   BLOG GRID & LISTINGS
   ========================================================================== */

.blog-filters-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 4rem;
  align-items: center;
}

.search-box {
  width: 100%;
  max-width: 500px;
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 1rem 1.5rem 1rem 3rem;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 50px;
  color: var(--text-dark);
  font-size: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
  transition: var(--transition-smooth);
}

.search-box input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
}

.search-box svg {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.category-filters {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 550;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.blog-card-image {
  height: 200px;
  width: 100%;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.blog-card:hover .blog-card-image {
  transform: scale(1.03);
}

.blog-card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.blog-card-category {
  color: var(--primary);
  font-weight: 600;
}

.blog-card-title {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  line-height: 1.3;
  color: var(--text-dark);
}

.blog-card-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.25rem;
}

.blog-card-author {
  font-weight: 500;
  color: var(--text-dark);
}

/* ==========================================================================
   BLOG SINGLE / ARTICLE VIEW
   ========================================================================== */

.article-hero {
  height: 50vh;
  min-height: 350px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-bottom: 4rem;
  overflow: hidden;
}

.article-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.article-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, var(--bg-darker) 100%);
  z-index: 1;
}

.article-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.article-meta-large {
  display: flex;
  gap: 1.5rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.article-meta-large span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.article-title-large {
  font-size: 3.5rem;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.article-container {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
  padding: 5rem 0;
}

.article-body {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-main);
}

.article-body p {
  margin-bottom: 1.75rem;
}

.article-body h3 {
  font-size: 1.75rem;
  margin: 2.5rem 0 1.25rem 0;
  color: var(--text-dark);
}

.article-body ul, .article-body ol {
  margin-bottom: 1.75rem;
  padding-left: 2rem;
}

.article-body li {
  margin-bottom: 0.5rem;
}

.article-body blockquote {
  border-left: 4px solid var(--primary);
  padding: 1rem 1.5rem;
  background: rgba(16, 185, 129, 0.04);
  font-style: italic;
  font-size: 1.2rem;
  margin: 2.5rem 0;
  border-radius: 0 8px 8px 0;
  color: var(--text-dark);
}

.sidebar-card {
  padding: 2rem;
  margin-bottom: 2rem;
}

.sidebar-title {
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
}

.share-buttons {
  display: flex;
  gap: 1rem;
}

.share-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.share-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   ABOUT & INTERACTIVE CARBON TRACKER
   ========================================================================== */

.tracker-card {
  max-width: 650px;
  margin: 3rem auto 0 auto;
  padding: 3rem;
  background: #ffffff !important;
}

.tracker-form-group {
  margin-bottom: 2rem;
}

.tracker-form-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.tracker-select, .tracker-range {
  width: 100%;
}

.tracker-select {
  padding: 1rem;
  border-radius: 8px;
  background: var(--bg-darker);
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.tracker-select:focus {
  outline: none;
  border-color: var(--primary);
}

.tracker-range {
  -webkit-appearance: none;
  height: 6px;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.08);
  outline: none;
}

.tracker-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.tracker-range-val {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.tracker-result {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  margin-top: 2.5rem;
}

.tracker-result-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-family: 'Cabinet Grotesk', sans-serif;
  text-shadow: 0 0 15px rgba(16, 185, 129, 0.1);
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 4rem auto 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--border-color);
  transform: translateX(-50%);
}

.timeline-item {
  margin-bottom: 4rem;
  position: relative;
  width: 50%;
  padding: 0 3rem;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid #ffffff;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.timeline-year {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.timeline-card {
  padding: 2rem;
}

.timeline-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.dark-timeline::before {
  background: rgba(255, 255, 255, 0.2);
}

.dark-timeline .timeline-dot {
  border-color: #0f172a;
}

.dark-timeline .timeline-card.glass-panel {
  background: rgba(15, 23, 42, 0.7);
  border-color: rgba(255, 255, 255, 0.1);
}

.dark-timeline .timeline-card h4 {
  color: #ffffff;
}

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

/* ==========================================================================
   CONTACT FORM & SIMULATED MAP
   ========================================================================== */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  margin-top: 4rem;
}

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

.contact-info-card {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.15);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

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

.contact-form {
  padding: 3rem;
}

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

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

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

.form-input {
  width: 100%;
  padding: 0.85rem 1.25rem;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-dark);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.15);
  background: #ffffff;
}

textarea.form-input {
  height: 150px;
  resize: vertical;
}

.map-simulation {
  height: 350px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at center, rgba(16, 185, 129, 0.03) 0%, rgba(255, 255, 255, 0.9) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  margin-top: 4rem;
}

.map-grid-lines {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: 20px 20px;
  background-image: 
    linear-gradient(to right, rgba(0, 0, 0, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
  pointer-events: none;
}

.map-marker {
  position: absolute;
  width: 24px;
  height: 24px;
  background: rgba(14, 165, 233, 0.15);
  border: 2px solid var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(14, 165, 233, 0.4);
  animation: mapPulse 2s infinite;
}

.map-marker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--secondary);
}

@keyframes mapPulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.4); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 15px rgba(14, 165, 233, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(14, 165, 233, 0); }
}

/* ==========================================================================
   ADMIN LOGIN SCREEN & PANEL STYLING
   ========================================================================== */

.admin-login-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.05) 0%, var(--bg-darker) 80%);
  padding: 2rem;
}

.login-card {
  width: 100%;
  max-width: 440px;
  padding: 3.5rem;
  background: #ffffff !important;
}

.login-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.login-logo {
  display: inline-flex;
  margin-bottom: 1.5rem;
}

.login-alert {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #ef4444;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  text-align: center;
  display: none;
}

/* Backoffice Dashboard Layout */
.admin-body {
  background-color: #f1f5f9; /* Slate 100 */
}

.admin-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}

.admin-sidebar {
  background: var(--bg-admin-sidebar);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.admin-sidebar .logo {
  color: #ffffff;
}

.admin-sidebar-menu {
  list-style: none;
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.admin-menu-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  color: #94a3b8;
  border-radius: 8px;
  font-weight: 500;
  transition: var(--transition-fast);
  cursor: pointer;
}

.admin-menu-link:hover, .admin-menu-link.active {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.admin-sidebar-footer {
  margin-top: auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-main {
  padding: 3rem 4rem;
  overflow-y: auto;
}

.admin-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.admin-actions {
  display: flex;
  gap: 1rem;
}

/* Admin Dashboard Metrics */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.metric-card {
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff !important;
}

.metric-number {
  font-size: 2.25rem;
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
}

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

.metric-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.15);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

/* Admin Table Listing */
.table-container {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  background: #ffffff;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.admin-table th {
  background: var(--bg-darker);
  border-bottom: 1px solid var(--border-color);
  padding: 1.25rem 2rem;
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 600;
  color: var(--text-dark);
}

.admin-table td {
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
  vertical-align: middle;
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.table-article-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.table-article-img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border-color);
}

.table-badge {
  display: inline-flex;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(14, 165, 233, 0.08);
  color: var(--secondary);
}

.table-actions {
  display: flex;
  gap: 0.5rem;
}

.action-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: #ffffff;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.action-icon-btn:hover {
  background: var(--bg-darker);
  color: var(--text-dark);
}

.action-icon-btn.edit-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.action-icon-btn.delete-btn:hover {
  border-color: #ef4444;
  color: #ef4444;
  background: rgba(239, 68, 68, 0.05);
}

/* ==========================================================================
   MODALS / CRUD POPUP
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 3rem;
  position: relative;
  background: #ffffff !important;
  transform: translateY(50px);
  transition: var(--transition-smooth);
}

.modal-backdrop.active .modal-card {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.5rem;
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: var(--text-dark);
}

.modal-title {
  font-size: 1.75rem;
  margin-bottom: 2rem;
}

/* Cover Image Preview */
.img-preview-box {
  width: 100%;
  height: 200px;
  border-radius: 8px;
  border: 1px dashed var(--border-color);
  margin-top: 0.5rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-darker);
  position: relative;
}

.img-preview-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-preview-placeholder {
  color: var(--text-muted);
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.img-preview-placeholder svg {
  font-size: 1.5rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  background: #0f172a; /* Keep dark footer for beautiful visual contrast anchor */
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 5rem 0 2.5rem 0;
  color: #cbd5e1;
}

.footer h1, .footer h2, .footer h3, .footer h4 {
  color: #ffffff;
}

.footer-brand p {
  color: #94a3b8;
  font-size: 0.95rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  transition: var(--transition-fast);
}

.footer-social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-column h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-links li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-links li svg {
  flex-shrink: 0;
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #94a3b8;
}

/* ==========================================================================
   NAV LOGO IMAGE
   ========================================================================== */

.logo-img-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 0;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  display: block;
  margin-bottom: 1rem;
}

/* ==========================================================================
   FOOTER GRID BALANCED (3 zones: brand | links | contact)
   ========================================================================== */

.footer-grid-balanced {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
  align-items: start;
}

.footer-mid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.footer-contact .footer-links li {
  flex-direction: row;
}

/* ==========================================================================
   HERO 2-COLUMN LAYOUT (text left + visual right)
   ========================================================================== */

.hero-layout {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: calc(90vh - 100px);
  padding-top: 2rem;
}

.hero-content {
  position: relative;
  z-index: 5;
  text-align: left;
}

/* Scroll hint below buttons */
.hero-scroll-hint {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
  color: rgba(255,255,255,0.45);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Right: floating screen visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-screen-frame {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 1rem;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
  backdrop-filter: blur(10px);
  animation: float 6s ease-in-out infinite;
}

.hero-screen-img {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 12px;
  display: block;
}

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

/* Floating stat badges */
.hero-stat-badge {
  position: absolute;
  top: -1.5rem;
  right: -1.5rem;
  background: #ffffff;
  border-radius: 14px;
  padding: 0.85rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  animation: float 7s ease-in-out infinite;
  animation-delay: 1s;
}

.hero-stat-badge--bottom {
  top: auto;
  bottom: -1.5rem;
  right: auto;
  left: -1.5rem;
  animation-delay: 2s;
}

.hero-stat-icon {
  font-size: 1.4rem;
}

.hero-stat-number {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Circular team photo, orbiting the hero screen */
.hero-photo-orbit {
  position: absolute;
  top: -3.25rem;
  left: -3.75rem;
  width: 9.5rem;
  height: 9.5rem;
  z-index: 3;
  animation: float 7s ease-in-out infinite;
  animation-delay: 0.5s;
}

.hero-photo-ring {
  position: absolute;
  inset: -0.85rem;
  border-radius: 50%;
  border: 2px dashed rgba(52, 211, 153, 0.55);
  animation: spinSlow 18s linear infinite;
}

.hero-photo-ring::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  background: var(--primary-light);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 12px 3px rgba(52, 211, 153, 0.7);
}

.hero-photo-circle {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #ffffff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.hero-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (max-width: 1180px) {
  .hero-photo-orbit {
    width: 7rem;
    height: 7rem;
    top: -2rem;
    left: -2.25rem;
  }
}

/* ==========================================================================
   RESPONSIVE STYLES
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.25rem;
  }
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .hero-content {
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-scroll-hint {
    justify-content: center;
  }
  .hero-visual {
    display: none; /* hide on tablet for cleaner look */
  }
  .footer-grid-balanced {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .image-text-block {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .image-text-block.reversed {
    grid-template-columns: 1fr;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .admin-layout {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    display: none;
  }
  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: var(--glass-blur);
    flex-direction: column;
    align-items: center;
    padding-top: 4rem;
    gap: 2.5rem;
    transition: var(--transition-smooth);
    border-top: 1px solid var(--border-color);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    background: transparent;
    width: 100%;
    align-items: center;
    padding: 0;
  }
  
  .dropdown-item {
    align-items: center;
    padding: 0.5rem;
  }
  
  .dropdown:hover .dropdown-menu {
    transform: none;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }

  .footer-grid-balanced {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-mid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .timeline::before {
    left: 2rem;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 4rem;
    padding-right: 0;
  }
  
  .timeline-item:nth-child(odd), .timeline-item:nth-child(even) {
    left: 0;
    text-align: left;
  }
  
  .timeline-dot {
    left: 2rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .modal-card {
    padding: 1.5rem;
  }
  
  .admin-main {
    padding: 2rem 1.5rem;
  }
}


/* ==========================================================================
   WOW ANIMATIONS & EFFECTS
   ========================================================================== */

/* ---------- HERO PARTICLES ---------- */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% {
    opacity: 0;
    transform: translateY(0) translateX(0) scale(0.3);
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    opacity: 0;
    transform: translateY(-100vh) translateX(var(--drift, 40px)) scale(1);
  }
}

/* ---------- HERO GRADIENT MESH ---------- */
.hero-gradient-mesh {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 600px 400px at 20% 80%, rgba(16, 185, 129, 0.15), transparent),
    radial-gradient(ellipse 500px 500px at 80% 20%, rgba(14, 165, 233, 0.1), transparent),
    radial-gradient(ellipse 400px 300px at 50% 50%, rgba(132, 204, 22, 0.08), transparent);
  animation: meshShift 8s ease-in-out infinite alternate;
}

@keyframes meshShift {
  0% {
    background-position: 0% 0%, 100% 0%, 50% 50%;
    filter: hue-rotate(0deg);
  }
  50% {
    filter: hue-rotate(15deg);
  }
  100% {
    background-position: 100% 100%, 0% 100%, 50% 0%;
    filter: hue-rotate(-10deg);
  }
}

/* ---------- TYPING EFFECT ---------- */
.typing-target {
  border-right: 3px solid rgba(255, 255, 255, 0.8);
  padding-right: 4px;
}

.typing-target.typing-active {
  animation: blinkCursor 0.6s step-end infinite;
}

.typing-target.typing-done {
  border-right-color: transparent;
  animation: blinkCursorFade 0.6s step-end 3 forwards;
}

@keyframes blinkCursor {
  0%, 100% { border-right-color: rgba(255, 255, 255, 0.8); }
  50% { border-right-color: transparent; }
}

@keyframes blinkCursorFade {
  0%, 100% { border-right-color: rgba(255, 255, 255, 0.8); }
  50% { border-right-color: transparent; }
}

/* ---------- ANIMATED COUNTERS ---------- */
.impact-number {
  transition: transform 0.3s ease;
}

.impact-number.counting {
  transform: scale(1.05);
}

/* ---------- 3D TILT CARDS ---------- */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
  will-change: transform;
}

.tilt-card:hover {
  box-shadow:
    0 25px 50px -12px rgba(16, 185, 129, 0.15),
    0 0 30px rgba(16, 185, 129, 0.08);
}

.tilt-card .service-icon {
  transition: transform 0.4s ease;
  transform: translateZ(30px);
}

.tilt-card:hover .service-icon {
  transform: translateZ(40px) scale(1.15);
}

.tilt-card h3 {
  transform: translateZ(20px);
}

/* ---------- PARALLAX SECTIONS ---------- */
.parallax-section {
  will-change: transform;
}

.parallax-bg {
  transition: transform 0.1s linear;
}

/* ---------- BUTTON RIPPLE EFFECT ---------- */
.btn {
  position: relative;
  overflow: hidden;
}

.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: scale(0);
  animation: rippleExpand 0.6s ease-out forwards;
  pointer-events: none;
}

@keyframes rippleExpand {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ---------- ENHANCED HOVER MICRO-INTERACTIONS ---------- */
.service-card {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease, border-color 0.3s ease;
}

.service-card:hover {
  border-color: rgba(16, 185, 129, 0.3);
}

.service-card .service-link {
  transition: gap 0.3s ease, color 0.3s ease;
}

.service-card:hover .service-link {
  gap: 0.75rem;
  color: var(--primary);
}

.service-card .service-link svg {
  transition: transform 0.3s ease;
}

.service-card:hover .service-link svg {
  transform: translateX(4px);
}

/* Impact cards shimmer on hover */
.impact-card {
  position: relative;
  overflow: hidden;
}

.impact-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 40%,
    rgba(16, 185, 129, 0.06) 50%,
    transparent 60%
  );
  transform: translateX(-100%) rotate(0deg);
  transition: none;
}

.impact-card:hover::before {
  animation: shimmerSweep 0.8s ease forwards;
}

@keyframes shimmerSweep {
  to {
    transform: translateX(100%) rotate(0deg);
  }
}

/* Badge pulse glow */
.badge {
  animation: badgeGlow 3s ease-in-out infinite alternate;
}

@keyframes badgeGlow {
  0% { box-shadow: 0 0 8px rgba(16, 185, 129, 0.2); }
  100% { box-shadow: 0 0 20px rgba(16, 185, 129, 0.4), 0 0 40px rgba(16, 185, 129, 0.1); }
}

/* Hero stat badges float animation */
.hero-stat-badge {
  animation: floatBadge 4s ease-in-out infinite alternate;
}

.hero-stat-badge--bottom {
  animation-delay: -2s;
  animation-duration: 5s;
}

@keyframes floatBadge {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-12px); }
}

/* Nav links underline slide */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease, left 0.3s ease;
  border-radius: 1px;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
  left: 0;
}

/* Hero screen frame glow pulse */
.hero-screen-frame {
  animation: screenGlow 4s ease-in-out infinite alternate;
}

@keyframes screenGlow {
  0% { box-shadow: 0 20px 60px rgba(16, 185, 129, 0.15); }
  100% { box-shadow: 0 25px 80px rgba(16, 185, 129, 0.3), 0 0 40px rgba(14, 165, 233, 0.1); }
}

/* Scroll reveal enhanced with stagger */
.stagger-reveal > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-reveal.revealed > *:nth-child(1) { transition-delay: 0s; }
.stagger-reveal.revealed > *:nth-child(2) { transition-delay: 0.15s; }
.stagger-reveal.revealed > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-reveal.revealed > *:nth-child(4) { transition-delay: 0.45s; }

.stagger-reveal.revealed > * {
  opacity: 1;
  transform: translateY(0);
}

/* Footer social icons spin on hover */
.footer-social-link svg {
  transition: transform 0.4s ease, color 0.3s ease;
}

.footer-social-link:hover svg {
  transform: rotate(360deg) scale(1.2);
  color: var(--primary);
}

/* Testimonial slide transitions */
.testimonial-slide {
  transition: opacity 0.6s ease, transform 0.6s ease;
  transform: translateY(10px);
}

.testimonial-slide.active {
  transform: translateY(0);
}

/* Smooth section separators */
.section--teal,
.section--slate,
.section--sky,
.section--dark-band {
  position: relative;
}

.section--teal::before,
.section--slate::before,
.section--sky::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 0;
  right: 0;
  height: 80px;
  background: inherit;
  clip-path: ellipse(60% 100% at 50% 100%);
  z-index: -1;
}

/* ==========================================================================
   URL CARBON SCANNER
   ========================================================================== */

.scanner-section {
  padding: 7rem 0;
  background: linear-gradient(160deg, #0a0f1a 0%, #0f172a 40%, #132030 100%);
  position: relative;
  overflow: hidden;
}

.scanner-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 500px;
  background:
    radial-gradient(ellipse 600px 350px at 30% 40%, rgba(16, 185, 129, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 500px 300px at 70% 60%, rgba(14, 165, 233, 0.06) 0%, transparent 70%);
  pointer-events: none;
  animation: scannerGlowPulse 6s ease-in-out infinite alternate;
}

@keyframes scannerGlowPulse {
  0% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.scanner-hero-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(14, 165, 233, 0.1));
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #34d399;
  margin: 0 auto 1.5rem;
  animation: floatBadge 4s ease-in-out infinite alternate;
}

.scanner-header { text-align: center; margin-bottom: 3.5rem; }
.scanner-header .section-subtitle { color: #34d399; }
.scanner-header .section-title { color: #ffffff; }
.scanner-header .section-desc { color: rgba(203, 213, 225, 0.7); }

.scanner-trust-badges {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.scanner-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: 50px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.15);
  color: rgba(203, 213, 225, 0.6);
  font-size: 0.78rem;
  font-weight: 500;
}

.scanner-card {
  max-width: 780px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 3rem;
}

.scanner-card--glow {
  position: relative;
  border: none;
}

.scanner-card--glow::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 25px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.4), rgba(14, 165, 233, 0.2), rgba(16, 185, 129, 0.1), rgba(14, 165, 233, 0.4));
  background-size: 300% 300%;
  animation: borderGlow 4s ease infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

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

.scanner-input-row { display: flex; gap: 1rem; margin-bottom: 2rem; }

.scanner-input {
  flex: 1;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: #ffffff;
  font-size: 1rem;
  font-family: 'Satoshi', sans-serif;
  transition: var(--transition-smooth);
}

.scanner-input::placeholder { color: rgba(148, 163, 184, 0.6); }

.scanner-input:focus {
  outline: none;
  border-color: rgba(16, 185, 129, 0.5);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.scanner-btn {
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  border-radius: 12px;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Cabinet Grotesk', sans-serif;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.scanner-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(16, 185, 129, 0.35); }
.scanner-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.scanner-disclaimer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  color: rgba(203, 213, 225, 0.7);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 2rem;
}

.scanner-disclaimer svg { color: #34d399; flex-shrink: 0; }

.scanner-loading { display: none; flex-direction: column; align-items: center; gap: 1.5rem; padding: 3rem; }

.scanner-spinner {
  width: 56px;
  height: 56px;
  border: 3px solid rgba(16, 185, 129, 0.2);
  border-top-color: #10b981;
  border-radius: 50%;
  animation: scannerSpin 1s linear infinite;
}

@keyframes scannerSpin { to { transform: rotate(360deg); } }

.scanner-loading-text { color: rgba(203, 213, 225, 0.7); font-size: 1rem; }

.scanner-loading-steps { display: flex; flex-direction: column; gap: 0.5rem; width: 100%; max-width: 350px; }

.loading-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(148, 163, 184, 0.5);
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.loading-step.active { color: #34d399; }
.loading-step.done { color: rgba(203, 213, 225, 0.7); }

.step-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex-shrink: 0; }

.scanner-results { display: none; }
.results-header { text-align: center; margin-bottom: 2.5rem; }

.results-url-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 50px;
  padding: 0.35rem 1rem;
  color: #34d399;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1rem;
  word-break: break-all;
  max-width: 500px;
}

.results-grade {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  margin: 0 auto 1rem;
}

.grade-A { background: rgba(16, 185, 129, 0.2); color: #10b981; border: 3px solid #10b981; }
.grade-B { background: rgba(132, 204, 22, 0.2); color: #84cc16; border: 3px solid #84cc16; }
.grade-C { background: rgba(234, 179, 8, 0.2); color: #eab308; border: 3px solid #eab308; }
.grade-D { background: rgba(249, 115, 22, 0.2); color: #f97316; border: 3px solid #f97316; }
.grade-E, .grade-F { background: rgba(239, 68, 68, 0.2); color: #ef4444; border: 3px solid #ef4444; }

.results-title { font-family: 'Cabinet Grotesk', sans-serif; color: #ffffff; font-size: 1.5rem; font-weight: 700; margin-bottom: 0.35rem; }
.results-subtitle { color: rgba(203, 213, 225, 0.6); font-size: 0.95rem; }

.results-kpi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-bottom: 2rem; }

.result-kpi {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 1.5rem;
  text-align: center;
}

.result-kpi-value {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #34d399 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.result-kpi-label { color: rgba(203, 213, 225, 0.6); font-size: 0.82rem; line-height: 1.4; }

.results-recommendations {
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 14px;
  padding: 1.75rem;
  margin-bottom: 2rem;
}

.results-recommendations h4 { color: #ffffff; font-size: 1rem; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }

.rec-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }

.rec-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(203, 213, 225, 0.75);
  font-size: 0.875rem;
  line-height: 1.5;
}

.rec-list li::before { content: '→'; color: #34d399; font-size: 0.85rem; flex-shrink: 0; margin-top: 1px; }

.results-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.scanner-reset-btn {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  color: rgba(203, 213, 225, 0.8);
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  cursor: pointer;
  font-family: 'Satoshi', sans-serif;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
}

.scanner-reset-btn:hover { background: rgba(255, 255, 255, 0.12); }

@media (max-width: 640px) {
  .scanner-card { padding: 1.5rem; }
  .scanner-input-row { flex-direction: column; }
  .results-kpi-grid { grid-template-columns: 1fr; }
}

