body {
  font-family: 'Inter', sans-serif;
  background-color: #0a0a0a;
  color: #fff;
}

/* =========================================
   NAVBAR PREMIUM
========================================= */

.potency-navbar {
  padding: 18px 0;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom,rgba(0,0,0,0.65),rgba(0,0,0,0.25));
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: all 0.35s ease;
  z-index: 999;
}

/* ================= COLORE BIANCO LOGO POTENCY ================= */
/*
.potency-navbar img.logo {
  filter: brightness(0) invert(1);
}
*/

/* SCROLL STATE */

.potency-navbar.scrolled {
  padding: 12px 0;
  background: rgba(5,5,5,0.88);
  border-bottom: 1px solid rgba(255,237,0,0.08);
  box-shadow:
    0 10px 40px rgba(0,0,0,0.35);
}

/* =========================================
   CONTAINER
========================================= */

.navbar-container {
  display: flex;
  align-items: center;
}

.nav-link.active{
    color:#fff !important;
}

.nav-link.active::after{
    width:100%;
}

/* =========================================
   LOGO REVEAL + DYNAMIC SCAN EFFECT
========================================= */

.logo-reveal {
  position: relative;
  display: inline-block;
  overflow: hidden;
  opacity: 0;
  transform:
    translateY(-10px)
    scale(0.96);
  filter: blur(10px);
  animation:
    logoReveal 1.4s cubic-bezier(.16,.84,.44,1) forwards;
  animation-delay: 0.2s;
}

/* =========================================
   LOGO
========================================= */

.logo {
  position: relative;
  z-index: 2;
  height: 42px;
  width: auto;
  object-fit: contain;
  transition:
    transform 0.35s ease,
    opacity 0.35s ease;
  filter: none;
}

/* HOVER */

.logo:hover {
  transform: scale(1.03);
  opacity: 0.96;
}

/* =========================================
   SCANNING LINE
========================================= */

.logo-reveal::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -140%;
  width: 90px;
  height: 160%;
  background:
    linear-gradient(
      90deg,
      rgba(255,255,255,0),
      rgba(255,237,0,0.28),
      rgba(255,255,255,0)
    );

  transform: skewX(-20deg);
  filter: blur(6px);
  z-index: 3;
  pointer-events: none;
  animation:
    scanLoop 8s ease-in-out infinite;
}

/* =========================================
   LOGO REVEAL
========================================= */

@keyframes logoReveal {

  0% {

    opacity: 0;

    transform:
      translateY(-10px)
      scale(0.96);

    filter:
      blur(10px)
      drop-shadow(0 0 0 rgba(255,237,0,0));

  }

  60% {

    opacity: 1;

    filter:
      blur(0px)
      drop-shadow(0 0 20px rgba(255,237,0,0.18));

  }

  100% {

    opacity: 1;

    transform:
      translateY(0)
      scale(1);

    filter:
      blur(0px)
      drop-shadow(0 0 8px rgba(255,237,0,0.06));

  }

}

/* =========================================
   LOOP SCAN EFFECT
========================================= */

@keyframes scanLoop {

  0% {

    left: -140%;
    opacity: 0;
  }

  5% {

    opacity: 1;
  }

  12% {

    left: 140%;
    opacity: 0;
  }

  100% {
    left: 140%;
    opacity: 0;
  }

}

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

@media (max-width: 991px) {
  .logo {
    height: 36px;
  }

}

/* =========================================
   MENU
========================================= */

.navbar-nav {
  gap: 14px;
}

.nav-link {
  position: relative;
  color: rgba(255,255,255,0.78) !important;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: 0.3s ease;
}

/* HOVER */

.nav-link:hover {
  color: #fff !important;
}

/* UNDERLINE EFFECT */

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 1px;
  background: #ffed00;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* =========================================
   RIGHT AREA
========================================= */

.navbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* =========================================
   LANGUAGE SWITCH
========================================= */

.lang-switch {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-flag {
  position: relative;
  width: 30px;
  height: 20px;
  border-radius: 20%;
  overflow: hidden;
  opacity: 0.5;
  transition: 0.3s ease;
}

.lang-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lang-flag:hover,
.lang-flag.active {
  opacity: 1;
  box-shadow:
    0 0 10px rgba(255,237,0,0.25);
}

/* =========================================
   CTA BUTTON
========================================= */

.navbar-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  background: #ffed00;
  color: #000;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1px;
  transition: 0.3s ease;
  box-shadow:
    0 0 20px rgba(255,237,0,0.15);
}

.navbar-cta:hover {
  transform: translateY(-2px);
  color: #000;
  box-shadow:
    0 0 30px rgba(255,237,0,0.25);
}

/* =========================================
   CUSTOM TOGGLER
========================================= */

.custom-toggler {
  border: none;
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: transparent;
}

.custom-toggler span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 999px;
  transition: 0.3s ease;
}

/* REMOVE BOOTSTRAP OUTLINE */

.navbar-toggler:focus {
  box-shadow: none;
}

/* =========================================
   MOBILE MENU
========================================= */

@media (max-width: 991px) {

  .navbar-collapse {
    margin-top: 20px;
    padding: 25px;
    border-radius: 20px;
    background:
      rgba(10,10,10,0.92);
    backdrop-filter: blur(20px);
    border:
      1px solid rgba(255,255,255,0.05);
  }

  .navbar-nav {
    gap: 10px;
    margin-bottom: 30px;
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 10px 0;
  }

  .navbar-right {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .navbar-cta {
    width: 100%;
  }

}

/* =========================================
   GLOBAL
========================================= */

body {
  font-family: 'Inter', sans-serif;
  background: #050505;
  overflow-x: hidden;
  color: #fff;
}

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

.hero-section {
  position: relative;
  min-height: 100svh;
  background:
    radial-gradient(circle at top left, rgba(255,237,0,0.04), transparent 30%),
    radial-gradient(circle at bottom right, rgba(255,237,0,0.03), transparent 30%),
    #050505;
  overflow: hidden;
}

/* GRID BACKGROUND */

.hero-grid {
  position: absolute;
  inset: 0;

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

  background-size: 80px 80px;

  mask-image: radial-gradient(circle at center, black 30%, transparent 90%);
}

/* MAIN GLOW */

.hero-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  background: rgba(255,237,0,0.06);
  border-radius: 50%;
  filter: blur(120px);

  top: 50%;
  right: -200px;
  transform: translateY(-50%);
}

/* LIGHT */

.hero-light {
  position: absolute;
  width: 100%;
  height: 1px;

  top: 50%;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255,237,0,0.2),
      transparent
    );
}

/* =========================================
   CONTENT
========================================= */

.hero-content {
  position: relative;
  z-index: 2;
  padding-left: 6vw;
}

.hero-topline {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border: 1px solid rgba(255,237,0,0.15);
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(10px);
  color: #ffed00;
  letter-spacing: 3px;
  font-size: 12px;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: -4px;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.hero-description {
  max-width: 520px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
}

/* =========================================
   BUTTONS
========================================= */

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 34px;
  border-radius: 999px;
  background: #ffed00;
  color: #000;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 1px;
  transition: 0.3s ease;
  box-shadow:
    0 0 20px rgba(255,237,0,0.15),
    0 0 60px rgba(255,237,0,0.08);
}

.btn-main:hover {
  transform: translateY(-3px);
  color: #000;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 34px;
  border-radius: 999px;
  border: 1px solid rgba(255,237,0,0.25);
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(10px);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.btn-secondary:hover {
  border-color: #ffed00;
  transform: translateY(-3px);
}

/* =========================================
   VISUAL
========================================= */

.hero-visual {
  position: relative;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* RING */

.hero-ring {
  position: absolute;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  border: 1px solid rgba(255,237,0,0.12);
  animation: rotateRing 18s linear infinite;
}

@keyframes rotateRing {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* PRODUCT */

.hero-product {
  position: relative;
  z-index: 2;
  width: 85%;
  max-width: 700px;
  filter:
    drop-shadow(0 0 40px rgba(255,237,0,0.08))
    drop-shadow(0 0 100px rgba(255,237,0,0.06));

  animation: floating 6s ease-in-out infinite;
}

/* FLOATING */

@keyframes floating {

  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-12px);
  }

  100% {
    transform: translateY(0px);
  }

}

/* =========================================
   SCROLL INDICATOR
========================================= */

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 46px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
}

.scroll-indicator span {
  position: absolute;
  width: 4px;
  height: 10px;
  background: #ffed00;
  border-radius: 999px;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
  animation: scrollMove 2s infinite;
}

@keyframes scrollMove {

  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, 12px);
  }

}

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

@media (max-width: 991px) {

  .hero-section {
    padding-top: 120px;
  }

  .hero-content {
    padding: 0 25px;
    text-align: center;
  }

  .hero-description {
    margin: auto;
    margin-bottom: 40px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-visual {
    margin-top: 60px;
  }

  .hero-ring {
    width: 320px;
    height: 320px;
  }

  .hero-product {
    width: 90%;
  }

  .scroll-indicator {
    display: none;
  }

}

/* =========================
   ENGINEERING SECTION
========================= */

.engineering-section {
  padding: 120px 0;
  background: radial-gradient(circle at center, rgba(255,237,0,0.03), transparent 60%), #050505;
}

/* HEADER */
.section-title {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 3px;
}

.section-subtitle {
  color: rgba(255,255,255,0.6);
  margin-top: 10px;
}

/* CARD */
.eng-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 35px;
  text-align: center;
  transition: all 0.35s ease;
  backdrop-filter: blur(10px);
}

/* HOVER */
.eng-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,237,0,0.25);
  box-shadow: 0 0 40px rgba(255,237,0,0.08);
}

/* ICON */
.eng-icon {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #ffed00;
}

/* TEXT */
.eng-card h4 {
  font-weight: 700;
  margin-bottom: 12px;
}

.eng-card p {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* =========================
   PRODUCTS SECTION
========================= */

.products-section {
  padding: 140px 0;
  background: #050505;
}

/* SECTION TITLE */

.section-subtitle {
  color: rgba(255,255,255,0.6);
  margin-top: 10px;
}

/*=========================================
SCROLL REVEAL
=========================================*/

.reveal{
    opacity:0;
    transform:translateY(60px);
    transition: opacity .9s ease, transform .9s cubic-bezier(.2,.65,.2,1);
}

.reveal.show{
    opacity:1;
    transform:translateY(0);
}

/* =========================
   PRODUCT BLOCK
========================= */

.product-block {
  margin-top: 120px;
}

/* IMAGE */
.product-media img {
  filter: drop-shadow(0 0 60px rgba(255,237,0,0.08));
  transition: transform 0.5s ease;
}

.product-media img:hover {
  transform: scale(1.03);
}

/* TAG */
.product-tag {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid rgba(255,237,0,0.25);
  color: #ffed00;
  font-size: 12px;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

/* TITLE */
.product-info h3 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

/* TEXT */
.product-info p {
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* FEATURES */
.product-features {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.product-features li {
  margin-bottom: 8px;
  color: rgba(255,255,255,0.8);
}

/* CTA */
.product-cta {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  background: #ffed00;
  color: #000;
  font-weight: 700;
  text-decoration: none;
  transition: 0.3s ease;
  box-shadow: 0 0 25px rgba(255,237,0,0.15);
}

.product-cta:hover {
  transform: translateY(-3px);
}

/* ================= SECTIONS ================= */
.section-dark {
  padding: 100px 0;
  background: #0a0a0a;
}

/* ================= FEATURES ================= */
.feature-box {
  background: #111;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #222;
}

/* ================= PRODUCTS ================= */
.product-card {
  background: #111;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #222;
  transition: 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: #ffed00;
}

/* ================= FOOTER ================= */
.footer {
  padding: 60px 0;
  background: #050505;
  border-top: 1px solid #222;
}

.footer-link {
  color: #ffed00;
  text-decoration: none;
}

.mt-3 small {
  color: #918f8f;
  text-decoration: none;
}