/* ================= ROOT ================= */

:root {
  --primary: #00e0b8;
  --text-muted: #9aa0a6;
}

/* ================= LAYOUT SYSTEM ================= */

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

.text-white {
  color: #fff;
}

/* ================= HERO ================= */

.hero {
  position: relative;
  min-height: 100vh !important;
  margin-top: 4rem;
  color: white;
  overflow: hidden;
  height: fit-content !important;
  max-height: 100vh;

  /* 🔥 BACKGROUND MATCH (IMAGE STYLE) */
  background:
    radial-gradient(
      circle at 50% 75%,
      rgba(21, 118, 101, 0.45) 0%,
      rgba(0, 0, 0, 0.95) 55%
    ),
    #000;

  border-radius: 12px;
}

/* 🔥 GRADIENT BORDER */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;

  background: linear-gradient(90deg, #65eeb7 0%, #92ffdd 56.35%, #ffffff 100%);

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);

  -webkit-mask-composite: xor;
  mask-composite: exclude;

  pointer-events: none;
}

/* ❌ REMOVE OLD DISABLED STATES */
.hero::after {
  display: none;
}

/* 🎥 VIDEO (LOW VISIBILITY ONLY) */
.hero-video {
  position: absolute;
  top: 0px;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;

  opacity: 1;
  /* 🔥 FULL CLEAR */
  filter: none;
  /* 🔥 REMOVE BLUR */
}

/* 🔥 OVERLAY */
.hero-overlay {
  position: absolute;
  inset: 0;
  /* z-index: 1; */
  pointer-events: none;

  background: radial-gradient(
    circle at 50% 99%,
    rgba(20, 199, 166, 0.232) 0%,
    /* 🔥 GREEN GLOW */ rgba(0, 0, 0, 0.11) 60%,
    /* 🔥 DARK FADE */ rgba(0, 0, 0, 0.147) 100%
  );
}

/* CONTENT */
.hero .container {
  position: relative;
  z-index: 2;
  animation: heroReveal 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* TITLE */
.hero-title {
  font-family: "Blauer Nue";
  font-weight: bold !important;
  font-size: 45px;
  line-height: 40px;
  text-align: center;
  text-transform: uppercase;

  background: linear-gradient(
    180deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.75) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  margin-bottom: 10px;
}

/* SUB TEXT */
.hero-sub {
  font-family: "Blauer Nue";
  text-align: center;
  max-width: 1000px;
  margin: 0 auto 56px;

  font-size: 16px;
  line-height: 1.6;
  color: rgba(201, 209, 217, 0.75);
}

/* ================= HERO STAGE ================= */

.hero-stage {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  margin-top: 100px;
  padding-right: 5%;
  width: 100%;
}

/* OUTER BOX */
.stage-box {
  position: relative;
  padding: 10px;
  border-radius: 24px;

  top: 240px;
  right: -358px;
  border: 1px solid #43d8b7;

  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.4),
    inset 0 0 20px rgba(12, 183, 153, 0.05);

  background: rgba(13, 24, 23, 0.5);

  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);

  width: 320px;
  margin: 0 auto;

  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.stage-box:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(12, 183, 153, 0.5);

  box-shadow:
    0 30px 60px rgba(0, 224, 184, 0.1),
    inset 0 0 30px rgba(12, 183, 153, 0.1);
}

/* ITEMS */
.stage-item {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 10px 14px;
  margin-bottom: 8px;

  border-radius: 14px;
  background: #1a1a1a;

  color: #e6e6e6;
  font-size: 14px;

  transition: 0.3s;
}

/* ACTIVE */
.stage-item.active {
  background: linear-gradient(90deg, #0cb799, #17d1a6);
  color: #002a25;
  font-weight: 700;

  box-shadow: 0 0 20px rgba(12, 183, 153, 0.3);
}

/* ARROW */
.arrow {
  width: 28px;
  height: 28px;

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

  border-radius: 10px;
  color: #fff;
  font-size: 12px;
}

/* LAST ITEM FIX */
.stage-item:last-child {
  margin-bottom: 0;
}

/* DOT */
.stage-dot {
  position: absolute;
  top: -6px;
  right: 300px;

  width: 20px;
  height: 20px;

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

.stage-dot img {
  width: 100%;
  height: 100%;
}

/* ANIMATION */
@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= HERO FULL RESPONSIVE MATCH ================= */

/* Tablet */
@media (max-width: 992px) {
  .hero {
    padding-bottom: 120px; /* space for stage */
    /* height: fit-content !important; */
  }

  .hero-stage {
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    /* height: fit-content !important; */
    padding-right: 0;
  }

  .stage-box {
    position: relative;
    top: 0;
    right: 0;
    /* height: fit-content !important; */
    width: 260px;
    margin: 20px auto 0;
  }

  .stage-dot {
    right: 85%;
    top: -8px;
  }
}

/* Mobile (your screenshot level) */
@media (max-width: 576px) {
  .hero {
    padding: 80px 15px 140px; /* bottom space important */
    text-align: center;
  }

  .hero-title {
    font-size: 18px;
    line-height: 22px;
    position: relative;
    bottom: 65px;
    letter-spacing: 0.5px;
  }

  .hero-sub {
    font-size: 13px;
    line-height: 17px;
    max-width: 400px;
    margin: 10px auto 10px;
    position: relative;
    bottom: 60px;
    letter-spacing: 1px;
  }

  .hero-stage {
    margin-top: 30px;
  }

  .stage-box {
    width: 85%;
    max-width: 260px;

    top: 280px;
    right: 0;

    padding: 8px;
  }

  .stage-item {
    font-size: 11px;
    padding: 6px 8px;
  }

  .arrow {
    width: 20px;
    height: 20px;
    font-size: 9px;
  }

  .stage-dot {
    right: 80%;
    top: -6px;
  }
}

/* ================= SERVICES ================= */

.services {
  background: #e9e9e9;
  padding: 40px 0;
}

/* TITLE */
.section-title.dark {
  color: #000;
  font-size: 45px;
  /* Figma size */
  line-height: 50px;
  /* Figma line height */
  letter-spacing: 0;
  /* 0% */
  margin-bottom: 70px;
  font-family: "Blauer Nue", sans-serif;
  font-weight: 500;
  max-width: 900px;
  /* Bold */
}

/* ROW */
.services-row {
  display: flex;
  gap: 30px;
  margin-bottom: 60px;
}

/* CARD */
.service-card {
  flex: 1;
  height: 200px;

  background: linear-gradient(180deg, #021312, #010807);
  border-radius: 28px;

  border: 2px solid rgba(0, 224, 184, 0.25);

  /* padding: 24px; */
  position: relative;

  overflow: hidden;
  transition: 0.3s;
}

/* HEADER */
.service-header {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 10px;
  margin-top: 20px;
}

.service-header h5 {
  margin: 0;
  color: #fff;
  font-size: 20px;
}

.service-card .service-header .icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* for img-based SVG */
.service-card .service-header .icon img {
  width: 18px;
  height: 18px;
  opacity: 0.8;
}

.service-card .icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* for img-based SVG */
.service-card .icon img {
  width: 64px;
  height: 64px;
  opacity: 1;
}

/* HOVER */
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 40px rgba(0, 224, 184, 0.3);
}

/* INTEGRATION BOX */
.integration-box {
  width: 100%;
  max-width: 1200px;
  min-height: 80px;
  height: auto;

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

  padding: 20px;
  border-radius: 20px;

  font-size: 18px;
  text-align: center;
  color: #002a25;

  /* Background (Figma gradient) */
  background: linear-gradient(356.51deg, #0cb799 -321.16%, #ffffff 174.42%);

  /* Gradient Border Trick */
  border: 2px solid transparent;
  background-clip: padding-box;

  position: relative;

  margin: 0 auto 60px;
}

/* Border gradient layer */
.integration-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;

  background: linear-gradient(90deg, #65eeb7 0%, #92ffdd 56.35%, #ffffff 100%);

  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

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

@media (max-width: 992px) {
  .services-row {
    flex-wrap: wrap;
  }

  .service-card {
    flex: 48%;
  }
}

@media (max-width: 768px) {
  .services-row {
    flex-direction: column;
  }
}

.service-header h5 {
  margin: 0;
  color: #fff;
  font-size: 20px;

  /* animation initial state */
  opacity: 0;
  transform: translateY(-40px);
  transition: all 0.6s ease;
}

/* active class வந்த பிறகு */

.service-card.active h5 {
  opacity: 1;
  transform: translateY(0);
  transition:
    all 0.6s ease,
    transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* ================= INDUSTRIES ================= */

.industries {
  padding: 40px 0;
  background: #000;
  position: relative;
  overflow: hidden;
}

/* CONTROLLED BOTTOM GLOW */
.industries::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10%;

  transform: translateX(-50%);

  width: 90%;
  height: 50%;

  background: radial-gradient(
    ellipse at center,
    rgba(21, 118, 101, 0.5) 0%,
    rgba(21, 118, 101, 0.3) 30%,
    rgba(21, 118, 101, 0.15) 55%,
    rgba(21, 118, 101, 0.05) 70%,
    transparent 85%
  );

  filter: blur(40px);
  z-index: 1;
  pointer-events: none;
}

/* keep content above */
.industries .container {
  position: relative;
  z-index: 2;
}

/* HEADER */
.industries-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* center align (better than flex-start) */
  margin-bottom: 60px;
  gap: 40px;
  /* spacing between h2 & p */
}

/* HEADING */
.industries-header h2 {
  font-family: "Blauer Nue", sans-serif;
  font-weight: 500;
  font-size: 43px;
  /* Figma */
  line-height: 50px;
  letter-spacing: 0;
  text-transform: uppercase;

  color: #fff;

  /* max-width: 916px;    
   */
}

/* PARAGRAPH */
.industries-header p {
  font-family: "Blauer Nue", sans-serif;
  font-weight: 200;
  font-size: 17px;
  /* Figma */
  /* line-height: 26px; */
  letter-spacing: 0;

  color: #cfcfcf;

  max-width: 410px;
  /* Figma width */
  text-align: start;
}

/* GRID */
/* GRID */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* CARD */
.industry-card {
  position: relative;
  width: 100%;
  max-width: 400px;
  /* Figma width */
  height: 380px;
  /* Figma height */

  border-radius: 27px;
  /* Figma */
  overflow: hidden;
  cursor: pointer;

  background: #111;
  border: 1px solid rgba(0, 224, 184, 0.15);

  transition: all 0.4s ease;
}

/* IMAGE */
.industry-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  filter: grayscale(100%) brightness(0.7);
  transition: all 0.5s ease;
}

/* DARK OVERLAY */
.industry-card::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.industry-card:hover img {
  filter: grayscale(0%) brightness(1.05) saturate(1.2);
}

/* LABEL BOX (Figma exact) */
.industry-label {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);

  width: calc(100% - 40px);
  /* padding match */
  max-width: 397px;
  min-height: 78px;

  display: flex;
  align-items: center;

  padding: 10px 20px;

  border-radius: 20px;

  background: rgba(13, 24, 23, 0.76);
  /* #0D1817C2 */
  backdrop-filter: blur(18px);

  border: 2px solid #29524c;

  color: #e6fdf9;

  font-family: "Blauer Nue", sans-serif;
  font-weight: 400;
  font-size: 17px;
  /* Figma */
  line-height: 26px;
}

/* HOVER EFFECT */
.industry-card:hover img {
  filter: grayscale(0%) brightness(1);
  transform: scale(1.08);
}

.industry-card:hover {
  box-shadow: 0 10px 40px rgba(0, 224, 184, 0.25);
  transform: translateY(-6px);
}

/* EMPTY CARD */
.industry-card.empty {
  background: #cfcfcf;
  display: flex;
  align-items: flex-end;
}

.industry-card.empty .industry-label {
  background: rgba(0, 0, 0, 0.7);
}

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

/* Tablet */
@media (max-width: 992px) {
  .industries-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .industries-header p {
    text-align: left;
    max-width: 100%;
  }

  .industries-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 per row */
    gap: 20px;
  }

  .industry-card {
    max-width: 100%;
    height: 320px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .industries {
    padding: 30px 0;
  }

  .industries-header h2 {
    font-size: 27px;
    line-height: 34px;
    text-align: center !important;
  }

  .industries-header p {
    font-size: 14px;
    text-align: center;
  }

  .industries-grid {
    grid-template-columns: repeat(1, 1fr); /* still 2 per row */
    gap: 15px;
  }

  .industry-card {
    height: 250px;
  }

  .industry-label {
    font-size: 13px;
    line-height: 18px;
    padding: 8px 12px;
  }
}

/* ================= FOUNDER SECTION ================= */

.founder {
  padding: 60px 0;
  padding-bottom: 150px;
  background: #000;
  position: relative;
  overflow: hidden;
}

/* GLOW EFFECT */
.founder::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -20%;
  transform: translateX(-50%);

  width: 90%;
  height: 50%;

  background: radial-gradient(
    ellipse at center,
    rgba(21, 118, 101, 0.5) 0%,
    rgba(21, 118, 101, 0.3) 30%,
    rgba(21, 118, 101, 0.15) 55%,
    rgba(21, 118, 101, 0.05) 70%,
    transparent 85%
  );

  filter: blur(40px);
  z-index: 1;
  pointer-events: none;
}

/* CONTENT ABOVE GLOW */
.founder .container {
  position: relative;
  z-index: 2;
}

/* ================= TITLE ================= */

.section-title {
  color: #fff;
  font-family: "Blauer Nue", sans-serif;
  font-weight: 500;

  font-size: 45px;
  line-height: 50px;

  text-transform: uppercase;
  margin-bottom: 50px;
  /* text-align: center; */
}

@media (max-width: 768px) {
  .section-title {
    font-size: 34px;
    line-height: 40px;
  }
}

/* ================= CENTER LAYOUT ================= */

.founder-center {
  display: flex;
  justify-content: center;
}

/* ================= CARD ================= */

.founder-card {
  max-width: 1100px;
  width: 100%;

  padding: 30px;
  border-radius: 24px;

  background: rgba(9, 43, 37, 0.9);
  backdrop-filter: blur(10px);

  border: 1px solid rgba(0, 224, 184, 0.2);

  box-shadow: 0 0 40px rgba(21, 118, 101, 0.25);

  transition: 0.3s;
}

/* subtle hover effect 🔥 */
.founder-card:hover {
  box-shadow: 0 0 60px rgba(0, 224, 184, 0.35);
}

/* ================= TEXT ================= */

.founder-text-box {
  color: #d9fdf7;
  line-height: 1.8;
}

.founder-text-box p {
  margin-bottom: 20px;
}

.founder-sign {
  margin-top: 30px;
  font-weight: 600;
  color: #ffffff;
}

/* ================= ACTIONS ================= */

.founder-actions {
  display: flex;
  justify-content: center;
  /* margin-top: 20px; */
}

/* LINKEDIN BUTTON */

.linkedin-btn {
  width: 50px;
  height: 50px;

  background: #e6e6e6;
  border-radius: 12px;

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

  font-weight: bold;
  font-size: 18px;

  color: #000;
  cursor: pointer;

  transition: 0.3s;
}

/* hover effect */
.linkedin-btn:hover {
  /* background: #1fbfa6; */
  color: #fff !important;
  box-shadow: 0 0 20px rgba(0, 224, 184, 0.6);
}

.linkedin-btn a {
  color: rgb(0, 0, 0);
  text-decoration: none;
  font-size: 22px;
  font-weight: 700;
  font-family: Arial, sans-serif;
}
.linkedin-btn:hover {
  transform: translateY(-3px);
  background: #005f8d;
  color: #ffffff !important;
}
.linkedin-btn a:hover {
  color: white !important;
}
/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
  .founder-card {
    padding: 20px;
  }

  .founder-text-box {
    font-size: 14px;
  }
}

/* ================= FOOTER ================= */

/* Footer styles moved to base.css */

/* STARS */
.star {
  position: absolute;
  background: #65eeb7;
  pointer-events: none;
  z-index: 1;
  opacity: 0.9;
  clip-path: polygon(
    50% 0%,
    63% 38%,
    100% 50%,
    63% 62%,
    50% 100%,
    37% 62%,
    0% 50%,
    37% 38%
  );
  filter: drop-shadow(0 0 4px #65eeb7)
    drop-shadow(0 0 10px rgba(0, 230, 195, 0.6));
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.4;
    filter: brightness(1);
  }

  50% {
    opacity: 1;
    filter: brightness(1.5);
  }
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(10px, -20px) scale(1.1);
  }

  100% {
    transform: translate(0, 0) scale(1);
  }
}

@keyframes heroReveal {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    filter: blur(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* industries */

.industries {
  position: relative;

  overflow: hidden;
}

/* STAR CONTAINER */
#industry-star-container {
  position: absolute;
  inset: 0;

  z-index: 0;
}

/* CARD CONTENT  */
.container {
  position: relative;
  z-index: 2;
}

/* zoytree sTAR CONTAINER */
#zoytreestars {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* content மேல இருக்கணும் */
.founder .container {
  position: relative;
  z-index: 2;
}
