/* --- THE NEW GRID MAPPING --- */
.final-balanced-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 200px);
  gap: 20px;
  max-width: 1500px;
  margin: 0 auto;
}

.grid-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.grid-card:hover {
  transform: translateY(-5px);
}

.grid-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.grid-card .badge {
  position: absolute;
  top: 12px;
  left: 0;
  padding: 4px 14px;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  border-radius: 0 6px 6px 0;
  z-index: 10;
}

/* Grid Areas */
.n-america { grid-area: 1 / 1 / 2 / 2; }
.europe    { grid-area: 1 / 2 / 2 / 3; }
.asia      { grid-area: 2 / 1 / 3 / 2; }
.africa    { grid-area: 2 / 2 / 3 / 3; }
.s-america { grid-area: 3 / 1 / 4 / 2; }
.australia { grid-area: 3 / 2 / 4 / 3; }

.content-tall { 
  grid-area: 1 / 3 / 4 / 5; 
  background: #111; 
  display: flex;
  align-items: center;
  justify-content: center;
}

.content-footer {
  grid-area: 4 / 1 / 5 / 5;
  background: #1a1a1a;
  display: flex;
}

/* --- RADAR & ANIMATIONS --- */
.radar-large {
  width: 80px;
  height: 80px;
  border: 2px solid #3f51b5;
  border-radius: 50%;
  position: relative;
  margin: 0 auto;
}

.radar-large::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border: 2px solid #3f51b5;
  border-radius: 50%;
  animation: ripple-large 2.5s infinite linear;
}

@keyframes ripple-large {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* --- UTILITY & RESPONSIVE GRID --- */
@media (max-width: 1024px) {
  .final-balanced-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .grid-card {
    grid-area: auto !important;
    height: 220px;
  }
  .content-tall {
    display: none;
  }
  .content-tall, .content-footer {
    grid-column: span 2 !important;
    height: auto;
    padding: 40px 0;
  }
}

.anchor-offset {
    display: block;
    position: relative;
    top: -120px; 
    visibility: hidden; 
}
.anchor-offset > div {
    visibility: visible;
    position: relative;
    top: 120px;
}

#dropdownMenu {
    display: block; 
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999;
    width: 100%;
    min-width: 260px;
    background: white;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-top: 5px;
}

.hidden { display: none !important; }

#countryList::-webkit-scrollbar { width: 5px; }
#countryList::-webkit-scrollbar-thumb {
    background: #ff5533;
    border-radius: 10px;
}

.jc-around { display: flex !important; justify-content: space-around !important; }
.jc-center { display: flex !important; justify-content: center !important; }

#country-selector .g-countries-absol-panel {
    position: absolute !important;
}

/* --- HOLOGRAPHIC SERVER MAP --- */
.server-map-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    background: #0f1110;
    background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    overflow: hidden;
    border-radius: 0.75rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.world-map-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/8/80/World_map_-_low_resolution.svg');
    background-size: 90%;
    background-position: center 30%;
    background-repeat: no-repeat;
    opacity: 0.5;
    z-index: 0; 
    pointer-events: none;
    filter: invert(1); 
}

.network-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.network-line {
    fill: none;
    stroke: #3f51b5;
    stroke-width: 1.5;
    opacity: 0.3;
}

.network-packet {
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-dasharray: 4, 100;
    stroke-dashoffset: 0;
    animation: flowPacket 3s infinite linear;
    filter: drop-shadow(0 0 2px #fff);
}

.packet-slow { animation-duration: 4s; }
.packet-fast { animation-duration: 2s; }

@keyframes flowPacket {
    to { stroke-dashoffset: -104; }
}

a.map-point {
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: #3f51b5;
    border: 2px solid #fff;
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 0 10px rgba(0, 85, 150, 0.8);
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 10px;
}

a.map-point::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; height: 100%;
    border: 1px solid #3f51b5;
    border-radius: 50%;
    animation: pulseRipple 2s infinite;
}

a.map-point:hover {
    transform: translate(-50%, -50%) scale(1.5);
    background-color: #fff;
    border-color: #3f51b5;
    box-shadow: 0 0 15px #3f51b5;
    z-index: 15;
}

a.map-point:hover .map-label {
    color: #fff;
    text-shadow: 0 0 5px #3f51b5;
}

.map-label {
    position: absolute;
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    background: #607d8b;
    padding: 2px 5px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
    white-space: nowrap;
    text-shadow: 0 1px 2px black;
}

@keyframes pulseRipple {
    0% { width: 100%; height: 100%; opacity: 1; }
    100% { width: 300%; height: 300%; opacity: 0; }
}

.map-overlay-text {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 3;
    pointer-events: none;
}

.map-overlay-text > div,
.map-overlay-text a {
    pointer-events: auto;
}

/* --- NETWORK RADAR ANIMATION --- */
.network-visualizer {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.server-core {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, #3f51b5 0%, #03004d 100%);
    border-radius: 50%;
    position: relative;
    z-index: 10;
    box-shadow: 0 0 20px rgba(0, 150, 63, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
}

.server-icon {
    font-size: 24px;
    color: white;
    animation: pulse-icon 2s infinite ease-in-out;
}

.ping-ring {
    position: absolute;
    border: 2px solid rgba(0, 150, 63, 0.3);
    border-radius: 50%;
    opacity: 0;
    animation: ripple 3s linear infinite;
}
.ping-ring:nth-child(2) { animation-delay: 1s; }
.ping-ring:nth-child(3) { animation-delay: 2s; }

.orbit-path {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    animation: rotate 10s linear infinite;
}
.orbit-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #ff5533;
    border-radius: 50%;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px #ff5533;
}

@keyframes ripple {
    0% { width: 60px; height: 60px; opacity: 0.8; border-width: 3px; }
    100% { width: 220px; height: 220px; opacity: 0; border-width: 0px; }
}
@keyframes rotate {
    100% { transform: rotate(360deg); }
}
@keyframes pulse-icon {
    0%, 100% { transform: scale(1); text-shadow: 0 0 10px white; }
    50% { transform: scale(1.1); text-shadow: 0 0 20px white; }
}

/* --- BACKGROUNDS & SECTIONS --- */
.tech-bg {
    background-color: #0f1110 !important;
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(0, 150, 63, 0.05) 0%, transparent 60%),
        linear-gradient(0deg, rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
    position: relative;
    overflow: hidden;
}

.tech-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    animation: sweep 6s infinite linear;
    transform: skewX(-20deg);
}

@keyframes sweep {
    0% { left: -100%; }
    50%, 100% { left: 200%; }
}

.idatam-hero-overlay {
    position: relative;
    background-image: url('/assets/images/ai-ml-dedicated-server-vision.png'); 
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 100px 20px;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.idatam-hero-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(2, 27, 51, 0.7) 0%, rgba(2, 27, 51, 0.9) 100%);
    z-index: 1;
}

.container-custom {
    max-width: 1300px !important;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    width: 100%;
}

.glass-overlay-card {
    background: rgba(13, 37, 63, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 60px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    text-align: center;
    max-width: 1300px;
    width: 100%;
}

.text-content-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge {
    color: #00d4ff;
    background: rgba(0, 212, 255, 0.15);
    padding: 8px 16px;
    border-radius: 30px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 25px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.title {
    color: #ffffff;
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 25px;
    font-weight: 700;
}

.highlight {
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-content-centered .description {
    color: #dbe4ef;
    line-height: 1.7;
    font-size: 1.15rem;
    margin-bottom: 40px;
    max-width: 800px;
}

.feature-list-horizontal {
    list-style: none;
    padding: 0;
    margin: 0 0 45px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.feature-list-horizontal li {
    color: #ffffff;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.feature-list-horizontal li span {
    color: #00f2fe;
    font-weight: bold;
    font-size: 1.2rem;
}

.action-area-centered {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, #FF512F 0%, #DD2476 100%);
    color: #ffffff;
    padding: 16px 36px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    filter: brightness(1.1);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    padding: 16px 36px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
}

@media (max-width: 768px) {
    .title { font-size: 2rem; }
    .glass-overlay-card { padding: 30px 20px; }
    .feature-list-horizontal { flex-direction: column; gap: 15px; }
    .action-area-centered { flex-direction: column; width: 100%; }
    .btn-primary, .btn-secondary { width: 100%; text-align: center; }
}

.content-grid .feature-list li {
    color: #ffffff;
    font-weight: bold;
}

/* --- COMPARISON SECTION --- */
.idatam-comparison-section {
    padding: 80px 20px;
    background-color: #ffffff;
    font-family: 'Inter', sans-serif;
}

.section-header {
    text-align: center;
    max-width: 1300px;
    margin: 0 auto 60px auto;
}

.main-heading {
    font-size: 2.5rem;
    color: #1B1B1B;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.highlight-text { color: #034c91; }
.sub-heading { font-size: 1.125rem; color: #555; line-height: 1.6; }

.cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.feature-card {
    border-radius: 16px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.feature-card:hover { transform: translateY(-5px); }

.card-light { background-color: #ffffff; border: 1px solid #e5e7eb; }
.card-dark { background-color: #0d253f !important; color: #ffffff; }

.card-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1B1B1B;
}

.text-white { color: #ffffff !important; }
.text-gray { color: #cfd8e3 !important; }

.card-intro { font-size: 1rem; line-height: 1.6; color: #4b5563; margin-bottom: 10px; }

.info-block { padding-left: 20px; border-left-width: 4px; border-left-style: solid; }
.border-orange { border-left-color: #ff6b35; }
.border-dark { border-left-color: #1B1B1B !important; }
.border-blue { border-left-color: #00d4ff; }
.border-light { border-left-color: #ffffff; }

.block-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; color: #1B1B1B; }
.block-text { font-size: 0.95rem; line-height: 1.5; color: #4b5563; }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
    color: #e2e8f0;
    font-size: 0.95rem;
}
.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00d4ff;
    font-weight: bold;
}

@media (max-width: 992px) {
    .cards-grid { grid-template-columns: 1fr; }
    .main-heading { font-size: 2rem; }
    .feature-card { padding: 30px; }
}

/* --- LIGHT FEATURES SECTION --- */
.features-light-section {
    background-color: #f9fafb;
    padding: 80px 20px;
    font-family: 'Inter', sans-serif;
}

.feature-box {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 40px 30px;
    width: 100%;
    max-width: 350px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02), 0 10px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #f3f4f6;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.05), 0 10px 10px rgba(0, 0, 0, 0.02);
    border-color: #e5e7eb;
}

.icon-wrapper {
    background-color: #f0f9ff;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.icon-wrapper img { width: 50px; height: auto; }

.feature-title { font-size: 1.25rem; font-weight: 700; color: #1B1B1B; margin-bottom: 16px; }
.feature-text { font-size: 0.95rem; line-height: 1.6; color: #4b5563; }
.feature-text strong { color: #034c91; font-weight: 600; }

@media (max-width: 768px) {
    .feature-box { max-width: 100%; padding: 30px 20px; }
}

/* --- PARTNERS DARK SECTION --- */
.partners-dark-section {
    background: linear-gradient(145deg, #0b1120 0%, #1a202c 100%);
    padding: 100px 20px;
    font-family: 'Inter', sans-serif;
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.partners-grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.section-heading {
    font-size: 3rem !important;
    font-weight: 700 !important;
    line-height: 1.2;
    margin-bottom: 25px;
    color: #ffffff;
}

.section-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #dbdbdb;
    margin-bottom: 20px;
    text-align: justify;
}

.section-text strong { color: #ffffff; }

.logos-column {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}

.logos-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #dfedff;
    font-weight: 700;
    margin-bottom: 20px;
}

.logo-wrapper { display: flex; flex-wrap: wrap; gap: 20px; }

.logo-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 10px 20px;
    width: 200px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.logo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.15);
}

.logo-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.logo-card:hover img { filter: grayscale(0%); opacity: 1; }

@media (max-width: 992px) {
    .partners-grid { grid-template-columns: 1fr; gap: 50px; text-align: center; }
    .section-text { text-align: center; }
    .logos-column { align-items: center; }
    .logo-wrapper { justify-content: center; }
}

/* --- NEW, ENHANCED CATEGORY BUTTONS --- */
.category-button-modern {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 32px; /* significantly increased padding for size */
    border-radius: 20px; /* robust card shape */
    background-color: rgba(19, 27, 44, 0.9); /* modern deep dark transparent */
    color: #ffffff;
    font-size: 1.1rem; /* increased text size */
    font-weight: 700; /* bold font for visibility */
    border: 1px solid rgba(100, 116, 139, 0.4);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4); /* soft, distinct shadow */
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    text-decoration: none;
    overflow: hidden;
    position: relative;
    z-index: 5;
}

/* Hover State */
.category-button-modern:hover {
    background-color: #00963F; /* Prominent green from prev suggestion */
    border-color: transparent;
    box-shadow: 0 15px 35px rgba(0, 150, 63, 0.6); /* Intense green glow on hover */
    transform: translateY(-4px); /* lift effect */
}

/* Icon Styling (cyan colors retained for contrast) */
.category-icon-left {
    color: #00d4ff;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}
.category-button-modern:hover .category-icon-left {
    color: #ffffff; /* make icon white on hover to match text on green */
}

/* Animated Arrow (New Element) */
.category-arrow-right-animated {
    font-size: 1.1rem;
    opacity: 0; /* default hidden */
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    transform: translateX(-15px); /* start to the left */
}
.category-button-modern:hover .category-arrow-right-animated {
    opacity: 1; /* fade in */
    transform: translateX(0); /* slide in to normal position */
}

/* Button text */
.category-button-text {
    flex-grow: 1; /* text takes available space */
    white-space: nowrap; /* keep on one line */
}

/* Ensure whole wrapper handles wide layout */
.category-section-wrapper {
  box-sizing: border-box;
}

/* --- DARK THEME CATEGORY CARDS --- */
.category-card-light {
    display: flex;
    align-items: center;
    gap: 20px; /* Space between icon and text */
    padding: 24px 28px;
    border-radius: 12px;
    background-color: #02073e; /* Deep Navy Background */
    border: 1px solid rgba(255, 255, 255, 0.08); /* Subtle light border */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15); /* Slightly stronger baseline shadow */
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    text-decoration: none;
    width: 100%;
}

/* Hover State - Lifts up and gives a subtle orange glow */
.category-card-light:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 85, 51, 0.15); /* Soft orange shadow tint */
    border-color: #ff5533; /* Highlights the border with your orange */
}

/* Icon Container & Sizing */
.category-icon-wrapper {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.category-icon-light {
    color: #ffffff; /* Icons are now white */
    font-size: 2.2rem;
    transition: color 0.3s ease;
}

/* Make icon turn orange on hover */
.category-card-light:hover .category-icon-light {
    color: #ff5533; 
}

/* Text Layout Container */
.category-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Main Title */
.category-title {
    color: #ffffff; /* Text is now white */
    font-size: 1.15rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    transition: color 0.3s ease;
}

/* Subtitle / Description */
.category-subtitle {
    color: #9ca3af; /* Light gray so it's readable against the dark blue */
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.2;
}

/* The Orange Separator Line */
.category-divider {
    display: block;
    width: 35px; /* Length of the line */
    height: 3px; /* Thickness */
    background-color: #ff5533; /* Your orange */
    margin: 6px 0; /* Space above and below the line */
    border-radius: 2px;
    transition: width 0.3s ease;
}

/* Extend line slightly on hover for an interactive feel */
.category-card-light:hover .category-divider {
    width: 50px;
}

/* Default State: Force to White, but lock the hue-rotate to match the hover state */
.category-icon-wrapper img {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(100%) hue-rotate(345deg) brightness(100%) contrast(100%);
    transition: filter 0.3s ease;
}

/* Hover State: Your Orange */
.category-card-light:hover .category-icon-wrapper img {
    filter: brightness(0) saturate(100%) invert(45%) sepia(74%) saturate(3088%) hue-rotate(345deg) brightness(102%) contrast(101%);
}

/* ============================================
    CSS VARIABLES & RESET
============================================ */
:root {
    --brand-red: #ff5533;
    --brand-dark: #02073e; /* Kept for reference, though unused in light mode */
    --brand-black: #000000;
    --brand-red-dim: rgba(255, 85, 51, 0.12);
    --brand-red-glow: rgba(255, 85, 51, 0.25);
    
    /* New Light Theme Variables */
    --bg-main: #ffffff;
    --bg-card: #f9fafb;
    --text-heading: #111827;
    --text-body: #4b5563;
    --text-muted: #6b7280;
    --border-light: #e5e7eb;
}

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

/* ============================================
    SECTION WRAPPER
============================================ */
.connectivity-teaser {
    /* Changed from var(--bg-main) to a soft, light cool-gray */
    background: #f4f5f7; 
    padding: 80px 40px;
    position: relative;
    overflow: hidden;
}

/* Decorative radial glow — top right */
.connectivity-teaser::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 85, 51, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

/* Decorative radial glow — bottom left */
.connectivity-teaser::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 85, 51, 0.10) 0%, transparent 70%);
    pointer-events: none;
}

/* ============================================
    CONTAINER
============================================ */
.connectivity-teaser .container {
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ============================================
    EYEBROW LABEL
============================================ */
.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.eyebrow-line {
    width: 32px;
    height: 2px;
    background: var(--brand-red);
}

.eyebrow-text {
    font-size: 15px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand-red);
    font-weight: 600;
}

/* ============================================
    HEADER ROW (2-column split)
============================================ */
.teaser-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 60px;
}

.teaser-header h2 {
    font-family: 'Syne', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-heading);
    line-height: 1.08;
    letter-spacing: -0.02em;
    text-transform: none;
}

.teaser-header h2 em {
    font-style: normal;
    color: var(--brand-red);
}

.teaser-header-right {
    padding-top: 8px;
}

.teaser-header-right p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-body);
    font-weight: 400;
    margin-bottom: 28px;
}

/* ============================================
    STATS ROW
============================================ */
.stats-row {
    display: flex;
    gap: 28px;
}

.stat {
    border-left: 2px solid var(--brand-red);
    padding-left: 14px;
}

.stat-num {
    font-family: 'Syne', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-heading);
    line-height: 1;
}

.stat-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 4px;
    font-weight: 500;
}

/* ============================================
    CARRIER GRID
============================================ */
.carrier-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 48px;
    background: var(--border-light); /* Acts as the gap color */
}

/* ============================================
    CARRIER CARD
============================================ */
.carrier-card {
    background: var(--bg-card);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: background 0.25s ease, border-color 0.25s ease;
    cursor: default;
}

.carrier-card:hover {
    background: #fff5f2; /* Very soft red tint on hover */
}

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

.carrier-logo-placeholder {
    height: 36px;
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text-heading);
    letter-spacing: -0.01em;
}

.logo-text span {
    color: var(--brand-red);
}

.tier-badge {
    font-size: 13px;
    letter-spacing: 0.1em;
    background: var(--brand-red-dim);
    color: var(--brand-red);
    border: 1px solid rgba(255, 85, 51, 0.3);
    border-radius: 4px;
    padding: 3px 8px;
    text-transform: uppercase;
    font-weight: 600;
}

.carrier-name {
    font-size: 20px;
    color: var(--text-heading);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.carrier-desc {
    font-size: 16px;
    color: var(--text-body);
    line-height: 1.55;
    font-weight: 400;
}

/* ============================================
    CAPABILITY TAGS
============================================ */
.carrier-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
}

.tag {
    font-size: 0.7rem;
    color: var(--text-muted);
    border: 1px solid #d1d5db;
    background: #ffffff;
    border-radius: 4px;
    padding: 3px 8px;
    font-weight: 500;
}

/* ============================================
    DIVIDER BAR
============================================ */
.divider-bar {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 36px;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: var(--border-light);
}

.divider-label {
    font-size: 14px;
    color: var(--text-muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
    font-weight: 600;
}

/* ============================================
    BOTTOM ROW (status + CTA)
============================================ */
.teaser-cta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.uptime-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    position: relative;
    flex-shrink: 0;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.3; transform: scale(1.6); }
}

.uptime-text {
    font-size: 15px;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.uptime-text strong {
    color: #16a34a;
    font-weight: 600;
}

/* ============================================
    CTA BUTTON
============================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--brand-red);
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: background 0.2s ease, transform 0.15s ease;
    white-space: nowrap;
}

.btn-primary:hover {
    background: #e04728;
    transform: translateY(-1px);
}

.btn-arrow {
    font-size: 1rem;
    transition: transform 0.2s ease;
    display: inline-block;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(3px);
}

/* ============================================
    RESPONSIVE
============================================ */
@media (max-width: 960px) {
    .teaser-header {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .teaser-header h2 {
        font-size: 2.2rem;
    }

    .carrier-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .connectivity-teaser {
        padding: 60px 20px;
    }

    .teaser-header h2 {
        font-size: 1.8rem;
    }

    .carrier-grid {
        grid-template-columns: 1fr;
    }

    .stats-row {
        flex-wrap: wrap;
        gap: 16px;
    }

    .teaser-cta-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .divider-label {
        display: none;
    }
}

@media screen and (max-width: 1535px) {
    #country-selector .g-countries-absol-panel {
        position: absolute !important;
        margin-top: 0px !important;
    }
    .w .ws {
        width: 65%;
    }
}

@media screen and (max-width: 1279px) {
    .w .ws {
        width: max-content;
    }
    #infrastructure-overview {
        margin-top: 100px !important;
    }
}

@media screen and (max-width: 500px) {
    .ws-h2 {
        overflow-wrap: break-word !important; 
        word-wrap: break-word !important;
        white-space: normal !important; 
    }
}