:root {
  color-scheme: dark;
  color: #eef2ff;
  background: #050816;
  font-family: 'Inter', system-ui, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top left, rgba(96, 123, 255, 0.24), transparent 30%),
              radial-gradient(circle at bottom right, rgba(13, 151, 255, 0.16), transparent 28%),
              #050816;
}

img {
  max-width: 100%;
}

.page-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.hero {
  display: grid;
  gap: 32px;
  align-items: start;
  padding: 60px 0 40px;
}

.hero-copy {
  max-width: 640px;
}

.eyebrow {
  margin: 0 0 18px;
  color: #86a2ff;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  font-weight: 700;
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  font-size: clamp(3rem, 5vw, 4.6rem);
  letter-spacing: -0.05em;
}

.hero-text,
.section-intro p,
.brand-card p,
.contact-section p {
  margin: 24px 0 0;
  max-width: 60ch;
  color: #cbd5ff;
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  background: linear-gradient(135deg, #7c6fff, #3e9aff);
  color: #fff;
  box-shadow: 0 18px 40px rgba(94, 103, 255, 0.18);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #e5ecff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn.small {
  padding: 11px 20px;
  font-size: 0.95rem;
}

.brand-card-actions {
  margin-top: 24px;
}

.hero-card {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  border-radius: 32px;
  padding: 36px;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.18);
}

.hero-card__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(125, 171, 255, 0.18), transparent 30%),
              radial-gradient(circle at bottom left, rgba(0, 250, 255, 0.12), transparent 24%);
  pointer-events: none;
}

.hero-card__content {
  position: relative;
  z-index: 1;
}

.hero-card .tag {
  display: inline-flex;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: #c5d4ff;
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.hero-card h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin-bottom: 16px;
}

.grid-section {
  padding: 40px 0 0;
}

.section-intro {
  max-width: 720px;
  margin-bottom: 40px;
}

.card-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.brand-card {
  background: rgba(12, 18, 37, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 28px;
  min-height: 260px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.brand-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 111, 255, 0.38);
}

.brand-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(124, 111, 255, 0.24), rgba(28, 124, 255, 0.22));
}

.brand-card__icon img {
  width: 60%;
  height: 60%;
  object-fit: contain;
}

.brand-card h3 {
  margin: 0 0 14px;
  font-size: 1.45rem;
}

.contact-section {
  display: grid;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  padding: 56px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-section h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
}

@media (min-width: 880px) {
  .hero {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .hero-actions {
    gap: 20px;
  }
}

@media (max-width: 700px) {
  .page-shell {
    padding: 30px 18px 60px;
  }

  .hero-card,
  .brand-card {
    padding: 26px;
  }
}
