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

html, body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #050816;
  color: #f5f5f5;
  scroll-behavior: smooth;
}

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

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

/* Container */
.container {
  width: 90%;
  max-width: 1120px;
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5, 8, 22, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo {
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.logo span {
  color: #4f9cff;
}

/* Nav */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-links a {
  font-size: 0.95rem;
  opacity: 0.8;
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  opacity: 1;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #4f9cff, #9b5bff);
  transition: width 0.2s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 1.4rem;
  color: #f5f5f5;
  cursor: pointer;
}

/* Hero */
.hero {
  padding: 3.5rem 0 3rem;
  background: radial-gradient(circle at top, #1a2a4a 0, #050816 55%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 2.4rem;
  line-height: 1.25;
  margin-bottom: 1rem;
}
.hero-text h1 span {
  background: linear-gradient(90deg, #4f9cff, #9b5bff);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-text p {
  font-size: 1rem;
  opacity: 0.9;
}

.hero-sub {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  opacity: 0.85;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn.primary {
  background: linear-gradient(120deg, #4f9cff, #9b5bff);
  color: #050816;
  box-shadow: 0 12px 35px rgba(79, 156, 255, 0.35);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(79, 156, 255, 0.45);
}

.btn.secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.25);
  color: #f5f5f5;
}
.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* Hero Visual */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-orbit {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.planet {
  position: absolute;
  border-radius: 50%;
}

.planet-1 {
  width: 70px;
  height: 70px;
  background: radial-gradient(circle at 30% 30%, #ffffff, #4f9cff);
  box-shadow: 0 0 25px rgba(79, 156, 255, 0.8);
}
.planet-2 {
  width: 24px;
  height: 24px;
  background: radial-gradient(circle at 30% 30%, #ffd7a0, #ff9b4f);
  top: 12%;
  right: 16%;
}
.planet-3 {
  width: 32px;
  height: 32px;
  background: radial-gradient(circle at 30% 30%, #c0a8ff, #9b5bff);
  bottom: 10%;
  left: 10%;
}

.hero-caption {
  margin-top: 0.8rem;
  font-size: 0.8rem;
  opacity: 0.7;
}

/* Sections */
.section {
  padding: 3rem 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.02);
}

.section h2,
.section h1 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.section-lead {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 1.8rem;
}

/* Grids & Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}

.card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 1rem;
  padding: 1.2rem 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.75);
}

.card h3 {
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}
.card p {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.2rem;
}

.feature {
  padding: 1.1rem 1.25rem;
  border-radius: 0.9rem;
  border: 1px dashed rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.6);
}
.feature h3 {
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

/* CTA */
.cta-section {
  background: radial-gradient(circle at top, #1e293b 0, #020617 60%);
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

/* About */
.narrow {
  max-width: 780px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

/* Lists */
.list {
  margin-top: 0.75rem;
  padding-left: 1.1rem;
}
.list li {
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

/* Article list */
.article-list {
  margin-top: 1.2rem;
  list-style: none;
}
.article-list li {
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}
.article-list h3 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}
.article-list p {
  font-size: 0.9rem;
  opacity: 0.9;
}
.tag {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Notice */
.notice-box {
  margin-top: 1.8rem;
  padding: 0.9rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(234, 179, 8, 0.4);
  background: rgba(120, 53, 15, 0.35);
  font-size: 0.9rem;
}

/* Contact Form */
.contact-form {
  margin-top: 1.5rem;
  background: rgba(15, 23, 42, 0.9);
  padding: 1.5rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.85);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.2rem;
  opacity: 0.9;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: rgba(15, 23, 42, 0.7);
  color: #f9fafb;
  font-size: 0.9rem;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: #4f9cff;
  box-shadow: 0 0 0 1px rgba(79, 156, 255, 0.6);
}

.form-note {
  margin-top: 0.8rem;
  font-size: 0.8rem;
  opacity: 0.8;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  padding: 1.2rem 0;
  background: #020617;
  margin-top: 2rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
}

.footer-links {
  display: flex;
  gap: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    text-align: left;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Mobile nav */
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    padding: 0.75rem 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
    min-width: 180px;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    border-radius: 0 0 0.75rem 0.75rem;
    border-left: 1px solid rgba(148, 163, 184, 0.5);
    border-bottom: 1px solid rgba(148, 163, 184, 0.5);
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}
