:root {
  --primary: #6C5CE7;
  --secondary: #00D2D3;
  --dark: #1c1c28;
  --gray: #6b6b7b;
  --light-bg: #f7f7fd;
  --border: #e3e3f5;
  --radius: 14px;
  --max-width: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--dark);
  background: var(--light-bg);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand { display: flex; align-items: center; gap: 8px; }
.brand img { height: 34px; width: auto; }

.nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 500;
  color: var(--dark);
  transition: all 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--primary);
  color: #fff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
}

/* ---------- Hero / Coming Soon ---------- */
.hero {
  padding: 70px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 18px;
}

.badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--secondary);
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 210, 211, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(0, 210, 211, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 210, 211, 0); }
}

.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.15;
  margin: 0 0 16px;
}

.hero h1 span {
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: 18px;
  color: var(--gray);
  max-width: 520px;
  margin-bottom: 30px;
}

.hero-illustration {
  justify-self: center;
}

/* ---------- Countdown ---------- */
.countdown {
  display: flex;
  gap: 14px;
  margin: 10px 0 32px;
  flex-wrap: wrap;
}

.countdown .box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  min-width: 84px;
  text-align: center;
  box-shadow: 0 6px 16px rgba(28, 28, 40, 0.05);
}

.countdown .box strong {
  display: block;
  font-size: 28px;
  color: var(--primary);
}

.countdown .box span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gray);
}

/* ---------- Notify form ---------- */
.notify-form {
  display: flex;
  gap: 10px;
  max-width: 460px;
  flex-wrap: wrap;
}

.notify-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 15px;
  background: #fff;
}

.notify-form input[type="email"]:focus {
  outline: none;
  border-color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(108, 92, 231, 0.25);
}

.form-note {
  font-size: 13px;
  color: var(--gray);
  margin-top: 10px;
}

.form-success {
  display: none;
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #e7fbf6;
  color: #0a8f7d;
  font-size: 14px;
  font-weight: 600;
}

/* ---------- Progress ---------- */
.progress-wrap {
  margin-top: 34px;
  max-width: 460px;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 8px;
}

.progress-bar {
  height: 10px;
  border-radius: 999px;
  background: var(--border);
  overflow: hidden;
}

.progress-bar > div {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

/* ---------- Page icon (about/contact/service/product/resources) ---------- */
.page-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
}

.hero.centered {
  text-align: center;
}

.hero.centered .hero-grid {
  display: block;
}

.hero.centered .countdown,
.hero.centered .notify-form,
.hero.centered .progress-wrap {
  margin-left: auto;
  margin-right: auto;
}

.hero.centered p.lead {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Features strip ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 50px 0;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.feature-card h3 {
  margin: 10px 0 6px;
  font-size: 17px;
}

.feature-card p {
  margin: 0;
  color: var(--gray);
  font-size: 14px;
}

.feature-card .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--primary);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: #fff;
  margin-top: 60px;
  padding: 40px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
}

.footer-grid h4 {
  margin: 0 0 14px;
  font-size: 15px;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid ul li {
  margin-bottom: 8px;
}

.footer-grid ul a {
  color: var(--gray);
  font-size: 14px;
}

.footer-grid ul a:hover {
  color: var(--primary);
}

.footer-about p {
  color: var(--gray);
  font-size: 14px;
  max-width: 320px;
}

.social-icons {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.social-icons a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--primary);
  border: 1px solid var(--border);
}

.social-icons a:hover {
  background: var(--primary);
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 30px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--gray);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-illustration { order: -1; max-width: 340px; }
  .features { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-links {
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 12px 24px;
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
