* {
  box-sizing: border-box;
}

:root {
  color-scheme: dark;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #e2e8f0;
  background: #020617;
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.14), transparent 18%),
    radial-gradient(circle at 80% 15%, rgba(168, 85, 247, 0.12), transparent 20%),
    linear-gradient(180deg, #030711 0%, #08101e 65%, #0f172a 100%);
}

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

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

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  background: rgba(4, 13, 32, 0.95);
  color: #f8fafc;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(99, 102, 241, 0.22);
}

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

.brand {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-nav a {
  color: #cbd5e1;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover {
  color: #ffffff;
  background: rgba(99, 102, 241, 0.2);
  transform: translateY(-1px);
}

.site-nav a.active {
  color: #a5b4fc;
  background: rgba(99, 102, 241, 0.2);
  box-shadow: 0 0 22px rgba(99, 102, 241, 0.35);
}

.page-content {
  padding: 4rem 0 5rem;
}

.section {
  background: rgba(15, 23, 42, 0.82);
  border-radius: 32px;
  padding: 2.5rem;
  box-shadow: 0 34px 100px rgba(15, 23, 42, 0.24);
  border: 1px solid rgba(99, 102, 241, 0.16);
  backdrop-filter: blur(12px);
}

.section + .section {
  margin-top: 3rem;
}

.hero {
  display: grid;
  gap: 2rem;
  align-items: center;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 1.2fr);
  padding: 3rem;
  background: linear-gradient(135deg, #08101e 0%, #111827 100%);
  color: #ffffff;
  border-radius: 40px;
  box-shadow: 0 48px 140px rgba(15, 23, 42, 0.3);
  border: 1px solid rgba(99, 102, 241, 0.34);
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(99, 102, 241, 0.14), transparent 28%),
    radial-gradient(circle at 90% 20%, rgba(56, 189, 248, 0.12), transparent 26%);
  pointer-events: none;
  border-radius: inherit;
}

.hero-text {
  position: relative;
  z-index: 1;
}

.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-size: clamp(3rem, 6vw, 4.8rem);
  margin: 0 0 1rem;
  line-height: 1.05;
  text-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

.hero-text p {
  max-width: 680px;
  margin: 0 0 1rem;
}

.hero-copy {
  color: #cbd5e1;
}

.hero-highlight {
  color: #a5b4fc;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: #8b5cf6;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.hero-text p:last-of-type {
  font-size: 1rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.95rem 1.5rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
  color: #ffffff;
  box-shadow: 0 20px 60px rgba(124, 58, 237, 0.22);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.3);
  backdrop-filter: blur(12px);
}

.btn:hover {
  transform: translateY(-1px);
}

.hero-visual {
  position: relative;
  width: min(420px, 100%);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  overflow: visible;
  display: grid;
  place-items: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 2px solid rgba(56, 189, 248, 0.85);
  box-shadow: 0 0 48px rgba(56, 189, 248, 0.35), 0 0 96px rgba(99, 102, 241, 0.12);
  animation: spin-ring 10s linear infinite;
  pointer-events: none;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.18), transparent 45%);
  filter: blur(18px);
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.32);
}

.section-header {
  margin-bottom: 2rem;
}

.section-label {
  display: inline-flex;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  background: rgba(99, 102, 241, 0.22);
  color: #a5b4fc;
  margin-bottom: 1rem;
  box-shadow: 0 16px 40px rgba(99, 102, 241, 0.08);
}

.section-title {
  font-size: clamp(2rem, 3vw, 3rem);
  margin: 0 0 1rem;
}

.section-subtitle {
  color: #cbd5e1;
  max-width: 760px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.about-copy {
  padding-right: 1rem;
}

.about-copy h3 {
  margin-top: 0;
  font-size: 1.35rem;
}

.about-copy p {
  color: #dbeafe;
  line-height: 1.85;
}

.about-copy ul {
  margin: 1.4rem 0 0;
  padding-left: 1.25rem;
  color: #dbeafe;
}

.about-copy li {
  margin-bottom: 0.8rem;
}

.about-cards {
  display: grid;
  gap: 1rem;
}

.stats-grid,
.about-cards {
  display: grid;
  gap: 1rem;
}

.stat-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.05) 100%);
  border-radius: 28px;
  padding: 1.6rem;
  border: 1px solid rgba(99, 102, 241, 0.25);
  box-shadow: 0 18px 40px rgba(99, 102, 241, 0.12);
  backdrop-filter: blur(12px);
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
}

.stat-label {
  color: #64748b;
  margin: 0;
}

.contact-section {
  padding: 3rem;
  background: linear-gradient(135deg, rgba(27, 42, 76, 0.94) 0%, rgba(15, 23, 42, 0.98) 100%);
  border: 1px solid rgba(99, 102, 241, 0.18);
}

.contact-card {
  background: rgba(15, 23, 42, 0.88);
  border-radius: 32px;
  padding: 2rem;
  border: 1px solid rgba(99, 102, 241, 0.18);
  box-shadow: 0 28px 80px rgba(56, 189, 248, 0.08);
  display: grid;
  gap: 1.75rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.contact-link img {
  height: 56px;
}

.contact-actions a:hover {
  transform: translateY(-2px);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.75rem;
  border-radius: 24px;
  border: 1px solid rgba(99, 102, 241, 0.28);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.96) 0%, rgba(8, 14, 29, 0.98) 100%);
  box-shadow: 0 24px 80px rgba(99, 102, 241, 0.14);
}

.card-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  align-items: flex-start;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: min(100%, 72%);
}

.tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: #e0e7ff;
  background: rgba(99, 102, 241, 0.18);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
}

.post-date,
.read-time {
  font-size: 0.85rem;
  color: #94a3b8;
  font-weight: 700;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  flex-wrap: wrap;
}

.blog-card h2 {
  margin: 0 0 0.85rem;
  font-size: 1.35rem;
}

.blog-card p {
  margin: 0;
  color: #cbd5e1;
}

.card-actions {
  margin-top: auto;
}

.show-more-row {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.site-footer {
  padding: 1.5rem 0;
  text-align: center;
  color: #cbd5e1;
  font-size: 0.95rem;
  background: linear-gradient(180deg, rgba(7, 11, 22, 0.96), rgba(15, 23, 42, 0.98));
  border-top: 1px solid rgba(99, 102, 241, 0.22);
}

@keyframes spin-ring {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 980px) {
  .hero,
  .about-grid,
  .cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 0.85rem 0;
  }

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

  .site-nav {
    justify-content: flex-start;
  }

  .hero {
    padding: 2rem;
  }

  .contact-actions {
    flex-direction: column;
  }
}
