:root {
  /* ESSAR Brand Colors */
  --essar-green: #6bc22f;
  --essar-green-dark: #58a126;
  --essar-orange: #fbb03b;
  --essar-orange-dark: #e09b2e;
  --essar-black: #050505;

  /* Theme Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-dark: #0a0f12;
  --bg-darker: #05080a;
  --text-heading: #1a1a2e;
  --text-body: #4a5568;
  --text-muted: #9ca3af;

  /* Typography */
  --font-heading: "Outfit", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;
}

body,
html {
  margin: 0;
  padding: 0;
  width: 100%;
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
}
a {
  text-decoration: none;
}

.btn-signature {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 12px 12px 30px;
  background: transparent;
  border-radius: 60px;
  text-decoration: none;
  overflow: hidden;
  border: none;
  outline: none;
  cursor: pointer;
  z-index: 1;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.4s cubic-bezier(0.19, 1, 0.22, 1),
    box-shadow 0.4s ease;
}
.btn-signature-bg {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg at 50% 50%,
    transparent 0%,
    var(--essar-green) 25%,
    var(--essar-orange) 50%,
    transparent 75%,
    transparent 100%
  );
  animation: rotateGlow 3s linear infinite;
  z-index: -2;
}
.btn-signature::before {
  content: "";
  position: absolute;
  inset: 2px;
  background: #050505;
  border-radius: 58px;
  z-index: -1;
}
.btn-signature::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: linear-gradient(135deg, var(--essar-green), var(--essar-orange));
  border-radius: 58px;
  z-index: -1;
  clip-path: circle(0% at 100% 50%);
  transition: clip-path 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}
.btn-signature-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #ffffff;
  z-index: 2;
  margin-right: 20px;
  transition: color 0.4s ease;
}
.btn-signature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border-radius: 50%;
  color: #ffffff;
  z-index: 2;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.btn-signature-icon svg {
  width: 20px;
  height: 20px;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.btn-signature:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(107, 194, 47, 0.35);
}
.btn-signature:hover::after {
  clip-path: circle(150% at 100% 50%);
}
.btn-signature:hover .btn-signature-text {
  color: #050505;
}
.btn-signature:hover .btn-signature-icon {
  background: #ffffff;
  color: var(--essar-orange-dark);
  transform: scale(1.1) rotate(-45deg);
}
@keyframes rotateGlow {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--essar-green);
  margin-bottom: 25px;
}
.section-label-line {
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, var(--essar-green), var(--essar-orange));
}

.massive-watermark {
  position: absolute;
  font-size: 18vw;
  font-family: var(--font-heading);
  font-weight: 900;
  color: rgba(0, 0, 0, 0.02);
  z-index: 0;
  pointer-events: none;
  line-height: 1;
  letter-spacing: -5px;
  white-space: nowrap;
}
.massive-watermark.dark {
  color: rgba(255, 255, 255, 0.02);
}
.tech-hero {
  position: relative;
  padding: 180px 0 120px 0;
  background-color: var(--bg-darker);
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../images/banners/new-pd-ban.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
  filter: none;
  z-index: 0;
}

.tech-hero-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.418);
}

.hero-content-wrapper {
  position: relative;
  z-index: 3;
}

.breadcrumb-tech {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 25px;
  border-radius: 30px;
  margin-bottom: 30px;
}
.breadcrumb-tech i {
  color: var(--essar-orange);
  font-size: 0.7rem;
}
.breadcrumb-tech span {
  color: rgba(255, 255, 255, 0.4);
}

.hero-title-tech {
  font-size: clamp(3rem, 4vw, 4.5rem);
  font-weight: 900;
  color: var(--bg-primary);
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 25px;
  text-transform: uppercase;
}
.hero-title-tech span {
  background: linear-gradient(135deg, var(--essar-green), var(--essar-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc-tech {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  max-width: 650px;
  margin-bottom: 40px;
  border-left: 4px solid var(--essar-orange);
  padding-left: 20px;
  font-weight: 300;
}

/* Floating Tech Badges in Hero */
.hero-stats-row {
  display: flex;
  gap: 30px;
  margin-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 40px;
}
.stat-item {
  display: flex;
  flex-direction: column;
}
.stat-val {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 5px;
}
.stat-val span {
  color: var(--essar-green);
  font-size: 1.5rem;
}
.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

.blueprint-section {
  padding: 140px 0;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}
.blueprint-grid {
  position: absolute;
  inset: 0;
  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);
  background-size: 40px 40px;
  z-index: 0;
}

.prod-image-col {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}
.prod-main-img {
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
  transition: transform 0.5s ease;
}
.prod-main-img:hover {
  transform: scale(1.02);
}

.floating-spec-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 25px;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 3;
  animation: floatBadge 6s ease-in-out infinite;
}
.floating-spec-badge.left-top {
  bottom: 0%;
  left: -20px;
  animation-delay: 0s;
}
.floating-spec-badge.right-bottom {
  bottom: 15%;
  right: -20px;
  animation-delay: 2s;
}

.fsb-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--essar-orange);
  font-size: 1.2rem;
}
.fsb-text h5 {
  margin: 0 0 3px 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-heading);
}
.fsb-text p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
}

@keyframes floatBadge {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.prod-info-col {
  position: relative;
  z-index: 2;
  padding-left: 40px;
}
.prod-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.1;
  margin-bottom: 25px;
  letter-spacing: -1px;
}
.prod-title span {
  color: var(--essar-orange);
}
.prod-desc-text {
  font-size: 1.15rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 40px;
}

/* Advanced Feature Grid */
.adv-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.adv-f-card {
  padding: 25px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.adv-f-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    var(--essar-green),
    var(--essar-orange)
  );
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s ease;
}
.adv-f-icon {
  font-size: 2rem;
  color: var(--essar-orange);
  margin-bottom: 15px;
  transition: transform 0.4s ease;
}
.adv-f-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-heading);
}
.adv-f-card p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.5;
  margin: 0;
}

.adv-f-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(107, 194, 47, 0.08);
  border-color: rgba(107, 194, 47, 0.2);
}
.adv-f-card:hover::before {
  transform: scaleY(1);
}
.adv-f-card:hover .adv-f-icon {
  transform: scale(1.1) rotate(5deg);
  color: var(--essar-green);
}

.tech-specs-section {
  padding: 140px 0;
  background: var(--bg-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.tech-specs-section::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(
    circle,
    rgba(107, 194, 47, 0.05) 0%,
    transparent 60%
  );
  z-index: 0;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
  z-index: 2;
  margin-top: 60px;
}
.spec-glass-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 40px 30px;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  height: 100%;
}
.spec-icon-top {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--essar-green);
  margin-bottom: 25px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s ease;
}
.spec-glass-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
  letter-spacing: -0.5px;
}

.spec-data-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.spec-data-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}
.spec-data-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.spec-data-list li .label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  font-weight: 500;
}
.spec-data-list li .value {
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  text-align: right;
}

.spec-glass-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(107, 194, 47, 0.3);
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}
.spec-glass-card:hover .spec-icon-top {
  background: linear-gradient(135deg, var(--essar-green), var(--essar-orange));
  color: #fff;
  border-color: transparent;
  transform: scale(1.1);
}

.process-section {
  padding: 140px 0;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.process-timeline {
  max-width: 1000px;
  margin: 60px auto 0;
  position: relative;
}
.process-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(0, 0, 0, 0.1);
  transform: translateX(-50%);
}

.process-step {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 80px;
  position: relative;
}
.process-step:last-child {
  margin-bottom: 0;
}
.process-step:nth-child(even) {
  flex-direction: row-reverse;
}

.p-step-content {
  width: 45%;
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.02);
  position: relative;
  transition: all 0.4s ease;
}
.p-step-img {
  width: 45%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  position: relative;
  aspect-ratio: 4/3;
}
.p-step-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.p-step-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border: 4px solid var(--bg-secondary);
  z-index: 2;
  transition: all 0.4s ease;
}
.p-step-center span {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text-heading);
}

.p-step-content h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: var(--text-heading);
}
.p-step-content p {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.7;
  margin: 0;
}

.process-step:hover .p-step-content {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(107, 194, 47, 0.1);
  border-color: rgba(107, 194, 47, 0.2);
}
.process-step:hover .p-step-img img {
  transform: scale(1.05);
}
.process-step:hover .p-step-center {
  background: linear-gradient(135deg, var(--essar-green), var(--essar-orange));
  border-color: #fff;
}
.process-step:hover .p-step-center span {
  color: #fff;
}

.applications-bento {
  padding: 140px 0;
  background: var(--bg-primary);
  position: relative;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 280px;
  gap: 20px;
  margin-top: 60px;
}

.bento-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-dark);
  cursor: pointer;
}
.bento-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  transition: all 0.6s ease;
  filter: grayscale(50%);
}
.bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 5, 5, 0.9) 0%, transparent 80%);
  transition: opacity 0.4s ease;
}

.bento-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  z-index: 2;
}
.bento-icon {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
}
.bento-content h4 {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 5px 0;
  transition: transform 0.4s ease;
}
.bento-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin: 0;
  max-height: 0;
  opacity: 0;
  transition: all 0.4s ease;
  transform: translateY(10px);
}

.bento-item:hover img {
  transform: scale(1.08);
  opacity: 0.8;
  filter: grayscale(0%);
}
.bento-item:hover .bento-overlay {
  background: linear-gradient(
    to top,
    rgba(5, 5, 5, 1) 0%,
    rgba(5, 5, 5, 0.4) 100%
  );
}
.bento-item:hover .bento-icon {
  background: var(--essar-orange);
  border-color: var(--essar-orange);
  transform: rotate(10deg);
}
.bento-item:hover .bento-content h4 {
  transform: translateY(-5px);
  color: var(--essar-green);
}
.bento-item:hover .bento-content p {
  max-height: 100px;
  opacity: 1;
  transform: translateY(0);
}

/* Sizing the Bento Grid Items */
.bento-large {
  grid-column: span 2;
  grid-row: span 2;
} /* 2x2 */
.bento-wide {
  grid-column: span 2;
  grid-row: span 1;
} /* 2x1 */
.bento-square {
  grid-column: span 1;
  grid-row: span 1;
} /* 1x1 */

@media (max-width: 1199px) {
  .hero-title-tech {
    font-size: 4rem;
  }
  .prod-info-col {
    padding-left: 20px;
  }
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .bento-large {
    grid-column: span 2;
    grid-row: span 2;
  }
  .bento-wide {
    grid-column: span 2;
    grid-row: span 1;
  }
  .bento-square {
    grid-column: span 1;
    grid-row: span 1;
  }
}
@media (max-width: 991px) {
  .tech-hero {
    padding: 140px 0 80px 0;
  }
  .blueprint-section {
    padding: 80px 0;
  }
  .prod-info-col {
    padding-left: 15px;
    margin-top: 50px;
  }
  .spec-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-timeline::before {
    left: 30px;
    transform: none;
  }
  .process-step {
    flex-direction: column !important;
    align-items: flex-end;
    margin-bottom: 50px;
  }
  .p-step-center {
    left: 30px;
    transform: translate(-50%, -50%);
  }
  .p-step-content,
  .p-step-img {
    width: calc(100% - 80px);
  }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-large,
  .bento-wide,
  .bento-square {
    grid-column: span 2;
    grid-row: span 1;
  }
}
@media (max-width: 768px) {
  .hero-title-tech {
    font-size: 3rem;
  }
  .hero-stats-row {
    flex-direction: column;
    gap: 20px;
  }
  .adv-features {
    grid-template-columns: 1fr;
  }
  .spec-grid {
    grid-template-columns: 1fr;
  }
  .p-step-content,
  .p-step-img {
    width: 100%;
    margin-left: 0;
    margin-top: 30px;
  }
  .process-timeline::before {
    display: none;
  }
  .p-step-center {
    display: none;
  }
}
