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

:root {
  --bg: #05060a;
  --bg-soft: #0b0d13;
  --accent: #5b8cff;
  --accent-soft: rgba(91, 140, 255, 0.16);
  --text: #f5f5f7;
  --muted: #9ea3b5;
  --border-soft: rgba(255, 255, 255, 0.06);
  --radius-lg: 20px;
  --radius-xl: 26px;
  --shadow-soft: 0 18px 60px rgba(0, 0, 0, 0.45);
  --shadow-card: 0 18px 45px rgba(0, 0, 0, 0.4);
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  background: radial-gradient(circle at top, #141929 0, #05060a 40%);
  color: var(--text);
  scroll-behavior: smooth;
}

/* Header */

.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 900;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(5, 6, 10, 0.9), transparent);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.brand-mark {
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #5b8cff, #9f6bff);
  font-size: 0.8rem;
  font-weight: 700;
}

.brand-text {
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--muted);
}

.header nav ul {
  list-style: none;
  display: flex;
  gap: 1.4rem;
}

.header nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.header nav a:hover {
  color: var(--text);
}

/* Sections */

main {
  margin-top: 70px;
}

.section {
  padding: 5rem 1.5rem;
}

.section-header {
  max-width: 900px;
  margin: 0 auto 2.5rem auto;
  text-align: left;
}

.section-header h2 {
  font-size: 1.4rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.section-header p {
  font-size: 1.6rem;
  color: var(--text);
}

/* Hero */

.hero {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
}

.hero-layout {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-tagline {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.hero-heading {
  font-size: 2.8rem;
  line-height: 1.1;
  margin-bottom: 1.1rem;
}

.hero-sub {
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 1.5rem;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.btn-primary,
.btn-ghost {
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #5b8cff, #9f6bff);
  color: #fff;
  box-shadow: 0 14px 40px rgba(91, 140, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 55px rgba(91, 140, 255, 0.5);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border-soft);
  color: var(--muted);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--text);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-meta span {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.hero-visual {
  position: relative;
}

.hero-card {
  background: linear-gradient(145deg, #0e111a, #141827);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: 1rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.2rem;
}

.hero-card img {
  width: 88px;
  height: 88px;
  border-radius: 999px;
  object-fit: cover;
}

.hero-card-text h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.hero-card-text p {
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-stats {
  display: flex;
  gap: 0.75rem;
}

.stat-card {
  flex: 1;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 18px;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-soft);
}

.stat-number {
  font-size: 1.4rem;
  font-weight: 600;
  display: block;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Orbit-Dots */

.hero-orbit {
  position: absolute;
  inset: -20px;
  pointer-events: none;
}

.orbit-dot {
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle at top, rgba(91, 140, 255, 0.65), transparent);
  top: 10%;
  right: -10%;
  filter: blur(1px);
}

.orbit-dot-lg {
  width: 150px;
  height: 150px;
  top: 65%;
  left: -20%;
  background: radial-gradient(circle at top, rgba(159, 107, 255, 0.55), transparent);
}

/* Updates */

.updates {
  background: radial-gradient(circle at top, rgba(91, 140, 255, 0.18), transparent), var(--bg-soft);
}

.update-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.update-card {
  background: rgba(5, 6, 10, 0.9);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--border-soft);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.update-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.update-card p {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 0.7rem;
}

.update-meta {
  font-size: 0.8rem;
  color: var(--muted);
  opacity: 0.85;
}

/* History / Timeline */

.history {
  background: var(--bg);
}

.timeline {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  padding-left: 1.2rem;
}

.timeline-line {
  position: absolute;
  top: 0.3rem;
  bottom: 0;
  left: 0.4rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  opacity: 0.5;
}

.timeline-item {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 2.2rem;
}

.timeline-dot {
  position: absolute;
  left: -0.15rem;
  top: 0.3rem;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(91, 140, 255, 0.8);
}

.timeline-content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.timeline-content p {
  font-size: 0.95rem;
  color: var(--muted);
}

/* Services */

.services {
  background: var(--bg-soft);
}

.service-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.4rem;
}

.service-card {
  background: rgba(5,6,10,0.95);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.4rem;
  border: 1px solid transparent;
  box-shadow: var(--shadow-card);
  font-size: 0.95rem;
  color: var(--muted);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.service-card h3 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

/* Work / Projects */

.work {
  background: var(--bg);
}

.work-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
}

.work-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  cursor: pointer;
}

.work-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.work-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 6, 10, 0.9), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.work-overlay h3 {
  margin-bottom: 0.2rem;
}

.work-overlay p {
  font-size: 0.9rem;
  color: var(--muted);
}

.work-card:hover img {
  transform: scale(1.06);
}

.work-card:hover .work-overlay {
  opacity: 1;
}

/* Contact */

.contact {
  background: var(--bg-soft);
}

.contact-layout {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.contact-info p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.contact-info a {
  color: var(--accent);
  text-decoration: none;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: #05060a;
  border-radius: 14px;
  border: 1px solid var(--border-soft);
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 0.8rem;
}

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

/* Footer */

.footer {
  padding: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  background: #04040a;
}

/* Responsive */

@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    order: -1;
  }
  .vision,
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

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