
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #050816;
  --bg-alt: #070b1f;
  --card-bg: #0b1024;
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.12);
  --accent-2: #a855f7;
  --accent-2-soft: rgba(168, 85, 247, 0.12);
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --border-subtle: rgba(148, 163, 184, 0.25);
  --radius-lg: 1.25rem;
  --radius-xl: 1.5rem;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.75);
}

html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "SF Pro Text", "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #1d253f 0, #030712 45%, #020617 100%);
  color: var(--text-main);
}

body {
  min-height: 100vh;
}

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

a:hover {
  text-decoration: underline;
}

.site-header {
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(3,7,18,0.9), rgba(3,7,18,0.6));
  position: sticky;
  top: 0;
  z-index: 20;
}

.inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #38bdf8, #a855f7 40%, #ec4899 75%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 1px rgba(15,23,42,0.7), 0 15px 35px rgba(15,23,42,0.8);
  overflow: hidden;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.logo-subtitle {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
}

.main-nav a {
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--text-muted);
  text-decoration: none;
}

.main-nav a:hover {
  border-color: rgba(148, 163, 184, 0.5);
  color: var(--text-main);
  background: rgba(15,23,42,0.8);
}

main {
  padding: 2.5rem 0 3.5rem;
}

.hero {
  padding: 0 0 2rem;
}

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

.hero-center .hero-inner {
  grid-template-columns: minmax(0, 1.2fr);
  text-align: left;
}

.hero-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

h1 {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  margin: 0 0 0.85rem;
}

.hero-lead {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 0.9rem;
}

.hero-lead.secondary {
  font-size: 0.9rem;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 1.25rem;
}

.chip {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  border: 1px solid rgba(148,163,184,0.4);
}

.chip-art {
  background: var(--accent-soft);
}

.chip-tech {
  background: var(--accent-2-soft);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn.primary {
  background: linear-gradient(135deg, #38bdf8, #a855f7);
  color: white;
  box-shadow: 0 14px 35px rgba(56, 189, 248, 0.35);
}

.btn.primary:hover {
  filter: brightness(1.05);
}

.btn.ghost {
  background: rgba(15,23,42,0.8);
  border-color: rgba(148,163,184,0.5);
  color: var(--text-main);
}

.hero-grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.big-card {
  background: radial-gradient(circle at top left, rgba(56,189,248,0.25), rgba(15,23,42,0.96));
  border-radius: var(--radius-xl);
  padding: 1.25rem 1.3rem;
  border: 1px solid rgba(148,163,184,0.3);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  color: var(--text-main);
  position: relative;
  overflow: hidden;
}

.big-card-tech {
  background: radial-gradient(circle at top left, rgba(168,85,247,0.25), rgba(15,23,42,0.96));
}

.big-card h2 {
  margin: 0 0 0.3rem;
  font-size: 1.2rem;
}

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

.card-cta {
  font-size: 0.8rem;
  color: var(--accent);
}

.section {
  padding: 1.5rem 0 0;
}

.section-alt {
  background: radial-gradient(circle at top, #020617, #020617 55%, #020617 100%);
}

.section h2 {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

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

.link-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}

.link-list li {
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
}

.simple-section {
  padding-top: 1.5rem;
}

.simple-section h1 {
  font-size: 1.6rem;
}

.simple-section h2 {
  font-size: 1.2rem;
  margin-top: 1.2rem;
}

.simple-section p,
.simple-section li {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.simple-section ul {
  padding-left: 1.1rem;
}

.site-footer {
  border-top: 1px solid var(--border-subtle);
  margin-top: 2.5rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-inner a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-inner a:hover {
  color: var(--accent);
}

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

@media (max-width: 800px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-grid-two {
    grid-template-columns: minmax(0, 1fr);
  }

  main {
    padding-top: 1.5rem;
  }
}
