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

:root {
  --bg: #f7f8fb;
  --dark: #15171d;
  --dark-2: #0e1016;
  --text: #171820;
  --muted: #697082;
  --blue: #20a8ff;
  --purple: #8f4df8;
  --card: #ffffff;
  --line: rgba(21, 23, 29, 0.10);
  --gradient: linear-gradient(135deg, #20a8ff, #8f4df8);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 248, 251, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand,
.brand-footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 50%;
}

.brand span {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 700;
}

.menu-btn {
  display: none;
  background: none;
  border: 0;
  font-size: 28px;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  color: white;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 900;
  transition: 0.2s;
  border: 0;
  box-shadow: 0 12px 28px rgba(32, 168, 255, 0.22);
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.btn-small {
  padding: 10px 16px;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 70px;
}

.glow {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.22;
  pointer-events: none;
}

.glow-blue {
  background: var(--blue);
  top: 40px;
  right: 8%;
}

.glow-purple {
  background: var(--purple);
  bottom: -120px;
  left: 4%;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.tag {
  display: inline-block;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
  font-size: 14px;
  background: var(--gradient);
  -webkit-background-clip: text;
  color: transparent;
}

h1 {
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: -3px;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 22px;
}

.subtitle,
.section-text {
  font-size: 20px;
  color: var(--muted);
  max-width: 720px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.hero-card {
  background: radial-gradient(circle at 10% 10%, rgba(32,168,255,.18), transparent 32%),
              radial-gradient(circle at 90% 20%, rgba(143,77,248,.22), transparent 32%),
              var(--dark);
  color: white;
  padding: 34px;
  border-radius: 32px;
  box-shadow: 0 24px 70px rgba(14,16,22,0.28);
  border: 1px solid rgba(255,255,255,0.08);
}

.hero-logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 22px;
}

.hero-card h3 {
  font-size: 26px;
  margin-bottom: 18px;
}

.hero-card ul {
  list-style: none;
}

.hero-card li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.hero-card li::before {
  content: "✓ ";
  color: var(--blue);
  font-weight: bold;
}

.section {
  padding: 80px 0;
}

.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.two-cols p {
  font-size: 19px;
  color: var(--muted);
}

.dark {
  background: var(--dark-2);
  color: white;
}

.dark .card p {
  color: #cfd3dd;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 24px;
  padding: 26px;
}

.card h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.portfolio-item {
  min-height: 150px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  display: flex;
  align-items: end;
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 10px 30px rgba(21, 23, 29, 0.05);
  position: relative;
  overflow: hidden;
}

.portfolio-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0.08;
}

.portfolio-item {
  z-index: 1;
}

.light {
  background: #fff;
}

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 30px;
}

.features div {
  border-left: 4px solid var(--blue);
  padding-left: 16px;
}

.features div:nth-child(even) {
  border-left-color: var(--purple);
}

.features strong {
  display: block;
  font-size: 19px;
  margin-bottom: 8px;
}

.features p {
  color: var(--muted);
}

.cta {
  background: radial-gradient(circle at 20% 20%, rgba(32,168,255,.25), transparent 30%),
              radial-gradient(circle at 80% 20%, rgba(143,77,248,.28), transparent 32%),
              var(--dark-2);
  color: white;
  text-align: center;
  padding: 90px 0;
}

.cta p {
  color: #d6dae4;
  font-size: 20px;
  max-width: 720px;
  margin: 0 auto 28px;
}

.footer {
  background: #08090d;
  color: white;
  padding: 38px 0;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.brand-footer {
  align-items: flex-start;
  flex-direction: column;
}

.brand-footer img {
  width: 110px;
  border-radius: 50%;
}

.footer p {
  color: #cfd3dd;
  margin-top: 8px;
}

@media (max-width: 900px) {
  .menu-btn {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 4%;
    right: 4%;
    top: 78px;
    background: white;
    border-radius: 18px;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    display: none;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  }

  .nav-links.active {
    display: flex;
  }

  .hero-grid,
  .two-cols {
    grid-template-columns: 1fr;
  }

  .cards,
  .portfolio-grid,
  .features {
    grid-template-columns: 1fr 1fr;
  }

  h1 {
    letter-spacing: -2px;
  }
}

@media (max-width: 560px) {
  .hero {
    padding: 60px 0;
  }

  .cards,
  .portfolio-grid,
  .features {
    grid-template-columns: 1fr;
  }

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

  .btn {
    width: 100%;
  }

  .footer-grid {
    flex-direction: column;
  }
}
