* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #050b18;
  --card: #101a2c;
  --border: #243a5b;
  --blue: #28a2ff;
  --blue-dark: #078bff;
  --text: #ffffff;
  --muted: #b8c4d9;
  --dim: #8291aa;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Cairo', Tahoma, Arial, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

/* ===== Background orbs ===== */
.orbs {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  animation: pulse 5s ease-in-out infinite;
}
.orb-1 { top: -100px; right: -100px; width: 350px; height: 350px; background: #078bff; }
.orb-2 { top: 30%; left: -120px; width: 300px; height: 300px; background: #00c8ff; animation-delay: 2s; }
.orb-3 { bottom: 0; right: 25%; width: 280px; height: 280px; background: #00e0c8; animation-delay: 3s; }

@keyframes pulse {
  0%, 100% { opacity: 0.1; transform: scale(1); }
  50% { opacity: 0.25; transform: scale(1.05); }
}

/* ===== Header ===== */
header {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.logo {
  font-size: 28px;
  font-weight: 700;
  direction: ltr;
}
.logo span { color: var(--blue); }

nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  color: var(--dim);
}
nav a { transition: color 0.3s; }
nav a:hover { color: var(--blue); }

.badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(40,162,255,0.1);
  color: var(--blue);
  font-size: 13px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 24px 20px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(40,162,255,0.2);
  background: rgba(40,162,255,0.1);
  color: var(--blue);
  font-size: 14px;
  margin-bottom: 24px;
  animation: fadeUp 0.8s ease both;
}

.hero h1 {
  font-size: clamp(56px, 11vw, 96px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 16px;
  animation: fadeUp 0.8s ease 0.1s both;
}

.shimmer {
  background: linear-gradient(90deg, #1e3a5f, #28a2ff, #1e3a5f);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.hero p {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--muted);
  line-height: 1.8;
  animation: fadeUp 0.8s ease 0.2s both;
}

/* ===== Countdown ===== */
.countdown {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 40px;
  animation: fadeUp 0.8s ease 0.3s both;
  flex-wrap: wrap;
}

.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cd-box {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(16,26,44,0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(40,162,255,0.15);
}
.cd-box span {
  font-size: 32px;
  font-weight: 700;
}
.cd-label {
  margin-top: 10px;
  font-size: 13px;
  color: var(--dim);
}

/* ===== CTA button ===== */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
  padding: 14px 28px;
  border-radius: 12px;
  background: var(--blue-dark);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 8px 30px rgba(7,139,255,0.3);
  animation: fadeUp 0.8s ease 0.4s both;
}
.cta-btn:hover {
  background: #069bf0;
  transform: scale(1.05);
  box-shadow: 0 8px 40px rgba(7,139,255,0.4);
}

/* ===== Services ===== */
.services {
  position: relative;
  z-index: 10;
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px;
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 38px);
  margin-bottom: 10px;
}
.section-head p { color: var(--dim); }
.section-head .line {
  width: 80px;
  height: 4px;
  margin: 16px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue-dark), #00c8ff);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.service-card {
  background: rgba(16,26,44,0.6);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.4s, border-color 0.4s;
}
.service-card:hover {
  transform: scale(1.02);
  border-color: rgba(40,162,255,0.3);
}

.service-img {
  height: 180px;
  overflow: hidden;
}
.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}
.service-card:hover .service-img img {
  transform: scale(1.1);
}

.service-body { padding: 24px; }

.service-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(40,162,255,0.15);
  color: var(--blue);
  font-size: 24px;
  flex-shrink: 0;
}
.service-head h3 {
  font-size: 20px;
  font-weight: 700;
}

.service-body p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.service-body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-body ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #cdd6e8;
}
.service-body ul li::before {
  content: '✓';
  color: var(--blue);
  font-weight: 700;
}

/* ===== Subscribe ===== */
.subscribe {
  position: relative;
  z-index: 10;
  max-width: 600px;
  margin: 0 auto;
  padding: 60px 24px 80px;
  text-align: center;
}

.subscribe-box {
  background: rgba(16,26,44,0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(40,162,255,0.2);
  border-radius: 24px;
  padding: 48px 32px;
}

.subscribe-box .icon-circle {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(40,162,255,0.15);
  color: var(--blue);
  font-size: 32px;
}

.subscribe-box h2 {
  font-size: 26px;
  margin-bottom: 12px;
}
.subscribe-box p {
  color: var(--dim);
  margin-bottom: 28px;
}

.subscribe-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.subscribe-form input {
  flex: 1;
  min-width: 200px;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid #334155;
  background: rgba(8,15,30,0.6);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.subscribe-form input::placeholder { color: #475569; }
.subscribe-form input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(40,162,255,0.2);
}

.subscribe-form button {
  padding: 14px 24px;
  border-radius: 12px;
  border: none;
  background: var(--blue-dark);
  color: #fff;
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  white-space: nowrap;
}
.subscribe-form button:hover {
  background: #069bf0;
  transform: scale(1.03);
}
.subscribe-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.alert {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.alert-success { background: rgba(34,197,94,0.1); color: #4ade80; }
.alert-error   { background: rgba(239,68,68,0.1); color: #f87171; }

/* ===== Footer ===== */
footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(36,58,91,0.5);
  text-align: center;
  padding: 32px 24px;
}
footer .logo { font-size: 20px; margin-bottom: 8px; }
footer p { color: var(--dim); font-size: 13px; }

/* ===== Animations ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== Mobile ===== */
@media (max-width: 600px) {
  header { justify-content: center; }
  nav { display: none; }
  .cd-box { width: 64px; height: 64px; }
  .cd-box span { font-size: 24px; }
  .countdown { gap: 10px; }
  .subscribe-form { flex-direction: column; }
  .subscribe-form button { width: 100%; }
}
