@font-face {
  font-family: 'Saria'; 
  src: url('../fonts/Saria.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  animation: fadeIn 0.3s ease;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-content {
  background: linear-gradient(135deg, rgba(11, 16, 32, 0.95) 0%, rgba(7, 18, 42, 0.95) 100%);
  padding: 40px;
  border-radius: 20px;
  max-width: 1200px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 212, 255, 0.2);
  animation: slideUp 0.4s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(50px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 32px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  background: rgba(255, 89, 94, 0.2);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 89, 94, 0.3);
}

.close-modal:hover {
  background: rgba(255, 89, 94, 0.4);
  transform: rotate(90deg);
  border-color: rgba(255, 89, 94, 0.6);
}

.modal-content::-webkit-scrollbar {
  width: 10px;
}

.modal-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: rgba(0, 212, 255, 0.5);
  border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 212, 255, 0.7);
}

.section-content {
  margin-top: 20px;
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}


.hero-card {
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
  filter: blur(40px);
  z-index: -1;
}

.headline {
  background: linear-gradient(135deg, #00d4ff 0%, #0f03ff 50%, #ff595e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 5s ease infinite;
  background-size: 200% 200%;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.sub {
  color: rgba(255,255,255,0.8);
}

.sub span {
  color: #00d4ff;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.stats-row {
  margin: 15px 0;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.stat {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(15, 3, 255, 0.06) 100%);
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: 10px;
  padding: 12px 20px;
  min-width: 110px;
  text-align: center;
  backdrop-filter: blur(6px);
  position: relative;
  overflow: hidden;
  animation: pulse 3s ease-in-out infinite;
}

.stat:nth-child(1) { animation-delay: 0s; }
.stat:nth-child(2) { animation-delay: 0.3s; }
.stat:nth-child(3) { animation-delay: 0.6s; }
.stat:nth-child(4) { animation-delay: 0.9s; }

.stat::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), transparent);
  border-radius: 10px;
  z-index: -1;
  opacity: 0.3;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 6px 24px rgba(0, 212, 255, 0.15); }
  50% { transform: scale(1.03); box-shadow: 0 8px 32px rgba(0, 212, 255, 0.3); }
}

.stat .num {
  font-size: 24px;
  font-weight: 900;
  background: linear-gradient(135deg, #00d4ff, #00a8cc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}

.stat .lbl {
  font-size: 10px;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
  letter-spacing: 0.2px;
}

.cards {
  margin-top: 15px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.service-card {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.06) 0%, rgba(15, 3, 255, 0.06) 100%);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 12px;
  padding: 14px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
}

.service-card::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.service-card:hover {
  animation: float 1.5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.service-card svg {
  width: 28px;
  height: 28px;
  margin-bottom: 8px;
  color: #00d4ff;
  filter: drop-shadow(0 0 6px rgba(0, 212, 255, 0.4));
}

.service-card h3 {
  font-size: 14px;
  font-weight: 800;
  background: linear-gradient(135deg, #00d4ff, #00a8cc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
}

.service-card p {
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
  font-size: 11px;
  margin: 0;
}

:root {
  --bg1: #0b1020;
  --bg2: #07122a;
  --accent: #ff595e;
  --accent2: #00d4ff;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-2: rgba(255, 255, 255, 0.03);
  --text: #e6eef8;
  --muted: #9fb0c9;
  font-family: Saria;
}

* {
  box-sizing: border-box;
  font-family: Saria;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-image: url(../media/images/khajoo.png);
  background-size: cover;
  background-position: center;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding: 32px;
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
}

header.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.logo {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.6),
    inset 0 -6px 18px rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand h1 {
  margin: 0;
  font-size: 18px;
}

.brand p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

nav.top-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
a {
    text-decoration: none;
    color: rgb(255, 0, 0);
}
a:hover {
    color: rgb(255, 56, 56);
}


.btn {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  color: var(--text);
  font-weight: 600;
  backdrop-filter: blur(6px);
  transition: all .2s ease;
}

.btn:hover:not(:disabled) {
  transform: translateY(-2px);
}

.btn.primary {
  background: linear-gradient(90deg, var(--accent), #ff7b7e);
  color: white;
  box-shadow: 0 8px 30px rgba(255, 89, 94, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.02) inset;
  border: none;
}

.btn.ghost {
  background: transparent;
  border: 1px dashed rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-weight: 500;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 28px;
  align-items: center;
}

.hero-card {
  background: radial-gradient(1200px 600px at 10% 10%, rgba(0, 212, 255, 0.05), transparent 10%),
              radial-gradient(900px 500px at 90% 80%, rgba(255, 89, 94, 0.03), transparent 10%),
              linear-gradient(180deg, var(--bg1), var(--bg2));
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 10px 40px rgba(2, 6, 23, 0.6);
  border: 1px solid var(--glass);
  position: relative;
  overflow: hidden;
}

.headline {
  font-size: 34px;
  margin: 0 0 12px 0;
  line-height: 1.05;
}

.sub {
  color: var(--muted);
  margin-bottom: 18px;
}

.stats-row {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.stat {
  background: var(--glass-2);
  padding: 10px 12px;
  border-radius: 10px;
  min-width: 90px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.02);
  flex: 1;
}

.stat .num {
  font-weight: 700;
  font-size: 16px;
}

.stat .lbl {
  font-size: 12px;
  color: var(--muted);
}

.panel {
  border-radius: 14px;
  padding: 18px;
  background: radial-gradient(1200px 600px at 10% 10%, rgba(0, 212, 255, 0.05), transparent 10%),
              radial-gradient(900px 500px at 90% 80%, rgba(255, 89, 94, 0.03), transparent 10%),
              linear-gradient(180deg, var(--bg1), var(--bg2));
  border: 1px solid rgba(255, 255, 255, 0.03);
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.mock-screen {
  width: 100%;
  height: 260px;
  border-radius: 10px;
  background: linear-gradient(180deg, #071425, #00111a);
  box-shadow: inset 0 0 60px rgba(0, 212, 255, 0.03),
              0 12px 40px rgba(2, 6, 23, 0.6);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  color: var(--muted);
  overflow: hidden;
}

.mock-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mock-bar {
  height: 8px;
  width: 140px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0b3650, #073d5a);
  opacity: 0.9;
}

.mock-lines {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.line {
  height: 14px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  width: 100%;
  position: relative;
  overflow: hidden;
}

.line.small {
  width: 60%;
}

.line .g {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 40%;
  transform: translateX(-100%);
  background: linear-gradient(90deg, rgba(0, 212, 255, 0.06), rgba(255, 89, 94, 0.06));
  animation: shimmer 2.5s infinite;
  opacity: 0.8;
}

@keyframes shimmer {
  to {
    transform: translateX(200%);
  }
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.card {
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent);
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.card h3 {
  margin: 0 0 6px 0;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

footer {
  margin-top: 28px;
  color: var(--muted);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  body {
    padding: 16px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .brand h1 {
    font-size: 16px;
  }

  .headline {
    font-size: 26px;
  }

  nav.top-actions {
    justify-content: flex-start;
  }
}