/*========== ROOT ==========*/
:root {

  font-family: "Segoe UI", Roboto, Arial, sans-serif;

  --accent-blue: #2563eb;
  --blue-light: #3b82f6;
  --bg1: #f8fafc;
  --dark: #0f172a;
  --gray: #64748b;
  --card-bg: rgba(17, 24, 39, 0.75);
  --primary: #ffeed6;
  --secondary: #f1d4aa;
  --white: #ffffff;
  --black: #000000;
  --border: rgba(255, 255, 255, 0.08);
  --bg: #020617;
  --banner-color-p: #cbd5e1;
  --dark-gray: #1e293b;
  --dark-gray-hover: #0f172a;
  --overlay: rgba(0, 0, 0, 0.6);
  --radius: 20px;
  --transition: 0.3s ease;
  --transition2: 0.5s ease;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --shadow1: 0 -5px 20px rgba(0, 0, 0, 0.25);
  --glass: rgba(255, 255, 255, 0.06);
  --gradient: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #06b6d4 100%);

}

/*========== RESET ==========*/
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
  outline: none;
  text-decoration: none;
  list-style: none;
}

html {
  scroll-behavior: smooth;
}

body {
  background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.12), transparent 30%),
    radial-gradient(circle at bottom right, rgba(6, 182, 212, 0.08), transparent 30%), var(--bg);
  color: var(--banner-color-p);
  line-height: 1.7;
  overflow-x: hidden;
  padding-bottom: 90px;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

.container {
  width: min(92%, 1200px);
  margin-inline: auto;
}

/*========== SCROLLBAR ==========*/
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient);
  border-radius: 50px;
}

/*========== NAVBAR ==========*/
.navbar {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(95%, 500px);
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 1rem;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: var(--shadow1);
  animation: slideUp 0.7s ease;
}

.navbar a {
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition);
}

.navbar a:hover,
.navbar a.active {
  transform: translateY(-3px);
}

.navbar i {
  font-size: 1.15rem;
}

.logo img {
  width: 2.7rem;
}

/*========== HERO ==========*/
.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: 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: 40px 40px;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5rem;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: clamp(2.8rem, 5vw, 4rem);
  line-height: 1.05;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -2px;
}

.hero-text h1 span {
  color: var(--blue-light);
}

.hero-text p {
  max-width: 580px;
  font-size: 1.1rem;
  color: var(--banner-color-p);
  margin-bottom: 2rem;
}

.btn-primary,
.btn-secondary,
.btn-outline,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 1rem 1.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-4px);
  filter: brightness(1.05);
}

.btn-secondary {
  background: var(--dark-gray);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--gradient);
}

.btn-outline {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--white);
}

.btn-outline:hover {
  background: var(--gradient);
  border-color: transparent;
}

.hero-img {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-img::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  background:
    radial-gradient(circle,
      rgba(59, 130, 246, .35),
      transparent 70%);
  filter: blur(20px);
  z-index: -1;
}

.hero-img img {
  width: 100%;
  max-width: 560px;
  animation: float 5s ease-in-out infinite;
  filter:
    drop-shadow(0 20px 50px rgba(0, 0, 0, .45));
}

@media (max-width: 768px) {

  .hero .container {
    flex-direction: column;
  }

}

/*========== TOP ==========*/
.top {
  margin: 100px auto;
}

.top-container {
  display: grid;
  grid-template-columns:
    repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.top .box {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  backdrop-filter: blur(20px);
  transition: var(--transition);
}

.top .box:hover {
  transform: translateY(-6px);
}

.top .box img {
  width: 6rem;
}

.top .box h2 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.top .box p {
  color: var(--banner-color-p);
}

/*========== BANNER ==========*/
.banner {
  margin: 120px 10rem;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.banner-content {
  flex: 1;
}

.banner-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.banner-content p {
  margin-bottom: 2rem;
}

.buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.banner-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.device-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.device-icons svg {
  animation: float 4s ease-in-out infinite;
  transition: var(--transition);
}

.device-icons svg:hover {
  transform: scale(1.1);
}

@media (max-width: 768px) {

  .banner {
    margin: 120px 10px;
    padding: 20px;
    flex-direction: column;
  }

}

/*========== SERVICES ==========*/
.services {
  display: grid;
  grid-template-columns:
    repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  border-radius: 28px;
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.04),
      transparent);
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card div img {
  width: 5rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  color: var(--white);
  margin-bottom: 0.7rem;
}

.service-card p {
  margin-bottom: 1.5rem;
}

/*========== HOW IT WORKS ==========*/
.how-it-works {
  margin: 140px auto;
  text-align: center;
}

.how-it-works h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 4rem;
}

.steps {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.step {
  max-width: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step .icon {
  width: 110px;
  height: 110px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(15px);
}

.step .icon img {
  width: 5rem;
}

.step p {
  color: var(--banner-color-p);
}

/*========== TESTIMONIALS ==========*/
.testimonials {
  margin: 120px 10rem;
  text-align: center;
}

.testimonials h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 4rem;
}

.carousel {
  max-width: 700px;
  margin-inline: auto;
  overflow: hidden;
  position: relative;
}

.slides {
  display: flex;
  transition: transform .6s ease;
}

.slide {
  min-width: 100%;
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  border-radius: 30px;
  padding: 3rem 2rem;
}

.slide img {
  width: 70px;
  height: 70px;
  margin-inline: auto;
  margin-bottom: 1.5rem;
}

.slide p {
  font-style: italic;
  margin-bottom: 1rem;
}

.slide span {
  color: var(--white);
  font-weight: 700;
}

.navigation {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2rem;
}

.bar {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  cursor: pointer;
  transition: var(--transition);
}

input[type="radio"] {
  display: none;
}

input#t1:checked~.slides {
  transform: translateX(0%);
}

input#t2:checked~.slides {
  transform: translateX(-100%);
}

input#t3:checked~.slides {
  transform: translateX(-200%);
}

input#t1:checked~.navigation label[for="t1"],
input#t2:checked~.navigation label[for="t2"],
input#t3:checked~.navigation label[for="t3"] {
  background: var(--blue-light);
}

@media (max-width: 768px) {

  .testimonials {
    margin: 120px 10px;
    display: flex;
  }

}


/*========== FOOTER ==========*/
footer {
  margin-top: 120px;
  padding: 3rem 0 7rem;
  border-top: 1px solid var(--border);
}

footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

footer .footer-links a {
  transition: var(--transition);
}

footer .footer-links a:hover {
  color: var(--white);
}

footer p {
  text-align: center;
}

/*========== ANIMATIONS ==========*/
@keyframes slideUp {
  from {
    transform: translate(-50%, 100px);
    opacity: 0;
  }

  to {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-12px);
  }

  100% {
    transform: translateY(0px);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}


/* ===== LOADING ===== */
.partner-loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(5px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999999;
}

.partner-loading-content {
  background: #fff;
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  width: 90%;
  max-width: 320px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.partner-loading-content p {
  margin-top: 1rem;
  color: #222;
  font-weight: 600;
  font-size: 1rem;
}

.partner-spinner {
  width: 55px;
  height: 55px;
  margin: auto;
  border: 5px solid #e5e5e5;
  border-top: 5px solid #0066ff;
  border-radius: 50%;
  animation: partnerSpin 0.8s linear infinite;
}

@keyframes partnerSpin {
  100% {
    transform: rotate(360deg);
  }
}