/* =============================
   BASE (ANIMACIÓN GLOBAL)
============================= */

.section{
  padding:120px 0;
}

/* =============================
   LAYOUT CENTRADO
============================= */

.container{
  max-width:1200px;
  margin:auto;
  padding:0 6%;
}

.section > *{
  max-width:1200px;
  margin-left:auto;
  margin-right:auto;
}

/* =========================
   TECH INTRO HERO
========================= */

.tech-intro {
  padding: 140px 8%;
  color: #fff;
  text-align: center;
  position: relative;
  overflow:hidden;
  margin-top:var(--navbar-height);
}

.tech-bg {
  background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)),
              url("../images/Bnr.avif") center/cover no-repeat;
}

/* GLOW ORBS */
.header-glow-g{
  position:absolute;
  width:500px;
  height:500px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(239,130,32,0.1),transparent 70%);
  top:-120px;
  left:-100px;
  animation:glowDrift 8s ease-in-out infinite alternate;
  pointer-events:none;
}

.header-glow-o{
  position:absolute;
  width:400px;
  height:400px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(239,130,32,0.07),transparent 70%);
  bottom:-80px;
  right:-80px;
  animation:glowDrift2 10s ease-in-out infinite alternate;
  pointer-events:none;
}

@keyframes glowDrift{
  0%{transform:translate(0,0) scale(1);}
  100%{transform:translate(60px,40px) scale(1.15);}
}

@keyframes glowDrift2{
  0%{transform:translate(0,0) scale(1);}
  100%{transform:translate(-40px,-30px) scale(1.2);}
}

/* GRID OVERLAY */
.header-grid{
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size:60px 60px;
  pointer-events:none;
  z-index:1;
  animation:gridFade 6s ease-in-out infinite alternate;
}

@keyframes gridFade{
  0%{opacity:0.4;}
  100%{opacity:0.8;}
}

/* RESPONSIVE */
@media(max-width:900px){
  .header-grid{
    background-size:40px 40px;
  }
}

@media(max-width:600px){
  .header-glow-g,
  .header-glow-o{
    width:250px;
    height:250px;
  }
}

/* ==============================
   SMART SORTATION SECTION
============================== */

/* GRID 2 COLUMNAS */
.sortation-section .grid-2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:center;
}

/* TITULO */
.sortation-section .section-title{
  text-align:left;
  font-size:42px;
  margin-bottom:40px;
  position:relative;
}

.sortation-section .section-title span.accent{
  color:var(--primary);
}

/* TEXTOS */
.sortation-section .text{
  color:var(--gray);
  line-height:1.8;
  font-size:1.02rem;
  text-align:justify;
  margin-bottom:20px;
}

/* VIDEO THUMBNAIL */
.sortation-section .video-thumbnail{
  position:relative;
  cursor:pointer;
  border-radius:20px;
  overflow:hidden;
  height: auto;
  transition:.4s;
}

.sortation-section .video-thumbnail img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:.4s;
}

.sortation-section .video-thumbnail::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.35);
  transition:var(--transition-smooth);
}

.sortation-section .video-thumbnail:hover img{
  transform:scale(1.05);
}

.sortation-section .video-thumbnail:hover::after{
  background:rgba(0,0,0,0.5);
}

/* BOTON PLAY */
.sortation-section .play-button{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  font-size:40px;
  color:white;
  width:80px;
  height:80px;
  border-radius:50%;
  background:rgba(250,94,58,0.9);
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 0 25px rgba(250,94,58,0.6);
  transition:var(--transition-smooth);
}

.sortation-section .video-thumbnail:hover .play-button{
  transform:translate(-50%,-50%) scale(1.1);
}

/* RESPONSIVE */
@media(max-width:900px){
  .sortation-section .grid-2{
    grid-template-columns:1fr;
  }

  .sortation-section .section-title{
    font-size:34px;
  }
}

/* =========================
   INTRO TEXT CARD
========================= */

.intro-text-card{
  display:flex;
  gap:20px;
  align-items:flex-start;
  background:linear-gradient(135deg,rgba(239,130,32,0.06),rgba(255,255,255,0.8));
  border:1px solid rgba(239,130,32,0.1);
  border-radius:20px;
  padding:36px;
  box-shadow:0 10px 30px rgba(0,0,0,0.04);
  transition:all .4s ease;
}

.intro-text-card:hover{
  box-shadow:0 20px 40px rgba(239,130,32,0.1);
  transform:translateY(-4px);
}

.intro-text-accent{
  width:4px;
  min-height:100%;
  background:linear-gradient(to bottom,var(--primary),#ff9a3c);
  border-radius:4px;
  flex-shrink:0;
  align-self:stretch;
}

.intro-text-content{
  flex:1;
}

.intro-label{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:10px;
  font-weight:700;
  letter-spacing:2px;
  text-transform:uppercase;
  color:var(--primary);
  background:rgba(239,130,32,0.08);
  padding:5px 12px;
  border-radius:100px;
  margin-bottom:18px;
}

.intro-label svg{
  width:12px;
  height:12px;
}

.intro-text-content .text{
  font-size:1.05rem;
  line-height:1.9;
  color:var(--text);
  text-align:left;
}

.intro-text-content .text .accent{
  font-weight:700;
  background:linear-gradient(90deg,var(--primary),#FA5E3A);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
}

.intro-pillars{
  display:flex;
  gap:10px;
  margin-top:22px;
  padding-top:20px;
  border-top:1px solid rgba(0,0,0,0.06);
}

.intro-pillar{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:8px 16px;
  border-radius:10px;
  background:rgba(239,130,32,0.06);
  border:1px solid rgba(239,130,32,0.08);
  font-size:12px;
  font-weight:600;
  color:var(--text);
  transition:all .3s ease;
}

.intro-pillar:hover{
  background:var(--primary);
  color:#fff;
  transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(239,130,32,0.25);
}

.intro-pillar svg{
  width:14px;
  height:14px;
  color:var(--primary);
  transition:all .3s ease;
}

.intro-pillar:hover svg{
  color:#fff;
}

@media(max-width:900px){
  .intro-text-card{
    padding:24px;
  }

  .intro-pillars{
    flex-wrap:wrap;
  }
}

/* =========================
   WHAT IS - TEXT BLOCK
========================= */

.what-text-block{
  position:relative;
}

.what-overline{
  display:inline-block;
  font-size:11px;
  font-weight:700;
  letter-spacing:3px;
  text-transform:uppercase;
  color:var(--primary);
  background:rgba(239,130,32,0.1);
  padding:6px 14px;
  border-radius:100px;
  margin-bottom:16px;
}

.what-text-block .section-title{
  margin-bottom:24px;
}

.what-text-block .text{
  font-size:1.02rem;
  line-height:1.9;
  color:var(--text);
  text-align:left;
}

.tag-badge{
  display:inline-block;
  background:linear-gradient(135deg,rgba(239,130,32,0.1),rgba(250,94,58,0.06));
  color:var(--primary);
  font-weight:600;
  padding:2px 10px;
  border-radius:6px;
  font-size:0.95em;
  transition:all .3s ease;
}

.tag-badge:hover{
  background:var(--primary);
  color:#fff;
  transform:translateY(-2px);
}

.what-highlight{
  position:relative;
  padding-left:20px;
  margin-top:24px;
  border-left:3px solid var(--primary);
  color:#444 !important;
  font-style:italic;
}

.what-stats{
  display:flex;
  gap:20px;
  margin-top:32px;
  padding-top:24px;
  border-top:1px solid rgba(0,0,0,0.06);
}

.what-stat-item{
  display:flex;
  flex-direction:column;
  gap:2px;
}

.what-stat-value{
  font-size:13px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:1.5px;
  color:var(--primary);
}

.what-stat-label{
  font-size:12px;
  color:var(--gray);
  font-weight:500;
}

.what-stat-divider{
  width:1px;
  background:rgba(0,0,0,0.08);
}

@media(max-width:900px){
  .what-stats{
    flex-wrap:wrap;
  }

  .what-stat-divider{
    display:none;
  }
}

/* =========================
   TABLE COMPARISON
========================= */

.table-responsive {
  overflow-x: clip;
  margin-top: 40px;
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing:0 8px;
  font-family: Inter, sans-serif;
  font-size: 0.95rem;
  text-align: left;
}

/* Encabezados */
.comparison-table thead th {
  background: linear-gradient(135deg,var(--primary),#ff9a3c);
  color: #fff;
  font-weight: 700;
  padding: 18px 24px;
  text-transform: uppercase;
  letter-spacing:1px;
  font-size:12px;
}

.comparison-table thead th:first-child {
  border-radius: 14px 0 0 14px;
  width:34%;
}

.comparison-table thead th:last-child {
  border-radius: 0 14px 14px 0;
}

/* Celdas */
.comparison-table tbody td {
  padding: 18px 24px;
  color: var(--text);
  background:#fff;
  border:none;
  transition:all .35s ease;
}

.comparison-table tbody tr td:first-child {
  border-radius: 14px 0 0 14px;
  font-weight: 700;
  color: var(--text);
  background:linear-gradient(135deg,rgba(239,130,32,0.06),#fff);
  border-left:3px solid var(--primary);
}

.comparison-table tbody tr td:last-child {
  border-radius: 0 14px 14px 0;
}

.comparison-table tbody tr {
  box-shadow:0 4px 12px rgba(0,0,0,0.03);
  transition:all .35s ease;
}

.comparison-table tbody tr:hover {
  box-shadow:0 8px 25px rgba(239,130,32,0.1);
  transform:translateY(-2px);
}

.comparison-table tbody tr:hover td:first-child {
  border-left-color:#ff9a3c;
}

.spec-icon{
  width:16px;
  height:16px;
  color:var(--primary);
  margin-right:10px;
  vertical-align:middle;
}

.spec-highlight{
  display:inline-block;
  background:linear-gradient(135deg,rgba(239,130,32,0.1),rgba(255,154,60,0.05));
  color:var(--primary);
  font-weight:700;
  padding:4px 14px;
  border-radius:8px;
  font-size:1.05rem;
}

.spec-badge{
  display:inline-block;
  background:var(--dark);
  color:#fff;
  font-weight:600;
  padding:3px 12px;
  border-radius:6px;
  font-size:12px;
  letter-spacing:.5px;
  margin-right:6px;
}

/* Responsive para móviles */
@media(max-width:700px) {
  .comparison-table thead th, 
  .comparison-table tbody td {
    padding: 12px 14px;
    font-size: 0.85rem;
  }

  .comparison-table thead th:first-child,
  .comparison-table tbody tr td:first-child {
    width:auto;
  }
}

/* =============================
   GLASS CARD (GLOW HOVER ALEATORIO)
============================= */

.glass-card{
  position:relative;
  overflow:hidden;
}

.glass-card::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(250,94,58,0.22), transparent 70%);
  top: -60px;
  left: 50%;
  transform: translateX(-50%) scale(0.8);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.glass-card:hover::before {
  opacity: 1;
  transform: scale(1) translate(
    calc(-20px + 40px * var(--rX, 0.5)),
    calc(-20px + 40px * var(--rY, 0.5))
  ) rotate(calc(-10deg + 20deg * var(--rRot, 0.5)));
}

.grid-4 .glass-card:nth-child(1)::before { --rX:0.3; --rY:0.7; --rRot:0.2; }
.grid-4 .glass-card:nth-child(2)::before { --rX:0.8; --rY:0.2; --rRot:0.6; }
.grid-4 .glass-card:nth-child(3)::before { --rX:0.5; --rY:0.9; --rRot:0.8; }
.grid-4 .glass-card:nth-child(4)::before { --rX:0.2; --rY:0.4; --rRot:0.3; }

.grid-2 .glass-card:nth-child(1)::before { --rX:0.4; --rY:0.6; --rRot:0.5; }
.grid-2 .glass-card:nth-child(2)::before { --rX:0.7; --rY:0.3; --rRot:0.2; }

/* =============================
   GRID BG (FLOW SECTION)
============================= */

.flow-section{
  position:relative;
  overflow:hidden;
}

.flow-section::before{
  content:"";
  position:absolute;
  inset:0;

  background-size:40px 40px;
  background-image:
    linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);

  animation:gridMove 25s linear infinite;
}

/* =============================
   USE CASES
============================= */

.grid-2{
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  gap:40px;
  justify-items:center;
}

.grid-2 .glass-card{
  max-width:420px;
  text-align:center;
}


/* =============================
   RESPONSIVE
============================= */

@media(max-width:1100px){

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

}

@media(max-width:900px){

  .flow{
    flex-direction:column;
  }

  .flow-arrow{
    width:2px;
    height:50px;
  }

  .flow-arrow::after{
    width:100%;
    height:50%;
    left:0;
    top:-50%;
    animation:verticalFlow 2s linear infinite;
  }

  @keyframes verticalFlow{
    to{top:100%;}
  }

}

@media(max-width:700px){

  .grid-2{
    grid-template-columns:1fr;
    gap:24px;
  }

  .intro-text-card{
    padding:20px;
  }

  .intro-text-accent{
    min-height:60px;
  }

  .intro .section-title{
    font-size:34px;
  }

  .section{
    padding:90px 0;
  }

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

}

/* ================================
   CAPABILITIES PRO (APPLE STYLE)
================================ */

.contact-apple{
  position:relative;
  overflow:hidden;
}

/* ======================
   PROGRESS INDICATOR
====================== */

.apple-progress{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  margin-bottom:10px;
  font-weight:700;
  letter-spacing:1px;
}

.apple-progress-current{
  font-size:28px;
  color:var(--primary);
  transition:all .4s ease;
}

.apple-progress-divider{
  font-size:20px;
  color:#ccc;
}

.apple-progress-total{
  font-size:16px;
  color:#bbb;
}

/* ======================
   CONNECTOR (LEFT TO RIGHT)
====================== */

.apple-connector{
  position:absolute;
  top:0;
  left:-8px;
  width:calc(50% + 60px);
  height:1px;
  background:linear-gradient(to right,var(--primary),rgba(239,130,32,0.2));
  opacity:0;
  pointer-events:none;
  transition:opacity .8s ease,top .5s cubic-bezier(.2,.8,.2,1);
  z-index:0;
}

.apple-connector.visible{
  opacity:0.25;
}

/* ======================
   DYNAMIC GLOW
====================== */

.apple-glow{
  position:absolute;
  width:500px;
  height:500px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(239,130,32,0.12),transparent 70%);
  filter:blur(80px);
  pointer-events:none;
  transition:all .8s cubic-bezier(.2,.8,.2,1);
  z-index:0;
}

/* ======================
   LEFT SIDE (TEXT)
====================== */

.apple-text{
  position:relative;
  padding-left:30px;
  z-index:1;
}

.apple-text::before{
  content:"";
  position:absolute;
  left:8px;
  top:0;
  width:2px;
  height:100%;
  background:linear-gradient(to bottom, var(--primary), transparent);
  opacity:0.3;
}

/* STEP CARD */
.apple-step{
  position:relative;
  padding:20px 20px 20px 30px;
  border-radius:14px;

  background:rgba(255,255,255,0.6);
  backdrop-filter:blur(10px);

  border:1px solid rgba(255,255,255,0.4);

  opacity:0.35;
  transform:translateY(40px) scale(0.97);
  transition:all .5s cubic-bezier(.2,.8,.2,1);
  cursor:default;
}

.apple-step::before{
  content:"";
  position:absolute;
  left:-6px;
  top:28px;
  width:14px;
  height:14px;
  border-radius:50%;
  background:#ddd;
  transition:var(--transition-smooth);
}

.apple-step:not(.active):hover{
  opacity:0.55;
  transform:translateY(-3px) scale(0.99);
  border-color:rgba(239,130,32,0.15);
}

/* ACTIVO */
.apple-step.active{
  opacity:1;
  transform:translateY(0) scale(1);
  box-shadow:0 20px 40px rgba(0,0,0,0.08);
}

.apple-step.active::before{
  background:var(--primary);
  box-shadow:0 0 15px rgba(250,94,58,0.6);
}

/* ======================
   RIGHT SIDE (VISUAL)
====================== */
.apple-visual{
  position:relative;
  height:500px;
  display:flex;
  align-items:center;
  justify-content:center;

  margin-left:20px;
  z-index:1;
}

/* ICON */
.apple-icon{
  position:absolute;
  top: 0;
  left:50%;
  opacity:0;
  transform: translateX(-50%) translateY(0) scale(0.5);
  filter:blur(8px);
  transition: all .6s cubic-bezier(.2,.8,.2,1);

  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  z-index: 1;
}

.apple-icon svg{
  width:110px;
  height:110px;
  stroke:var(--primary);
  stroke-width:1.5;
  filter:drop-shadow(0 10px 25px rgba(0,0,0,0.15));
}

.apple-icon.active{
  opacity:1;
  transform: translateX(-50%) translateY(0) scale(1);
  filter:blur(0);
}

.apple-icon.active::after{
  content:"";
  position:absolute;
  inset:-40px;
  background:radial-gradient(circle, rgba(250,94,58,0.3), transparent 70%);
  filter:blur(30px);
  z-index:-1;
}

.apple-icon.active svg{
  animation:floatIcon 3.5s ease-in-out infinite;
}

@keyframes floatIcon{
  0%,100%{transform:translateY(0);}
  50%{transform:translateY(-12px);}
}

/* ======================
   MICRO COPY
====================== */

.apple-icon-label{
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:2px;
  color:var(--primary);
  opacity:0;
  transform:translateY(6px);
  transition:all .4s ease .2s;
}

.apple-icon.active .apple-icon-label{
  opacity:0.8;
  transform:translateY(0);
}

/* ======================
   WRAPPER
====================== */

.apple-wrapper{
  position:sticky;
  top:120px;
  z-index:1;
  isolation:isolate;

  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  margin-top:30px;
}

/* TEXT SIDE */
.apple-text {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.apple-step.active {
  opacity: 1;
  transform: translateY(0);
}

.apple-step h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.apple-step p {
  color: #555;
  line-height: 1.6;
}

/* VISUAL SIDE */
.apple-icon i {
  width: 120px;
  height: 120px;
  color: #ff7a18;
}

/* MOBILE */
@media (max-width: 768px) {
  .apple-progress{
    display:none;
  }

  .apple-connector{
    display:none;
  }

  .apple-glow{
    display:none;
  }

  .apple-wrapper {
    grid-template-columns: 1fr;
    position: relative;
    top: 0;
  }

  .apple-visual {
    height: 150px;
  }
}




/* =========================
   SORTATION TABS
========================= */

.sortation-tabs{
  text-align:center;
  position:relative;
}

/* TABS */
.tabs{
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:50px;
  position:relative;
  z-index:1;
}

.tab{
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 22px;
  border-radius:100px;
  border:1.5px solid transparent;
  cursor:pointer;
  font-weight:600;
  font-size:14px;
  background:rgba(255,255,255,0.7);
  color:var(--gray);
  transition:all .35s ease;
  position:relative;
}

.tab svg{
  width:16px;
  height:16px;
  transition:all .35s ease;
}

.tab:hover{
  color:var(--text);
  background:#fff;
  border-color:rgba(239,130,32,0.15);
  transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(0,0,0,0.05);
}

.tab.active{
  background:var(--primary);
  color:#fff;
  border-color:var(--primary);
  box-shadow:0 10px 25px rgba(239,130,32,0.3);
}

.tab.active svg{
  color:#fff;
}

/* TAB PANEL (CARD) */
.tab-panel{
  background:#fff;
  border-radius:24px;
  padding:48px;
  box-shadow:0 4px 20px rgba(0,0,0,0.04);
  border:1px solid rgba(0,0,0,0.04);
  text-align:left;
  position:relative;
}

/* CONTENT */
.tab-content{
  display:none;
}

.tab-content.active{
  display:block;
  animation:fadeTab .5s cubic-bezier(.2,.8,.2,1);
}

@keyframes fadeTab{
  from{opacity:0; transform:translateY(16px) scale(0.98);}
  to{opacity:1; transform:translateY(0) scale(1);}
}

/* OVERLINE */
.tab-overline{
  display:inline-block;
  font-size:10px;
  font-weight:700;
  letter-spacing:2px;
  text-transform:uppercase;
  color:var(--primary);
  background:rgba(239,130,32,0.08);
  padding:4px 12px;
  border-radius:100px;
  margin-bottom:14px;
}

/* TEXT */
.tab-text{
  text-align:left;
}

.tab-title{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:24px;
  margin-bottom:12px;
}

.tab-title svg{
  color:var(--primary);
  width:24px;
  height:24px;
}

.tab-description{
  font-size:15px;
  color:#555;
  line-height:1.7;
  margin-bottom:24px;
  max-width:440px;
}

.tab-features{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.feature{
  display:flex;
  align-items:center;
  gap:12px;
  font-size:14px;
  padding:8px 14px;
  background:rgba(239,130,32,0.04);
  border-radius:10px;
  transition:all .3s ease;
  width:fit-content;
}

.feature:hover{
  background:rgba(239,130,32,0.1);
  transform:translateX(4px);
}

.feature svg{
  color:var(--primary);
  width:18px;
  flex-shrink:0;
}

/* IMAGE */
.tab-image{
  display:flex;
  justify-content:center;
  align-items:center;
  position:relative;
}

.tab-image-border{
  position:absolute;
  inset:-6px;
  border:1.5px solid rgba(239,130,32,0.1);
  border-radius:24px;
  z-index:0;
  transition:all .4s ease;
}

.tab-panel:hover .tab-image-border{
  inset:-8px;
  border-color:rgba(239,130,32,0.2);
}

.tab-image img{
  width:100%;
  max-width:453px;
  max-height:390px;
  object-fit:contain;
  border-radius:18px;
  box-shadow:0 15px 35px rgba(0,0,0,0.08);
  transition:all .4s cubic-bezier(.2,.8,.2,1);
  position:relative;
  z-index:1;
}

.tab-image img:hover{
  transform:scale(1.06);
  box-shadow:0 25px 50px rgba(239,130,32,0.15);
}

/* MOBILE */
@media(max-width:900px){
  .sortation-tabs .grid-2{
    grid-template-columns:1fr;
    text-align:center;
  }

  .tab-panel{
    padding:28px 20px;
  }

  .tab-text{
    text-align:center;
  }

  .tab-title{
    justify-content:center;
  }

  .tab-description{
    margin:0 auto;
  }

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

  .tab-overline{
    text-align:center;
    display:inline-block;
    width:auto;
  }

  .tab-image-border{
    display:none;
  }
}

.mobile-only{
  display:none;
}

/* =========================
   MOBILE FIX
========================= */
@media (max-width:768px){

  .apple-wrapper{
    flex-direction:column;
  }

  .apple-visual{
    display:none;
  }

  .mobile-only{
    display:flex;
  }

  .apple-step{
    display:flex;
    gap:15px;
    align-items:flex-start;
  }

  .step-icon{
    width:42px;
    height:42px;
    min-width:42px;
    border-radius:12px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:linear-gradient(135deg,#00c6ff,#0072ff);
    box-shadow:0 10px 25px rgba(0,114,255,0.3);

    flex-shrink:0;
  }

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

  .apple-step-content{
    flex:1;
  }

}

/* =============================
   SECTION MUTED (ALTERNATING)
============================= */

.section-muted{
  background:linear-gradient(180deg,#f8f9fc,#fff);
  border-radius:40px;
  margin:20px 6%;
  padding:120px 4%;
}

@media(max-width:900px){
  .section-muted{
    margin:20px 4%;
    padding:80px 4%;
    border-radius:24px;
  }
}

/* =============================
   FEATURES GRID (4 CARDS)
============================= */

.features-section{
  text-align:center;
}

.features-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
  margin-top:60px;
}

.feature-card{
  text-align:center;
  padding:44px 28px 36px;
  position:relative;
  overflow:hidden;
  border-top:3px solid transparent;
  transition:all .4s ease;
}

.feature-card::before{
  content:"";
  position:absolute;
  width:200px;
  height:200px;
  background:radial-gradient(circle,rgba(250,94,58,0.15),transparent 70%);
  top:-60px;
  left:50%;
  transform:translateX(-50%) scale(0.8);
  opacity:0;
  pointer-events:none;
  transition:opacity 0.35s ease,transform 0.35s ease;
}

.feature-card:hover::before{
  opacity:1;
  transform:translateX(-50%) scale(1);
}

.feature-card:hover{
  border-top-color:var(--primary);
}

.feature-number{
  position:absolute;
  top:12px;
  right:16px;
  font-size:44px;
  font-weight:800;
  color:rgba(239,130,32,0.06);
  line-height:1;
  transition:all .4s ease;
  pointer-events:none;
}

.feature-card:hover .feature-number{
  color:rgba(239,130,32,0.15);
  transform:scale(1.1);
}

.feature-icon{
  width:56px;
  height:56px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 20px;
  background:linear-gradient(135deg,var(--primary),#ff9a3c);
  color:#fff;
  box-shadow:0 10px 20px rgba(239,130,32,0.25);
  transition:all .3s ease;
}

.feature-card:hover .feature-icon{
  transform:scale(1.1) rotate(5deg);
  box-shadow:0 15px 30px rgba(239,130,32,0.35);
}

.feature-icon svg{
  animation:featureFloat 3s ease-in-out infinite;
}

@keyframes featureFloat{
  0%,100%{transform:translateY(0);}
  50%{transform:translateY(-5px);}
}

.feature-card h3{
  font-size:18px;
  margin-bottom:6px;
}

.feature-line{
  width:28px;
  height:3px;
  background:linear-gradient(to right,var(--primary),#ff9a3c);
  border-radius:4px;
  margin:0 auto 14px;
  transition:all .4s ease;
}

.feature-card:hover .feature-line{
  width:48px;
}

/* STAGGERED REVEAL */
.feature-card{
  opacity:0;
  transform:translateY(30px);
  transition:all .6s ease;
}

.section.show .feature-card{
  opacity:1;
  transform:translateY(0);
}

.section.show .feature-card:nth-child(1){transition-delay:0.05s}
.section.show .feature-card:nth-child(2){transition-delay:0.15s}
.section.show .feature-card:nth-child(3){transition-delay:0.25s}
.section.show .feature-card:nth-child(4){transition-delay:0.35s}

@media(max-width:1100px){
  .features-grid{
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:700px){
  .features-grid{
    grid-template-columns:1fr;
  }
}

/* =============================
   CTA SECTION
============================= */

.cta-section{
  text-align:center;
  background:linear-gradient(135deg,#0d0d0d 0%,#16213e 50%,#111 100%);
  padding:120px 8%;
  color:#fff;
  position:relative;
  overflow:hidden;
  max-width:100%;
  width:100%;
  margin:0;
  border-radius:0;
}

.cta-section::before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(ellipse at 50% 50%, rgba(239,130,32,0.12), transparent 60%);
  animation:ctaGlow 6s ease-in-out infinite alternate;
}

@keyframes ctaGlow{
  0%{opacity:.5;transform:scale(1);}
  100%{opacity:1;transform:scale(1.05);}
}

.cta-section h2,
.cta-section p,
.cta-section .btn-primary{
  position:relative;
  z-index:1;
}

.cta-section h2{
  margin-bottom:20px;
  color:#fff;
}

.cta-section .section-title::after{
  background:var(--primary);
}

.cta-section .btn-primary{
  box-shadow:0 0 20px rgba(239,130,32,0.3);
  animation:pulse 2s ease-in-out infinite;
}

@keyframes pulse{
  0%,100%{box-shadow:0 0 20px rgba(239,130,32,0.3);}
  50%{box-shadow:0 0 40px rgba(239,130,32,0.6);}
}

.cta-section .btn-primary:hover{
  animation:none;
}

/* =============================
   SPECS TABLE SCROLL REVEAL
============================= */

.table-responsive{
  opacity:0;
  transform:translateY(30px);
  transition:all .8s ease;
}

.section.show .table-responsive{
  opacity:1;
  transform:translateY(0);
}

/* =============================
   CAPABILITIES SMOOTHER STICKY
============================= */

.apple-wrapper{
  will-change:transform;
}

/* =============================
   TABS - STRONGER IMAGE HOVER
============================= */

.tab-image img{
  transition:all .4s cubic-bezier(.2,.8,.2,1);
}

.tab-image img:hover{
  transform:scale(1.08);
  box-shadow:0 25px 50px rgba(250,94,58,0.2);
}