* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family:
    Inter,
    Segoe UI,
    Arial,
    sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #050816;
  color: white;
  overflow-x: hidden;
}

/* =========================
   BACKGROUND
========================= */

.background {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.grid {
  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(rgba(34, 211, 238, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.08) 1px, transparent 1px);

  background-size: 50px 50px;

  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(50px);
  }
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}

.glow-one {
  width: 550px;
  height: 550px;

  background: #2563eb;

  top: -250px;
  left: -200px;

  opacity: 0.35;
}

.glow-two {
  width: 500px;
  height: 500px;

  background: #06b6d4;

  right: -200px;
  bottom: -200px;

  opacity: 0.25;
}

/* =========================
 HEADER
========================= */

header {
  height: 85px;

  padding: 0 10%;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: rgba(5, 8, 22, 0.75);

  backdrop-filter: blur(15px);

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);

  position: sticky;

  top: 0;

  z-index: 100;
}

.logo {
  font-size: 30px;

  font-weight: 800;
}

.logo span {
  color: #22d3ee;
}

nav {
  display: flex;

  align-items: center;

  gap: 35px;
}

nav a {
  color: #cbd5e1;

  text-decoration: none;

  transition: 0.3s;
}

nav a:hover {
  color: #22d3ee;
}

.login {
  padding: 13px 28px;

  border: none;

  border-radius: 12px;

  background: #06b6d4;

  color: white;

  font-weight: 700;

  cursor: pointer;

  transition: 0.3s;
}

.login:hover {
  transform: translateY(-3px);

  box-shadow: 0 15px 35px rgba(6, 182, 212, 0.35);
}

/* =========================
 HERO
========================= */

.hero {
  min-height: 720px;

  padding: 50px 10%;

  display: flex;

  align-items: center;

  gap: 80px;
}

.hero-content {
  flex: 1;

  animation: fadeLeft 0.8s ease;
}

@keyframes fadeLeft {
  from {
    opacity: 0;

    transform: translateX(-40px);
  }

  to {
    opacity: 1;

    transform: translateX(0);
  }
}

.badge {
  display: inline-block;

  padding: 10px 20px;

  border-radius: 30px;

  background: rgba(34, 211, 238, 0.12);

  color: #22d3ee;

  margin-bottom: 25px;
}

h1 {
  font-size: 65px;

  line-height: 1.1;
}

.hero p {
  margin-top: 30px;

  color: #94a3b8;

  font-size: 20px;

  line-height: 1.7;
}

.buttons {
  margin-top: 40px;
}

.primary,
.secondary {
  display: inline-block;

  padding: 15px 35px;

  border-radius: 12px;

  cursor: pointer;

  transition: 0.3s;
}

.primary {
  background: linear-gradient(90deg, #06b6d4, #2563eb);
}

.secondary {
  border: 1px solid #22d3ee;

  color: #22d3ee;

  margin-left: 15px;
}

.primary:hover,
.secondary:hover {
  transform: translateY(-4px);
}

/* =========================
 SECURITY CARD
========================= */

.hero-image {
  flex: 1;
}

.security-card {
  padding: 35px;

  border-radius: 30px;

  background: linear-gradient(
    145deg,
    rgba(15, 23, 42, 0.95),
    rgba(2, 6, 23, 0.95)
  );

  border: 1px solid rgba(34, 211, 238, 0.25);

  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.5),
    0 0 70px rgba(6, 182, 212, 0.15);

  animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
  50% {
    transform: translateY(-15px);
  }
}

.security-header {
  display: flex;

  justify-content: space-between;

  align-items: center;
}

.small-title {
  font-size: 11px;

  color: #64748b;

  letter-spacing: 2px;
}

.security-header h3 {
  margin-top: 8px;

  font-size: 24px;
}

.secure-status {
  display: flex;

  align-items: center;

  gap: 10px;

  padding: 10px 18px;

  border-radius: 30px;

  background: rgba(34, 197, 94, 0.15);

  color: #4ade80;
}

.secure-status span {
  width: 10px;

  height: 10px;

  border-radius: 50%;

  background: #22c55e;

  box-shadow: 0 0 15px #22c55e;
}

.security-score {
  margin-top: 40px;

  display: flex;

  align-items: center;

  gap: 30px;
}

.circle {
  width: 150px;

  height: 150px;

  border-radius: 50%;

  background: conic-gradient(#06b6d4 0 98%, #1e293b 98%);

  display: flex;

  justify-content: center;

  align-items: center;
}

.circle-inner {
  width: 120px;

  height: 120px;

  border-radius: 50%;

  background: #020617;

  display: flex;

  flex-direction: column;

  justify-content: center;

  align-items: center;
}

.circle-inner strong {
  font-size: 32px;

  color: #22d3ee;
}

.circle-inner span {
  color: #94a3b8;

  font-size: 12px;
}

.security-info {
  flex: 1;
}

.info-box {
  display: flex;

  justify-content: space-between;

  padding: 15px 0;

  border-bottom: 1px solid #1e293b;

  color: #94a3b8;
}

.info-box strong {
  color: white;
}

.green {
  color: #22c55e !important;
}

.activity {
  margin-top: 30px;
}

.activity-row {
  display: flex;

  align-items: center;

  gap: 15px;

  padding: 14px 0;
}

.activity-row p {
  color: #64748b;

  font-size: 13px;
}

.activity-row span {
  margin-left: auto;

  color: #22d3ee;

  font-size: 12px;
}

.dot {
  width: 12px;

  height: 12px;

  border-radius: 50%;
}

.green-dot {
  background: #22c55e;

  box-shadow: 0 0 15px #22c55e;
}

.blue-dot {
  background: #06b6d4;

  box-shadow: 0 0 15px #06b6d4;
}

.orange-dot {
  background: #f59e0b;

  box-shadow: 0 0 15px #f59e0b;
}

.chart {
  margin-top: 25px;

  height: 80px;

  display: flex;

  align-items: end;

  gap: 10px;
}

.chart div {
  flex: 1;

  background: linear-gradient(#22d3ee, #2563eb);

  border-radius: 10px;
}

.chart div:nth-child(1) {
  height: 30%;
}

.chart div:nth-child(2) {
  height: 70%;
}

.chart div:nth-child(3) {
  height: 45%;
}

.chart div:nth-child(4) {
  height: 90%;
}

.chart div:nth-child(5) {
  height: 60%;
}

/* =========================
 SERVICES
========================= */

section {
  padding: 90px 10%;
}

h2 {
  text-align: center;

  font-size: 45px;

  margin-bottom: 50px;
}

.cards {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 30px;
}

.card {
  padding: 35px;

  border-radius: 25px;

  background: #0f172a;

  border: 1px solid #1e293b;

  transition: 0.3s;
}

.card:hover {
  transform: translateY(-12px);

  border-color: #22d3ee;
}

.icon {
  font-size: 40px;

  margin-bottom: 20px;
}

.card p {
  color: #94a3b8;

  margin-top: 15px;

  line-height: 1.7;
}

/* =========================
 WHY
========================= */

.why {
  text-align: center;

  background: #020617;
}

.why p {
  color: #94a3b8;

  font-size: 20px;
}

.features {
  margin-top: 40px;

  display: flex;

  justify-content: center;

  gap: 20px;

  flex-wrap: wrap;
}

.features div {
  padding: 20px 35px;

  border-radius: 30px;

  background: #0f172a;

  border: 1px solid #1e293b;
}

/* =========================
 LOGIN MODAL
========================= */

.login-modal {
  position: fixed;

  inset: 0;

  background: rgba(0, 0, 0, 0.75);

  backdrop-filter: blur(10px);

  display: flex;

  justify-content: center;

  align-items: center;

  opacity: 0;

  visibility: hidden;

  transition: 0.3s;

  z-index: 1000;
}

.login-modal.active {
  opacity: 1;

  visibility: visible;
}

.login-box {
  width: 420px;

  padding: 45px;

  border-radius: 25px;

  background: #0f172a;

  border: 1px solid rgba(34, 211, 238, 0.3);

  transform: scale(0.9);

  transition: 0.3s;
}

.login-modal.active .login-box {
  transform: scale(1);
}

.close-login {
  float: right;

  background: none;

  border: none;

  color: white;

  font-size: 30px;

  cursor: pointer;
}

.login-logo {
  font-size: 28px;

  font-weight: 800;
}

.login-logo span {
  color: #22d3ee;
}

.login-box h2 {
  text-align: left;

  margin-top: 30px;
}

.input-group {
  margin-top: 20px;
}

.input-group label {
  display: block;

  margin-bottom: 8px;
}

.input-group input {
  width: 100%;

  padding: 15px;

  border-radius: 12px;

  background: #020617;

  border: 1px solid #334155;

  color: white;
}

.login-submit {
  width: 100%;

  margin-top: 25px;

  padding: 15px;

  border: none;

  border-radius: 12px;

  background: #06b6d4;

  color: white;

  font-weight: bold;
}

.login-message {
  text-align: center;

  color: #ef4444;

  margin-top: 15px;
}

footer {
  padding: 30px;

  text-align: center;

  color: #64748b;
}

@media (max-width: 900px) {
  .hero {
    flex-direction: column;
  }

  h1 {
    font-size: 42px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  nav {
    display: none;
  }
}
