/* ---------- TG NESS 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;
}

/* HERO SECTION */

/* 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-ness {
  position: relative;
  min-height: 100vh;
  padding: 120px 0 60px;
  display: flex;
  align-items: center;
  /* overflow handled to allow background breakout */
}

/* Background element - Breakout full bleed */
.hero-bg-ness {
  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%);
}

.hero-content-ness {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  /* Adjust for no right column icon list */
  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 */
.ness-left {
  display: flex;
  flex-direction: column;
}

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

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

.ness-title .text-red {
  color: var(--primary-red);
}

.ness-subtitle {
  font-size: 1.8rem;
  font-weight: 600;
  margin: 0 0 20px;
  color: #fff;
}

.ness-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 500px;
}

/* 6 Icons Grid in Hero Left (Now inside glass box) */
.ness-hero-icons {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 5px;
}

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

.ness-hero-icon-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 10px;
  height: 25px;
  width: 1px;
  background-color: rgba(255, 45, 36, 0.2);
}

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

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

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

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

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

.ness-product-img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 650px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.8));
}

.ness-glow-base {
  position: absolute;
  bottom: 105px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 0 40px 10px rgba(255, 45, 36, 0.5), inset 0 0 20px rgba(255, 45, 36, 0.5);
  border: 3px solid var(--primary-red);
  background: rgba(255, 45, 36, 0.1);
  z-index: 1;
}

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

.ness-info-col {
  background: rgba(15, 15, 15, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px;
}

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

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

/* App diagram in description */
.ness-app-diag {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ness-app-diag-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ness-app-diag-item img {
  height: 40px;
  width: auto;
  margin-bottom: 5px;
}

.ness-app-diag-item svg {
  width: 40px;
  height: 40px;
  margin-bottom: 5px;
}

.ness-app-diag-item span {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.ness-app-diag-arrow {
  color: var(--primary-red);
  font-size: 1.2rem;
}

/* FEATURES & APPS LISTS */
.ness-feat-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

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

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

.ness-app-grid {
  display: flex;
  flex-direction: column;
  gap: 35px; /* Mayor espacio entre aplicaciones */
}

.ness-app-item {
  display: flex;
  align-items: center; /* Alineación vertical perfecta */
  gap: 20px;
}

.ness-app-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ness-app-icon img,
.ness-app-icon svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ness-app-item span {
  font-size: 0.95rem;
  line-height: 1.6; /* Interlineado más alto */
  color: #fff;
}

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

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

.flow-diagram::after {
  content: "";
  position: absolute;
  top: 30px;
  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: 10px;
  flex: 1;
  position: relative;
  z-index: 2;
}

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

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

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

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

/* Metric Pill styles */
.ness-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-top: 40px;
}

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

.ness-metric-icon {
  width: 28px;
  height: 28px;
  color: var(--primary-red);
  margin-bottom: 10px;
}

.ness-metric-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
}

.ness-metric-sub {
  font-size: 0.6rem;
  color: var(--text-muted);
}

/* BOTTOM CTA BANNER */
.cta-banner-ch {
  display: flex;
  align-items: center;
  background: rgba(10, 10, 10, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  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: 1024px) {
  .hero-content-ness {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ness-hero-icons {
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
  }

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

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

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