:root {
  --bg-primary: #0A1628;
  --bg-secondary: #0F1F3D;
  --bg-tertiary: #152a52;
  --bg-card: rgba(15, 31, 61, 0.7);
  --accent: #3B82F6;
  --accent-light: #60A5FA;
  --accent-dark: #1E40AF;
  --accent-glow: #2563EB;
  --text-primary: #F0F4FF;
  --text-secondary: #94A3B8;
  --border-glass: rgba(59, 130, 246, 0.15);
  --border-hover: rgba(59, 130, 246, 0.4);
  --shadow-blue: rgba(37, 99, 235, 0.3);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  background: linear-gradient(135deg, #0A1628 0%, #0F1F3D 50%, #152a52 100%);
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
}

/* ================= BACKGROUND EFFECTS ================= */
.bg-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  opacity: 0.2;
  filter: blur(100px);
  top: -200px;
  right: -200px;
  z-index: 0;
  pointer-events: none;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-100px, 100px); }
}

body::before {
  content: '';
  position: fixed;
  bottom: -300px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: 0.15;
  filter: blur(100px);
  z-index: 0;
  pointer-events: none;
}

/* ================= HEADER ================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 16px;
  color: var(--text-primary);
}

.dot {
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 16px var(--accent), 0 0 32px var(--accent-glow);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.nav {
  display: flex;
  gap: 30px;
}

.nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 8px 0;
}

.nav a:hover {
  color: var(--accent-light);
}

.nav a.active {
  color: var(--accent);
}

.nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--accent);
}

/* ================= MAIN LAYOUT ================= */
.center {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 20px 60px;
  position: relative;
  z-index: 1;
}

.page {
  min-height: 100vh;
  padding: 100px 20px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.page-content {
  max-width: 900px;
  width: 100%;
  background: linear-gradient(
    145deg,
    rgba(59, 130, 246, 0.08),
    rgba(15, 31, 61, 0.6)
  );
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 60px 50px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
              0 0 60px rgba(59, 130, 246, 0.1);
}

/* ================= CARD (HOME PAGE) ================= */
.card {
  max-width: 520px;
  width: 100%;
  background: linear-gradient(
    145deg,
    rgba(59, 130, 246, 0.1),
    rgba(15, 31, 61, 0.7)
  );
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 50px 40px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
              0 0 60px var(--shadow-blue);
}

/* ================= TYPOGRAPHY ================= */
h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.3));
}

h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.subtitle,
.intro {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.6;
}

.page-content .intro {
  text-align: center;
  margin-bottom: 50px;
}

/* ================= COUNTDOWN ================= */
.countdown {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.countdown-item {
  text-align: center;
  background: rgba(59, 130, 246, 0.05);
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid var(--border-glass);
  min-width: 90px;
}

.countdown-item strong {
  display: block;
  font-size: 36px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
  filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.5));
}

.countdown-item span {
  font-size: 13px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ================= STATUS ================= */
.status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
  color: var(--accent-light);
  font-size: 14px;
  font-weight: 500;
}

.pulse {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(59, 130, 246, 0); }
  100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

/* ================= EMAIL FORM (HOME) ================= */
.email-form {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
}

.email-form input {
  flex: 1;
  padding: 14px 16px;
  background: rgba(15, 31, 61, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 14px;
  transition: all 0.3s ease;
}

.email-form input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(15, 31, 61, 0.8);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.email-form input::placeholder {
  color: var(--text-secondary);
}

.email-form button {
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border: none;
  border-radius: 12px;
  color: white;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.email-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(59, 130, 246, 0.5);
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
}

/* ================= PRODUCTS GRID ================= */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.box {
  background: linear-gradient(
    145deg,
    rgba(59, 130, 246, 0.08),
    rgba(15, 31, 61, 0.6)
  );
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 32px 28px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent, rgba(59, 130, 246, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.box:hover::before {
  opacity: 1;
}

.box:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.25);
}

.box-icon {
  font-size: 36px;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.5));
}

.box h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.box p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* ================= RESEARCH LIST ================= */
.research-list {
  list-style: none;
  max-width: 700px;
  margin: 40px auto 0;
}

.research-list li {
  background: linear-gradient(
    145deg,
    rgba(59, 130, 246, 0.06),
    rgba(15, 31, 61, 0.5)
  );
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 16px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all 0.3s ease;
}

.research-list li:hover {
  transform: translateX(6px);
  border-color: var(--border-hover);
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.2);
}

.list-icon {
  font-size: 28px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.5));
}

.research-list strong {
  display: block;
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.research-list p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ================= CONTACT FORM ================= */
.contact-form {
  max-width: 600px;
  margin: 40px auto 0;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(15, 31, 61, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(15, 31, 61, 0.8);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-secondary);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border: none;
  border-radius: 12px;
  color: white;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(59, 130, 246, 0.5);
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
}

/* ================= FOOTER ================= */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  padding: 20px;
  font-size: 13px;
  color: var(--text-secondary);
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-glass);
  z-index: 100;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .header {
    padding: 16px 20px;
    flex-direction: column;
    gap: 16px;
  }

  .nav {
    gap: 20px;
  }

  .nav a {
    font-size: 13px;
  }

  h1 {
    font-size: 32px;
  }

  .page-content {
    padding: 40px 30px;
  }

  .card {
    padding: 40px 28px;
  }

  .countdown {
    gap: 12px;
  }

  .countdown-item {
    min-width: 70px;
    padding: 12px 16px;
  }

  .countdown-item strong {
    font-size: 28px;
  }

  .email-form {
    flex-direction: column;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .research-list li {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 12px 16px;
  }

  h1 {
    font-size: 28px;
  }

  .page-content {
    padding: 30px 20px;
  }

  .card {
    padding: 30px 20px;
  }

  .countdown-item strong {
    font-size: 24px;
  }
}