:root {
  --bg: #060b1f;
  --accent: #3b82f6;
  --accent-2: #8b5cf6;
  --accent-3: #93c5fd;
  --muted: #7b8fc9;
  --card: rgba(15, 25, 60, 0.7);
  --border: rgba(139, 92, 246, 0.18);
}

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

html, body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background:
    radial-gradient(900px 600px at 80% 10%, rgba(139, 92, 246, 0.08), transparent),
    radial-gradient(600px 400px at 5% 70%, rgba(59, 130, 246, 0.06), transparent),
    var(--bg);
  color: #e0e7ff;
  -webkit-font-smoothing: antialiased;
  overflow-y: auto;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(139, 92, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 32px 60px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 80px;
}

.brand {
  display: flex;
  gap: 14px;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 6s ease-in-out infinite;
  overflow: hidden;
}

.mark img {
  width: 75%;
  height: 75%;
  object-fit: contain;
}

.mark svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #e0e7ff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-title {
  font-family: Poppins, Inter;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.2px;
  color: #e0e7ff;
}

.brand-sub {
  font-size: 11px;
  color: var(--muted);
  margin-top: 1px;
}

.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.main-nav a {
  color: #b0c4de;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.main-nav a:hover {
  color: #93c5fd;
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 14px;
}
.nav-dropdown > a {
  cursor: default;
}
.nav-dropdown > a::after {
  content: '';
  display: inline-block;
  margin-left: 6px;
  border-top: 5px solid #b0c4de;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  vertical-align: middle;
  transition: border-color 0.2s;
}
.nav-dropdown:hover > a::after {
  border-top-color: #93c5fd;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 8px;
  background: #111a33;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px 0;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}
.dropdown-menu a {
  padding: 8px 18px;
  font-size: 14px;
  white-space: nowrap;
  text-align: center;
}
.dropdown-menu a:hover {
  background: rgba(59, 130, 246, 0.12);
  color: #e0e7ff;
}

.hero {
  text-align: center;
  padding: 0 0 100px;
}

.hero-title {
  font-family: Poppins, Inter;
  font-weight: 800;
  font-size: clamp(48px, 8vw, 80px);
  line-height: 1.1;
  letter-spacing: -2px;
  background: linear-gradient(160deg, #ffffff 20%, #93c5fd 40%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
}

.lead {
  color: #94a3c9;
  font-size: 17px;
  line-height: 1.65;
  max-width: 600px;
  margin: 0 auto 40px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
  margin-bottom: 80px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}

.card:hover {
  border-color: rgba(139, 92, 246, 0.25);
  transform: translateY(-3px);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.3), transparent);
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent-3);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #e0e7ff;
}

.card p {
  font-size: 14px;
  color: #94a3c9;
  line-height: 1.6;
}

.card-tag {
  display: inline-block;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 600;
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.08);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(139, 92, 246, 0.12);
}

.contact {
  text-align: center;
}
.calendar-embed {
  max-width: 800px;
  margin: 40px auto 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
}
.calendar-embed iframe {
  display: block;
  width: 100%;
  min-height: 600px;
}

footer {
  border-top: 1px solid rgba(139, 92, 246, 0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-left {
  font-size: 13px;
  color: #94a3c9;
}

.footer-left strong {
  color: #93c5fd;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 13px;
  color: #94a3c9;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #e0e7ff;
}

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

@media (max-width: 600px) {
  .wrap { padding: 24px 20px 40px; }
  header { flex-direction: column; gap: 20px; margin-bottom: 50px; }
  .main-nav { gap: 16px; flex-wrap: wrap; justify-content: center; }
  .nav-dropdown { position: static; }
  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    flex-direction: row;
    gap: 8px;
    padding: 6px;
    background: transparent;
    border: none;
    box-shadow: none;
    margin-top: 0;
  }
  .dropdown-menu a {
    padding: 4px 12px;
    font-size: 13px;
    border-radius: 999px;
    background: var(--card);
    border: 1px solid var(--border);
  }
  .nav-dropdown > a::after { display: none; }
  .hero { padding-bottom: 60px; }
  footer { flex-direction: column; align-items: flex-start; }
}

/* BLOG */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 80px;
}
.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.25s, transform 0.25s;
}
.blog-card:hover {
  border-color: rgba(139, 92, 246, 0.25);
  transform: translateY(-3px);
}
.blog-date {
  font-size: 12px;
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
}
.blog-card h2 {
  font-size: 20px;
  font-weight: 700;
  color: #e0e7ff;
  margin-bottom: 10px;
}
.blog-card p {
  font-size: 14px;
  color: #94a3c9;
  line-height: 1.6;
  margin-bottom: 14px;
}
.blog-link {
  color: #93c5fd;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s;
}
.blog-link:hover {
  color: #e0e7ff;
}

/* CAREERS */
.careers-section { margin-bottom: 80px; }
.section-title {
  font-family: Poppins, Inter;
  font-size: 28px;
  font-weight: 700;
  color: #e0e7ff;
  margin-bottom: 24px;
}
.job-list { display: flex; flex-direction: column; gap: 20px; }
.job-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.25s, transform 0.25s;
}
.job-card:hover {
  border-color: rgba(139, 92, 246, 0.25);
  transform: translateY(-2px);
}
.job-card h3 { font-size: 19px; color: #e0e7ff; margin: 0; }
.job-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.08);
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(139, 92, 246, 0.12);
  margin-right: 6px;
  margin-top: 4px;
}
.job-card p { font-size: 14px; color: #94a3c9; line-height: 1.5; margin: 6px 0 10px; }
.btn-small {
  display: inline-block;
  background: linear-gradient(135deg, #3b82f6 50%, #8b5cf6 100%);
  color: white;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  width: fit-content;
  transition: opacity 0.2s;
}
.btn-small:hover { opacity: 0.9; }

.perks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.perk-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
}
.perk-card h3 { font-size: 18px; color: #e0e7ff; margin-bottom: 10px; }
.perk-card p { font-size: 14px; color: #94a3c9; line-height: 1.6; }
.career-cta {
  text-align: center;
  margin-top: 50px;
  padding: 40px 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
}
.career-cta p { font-size: 16px; color: #94a3c9; margin-bottom: 20px; }
.btn-cta-style {
  display: inline-block;
  background: linear-gradient(135deg, #3b82f6 50%, #8b5cf6 100%);
  color: white;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 16px;
  transition: opacity 0.2s;
}
.btn-cta-style:hover { opacity: 0.9; }

/* ABOUT */
.about-section { margin-bottom: 80px; }
.about-text {
  font-size: 17px;
  color: #94a3c9;
  line-height: 1.7;
  max-width: 800px;
}
.about-text strong { color: #e0e7ff; }
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.about-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  transition: border-color 0.25s, transform 0.25s;
}
.about-card:hover {
  border-color: rgba(139, 92, 246, 0.25);
  transform: translateY(-3px);
}
.about-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-icon svg {
  width: 24px;
  height: 24px;
  stroke: #93c5fd;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.about-card h3 { font-size: 19px; color: #e0e7ff; margin-bottom: 8px; }
.about-card p { font-size: 14px; color: #94a3c9; line-height: 1.6; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 20px;
}
.value-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: border-color 0.25s, transform 0.25s;
}
.value-card:hover {
  border-color: rgba(139, 92, 246, 0.25);
  transform: translateY(-3px);
}
.value-card h3 { font-size: 18px; color: #93c5fd; margin-bottom: 8px; }
.value-card p { font-size: 14px; color: #94a3c9; line-height: 1.6; }
