/* ===============================
   GLOBAL UTILITIES & VARIABLES
   =============================== */
/* Lazy Loading States */
.lazy-load,
.lazy-loaded {
  opacity: 1;
}

/* Hide Preload Container */
.preload-critical {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* ===============================
   RESPONSIVE BASE STYLES
   =============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===============================
   HERO SECTION - OPTIMIZED
   =============================== */
.hero-orbit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  min-height: 80vh;
  background: var(--color-page-bg);
  max-width: 100%;
  margin: 0 auto;
  position: relative;
}

.orbit-content {
  justify-self: start;
}

.hero-title {
  text-align: left;
  font-size: clamp(1.5rem, 4vw, 4rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 550;
  color: var(--color-text-primary);
}

.line {
  display: block;
}

.highlight {
  color: var(--color-text-primary);
  position: relative;
}

.glow {
  background: var(--color-accent-1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: clamp(1rem, 1.5vw, 1.4rem);
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.6;
  max-width: 90%;
}

/* Hero Image */
.orbit-visual {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  position: relative;
}

.floating-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 20px 50px var(--shadow-medium);
}

/* Placeholder */
.floating-placeholder {
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 400px;
  aspect-ratio: 16/9;
  background: var(--color-card-bg);
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  font-size: 1.2rem;
  border: 2px dashed var(--color-border);
}

/* ===============================
   RESPONSIVE BREAKPOINTS - HERO
   =============================== */

/* Extra Large Desktop */
@media (min-width: 1920px) {
  .hero-orbit {
    padding: 8rem 10%;
    min-height: 90vh;
    max-width: 1900px;
  }

  .orbit-content {
    max-width: 700px;
  }

  .hero-title {
    font-size: clamp(3rem, 5vw, 5rem);
  }
}

/* Large Desktop */
@media (min-width: 1440px) and (max-width: 1919px) {
  .hero-orbit {
    padding: 7rem 8%;
    max-width: 1600px;
  }

  .orbit-content {
    max-width: 650px;
  }
}

/* Desktop */
@media (min-width: 1200px) and (max-width: 1439px) {
  .hero-orbit {
    padding: 5rem 5%;
    max-width: 1400px;
  }

  .orbit-content {
    max-width: 500px;
  }
  
  .floating-img,
  .floating-placeholder {
    max-height: 450px;
  }
}

/* Tablet Landscape */
@media (min-width: 901px) and (max-width: 1199px) {
  .hero-orbit {
    padding: 4rem 5%;
    gap: 3rem;
  }
  
  .hero-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
  }
  
  .hero-desc {
    font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  }
}

/* Tablet Portrait & Mobile Large */
@media (max-width: 900px) {
  .hero-orbit {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 4rem 5%;
    min-height: auto;
    gap: 3rem;
  }

  .orbit-content {
    max-width: 100%;
    justify-self: center;
  }

  .hero-title {
    text-align: center;
  }

  .hero-desc {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(1.1rem, 2vw, 1.3rem);
  }

  .orbit-visual {
    justify-self: center;
    max-width: 600px;
    order: -1;
  }

  .floating-img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
  }

  .floating-placeholder {
    max-width: 100%;
    height: 350px;
  }
}

/* Mobile Large */
@media (max-width: 768px) {
  .hero-orbit {
    padding: 3rem 4%;
    gap: 2.5rem;
  }

  .hero-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    line-height: 1.2;
  }

  .hero-desc {
    font-size: 1.1rem;
  }

  .floating-img {
    border-radius: 20px;
    max-height: 350px;
  }
  
  .floating-placeholder {
    height: 300px;
    border-radius: 20px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .hero-orbit {
    padding: 2rem 1rem;
    gap: 2rem;
  }

  .hero-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
    line-height: 1.3;
  }

  .hero-desc {
    font-size: 1rem;
    line-height: 1.5;
  }

  .floating-img {
    border-radius: 16px;
    max-height: 250px;
  }
  
  .floating-placeholder {
    height: 250px;
    border-radius: 16px;
    font-size: 1rem;
  }
}

/* Small Mobile */
@media (max-width: 360px) {
  .hero-orbit {
    padding: 1.5rem 0.75rem;
  }
  
  .hero-title {
    font-size: clamp(1.3rem, 6vw, 1.8rem);
  }
  
  .hero-desc {
    font-size: 0.95rem;
  }
  
  .floating-img {
    max-height: 200px;
  }
  
  .floating-placeholder {
    height: 200px;
  }
}

/* ===============================
   BBB SECTION
   =============================== */
.bbb-section {
  background: linear-gradient(to bottom, var(--color-page-bg) 30%, var(--color-accent-2) 30%);
  padding: 50px 20px;
  position: relative;
}

.bbb-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.bbb-item {
  display: flex;
  flex-direction: column;
  background: var(--color-card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow-light);
  text-align: left;
  border: none;
  padding: 0;
}

.bbb-banner {
  background-color: var(--color-accent-1);
  color: var(--color-text-light);
  padding: 15px 25px;
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
  text-align: center;
}

.bbb-img-wrapper {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.bbb-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bbb-content {
  padding: 25px;
}

.bbb-content p {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
  text-align: center;
  font-weight: 600;
}

/* ===============================
   RESPONSIVE BREAKPOINTS - BBB
   =============================== */

/* Desktop */
@media (min-width: 1024px) {
  .bbb-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    padding: 0 40px;
  }
  
  .bbb-item {
    height: 100%;
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
  .bbb-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0 20px;
  }
  
  .bbb-banner {
    font-size: 1.3rem;
    padding: 12px 20px;
  }

  .bbb-img-wrapper {
    height: 180px;
  }

  .bbb-content {
    padding: 20px;
  }
}

/* Mobile Large */
@media (max-width: 767px) {
  .bbb-section {
    padding: 40px 15px;
    background: linear-gradient(to bottom, var(--color-page-bg) 20%, var(--color-accent-2) 20%);
  }

  .bbb-container {
    gap: 25px;
    padding: 0 10px;
  }
  
  .bbb-banner {
    font-size: 1.25rem;
    padding: 12px 15px;
  }
  
  .bbb-img-wrapper {
    height: 200px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .bbb-section {
    padding: 30px 10px;
    background: linear-gradient(to bottom, var(--color-page-bg) 15%, var(--color-accent-2) 15%);
  }
  
  .bbb-container {
    gap: 20px;
  }
  
  .bbb-banner {
    font-size: 1.1rem;
    padding: 10px 12px;
  }
  
  .bbb-img-wrapper {
    height: 160px;
  }
  
  .bbb-content {
    padding: 15px;
  }
  
  .bbb-content p {
    font-size: 0.95rem;
  }
}

/* Small Mobile */
@media (max-width: 360px) {
  .bbb-section {
    padding: 25px 8px;
  }
  
  .bbb-banner {
    font-size: 1rem;
    padding: 8px 10px;
  }
  
  .bbb-img-wrapper {
    height: 140px;
  }
  
  .bbb-content {
    padding: 12px;
  }
  
  .bbb-content p {
    font-size: 0.9rem;
  }
}

/* ===============================
   IMPACT WAVE (Stats)
   =============================== */
.impact-wave {
  padding: 6rem 5%;
  background: var(--color-page-bg);
  text-align: center;
}

.wave-container h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 3rem;
  color: var(--color-text-primary);
}

.stats-orbit {
  display: flex;
  justify-content: center;
  gap: clamp(2rem, 6vw, 7rem);
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-orbit {
  background: var(--color-card-bg);
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1rem, 2vw, 1.5rem);
  border-radius: 20px;
  min-width: clamp(140px, 20vw, 180px);
  flex: 1;
  max-width: 220px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--color-border);
}

.count-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.count {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  display: inline-block;
  line-height: 1;
}

.plus {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1;
}

.stat-orbit p {
  margin-top: 0.75rem;
  color: var(--color-text-muted);
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  max-width: 100%;
  line-height: 1.5;
}

/* ===============================
   RESPONSIVE BREAKPOINTS - STATS
   =============================== */

/* Tablet */
@media (max-width: 768px) {
  .impact-wave {
    padding: 4rem 5%;
  }

  .stats-orbit {
    gap: 2rem;
  }

  .stat-orbit {
    padding: 1.5rem 1rem;
    min-width: calc(50% - 2rem);
    max-width: 180px;
  }

  .count {
    font-size: 2.5rem;
  }

  .plus {
    font-size: 1.5rem;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .stats-orbit {
    gap: 1.5rem;
  }
  
  .stat-orbit {
    min-width: calc(50% - 1.5rem);
    padding: 1.25rem 0.75rem;
  }
  
  .count {
    font-size: 2.25rem;
  }
  
  .plus {
    font-size: 1.75rem;
  }
  
  .stat-orbit p {
    font-size: 0.95rem;
  }
}

/* Mobile Small */
@media (max-width: 480px) {
  .impact-wave {
    padding: 3rem 4%;
  }

  .stats-orbit {
    gap: 1rem;
    flex-direction: column;
    align-items: center;
  }

  .stat-orbit {
    width: 100%;
    max-width: 250px;
    padding: 1.5rem 1rem;
    min-width: auto;
  }

  .count {
    font-size: 2.5rem;
  }

  .plus {
    font-size: 1.75rem;
  }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
  .impact-wave {
    padding: 2.5rem 3%;
  }
  
  .wave-container h2 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
  }
  
  .stat-orbit {
    padding: 1.25rem 0.75rem;
  }
  
  .count {
    font-size: 2rem;
  }
  
  .plus {
    font-size: 1.5rem;
  }
}

/* ===============================
   FOSS PHILOSOPHY
   =============================== */
.philosophy-constellation {
  padding: 6rem 5%;
  background: var(--color-page-bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.constellation-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 2rem;
  position: relative;
}

.constellation-sub-title {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--color-text-primary);
  margin-bottom: 4rem;
  max-width: min(90%, 700px);
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.constellation {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(2rem, 5vw, 7rem);
  max-width: 1400px;
  margin: 0 auto;
}

.star-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  padding: clamp(2rem, 3vw, 2.5rem) clamp(1.5rem, 2.5vw, 2rem);
  width: min(90%, 340px);
  display: flex;
  flex-direction: column;
}

.meta-wrapper {
  margin-top: auto;
  padding-top: 1.5rem;
  display: flex;
  justify-content: center;
}

.star-icon {
  font-size: clamp(1.5rem, 2vw, 1.7rem);
  color: var(--color-accent-1);
  margin-bottom: 0.8rem;
}

.star-icon-circle {
  font-size: clamp(2rem, 2.5vw, 2.2rem);
  color: var(--color-accent-1);
}

.star-card h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.35rem);
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0.75rem 0 1rem;
  line-height: 1.4;
}

.star-card p {
  font-size: clamp(0.95rem, 1.3vw, 1rem);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0 0 1.2rem;
  flex-grow: 1;
}

.meta {
  font-size: clamp(0.8rem, 1vw, 0.9rem);
  font-weight: 550;
  color: var(--color-text-primary);
  background: var(--color-border);
  padding: 8px 16px;
  border-radius: 30px;
  letter-spacing: 0.2px;
}

/* ===============================
   RESPONSIVE BREAKPOINTS - FOSS
   =============================== */

/* Tablet */
@media (max-width: 1024px) {
  .philosophy-constellation {
    padding: 5rem 5%;
  }
  
  .constellation {
    gap: 3rem;
  }
  
  .star-card {
    width: min(90%, 400px);
  }
}

/* Mobile Large */
@media (max-width: 768px) {
  .philosophy-constellation {
    padding: 4rem 4%;
  }
  
  .constellation-title {
    font-size: clamp(1.8rem, 3.5vw, 2.2rem);
    margin-bottom: 1.5rem;
  }
  
  .constellation-sub-title {
    font-size: 1.1rem;
    margin-bottom: 3rem;
  }
  
  .constellation {
    gap: 2rem;
  }
  
  .star-card {
    width: 100%;
    max-width: 420px;
    padding: 2rem 1.5rem;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .philosophy-constellation {
    padding: 3rem 3%;
  }
  
  .constellation-title {
    font-size: 1.8rem;
    margin-bottom: 1.25rem;
  }
  
  .constellation-sub-title {
    font-size: 1rem;
    margin-bottom: 2.5rem;
  }
  
  .star-card {
    padding: 1.75rem 1.25rem;
  }
  
  .star-card h3 {
    font-size: 1.25rem;
  }
  
  .star-card p {
    font-size: 0.95rem;
  }
  
  .meta {
    font-size: 0.85rem;
    padding: 6px 14px;
  }
}

/* Small Mobile */
@media (max-width: 360px) {
  .philosophy-constellation {
    padding: 2.5rem 2%;
  }
  
  .constellation-title {
    font-size: 1.6rem;
  }
  
  .constellation-sub-title {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }
  
  .star-card {
    padding: 1.5rem 1rem;
  }
  
  .star-card h3 {
    font-size: 1.2rem;
  }
  
  .star-card p {
    font-size: 0.9rem;
  }
  
  .meta {
    font-size: 0.8rem;
    padding: 5px 12px;
  }
}

/* ===============================
   PULSE SECTION (Newsletter)
   =============================== */
.pulse-section {
  padding: clamp(3rem, 6vw, 6rem) 5%;
  background: var(--color-page-bg);
  overflow-x: hidden;
}

.pulse-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
  gap: clamp(2rem, 4vw, 3rem);
  max-width: 1200px;
  margin: 0 auto;
}

/* --- Card Styles --- */
.pulse-newsletter,
.pulse-update {
  background: var(--color-card-bg);
  border-radius: 18px;
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: 0 6px 28px var(--shadow-light);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* --- Newsletter Specifics --- */
.pulse-newsletter h3 {
  font-size: clamp(1.25rem, 2vw, 1.4rem);
  margin-bottom: 0.5rem;
  color: var(--color-text-primary);
  line-height: 1.3;
}

.pulse-newsletter p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-size: clamp(0.95rem, 1.5vw, 1rem);
}

.pulse-form {
  display: flex;
  gap: 0.75rem;
  width: 100%;
}

.pulse-form input {
  flex: 1;
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 1rem;
  background: var(--color-white);
  min-width: 0;
}

.pulse-form button {
  background: var(--color-button);
  color: var(--color-text-light);
  border: none;
  padding: 0 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s ease;
  min-height: 48px;
}

.pulse-form button:hover {
  opacity: 0.9;
}

/* --- Update Card Specifics --- */
.pulse-update {
  gap: 16px;
  justify-content: flex-start;
}

.update-badge {
  background: var(--color-accent-1);
  color: var(--color-text-light);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  align-self: flex-start;
}

.update-content {
  display: flex;
  gap: clamp(1rem, 3vw, 20px);
  align-items: flex-start;
}

.update-img {
  width: clamp(100px, 15vw, 140px);
  height: clamp(100px, 15vw, 140px);
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 3px 12px var(--shadow-light);
}

.update-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.update-text {
  flex: 1;
  min-width: 0;
}

.update-text h4 a {
  text-decoration: none;
  color: var(--color-text-primary);
  font-weight: 700;
  font-size: clamp(1.1rem, 1.5vw, 1.2rem);
  line-height: 1.4;
  display: block;
}

.update-text p {
  color: var(--color-text-muted);
  margin: 0.5rem 0 1rem 0;
  font-size: clamp(0.95rem, 1.3vw, 1rem);
  line-height: 1.5;
}

.read-more {
  display: inline-flex;
  align-items: center;
  color: var(--color-accent-1);
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(0.9rem, 1.2vw, 0.95rem);
}

/* ===============================
   RESPONSIVE BREAKPOINTS - PULSE
   =============================== */

/* Tablet */
@media (max-width: 900px) {
  .pulse-section {
    padding: 4rem 4%;
  }

  .pulse-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 600px;
  }
  
  .update-content {
    gap: 1.5rem;
  }
  
  .update-img {
    width: 140px;
    height: 140px;
  }
}

/* Mobile Large */
@media (max-width: 768px) {
  .pulse-section {
    padding: 3rem 4%;
  }
  
  .pulse-newsletter h3 {
    font-size: 1.3rem;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .pulse-section {
    padding: 2.5rem 3%;
  }
  
  .pulse-newsletter, 
  .pulse-update {
    padding: 1.5rem;
  }

  .pulse-form {
    flex-direction: column;
  }

  .pulse-form button {
    width: 100%;
    padding: 1rem;
  }

  .update-content {
    flex-direction: column;
    gap: 15px;
  }

  .update-img {
    width: 100%;
    height: 180px;
  }

  .update-text h4 a {
    font-size: 1.15rem;
  }
  
  .update-text p {
    font-size: 0.95rem;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .pulse-section {
    padding: 2rem 3%;
  }
  
  .pulse-newsletter, 
  .pulse-update {
    padding: 1.25rem;
  }
  
  .pulse-newsletter h3 {
    font-size: 1.2rem;
  }
  
  .pulse-newsletter p {
    font-size: 0.95rem;
  }
  
  .update-img {
    height: 160px;
  }
}

/* Extra Small Mobile */
@media (max-width: 380px) {
  .pulse-section {
    padding: 1.5rem 2%;
  }
  
  .pulse-newsletter, 
  .pulse-update {
    padding: 1rem;
  }
  
  .pulse-newsletter h3 {
    font-size: 1.15rem;
  }
  
  .pulse-form input {
    padding: 0.75rem;
    font-size: 0.95rem;
  }
  
  .pulse-form button {
    padding: 0.75rem;
  }
  
  .update-img {
    height: 140px;
  }
  
  .update-text h4 a {
    font-size: 1.1rem;
  }
  
  .update-text p {
    font-size: 0.9rem;
  }
}

/* ===============================
   ECOSYSTEM RING (STATIC VERSION)
   =============================== */
.ecosystem-ring {
  text-align: center;
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 3vw, 2rem);
  background: var(--color-accent-2);
  position: relative;
  overflow: hidden;
}

/* Quote */
.ring-quote {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  color: var(--color-text-primary);
  font-style: italic;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  max-width: min(90%, 800px);
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  position: relative;
  padding: 0 clamp(1rem, 3vw, 2rem);
}

/* Logo Container */
.ring-logos {
  width: 100%;
  padding: 1.5rem 0;
  position: relative;
}

/* STATIC LOGO ROW */
.ring-static {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1rem, 3vw, 2rem);
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 1rem 0;
}

/* Logo Tiles */
.ring-logos a {
  flex: 0 0 calc(33.333% - clamp(1rem, 3vw, 2rem));
  max-width: clamp(120px, 20vw, 150px);
  height: clamp(60px, 10vw, 80px);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-card-bg);
  border-radius: 16px;
  padding: clamp(10px, 2vw, 15px);
  box-shadow: 0 8px 25px var(--shadow-light);
  border: 1px solid var(--color-border);
  text-decoration: none;
}

.ring-logos a img {
  max-width: 90%;
  max-height: 85%;
}

/* ===============================
   RESPONSIVE BREAKPOINTS - ECOSYSTEM
   =============================== */

/* Tablet */
@media (min-width: 768px) {
  .ring-logos a {
    flex: 0 0 calc(25% - clamp(1rem, 3vw, 2rem));
    max-width: clamp(130px, 18vw, 160px);
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .ring-logos a {
    flex: 0 0 calc(16.666% - clamp(1rem, 3vw, 2rem));
    max-width: clamp(140px, 15vw, 180px);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .ecosystem-ring {
    padding: 3rem 1rem;
  }

  .ring-quote {
    font-size: 1.25rem;
    padding: 0 1rem;
  }

  .ring-logos a {
    flex: 0 0 calc(50% - 1rem);
    max-width: 140px;
    height: 70px;
    padding: 12px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .ecosystem-ring {
    padding: 2.5rem 0.75rem;
  }
  
  .ring-quote {
    font-size: 1.1rem;
    padding: 0 0.5rem;
  }

  .ring-logos a {
    flex: 0 0 calc(50% - 0.75rem);
    width: 120px;
    height: 60px;
    padding: 10px;
  }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
  .ecosystem-ring {
    padding: 2rem 0.5rem;
  }
  
  .ring-quote {
    font-size: 1rem;
  }
  
  .ring-logos a {
    flex: 0 0 calc(50% - 0.5rem);
    width: 110px;
    height: 55px;
    padding: 8px;
  }
}

/* ===============================
   IMPACT STORIES – FINAL FIX
   =============================== */

.redesigned-stories {
  padding: clamp(3rem, 8vw, 80px) 0;
  background: var(--color-page-bg);
  text-align: center;
}

.redesigned-stories h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: var(--color-text-primary);
  font-weight: 700;
  margin-bottom: clamp(2rem, 6vw, 60px);
  padding: 0 20px;
}

/* ===============================
   BASE – MOBILE & TABLET (STACKED)
   =============================== */

.impact-static {
  display: flex;
  flex-direction: column;   /* STACK */
  align-items: center;
  gap: 32px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.impact-card {
  width: 100%;
  max-width: 420px;
  height: 360px;
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  text-decoration: none;
}

/* Image */
.impact-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay */
.impact-overlay {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-white);
  color: var(--color-text-primary);
  padding: 8px 20px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.9rem;
  opacity: 0.92;
  max-width: 90%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===============================
   DESKTOP ONLY (≥1024px)
   SINGLE ROW – NO STACK
   =============================== */

@media (min-width: 1024px) {
  .impact-static {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* ONE LINE */
    gap: 40px;
    align-items: stretch;
  }

  .impact-card {
    max-width: none;
    width: 100%;
    height: 420px;
  }
}

/* Large desktop polish */
@media (min-width: 1400px) {
  .impact-static {
    max-width: 1600px;
  }
}

/* ===============================
   RESPONSIVE BREAKPOINTS - IMPACT STORIES
   =============================== */

/* Tablet */
@media (min-width: 769px) and (max-width: 1023px) {
  .impact-static {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
  
  .impact-card {
    max-width: 420px;
    height: 360px;
  }
}

/* Mobile Large */
@media (max-width: 768px) {
  .impact-card {
    height: 320px;
    max-width: 380px;
  }
  
  .redesigned-stories h2 {
    font-size: 2rem;
    margin-bottom: 3rem;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .impact-card {
    height: 300px;
    max-width: 350px;
  }
}

/* Small Mobile */
@media (max-width: 500px) {
  .redesigned-stories {
    padding: 2.5rem 0;
  }
  
  .redesigned-stories h2 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    padding: 0 15px;
  }
  
  .impact-card {
    height: 280px;
    border-radius: 18px;
  }

  .impact-overlay {
    font-size: 0.85rem;
    padding: 8px 16px;
  }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
  .redesigned-stories h2 {
    font-size: 1.5rem;
  }
  
  .impact-card {
    height: 250px;
    border-radius: 16px;
  }
  
  .impact-overlay {
    font-size: 0.8rem;
    padding: 6px 14px;
    bottom: 12px;
  }
}

/* ==============================================
   TOOLBOX & EXPERTS SECTION
   ============================================== */
.toolbox {
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 3vw, 2rem);
  background: var(--color-page-bg);
}

.expert-tool-wrapper {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 40px);
  max-width: 1200px;
  margin: 0 auto;
}

/* Orbit containers */
.tools-orbit,
.experts-orbit {
  flex: 1;
  background: var(--color-card-bg);
  border-radius: 24px;
  padding: clamp(2rem, 4vw, 50px) clamp(1.5rem, 3vw, 30px);
  text-align: center;
  border: 1px solid var(--color-primary);
}

.orbit-header {
  margin-bottom: clamp(1.5rem, 4vw, 35px);
}

.tools-orbit h3,
.experts-orbit h3 {
  font-size: clamp(1.5rem, 3vw, 1.75rem);
  font-weight: 800;
  color: var(--color-text-primary);
}

/* ==============================================
   STATIC GRID
   ============================================== */
.static-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1rem, 2.5vw, 22px);
}

/* ==============================================
   CIRCULAR CARD (DUAL IMAGE PATTERN)
   ============================================== */
.tool-card,
.expert-card {
  width: clamp(60px, 8vw, 75px);
  height: clamp(60px, 8vw, 75px);
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0,0,0,.08);
}

/* Blurred background image (fills circle) */
.tool-card .img-bg,
.expert-card .img-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(10px);
  transform: scale(1.2);
  opacity: 0.9;
}

/* Foreground image (fully visible) */
.tool-card .img-fg,
.expert-card .img-fg {
  position: relative;
  z-index: 2;
  max-width: 70%;
  max-height: 70%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ==============================================
   FALLBACK TEXT
   ============================================== */
.tool-text {
  font-size: clamp(0.65rem, 1vw, 0.75rem);
  font-weight: 700;
  color: var(--color-text-primary);
  text-align: center;
  padding: 5px;
}

.expert-initial {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 800;
  color: var(--color-accent-2);
}

/* ==============================================
   RESPONSIVE BREAKPOINTS - TOOLBOX
   ============================================== */

/* Desktop */
@media (min-width: 901px) {
  .expert-tool-wrapper {
    flex-direction: row;
    gap: 40px;
  }
}

/* Tablet */
@media (max-width: 900px) {
  .expert-tool-wrapper {
    flex-direction: column;
  }
  
  .tools-orbit,
  .experts-orbit {
    width: 100%;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .toolbox {
    padding: 2.5rem 1rem;
  }
  
  .tools-orbit,
  .experts-orbit {
    padding: 1.5rem 1rem;
    border-radius: 20px;
  }
  
  .orbit-header {
    margin-bottom: 1.5rem;
  }
  
  .tools-orbit h3,
  .experts-orbit h3 {
    font-size: 1.5rem;
  }

  .tool-card,
  .expert-card {
    width: 65px;
    height: 65px;
  }

  .tool-card .img-fg,
  .expert-card .img-fg {
    max-width: 75%;
    max-height: 75%;
  }
  
  .static-grid {
    gap: 1rem;
  }
}

/* Small Mobile */
@media (max-width: 360px) {
  .toolbox {
    padding: 2rem 0.75rem;
  }
  
  .tools-orbit,
  .experts-orbit {
    padding: 1.25rem 0.75rem;
  }
  
  .tools-orbit h3,
  .experts-orbit h3 {
    font-size: 1.3rem;
  }
  
  .tool-card,
  .expert-card {
    width: 55px;
    height: 55px;
  }
  
  .tool-text {
    font-size: 0.6rem;
  }
  
  .expert-initial {
    font-size: 0.9rem;
  }
  
  .static-grid {
    gap: 0.75rem;
  }
}