/* =========================================
   Total Ground IoT Industrial - Puro CSS viejon 
   No frameworks, no React
   ========================================= */

:root {
  --bg: #020202;
  --panel: #0d0d0d;
  --stroke: rgba(255, 255, 255, 0.12);
  --soft-stroke: rgba(255, 255, 255, 0.08);
  --text: #f6f6f6;
  --accent: #ff2d24;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
}


/* 
   IoT Component Styles
   Base resets removed to avoid conflict with main design system.
*/

.iot-page {
  background: #000000 !important;
  color: #f6f6f6;
}

.iot-page .container {
  width: min(100% - 40px, 1450px);
  margin: 0 auto;
}

.iot-page .header .container {
  width: 100%;
  margin: 0;
  max-width: none;
}

/* --- Brand Strip & Footer Full Width Fix (Break out of container) --- */
.iot-page .infinite-scroll-section,
.iot-page .footer {
  width: 100vw !important;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-sizing: border-box;
}

.iot-page .infinite-scroll-section {
    background: #080808 !important;
    padding: 25px 0 !important;
    overflow: hidden !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.iot-page .scroll-container {
    width: 100%;
    overflow: hidden;
}

.iot-page .scroll-track {
    display: flex;
    gap: 40px;
    width: max-content;
    animation-name: scroll-left;
    animation-duration: 20s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-play-state: running;
    will-change: transform;
}

.iot-page .scroll-item {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.iot-page .scroll-item:hover {
    color: #e30613;
}

.iot-page .scroll-item img {
    height: 35px !important;
    width: auto;
    display: block;
    opacity: 0.7 !important;
    filter: invert(1) grayscale(100%) brightness(0.9) contrast(1.1) !important;
    transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.iot-page .scroll-item:hover img {
    opacity: 1 !important;
    filter: invert(1) hue-rotate(180deg) saturate(2) brightness(1) contrast(1.1) !important;
}

.iot-page .scroll-container:hover .scroll-track {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


.iot-page .specs-table td:nth-child(2) {
  color: #ffffff !important;
}

.iot-page .footer {
  background: #020617 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.iot-page .footer-social-link {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
}

.iot-page .footer-social-link:hover {
  background: var(--brand) !important;
  color: #ffffff !important;
}

.iot-page .footer .container {
  width: 100% !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 0 40px !important;
}



/* ---------- Buttons ---------- */
.hero-actions a,
.cta-panel a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 30px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #d61510;
  color: #fff;
  border: none;
  min-height: 44px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease;
}

.contact-pill:hover,
.hero-actions a:hover,
.cta-panel a:hover,
.card-link:hover {
  transform: translateY(-2px);
}

.contact-pill:hover {
  background: #ff2d24;
}

.btn-primary {
  background: linear-gradient(180deg, #ff362f, #ea1711);
  color: #fff;
  box-shadow: 0 16px 34px rgba(255, 45, 36, 0.28);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.02);
  color: #fff;
}

/* ---------- Hero ---------- */
.hero-iot {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url('../assets/iot/Banner-Hero.jpg') center center / cover no-repeat;
  overflow: hidden;
  padding: 100px 0;
}

.hero-iot .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  position: relative;
  z-index: 5;
}

.hero-copy {
  flex: 0 0 50%;
  max-width: 600px;
}

.hero-copy h1 {
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 900;
  line-height: 0.9;
  margin-bottom: 20px;
  letter-spacing: -3px;
  color: #fff;
}

.hero-copy h1 span {
  color: var(--accent);
}

.hero-copy p {
  font-size: 1.5rem;
  color: #d1d1d1;
  margin-bottom: 40px;
  line-height: 1.4;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 20px;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-main-device {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.8));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

.hero-dotgrid {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.6;
}

#dotGridCanvas {
  width: 100%;
  height: 100%;
}

/* ---------- Sections ---------- */
.section {
  padding: 76px 0;
}

.section-head {
  margin-bottom: 80px;
  text-align: center;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: #ff4d46;
  font-weight: 700;
  font-size: 2.1rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.section-head h2 {
  margin: 0;
  font-size: 2.1rem;
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 700;
}

/* ---------- Product Grid ---------- */
.product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  align-items: stretch;
}

.product-card {
  width: calc(25% - 11px);
  min-height: 650px; /* Tarjetas más largas */
  border-radius: 28px;
  background: #171717;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  padding: 0;
}

.card-content {
  border-radius: 26px;
  background: #121214;
  flex: 1;
  margin: 2px;
  z-index: 2;
  padding: 30px 22px; /* Más padding para que se vea más aireado */
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card::before {
  content: "";
  position: absolute;
  width: 150%;
  height: 150%;
  background: conic-gradient(from 0deg,
      transparent 0%,
      #e30613 25%,
      /* Rojo Total Ground */
      transparent 50%,
      #ffffff 75%,
      /* Blanco para brillo */
      transparent 100%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(0deg);
  animation: rotate-glow 4s infinite linear;
  animation-play-state: paused;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  pointer-events: none;
}

.product-card:hover::before {
  opacity: 1;
  animation-play-state: running;
}

.product-card::after {
  position: absolute;
  content: " ";
  display: block;
  inset: 0;
  background: rgba(18, 18, 20, 0.2);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  z-index: 1;
}

.product-image {
  position: relative;
  height: 200px;
  margin-bottom: 16px;
  border-radius: 24px;
  background: linear-gradient(180deg, #18181a, #0d0d0f);
  overflow: hidden;
}

.product-image::after {
  display: none;
}

.product-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
  transform: scale(1.06);
}

.product-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  font-weight: 700;
  line-height: 1.15;
}

.card-link {
  margin-top: auto; /* Empuja el botón al fondo */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  width: fit-content;
}

.product-card .subtitle {
  margin: 0 0 14px;
  color: #a1a1a8;
  font-size: 0.95rem;
  line-height: 1.45;
  min-height: 42px;
}

/* Estilos específicos para la tarjeta TGONE PRO Blue */
.card-pro-blue {
    border-color: rgba(0, 120, 255, 0.4) !important;
}

.card-pro-blue .card-content {
    background: linear-gradient(180deg, #050d1a 0%, #000000 100%) !important;
    border: 1px solid rgba(0, 120, 255, 0.3);
}

.card-pro-blue::before {
    background: conic-gradient(from 0deg,
        transparent 0%,
        #0078ff 25%,
        transparent 50%,
        #ffffff 75%,
        transparent 100%) !important;
}

.card-pro-blue .card-link {
    background: linear-gradient(180deg, #0078ff, #0056b3) !important;
    border-color: rgba(100, 150, 255, 0.3) !important;
    box-shadow: 0 8px 16px rgba(0, 120, 255, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

.card-pro-blue .feature-list img {
    filter: hue-rotate(200deg) brightness(1.2) saturate(1.5);
}

.card-pro-blue h3 {
    color: #ffffff; /* Blanco como en la imagen para mejor contraste */
    text-shadow: 0 0 10px rgba(0, 120, 255, 0.5);
}

.card-pro-blue .subtitle {
    color: #0078ff !important; /* Azul para el subtítulo */
}

.card-pro-blue .product-image {
    background: transparent !important;
}

/* =========================================
   TEMAS DE COLORES PARA TARJETAS
   ========================================= */

/* Común para todas las tarjetas temáticas */
.card-pro-blue, .card-basic-green, .card-trx-purple, .card-view-orange, 
.card-lightning-yellow, .card-ness-blue, .card-gateway-teal {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.card-pro-blue .card-content, .card-basic-green .card-content, .card-trx-purple .card-content, 
.card-view-orange .card-content, .card-lightning-yellow .card-content, 
.card-ness-blue .card-content, .card-gateway-teal .card-content {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-pro-blue .product-image, .card-basic-green .product-image, .card-trx-purple .product-image, 
.card-view-orange .product-image, .card-lightning-yellow .product-image, 
.card-ness-blue .product-image, .card-gateway-teal .product-image {
    background: transparent !important;
}

.card-pro-blue h3, .card-basic-green h3, .card-trx-purple h3, .card-view-orange h3, 
.card-lightning-yellow h3, .card-ness-blue h3, .card-gateway-teal h3 {
    color: #ffffff;
    font-weight: 800;
}

/* --- VERDE (Basic) --- */
.card-basic-green .card-content { background: linear-gradient(180deg, #021a05 0%, #000000 100%) !important; }
.card-basic-green::before { background: conic-gradient(from 0deg, transparent 0%, #00ab1c 25%, transparent 50%, #ffffff 75%, transparent 100%) !important; }
.card-basic-green .card-link { background: linear-gradient(180deg, #00ab1c, #006b12) !important; box-shadow: 0 8px 16px rgba(0, 171, 28, 0.25) !important; }
.card-basic-green .feature-list img { filter: brightness(0) saturate(100%) invert(48%) sepia(96%) saturate(1352%) hue-rotate(88deg) brightness(95%) contrast(105%) !important; }
.card-basic-green .subtitle { color: #00ab1c !important; }

/* --- MORADO (TRX) --- */
.card-trx-purple .card-content { background: linear-gradient(180deg, #0e021a 0%, #000000 100%) !important; }
.card-trx-purple::before { background: conic-gradient(from 0deg, transparent 0%, #a200ff 25%, transparent 50%, #ffffff 75%, transparent 100%) !important; }
.card-trx-purple .card-link { background: linear-gradient(180deg, #a200ff, #5e0094) !important; box-shadow: 0 8px 16px rgba(162, 0, 255, 0.25) !important; }
.card-trx-purple .feature-list img { filter: brightness(0) saturate(100%) invert(18%) sepia(88%) saturate(7482%) hue-rotate(278deg) brightness(103%) contrast(111%) !important; }
.card-trx-purple .subtitle { color: #a200ff !important; }

/* --- NARANJA (Total View) --- */
.card-view-orange .card-content { background: linear-gradient(180deg, #1a0805 0%, #000000 100%) !important; }
.card-view-orange::before { background: conic-gradient(from 0deg, transparent 0%, #e23b00 25%, transparent 50%, #ffffff 75%, transparent 100%) !important; }
.card-view-orange .card-link { background: linear-gradient(180deg, #e23b00, #8f2600) !important; box-shadow: 0 8px 16px rgba(226, 59, 0, 0.25) !important; }
.card-view-orange .feature-list img { filter: brightness(0) saturate(100%) invert(26%) sepia(98%) saturate(3532%) hue-rotate(15deg) brightness(96%) contrast(106%) !important; }
.card-view-orange .subtitle { color: #e23b00 !important; }

/* --- AMARILLO (Lightning) --- */
.card-lightning-yellow .card-content { background: linear-gradient(180deg, #1a1605 0%, #000000 100%) !important; }
.card-lightning-yellow::before { background: conic-gradient(from 0deg, transparent 0%, #eab308 25%, transparent 50%, #ffffff 75%, transparent 100%) !important; }
.card-lightning-yellow .card-link { background: linear-gradient(180deg, #eab308, #854d0e) !important; box-shadow: 0 8px 16px rgba(234, 179, 8, 0.25) !important; }
.card-lightning-yellow .feature-list img { filter: brightness(0) saturate(100%) invert(75%) sepia(98%) saturate(541%) hue-rotate(3deg) brightness(101%) contrast(91%); }
.card-lightning-yellow .subtitle { color: #eab308 !important; }

/* --- AZUL CLARO (Ness) --- */
.card-ness-blue .card-content { background: linear-gradient(180deg, #050d1a 0%, #000000 100%) !important; }
.card-ness-blue::before { background: conic-gradient(from 0deg, transparent 0%, #3b82f6 25%, transparent 50%, #ffffff 75%, transparent 100%) !important; }
.card-ness-blue .card-link { background: linear-gradient(180deg, #3b82f6, #1e40af) !important; box-shadow: 0 8px 16px rgba(59, 130, 246, 0.25) !important; }
.card-ness-blue .feature-list img { filter: brightness(0) saturate(100%) invert(56%) sepia(99%) saturate(1637%) hue-rotate(195deg) brightness(101%) contrast(93%); }
.card-ness-blue .subtitle { color: #3b82f6 !important; }

/* --- CIAN (Gateway) --- */
.card-gateway-teal .card-content { background: linear-gradient(180deg, #051a1a 0%, #000000 100%) !important; }
.card-gateway-teal::before { background: conic-gradient(from 0deg, transparent 0%, #14b8a6 25%, transparent 50%, #ffffff 75%, transparent 100%) !important; }
.card-gateway-teal .card-link { background: linear-gradient(180deg, #14b8a6, #0f766e) !important; box-shadow: 0 8px 16px rgba(20, 184, 166, 0.25) !important; }
.card-gateway-teal .feature-list img { filter: brightness(0) saturate(100%) invert(72%) sepia(42%) saturate(4975%) hue-rotate(130deg) brightness(96%) contrast(85%); }
.card-gateway-teal .subtitle { color: #14b8a6 !important; }

/* --- TARJETA INFO (Card 8) --- */
.card-info-tech {
    background: #0a0a0c !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
}

.card-info-tech .card-content {
    background: #0a0a0c !important;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.info-tech-content h3 {
    font-size: 1.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.accent-line {
    width: 50px;
    height: 3px;
    background: #0078ff;
    margin-bottom: 25px;
}

.info-tech-content p {
    color: #a1a1a8;
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.info-tech-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.info-tech-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #d1d1d6;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.info-tech-list .dot {
    width: 6px;
    height: 6px;
    background: #0078ff;
    border-radius: 50%;
    box-shadow: 0 0 10px #0078ff;
}

.info-link {
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.info-link:hover {
    color: #0078ff;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: grid;
  gap: 10px;
  color: #d3d3d8;
  font-size: 0.86rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  line-height: 1.4;
}

.feature-list li::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.12), transparent 58%);
  flex: none;
}

.feature-list.custom-icons li::before {
  display: none;
}

.feature-list.custom-icons img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex: none;
}

.card-link {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: linear-gradient(180deg, #ff362f, #ea1711);
  color: #fff;
  border: 1px solid rgba(255, 100, 100, 0.3);
  box-shadow: 0 8px 16px rgba(255, 45, 36, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.card-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(255, 45, 36, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  filter: brightness(1.1);
  color: #fff;
}

/* --- TRUST BAR --- */
.iot-trust-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #05070a; /* Negro sólido como en la imagen */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 24px 45px;
    margin-top: 40px;
    gap: 30px;
}

.trust-items {
    display: flex;
    gap: 50px; /* Más espacio entre ítems */
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #9ca3af;
    font-size: 0.9rem;
    font-weight: 500;
}

.trust-icon {
    width: 20px;
    height: 20px;
    color: #9ca3af;
}

.trust-logo {
    flex-shrink: 0;
}

.tg-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.tg-text {
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1;
    display: flex;
    align-items: center;
}

.white-text {
    color: #ffffff;
}

.red-text {
    color: #e11d1a;
    display: flex;
    align-items: center;
}

.tg-icon-img {
    height: 28px; /* Altura para resaltar como en la imagen */
    width: auto;
    margin: 0 4px;
}

.tg-sub {
    font-size: 0.75rem;
    color: #9ca3af;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

@media (max-width: 1024px) {
    .iot-trust-bar {
        flex-direction: column;
        text-align: center;
        padding: 35px 20px;
        gap: 25px;
    }
    .trust-items {
        justify-content: center;
        gap: 25px;
    }
    .tg-brand {
        align-items: center;
    }
}

/* ---------- Benefit Grid ---------- */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 6px;
}

.benefit {
  padding: 14px 28px 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.benefit:last-child {
  border-right: 0;
}

.benefit-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  color: #fff;
}

.benefit-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Add invert if the image is black to make it white in dark mode */
  filter: invert(1);
}

.benefit h3 {
  margin: 0 0 8px;
  font-size: 1.28rem;
  font-weight: 600;
}

.benefit p {
  margin: 0;
  color: #d0d0d0;
  font-size: 1rem;
  line-height: 1.55;
}

/* ---------- Ecosystem Grid ---------- */
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
  margin-top: 10px;
}

.flow-card,
.cta-panel {
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.98), rgba(9, 9, 9, 0.98));
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
}

.flow-card {
  position: relative;
  min-height: 240px;
  padding: 20px 14px 22px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.flow-card::after {
  content: "›";
  position: absolute;
  top: 50%;
  right: -14px;
  transform: translateY(-50%);
  z-index: 2;
  color: #fff;
  font-size: 3rem;
  line-height: 1;
}

.flow-card:last-child::after {
  display: none;
}

.flow-media {
  height: 120px;
  display: grid;
  place-items: center;
  margin-bottom: 34px;
}

.flow-media img {
  max-height: 140px;
  object-fit: contain;
}

.flow-card:nth-child(2) .flow-media img,
.flow-card:nth-child(4) .flow-media img {
  max-height: 90px;
}

.cloud {
  width: 100px;
  height: 54px;
  position: relative;
  border-radius: 30px;
  background: linear-gradient(180deg, #1e4c93, #0e274e);
  box-shadow: 0 18px 28px rgba(3, 16, 38, 0.44);
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: inherit;
}

.cloud::before {
  width: 40px;
  height: 40px;
  left: 10px;
  top: -16px;
}

.cloud::after {
  width: 52px;
  height: 52px;
  right: 10px;
  top: -22px;
}

.flow-card h3 {
  margin: 0 0 8px;
  font-size: 1.18rem;
}

.flow-card p {
  margin: 0;
  color: #cecece;
  line-height: 1.45;
}

/* ---------- CTA Panel ---------- */
.cta-panel {
  margin: 24px 0 18px;
  padding: 18px 26px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cta-copy {
  display: flex;
  align-items: center;
  gap: 18px;
}

.cta-mark {
  width: 110px;
  height: 110px;
  flex: none;
  display: grid;
  place-items: center;
}

.cta-icon {
  width: 90px;
  height: 90px;
  object-fit: contain;
}

.cta-copy h3 {
  margin: 0 0 6px;
  font-size: clamp(1.55rem, 3vw, 2.55rem);
  line-height: 1.1;
}

.cta-copy p {
  margin: 0;
  color: #d3d3d3;
  font-size: 1.1rem;
  line-height: 1.45;
}




/* =========================================
   PRODUCT PAGE (TERROMETRO) STYLES
   ========================================= */

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

/* Hero */
.product-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding: 80px 0;
  min-height: calc(100vh - 100px);
}

.product-hero-content {
  flex: 0 0 50%;
  max-width: 500px;
}

.product-hero-visual {
  flex: 1;
  text-align: right;
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  /* Dark rocky background behind the device */
  background: radial-gradient(circle at center, rgba(30, 30, 30, 0.4) 0%, transparent 70%);
}

.product-hero-visual::before {
  content: "";
  position: absolute;
  inset: -100px;
  background: radial-gradient(circle at center, rgba(30, 30, 30, 0.4) 0%, transparent 70%);
  opacity: 0.15;
  z-index: -1;
  mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
}

.product-hero-visual img {
  max-width: 110%;
  height: auto;
  max-height: 600px;
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.8));
}

.product-kicker {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.product-title {
  font-size: 5.5rem;
  line-height: 0.9;
  font-weight: 800;
  margin: 0 0 5px;
  letter-spacing: -2px;
}

.product-subtitle-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
}

.con-text {
  font-size: 2rem;
  font-weight: 800;
}

.sigfox-logo-placeholder {
  font-size: 2rem;
  font-weight: 800;
  color: #00B1EB;
  /* Sigfox Blue */
  letter-spacing: -1px;
}

.product-headline {
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 24px;
}

.product-description {
  color: #d3d3d8;
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 90%;
  margin-bottom: 40px;
}

.hero-features {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  justify-content: flex-start;
}

.hero-feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 8px;
  font-size: 0.75rem;
  color: #d3d3d8;
  padding: 0 15px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-feature-item:first-child {
  padding-left: 0;
}

.hero-feature-item:last-child {
  border-right: none;
}

.hero-feature-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--accent);
}

.hero-feature-icon svg {
  width: 32px;
  height: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 28px;
  border-radius: 24px;
  background: transparent;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.6);
}

.hero-disclaimer {
  font-size: 0.75rem;
  color: #888;
}

.section-title-alt {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 30px;
  display: inline-block;
  position: relative;
}

.section-title-alt .text-accent {
  color: var(--accent);
}

.section-title-alt::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background-color: var(--accent);
}

.features-panel {
  background: #050505;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 40px 20px;
  margin-top: 40px;
}

/* Features Grid */
.features-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}

.feature-box {
  padding: 0 25px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.feature-box:last-child {
  border-right: none;
}

.feature-icon.red-icon {
  color: var(--accent);
  margin-bottom: 16px;
}

.feature-icon.red-icon svg {
  width: 32px;
  height: 32px;
}

.feature-box h4 {
  font-size: 1rem;
  margin: 0 0 10px;
}

.feature-box p {
  font-size: 0.85rem;
  color: #aaa;
  line-height: 1.5;
  margin: 0;
}

/* Split Panel */
.split-panel {
  display: flex;
  gap: 60px;
  background: #050505;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 40px;
}

.panel-left {
  flex: 1.5;
  border-right: none;
  padding-right: 0;
}

.panel-right {
  flex: 1;
}

.panel-title {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin: 0 0 25px;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
}

.panel-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 25px;
  height: 2px;
  background-color: var(--accent);
}

.workflow-steps {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-top: 20px;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 22%;
}

.step-icon {
  width: 100px;
  height: 100px;
  background: transparent;
  border: none;
  border-radius: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.step-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.step-icon svg {
  width: 60px;
  height: 60px;
  color: #fff;
}

.step-item h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: #fff;
}

.step-item p {
  font-size: 0.78rem;
  color: #aaa;
  line-height: 1.4;
  margin: 0;
}

.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  color: #fff;
  font-weight: bold;
  font-size: 1.2rem;
}

.step-arrow svg {
  width: 18px;
  height: 18px;
  stroke-width: 3;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.specs-table td {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}

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

.specs-table td:first-child {
  color: #aaa;
  width: 60%;
}

.specs-table td:last-child {
  text-align: right;
  font-weight: 500;
}

.specs-disclaimer {
  font-size: 0.7rem;
  color: #666;
  margin-top: 15px;
}

/* Applications Grid */
.applications-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.app-card {
  position: relative;
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  background: #1a1a1a;
}

.placeholder-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 100%);
  z-index: 1;
}

.app-card-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
}

.app-icon {
  color: #fff;
  flex-shrink: 0;
}

.app-icon svg {
  width: 32px;
  height: 32px;
}

.app-card h4 {
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.3;
  text-align: left;
}

/* Bottom CTA Banner */
.cta-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: 24px;
  padding: 40px;
}

.cta-banner-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.lightning-circle {
  width: 64px;
  height: 64px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--accent);
  flex-shrink: 0;
}

.lightning-circle svg {
  width: 32px;
  height: 32px;
}

.cta-banner-text h3 {
  font-size: 1.5rem;
  margin: 0 0 4px;
}

.cta-banner-text .text-accent {
  color: var(--accent);
}

.cta-banner-right {
  text-align: right;
}

.cta-banner-sub {
  font-size: 0.8rem;
  color: #aaa;
  margin: 12px 0 0;
  line-height: 1.4;
}

/* ---------- Responsive ---------- */
@media (max-width: 1220px) {
  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    justify-content: center;
  }

  .product-card {
    width: 100%;
  }

  .grid-break {
    display: none;
  }

  .ecosystem-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .flow-card:nth-child(3)::after {
    display: none;
  }
}

@media (max-width: 980px) {
  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-iot {
    height: auto;
    aspect-ratio: 16 / 9;
    min-height: 220px;
    background-size: 100% auto;
    background-position: top center;
    margin-top: 40px;
  }

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

  .benefit:nth-child(2) {
    border-right: 0;
  }

  /* Terrometro Product Page Responsive */
  .product-hero {
    flex-direction: column;
    padding: 40px 0;
  }

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

  .feature-box {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
  }

  .split-panel {
    flex-direction: column;
    padding: 24px;
  }

  .panel-left {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 0;
    padding-bottom: 30px;
    margin-bottom: 20px;
  }

  .workflow-steps {
    flex-wrap: wrap;
    gap: 20px;
  }

  .step-item {
    width: 45%;
  }

  .step-arrow {
    display: none;
  }

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

  .cta-banner-content {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

  .cta-banner-left {
    flex-direction: column;
  }

  .cta-banner-right {
    text-align: center;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 40px, 1280px);
    margin: 0 auto;
  }

  .product-grid,
  .benefit-grid,
  .ecosystem-grid,
  .features-grid-5,
  .applications-grid,
  .comparison-grid {
    grid-template-columns: 1fr !important;
    gap: 30px;
  }

  .flow-card {
    min-height: auto;
    padding: 25px 15px;
  }

  .flow-card::after {
    right: auto;
    left: 50%;
    bottom: -20px;
    top: auto;
    transform: translateX(-50%) rotate(90deg);
    font-size: 2.5rem;
    display: block !important;
  }

  .phone-3d-model.is-active {
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1.1);
  }

  .flow-card:last-child::after {
    display: none !important;
  }

  .product-card {
    width: 100% !important;
  }

  .product-title {
    font-size: 3rem;
  }

  .con-text,
  .sigfox-logo-placeholder {
    font-size: 1.5rem;
  }

  .hero-features {
    flex-wrap: wrap;
    gap: 20px;
  }

  .hero-feature-item {
    width: 45%;
  }

  .step-item {
    width: 100%;
  }

  .benefit,
  .flow-card::after {
    border-right: 0;
  }

  .hero-iot {
    min-height: auto;
    padding: 120px 0 60px;
  }

  .hero-iot .container {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .hero-copy {
    flex: 1;
    width: 100%;
  }

  .hero-copy h1 {
    font-size: 3.5rem;
  }

  .hero-copy p {
    font-size: 1.1rem;
  }

  .hero-actions {
    justify-content: center;
    flex-direction: column;
    width: 100%;
  }

  .hero-actions a {
    width: 100%;
  }

  .hero-visual {
    width: 100%;
    justify-content: center;
  }

  .hero-main-device {
    max-width: 80%;
  }

  .hero-device--meter {
    left: 34%;
    width: 100px;
    bottom: 150px;
  }

  .hero-device--trx {
    right: 11%;
    width: 220px;
    bottom: 142px;
  }

  .hero-device--gateway {
    right: -6%;
    width: 210px;
    bottom: 116px;
  }

  .hero-device--small {
    left: 44%;
    width: 120px;
    bottom: 98px;
  }

  .cta-copy {
    align-items: flex-start;
  }
}

/* =========================================
   THEME TOGGLE BUTTON
   ========================================= */
.theme-toggle {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  color: #fff;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
}

.theme-toggle .icon-sun {
  display: none;
}

body.light-mode .theme-toggle {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
  color: #1a1a1a;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

body.light-mode .theme-toggle:hover {
  background: #f0f0f0;
}

body.light-mode .theme-toggle .icon-moon {
  display: none;
}

body.light-mode .theme-toggle .icon-sun {
  display: block;
}

@media (max-width: 980px) {
  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .theme-toggle {
    top: auto;
    bottom: 24px;
    transform: none;
  }
}

/* =========================================
   LIGHT MODE OVERRIDES
   ========================================= */

.iot-page .footer-brand-logo img {
  height: 100px !important;
}
body.light-mode {
  background: #f4f4f5;
  color: #1a1a1a;
}


/* Cards & Panels */
body.light-mode .product-card {
  background: #f0f0f0;
  border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .card-content {
  background: #ffffff;
}

body.light-mode .product-card::before {
  background: conic-gradient(from 0deg,
      transparent 0%,
      #0a020f 125%,
      transparent 150%,
      #e2dddd 105%,
      transparent 100%);
}

body.light-mode .product-card::after {
  background: rgba(255, 255, 255, 0.4);
}

body.light-mode .flow-card,
body.light-mode .cta-panel {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
}

body.light-mode .product-image {
  background: #f8f9fa;
}

/* Headings & Text */
body.light-mode .product-card h3,
body.light-mode .benefit h3,
body.light-mode .flow-card h3,
body.light-mode .cta-copy h3,
body.light-mode .section-head h2 {
  color: #111111;
}

body.light-mode .subtitle,
body.light-mode .benefit p,
body.light-mode .flow-card p,
body.light-mode .cta-copy p {
  color: #666666;
}

body.light-mode .section-kicker {
  color: #ff2d24;
  /* Keep accent color */
}

/* Feature List */
body.light-mode .feature-list {
  color: #444444;
}

body.light-mode .feature-list li::before {
  border-color: rgba(0, 0, 0, 0.15);
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.1), transparent 58%);
}

body.light-mode .feature-list.custom-icons img {
  filter: invert(1);
}

body.light-mode .card-link {
  color: #1a1a1a;
}

/* Footer & Other borders */
body.light-mode .benefit,
body.light-mode .flow-card::after {
  border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .site-footer {
  border-top-color: rgba(0, 0, 0, 0.1);
  color: #666666;
}

body.light-mode .cloud {
  background: radial-gradient(circle, #f0f0f0 40%, transparent 40%),
    radial-gradient(circle, #f0f0f0 40%, transparent 40%),
    radial-gradient(circle, #f0f0f0 40%, transparent 40%);
}

body.light-mode .cloud::before {
  background: #f0f0f0;
}

/* =========================================
   INTRO VIDEO HERO (TERROMETRO)
   ========================================= */

.intro-video-section {
  height: 100vh;
  position: relative;
  background: #000;
  overflow: hidden;
}

.intro-video-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  position: relative;
  width: min(90vw, 75vh);
  /* Asegura que no sea más alto que la pantalla */
  max-width: 800px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.intro-phone-frame {
  width: 100%;
  z-index: 2;
  position: relative;
  pointer-events: none;
}

.intro-video {
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 76%;
  height: 65.5%;
  object-fit: cover;
  object-position: center 80%;
  /* 👈 clave */
  background-color: #000;
  z-index: 3;
}

.intro-video-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  color: #fff;
  text-align: center;
}

.intro-video-text h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin: 0;
  text-transform: uppercase;
}

/* =========================================
   COMPARISON SECTION (2026 PREMIUM UI)
   ========================================= */

.comparison-section {
  padding: 100px 0;
  background: radial-gradient(ellipse at top, rgba(20, 20, 22, 1) 0%, rgba(0, 0, 0, 1) 100%);
  position: relative;
}

.compare-wrapper {
  display: flex;
  justify-content: center;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.compare-model {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 32px;
  padding: 40px 30px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}

.compare-model:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.08);
}

.compare-header {
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.compare-img {
  height: 260px;
  object-fit: contain;
  margin-bottom: 30px;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.5));
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.compare-model:hover .compare-img {
  transform: translateY(-15px) scale(1.05);
}

.compare-title {
  font-size: 2.4rem;
  font-weight: 900;
  margin: 0 0 12px;
  letter-spacing: -1px;
  background: linear-gradient(180deg, #ffffff 0%, #a1a1a8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.compare-subtitle {
  font-size: 0.95rem;
  color: #a1a1a8;
  margin: 0 0 10px;
  max-width: 280px;
  line-height: 1.5;
}

.compare-price {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent);
  margin: 0 0 24px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.compare-header .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: linear-gradient(180deg, #ff362f, #ea1711);
  color: #fff;
  border: 1px solid rgba(255, 100, 100, 0.3);
  box-shadow: 0 10px 24px rgba(255, 45, 36, 0.25), inset 0 2px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.compare-header .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(255, 45, 36, 0.35), inset 0 2px 0 rgba(255, 255, 255, 0.3);
  filter: brightness(1.1);
}

.compare-specs {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 10px;
}

.spec-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: background 0.3s ease;
}

.spec-item:last-child {
  border-bottom: none;
}

.spec-item:hover {
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.02) 0%, transparent 70%);
}

.spec-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  color: #fff;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 10px;
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.02), 0 4px 10px rgba(0, 0, 0, 0.2);
}

.spec-value {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.spec-label {
  font-size: 0.7rem;
  color: #888888;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  max-width: 200px;
  line-height: 1.4;
}

/* Light mode adjustments */
body.light-mode .comparison-section {
  background: #fdfdfd;
}

body.light-mode .compare-model {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

body.light-mode .compare-title {
  background: linear-gradient(180deg, #111 0%, #555 100%);
  -webkit-background-clip: text;
}

body.light-mode .compare-subtitle {
  color: #666;
}

body.light-mode .spec-icon {
  color: #222;
  background: #f5f5f7;
  border-color: rgba(0, 0, 0, 0.05);
}

body.light-mode .spec-value {
  color: #111;
}

body.light-mode .spec-label {
  color: #777;
}

body.light-mode .compare-specs {
  border-top-color: rgba(0, 0, 0, 0.05);
}

body.light-mode .spec-item {
  border-bottom-color: rgba(0, 0, 0, 0.03);
}

@media (max-width: 768px) {
  .compare-wrapper {
    flex-direction: column;
    gap: 40px;
  }
}

@keyframes rotate-glow {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* =========================================
   3D MOBILE PHONE SECTION
   ========================================= */
#phone-3d-render {
  width: 100%;
  height: 600px;
  cursor: grab;
}

#phone-3d-render:active {
  cursor: grabbing;
}

/* Responsiveness */
@media (max-width: 768px) {
  .phone-3d-model {
    width: 180px;
    height: 360px;
  }

  /* CTA Panel Mobile Responsiveness */
  .cta-panel {
    flex-direction: column;
    text-align: center;
    padding: 40px 24px;
    gap: 30px;
    margin: 40px 0;
  }

  .cta-copy {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .cta-mark {
    width: 80px;
    height: 80px;
    margin: 0 auto;
  }

  .cta-icon {
    width: 70px;
    height: 70px;
  }

  .cta-copy h3 {
    font-size: 1.8rem;
    line-height: 1.2;
    margin-bottom: 8px;
  }

  .cta-copy p {
    font-size: 1rem;
    line-height: 1.5;
    max-width: 100%;
  }

  .cta-panel .btn-primary {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
}