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

:root {
  --color-bg: #0a0a0f;
  --color-surface: #12121a;
  --color-surface-hover: #1a1a26;
  --color-border: #1e1e2e;
  --color-text: #e4e4ed;
  --color-text-muted: #8888a0;
  --color-accent: #6366f1;
  --color-accent-light: #818cf8;
  --color-accent-glow: rgba(99, 102, 241, 0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- HEADER ---- */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(10, 10, 15, 0.8);
  border-bottom: 1px solid var(--color-border);
}

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

.nav__logo {
  display: flex;
  align-items: center;
}

.nav__logo-img {
  height: 32px;
  width: auto;
  filter: invert(1);
}

.nav__links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav__links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

/* ---- HERO ---- */

.hero {
  padding: 160px 0 100px;
  overflow: hidden;
}

.hero__inner {
  display: flex;
  align-items: center;
  gap: 64px;
}

.hero__content {
  flex: 1;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--color-accent-light), #a78bfa, #c084fc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 0 24px var(--color-accent-glow);
}

.btn--primary:hover {
  background: var(--color-accent-light);
  box-shadow: 0 0 40px rgba(99, 102, 241, 0.3);
  transform: translateY(-1px);
}

.hero__visual {
  flex-shrink: 0;
}

.hero__logo-glow {
  position: relative;
  width: 260px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__logo-glow::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-accent-glow) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

.hero__logo {
  width: 160px;
  height: 160px;
  filter: invert(1);
  position: relative;
  z-index: 1;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

/* ---- SECTIONS ---- */

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.section-subtitle {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: 48px;
}

/* ---- SERVICES ---- */

.services {
  padding: 80px 0 100px;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
}

.card:hover {
  border-color: var(--color-accent);
  background: var(--color-surface-hover);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.08);
}

.card--coming {
  border-style: dashed;
  opacity: 0.7;
}

.card--coming:hover {
  transform: none;
  border-color: var(--color-border);
  background: var(--color-surface);
  box-shadow: none;
  cursor: default;
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--color-accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card__icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-accent-light);
}

.card__title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.card__desc {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  flex: 1;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-accent-light);
}

.card__link svg {
  transition: transform 0.2s;
}

.card:hover .card__link svg {
  transform: translate(2px, -2px);
}

.card__badge {
  display: inline-block;
  margin-top: 20px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--color-accent-glow);
  color: var(--color-accent-light);
  width: fit-content;
}

/* ---- ABOUT ---- */

.about {
  padding: 80px 0 100px;
}

.about__inner {
  max-width: 720px;
}

.about__text {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ---- FOOTER ---- */

.footer {
  border-top: 1px solid var(--color-border);
  padding: 40px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer__logo {
  height: 24px;
  filter: invert(1);
  opacity: 0.5;
}

.footer__copy {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

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

/* ---- ANIMATIONS ---- */

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- RESPONSIVE ---- */

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

  .hero__inner {
    flex-direction: column-reverse;
    text-align: center;
    gap: 40px;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__logo-glow {
    width: 180px;
    height: 180px;
  }

  .hero__logo {
    width: 100px;
    height: 100px;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer__brand {
    flex-direction: column;
    gap: 8px;
  }

  .nav__links {
    gap: 20px;
  }
}
