@font-face {
  font-family: "Poppins";
  src: url("../libs/fonts/Poppins/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../libs/fonts/Poppins/Poppins-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../libs/fonts/Poppins/Poppins-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../libs/fonts/Poppins/Poppins-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


:root {
    --color-primary: rgb(108, 99, 255);
    --color-primary-shadow: rgba(108, 99, 255, 0.5);
    --color-secondary: rgb(65, 63, 110);
    --color-bg: #090e19;
    --color-surface: #111827;
    --color-text: #e5e7eb;
    --color-p: #bcbec1;
    --color-muted: #9ca3af;
}



body {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    font-family: 'Poppins';
    background-color: var(--color-bg);
    overflow-x: hidden;
}

h1, h2, h5 {
  color: var(--color-text);
}
h6 {
  color: var(--color-primary)
}

p {
  color: var(--color-p);
}


.cookies {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 90%;
  width: calc(100% - 40px);
  background: #111;
  color: #fff;
  padding: 16px 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  z-index: 9999;
}

.cookies h5 {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
}

.cookies button {
  background: #fff;
  color: #111;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cookies button:hover {
  background: #eaeaea;
}

.cookies.hidden {
  display: none;
}


.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: 96px;
  padding-bottom: 70px;
}
.hero .hero-content {
  flex: 1;
  display: flex;
  align-items: center;
}

.hero .hero-content .row {
  width: 100%;
  margin: 0;
}

.hero-anim {
  width: min(360px, 86vw);
  height: auto;
  transform: scaleX(-1);
}

@media (max-width: 991px) {
  .hero .right {
    margin-top: 28px;
  }

  .hero h1 {
    font-size: 44px;
    line-height: 1.15;
    margin-bottom: 16px;
  }

  .hero p {
    font-size: 16px;
    line-height: 1.7;
    max-width: 100%;
  }
}

@media (max-width: 575px) {
  .hero {
    padding-top: 84px;
    padding-bottom: 60px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-anim {
    width: min(300px, 88vw);
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  z-index: 0;
}


.hero .hero-container {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
}
.hero-anim-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  border-radius: 100%;
  background: radial-gradient(
    circle at bottom right,
    rgba(55, 44, 255, 0.227),
    rgba(0,0,0,0)
  );
}

.hero-anim {
  position: static;
   width: 480px;
  height: 480px;
  transform: translateX(40px);
    transform: scaleX(-1);

  object-fit: contain;
  opacity: 1;
  z-index: 1;
  mix-blend-mode: normal;
  animation: float 6s ease-in-out infinite;
  filter:
    drop-shadow(0 0 30px rgba(108,99,255,0.25))
    drop-shadow(0 0 80px rgba(108,99,255,0.15));

} 
@keyframes float {
  0% { transform: scaleX(-1) translateY(0); }
  50% { transform: scaleX(-1) translateY(-20px); }
  100% { transform: scaleX(-1) translateY(0); }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(9, 14, 25, 0.85) 0%,
    rgba(9, 14, 25, 0.65) 50%,
    rgba(9, 14, 25, 0.4) 100%
  );
  z-index: 0;
}

.hero .left > * + * {
  margin-top: 5px;
}

.hero h1 {
  font-size: 78px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 25px;
}
.lang-switch img {
    width: 22px;
    height: auto;
    display: block;
}

.lang-flag {
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.lang-flag:hover {
    opacity: 1;
}


.hero p {
  font-size: 20px;
  line-height: 1.7;
  max-width: 720px;
}

@media (max-width: 991px) {
  .hero h1 {
    font-size: 56px;
  }
  .hero p {
    font-size: 18px;
  }
}

@media (max-width: 575px) {
  .hero h1 {
    font-size: 38px;
  }
  .hero p {
    font-size: 16px;
  }
}

.navbar-collapse {
  padding-top: 15px;
}


.logo-badge {
  width: fit-content;
  padding: 10px 30px;
  margin-bottom: 28px;
  background: rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
}

.logo-badge img {
  display: block;
  width: 160px;
  height: auto;
}

.main-navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 20;
  background: linear-gradient(
    to bottom,
    rgba(9, 14, 25, 0.85),
    rgba(9, 14, 25, 0.3)
  ); 
}

.main-navbar .focused {

  
  background: linear-gradient(
    to bottom,
    rgba(9, 14, 25, 1),
    rgba(9, 14, 25, 0.9)
  );  
}

.main-navbar .navbar-brand img {
  height: 34px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.6));

}

.main-navbar .nav-link {
  color: var(--color-p);
  font-size: 16px;
  margin-left: 28px;
}

.main-navbar .nav-link:hover {
  color: var(--color-text);
}


 

.logo-wrap img {
  height: 34px;
  display: block;
}




#portfolio {
  min-height: 70vh;
  padding: 50px 0;
}
#portfolio h2 {
  text-align: center;
  font-weight: 600;
}
#portfolio hr {
  width: 30%;
  height: 5px;
  background-color: var(--color-primary);
  margin-top: 20px;
  opacity: 1;
}

@media (max-width: 575px) and (orientation: portrait) {
  .hero .right {
    margin-top: 18px;
  }

  .hero-anim-wrap {
    padding: 12px;
  }

  .hero-anim {
    width: 240px;
    max-width: 80vw;
    transform: scaleX(-1);
  }
}

#freccia {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: frecciaBounce 3s infinite;
}

#freccia i {
  font-size: 35px;
  color: white;
}

@keyframes frecciaBounce {
  0% {
    transform: translateX(-50%) translateY(0);
  }
  10% {
    transform: translateX(-50%) translateY(-20px);
  }
  20% {
    transform: translateX(-50%) translateY(30px);
  }
  30% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(20px);
  }
  50% {
    transform: translateX(-50%) translateY(0);
  }
}

.card {
  position:relative;
  width: 350px;
  min-height: 500px;
  padding: 40px;
  background-color: rgba(255, 255, 255, 0.012);
  border-radius: 12px;
  border: solid 1px rgba(255,255,255,0.1);
  margin-bottom: 30px;
  transition: all 0.3s;
}
.card:hover {
  border: solid 1px var(--color-primary);
  box-shadow: 0px 0px 15px var(--color-primary-shadow);
  cursor: pointer;
}
.icon-wrapper {
  background-color: var(--color-primary);
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 18px;
   transition: all 0.3s;
}
.icon-wrapper i {
  color: rgb(255,255,255);
  font-size: 18px;
 
}
.card:hover .icon-wrapper {
  transform: rotateZ(5deg) scale(1.1);
  box-shadow: 0px 0px 15px var(--color-primary-shadow);
}

.card h4 {
  color: rgb(255,255,255);
  font-weight: 600;
}
.card h6 {
  color: var(--color-primary);
  margin-top: 18px;
  margin-bottom: 10px;
  font-weight: 500;
}

.linguaggi {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.linguaggio {
  height: 34px;
  padding: 0 12px;
  min-width: 0;
  width: fit-content;
  background-color: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.linguaggio p {
  margin: 0;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
}

/*
.card::after {
   content: "Contattaci >";
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 14px;
    transition: all 0.3s;
}

.card:hover::after {
   content: "Contattaci >";
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 15px;
  color: var(--color-primary);
}
*/


#remind.remind {
  margin-top: 25px;
  position: relative;
  min-height: 70vh;
  padding: 80px 0;
  background: var(--color-bg);
  overflow: hidden; 
}

#remind.remind::before {
  content: "";
  position: absolute;
  inset: -200px;
  background:
    radial-gradient(circle at 20% 20%, rgba(108, 99, 255, 0.25), rgba(0,0,0,0) 55%),
    radial-gradient(circle at 80% 30%, rgba(34, 211, 238, 0.18), rgba(0,0,0,0) 50%),
    radial-gradient(circle at 70% 85%, rgba(108, 99, 255, 0.16), rgba(0,0,0,0) 55%);
  filter: blur(0px);
  pointer-events: none;
  z-index: 0;
}

#remind.remind .container {
  position: relative;
  z-index: 1;
}

.remind-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  color: var(--color-text);
  font-size: 14px;
}

.remind-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--color-primary);
  box-shadow: 0 0 18px var(--color-primary-shadow);
}

.remind-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

.remind-app-icon {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
}
 

#remind h2 {
  font-weight: 600;
  font-size: 45px;
  line-height: 1.1;
}

.remind-subtitle {
  color: var(--color-muted);
  font-size: 18px;
}

.remind-desc {
  font-size: 18px;
  line-height: 1.8;
  max-width: 540px;
}

.remind-points {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.remind-points .point {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text);
}

.remind-points .point i {
  color: var(--color-primary);
}

.remind-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.store-btn img {
  height: 46px;
  width: auto;
  display: block;
 }

.phone-wrap {
  position: relative;
  width: min(480px, 92%);
  margin-left: auto;
  margin-right: auto;
}

.phone-frame {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.6));
  animation: float_phone 3s ease-in-out infinite;
}

.phone-screen {
  position: absolute;
  inset: 4.5% 8.5% 5.5% 8.5%;
  width: auto;
  height: auto;
  border-radius: 24px;
  object-fit: cover;
}



@keyframes float_phone {
  0% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0); }
}

#contatti.contacts {
  position: relative;
  padding: 90px 0;
  background: var(--color-bg);
  overflow: hidden;
}

#contatti.contacts::before {
  content: "";
  position: absolute;
  inset: -200px;
  background:
    radial-gradient(circle at 15% 30%, rgba(108, 99, 255, 0.18), rgba(0,0,0,0) 55%),
    radial-gradient(circle at 85% 55%, rgba(34, 211, 238, 0.12), rgba(0,0,0,0) 50%);
  pointer-events: none;
  z-index: 0;
}

#contatti.contacts .container {
  position: relative;
  z-index: 1;
}

.contacts-lead {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  color: var(--color-p);
  font-size: 18px;
  line-height: 1.8;
}

.contacts-card {
  padding: 28px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 80px rgba(0,0,0,0.35);
}

.contacts-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contacts-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contacts-icon i {
  color: var(--color-primary);
  font-size: 18px;
  filter: drop-shadow(0 0 10px rgba(108,99,255,0.35));
}

.contacts-label {
  color: var(--color-muted);
  font-size: 13px;
  margin-bottom: 2px;
}

.contacts-value {
  color: var(--color-text);
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
}

.contacts-value:hover {
  color: var(--color-text);
  text-decoration: underline;
}

.contacts-hint {
  color: var(--color-p);
  font-size: 14px;
  margin-top: 4px;
}

.contacts-cta {
  padding: 18px;
  border-radius: 16px;
  background: rgba(17, 24, 39, 0.55);
  border: 1px solid rgba(255,255,255,0.10);
}

.contacts-cta-title {
  color: var(--color-text);
  font-size: 18px;
  font-weight: 600;
}

.contacts-cta-text {
  color: var(--color-p);
  margin-top: 8px;
  line-height: 1.7;
  font-size: 14px;
}

.contacts-button {
  margin-top: 16px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(108,99,255,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contacts-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(108,99,255,0.35);
  color: #fff;
}

.contacts-note {
  margin-top: 12px;
  color: var(--color-muted);
  font-size: 13px;
}

.contacts-note a {
  color: var(--color-text);
  text-decoration: none;
}

.contacts-note a:hover {
  text-decoration: underline;
}

.contacts-mini {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.mini-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--color-text);
  font-size: 13px;
}

.mini-pill i {
  color: var(--color-primary);
}
 
.site-footer {
  padding: 48px 0 22px;
  border-top: 1px solid rgba(255,255,255,0.10);
}

.footer-logo {
  width: 220px;
  height: auto;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.35));
}

.footer-desc {
  margin-top: 12px;
  max-width: 320px;
  color: var(--color-p);
  line-height: 1.7;
  font-size: 14px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  justify-items: start;
}

.footer-col h5 {
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--color-text);
  font-size: 16px;
}

.footer-col a {
  display: block;
  color: var(--color-p);
  text-decoration: none;
  padding: 6px 0;
  font-size: 14px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-col a:hover {
  color: var(--color-text);
  transform: translateX(2px);
}

.footer-social {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  color: var(--color-text);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.footer-social i {
  font-size: 18px;
  color: var(--color-primary);
}

.footer-social:hover {
  transform: translateY(-2px);
  border-color: rgba(108,99,255,0.35);
  color: var(--color-text);
}

.footer-bottom {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  color: var(--color-muted);
  font-size: 13px;
}

.footer-dot {
  opacity: 0.5;
}

.footer-mail {
  color: var(--color-muted);
  text-decoration: none;
}

.footer-mail:hover {
  color: var(--color-text);
  text-decoration: underline;
}

@media (max-width: 991px) {
  .footer-cols {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }

  .footer-dot {
    display: none;
  }
}
