/* ---------- TG GATEWAY PRO SPECIFIC STYLES ---------- */

:root {
  --primary-red: #ff2d24;
  --dark-red: #d61510;
  --bg-black: #000000;
  --glass-stroke: rgba(255, 255, 255, 0.1);
  --text-main: #ffffff;
  --text-muted: #a1a1a8;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* Buttons */
.btn-primary-red {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-red);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

.btn-primary-red:hover {
  background: var(--dark-red);
  transform: translateY(-2px);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-decoration: none;
  transition: border-color 0.3s ease, background 0.3s ease;
  white-space: nowrap;
}

.btn-outline-white:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

/* HERO SECTION */
.hero-gw {
  position: relative;
  min-height: 100vh;
  padding: 120px 0 60px;
  display: flex;
  align-items: center;
}

.hero-bg-gw {
  position: absolute;
  top: -120px;
  left: calc(-50vw + 50%);
  width: 100vw;
  max-width: none;
  height: calc(100% + 120px);
  object-fit: cover;
  opacity: 0.85;
  z-index: -1;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 80%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 80%, rgba(0, 0, 0, 0) 100%);
}

/* 3-column hero grid: left | center | right */
.hero-content-gw {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.5fr;
  gap: 40px;
  width: 100%;
  align-items: center;
}

.glass-box-hero {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  max-width: 600px;
  margin-bottom: 30px;
}

/* Left Column */
.gw-left {
  display: flex;
  flex-direction: column;
}

.gw-kicker {
  color: var(--primary-red);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.gw-title {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin: 0 0 5px;
  letter-spacing: 2px;
}

.gw-title-red {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  color: var(--primary-red);
  line-height: 1.1;
  margin: 0 0 20px;
  letter-spacing: 2px;
}

.gw-subtitle {
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 15px;
}

.gw-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 35px;
  max-width: 460px;
}

/* 5 Icons Row */
.gw-hero-icons {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 35px;
}

.gw-hero-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  position: relative;
}

.gw-hero-icon-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 8px;
  height: 28px;
  width: 1px;
  background-color: rgba(255, 45, 36, 0.3);
}

.gw-hero-icon-box {
  width: 28px;
  height: 28px;
  color: var(--primary-red);
}

.gw-hero-icon-box svg {
  width: 100%;
  height: 100%;
}

.gw-hero-icon-label {
  font-size: 0.6rem;
  color: var(--text-muted);
  line-height: 1.2;
}

.gw-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* Center Product Image */
.gw-hero-center {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gw-hero-center::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 45, 36, 0.25) 0%, rgba(255, 45, 36, 0) 65%);
  z-index: 0;
  pointer-events: none;
}

/* gateway.css — línea 224 */
.gw-product-img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 420px;
  height: auto;
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.9));
  transform: translateY(-40px);
}


.gw-glow-base {

  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 380px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 0 40px 10px rgba(255, 45, 36, 0.5), inset 0 0 20px rgba(255, 45, 36, 0.4);
  border: 3px solid var(--primary-red);
  background: rgba(255, 45, 36, 0.1);
  z-index: 1;


}

/* Right Column: Floating Network Icons */
.gw-hero-right {
  display: flex;
  flex-direction: column;
  gap: 35px;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 35px 25px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.gw-right-feat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.gw-right-feat-icon {
  width: 40px;
  height: 40px;
  color: var(--primary-red);
}

.gw-right-feat-icon svg {
  width: 100%;
  height: 100%;
}

.gw-right-feat-text {
  font-size: 0.75rem;
  color: #fff;
  line-height: 1.3;
  max-width: 120px;
}

/* INFO SECTION (3 Columns) */
.gw-info-section {
  padding: 80px 0;
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 30px;
}

.gw-info-col {
  background: rgba(15, 15, 15, 0.6);
  border: 1px solid var(--glass-stroke);
  border-radius: 20px;
  padding: 40px;
}

.gw-info-title {
  color: var(--primary-red);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 25px;
}

.gw-info-col p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 18px;
}

/* Inline connectivity diagram in description */
.gw-connectivity-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.gw-conn-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.gw-conn-item svg {
  width: 30px;
  height: 30px;
  color: var(--primary-red);
}

.gw-conn-sep {
  color: rgba(255, 45, 36, 0.5);
  font-size: 1rem;
}

/* Features list */
.gw-feat-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gw-feat-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.gw-check {
  color: var(--primary-red);
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

/* Applications list */
.gw-app-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.gw-app-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.gw-app-icon {
  width: 35px;
  height: 35px;
  color: var(--primary-red);
  flex-shrink: 0;
}

.gw-app-icon svg {
  width: 100%;
  height: 100%;
}

.gw-app-item span {
  font-size: 0.9rem;
  color: #fff;
  line-height: 1.4;
}

/* SPECS & HOW IT WORKS */
.gw-tech-section {
  padding: 0 0 80px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
}

/* Flow Diagram */
.flow-diagram {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 5px;
  margin-bottom: 40px;
  position: relative;
}

.flow-diagram::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 10%;
  right: 10%;
  height: 0;
  border-top: 2px dashed rgba(255, 255, 255, 0.15);
  z-index: 1;
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  flex: 1;
  position: relative;
  z-index: 2;
}

.flow-step svg {
  width: 40px;
  height: 40px;
  color: #fff;
}

.flow-step img {
  height: 40px;
  width: auto;
}

.flow-step h4 {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
  line-height: 1.2;
}

.flow-step p {
  font-size: 0.6rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.2;
}

/* 5 Metrics Grid */
.gw-metrics-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
}

.gw-metric-card {
  background: rgba(20, 20, 20, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 16px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.gw-metric-icon {
  width: 26px;
  height: 26px;
  color: var(--primary-red);
}

.gw-metric-icon svg {
  width: 100%;
  height: 100%;
}

.gw-metric-label {
  font-size: 0.6rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.2;
}

.gw-metric-sub {
  font-size: 0.55rem;
  color: var(--text-muted);
  line-height: 1.2;
}

/* CTA BANNER */
.cta-banner-ch {
  display: flex;
  align-items: center;
  background: rgba(10, 10, 10, 0.8);
  border: 1px solid var(--glass-stroke);
  border-radius: 20px;
  margin-bottom: 80px;
  overflow: hidden;
}

.cta-banner-img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  flex-shrink: 0;
}

.cta-banner-text {
  flex: 1;
  padding: 40px;
}

.cta-banner-text h3 {
  font-size: 1.8rem;
  margin: 0 0 10px;
  color: #fff;
}

.cta-banner-text p {
  color: var(--text-muted);
  font-size: 1rem;
  margin: 0;
}

.cta-banner-btn {
  padding: 40px;
  flex-shrink: 0;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .hero-content-gw {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .gw-hero-right {
    display: none;
  }
}

@media (max-width: 1024px) {
  .hero-content-gw {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .gw-hero-icons {
    grid-template-columns: repeat(3, 1fr);
  }

  .gw-hero-icon-item:not(:last-child)::after {
    display: none;
  }

  .gw-actions {
    justify-content: center;
  }

  .gw-info-section,
  .gw-tech-section {
    grid-template-columns: 1fr;
  }

  .gw-metrics-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cta-banner-ch {
    flex-direction: column;
    text-align: center;
  }

  .cta-banner-img {
    width: 100%;
  }
}