/* -------------------------
     Mobile-first CSS variables
     ------------------------- */
:root {
  --bg: #0f1724;
  /* dark background */
  --card: #0b1220;
  --muted: #98a0b3;
  --accent: linear-gradient(90deg, #6ee7b7 0%, #60a5fa 50%, #a78bfa 100%);
  --accent-solid: #4f46e5;
  --glass: rgba(255, 255, 255, 0.04);
  --radius: 14px;
  --max-width: 1100px;
  --text: #e6eef8;
}

/* -------------------------
       Reset & base
       ------------------------- */
* {
  box-sizing: border-box
}

html,
body {
  height: 100%
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: radial-gradient(1200px 500px at 10% 10%, rgba(99, 102, 241, 0.08), transparent 10%),
    radial-gradient(900px 400px at 90% 80%, rgba(96, 165, 250, 0.04), transparent 10%),
    var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  padding: 28px 18px;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px
}

/* -------------------------
       Layout
       ------------------------- */
.wrap {
  max-width: var(--max-width);
  margin: 0 auto
}

header.site-header {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between
}

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

.logo {
  width: 44px;
  height: 44px;
  /* border-radius: 10px; */
  /* box-shadow: 0 6px 20px rgba(79, 70, 229, 0.15), inset 0 -6px 20px rgba(255, 255, 255, 0.06); */
}

/* .logo{
      width:44px;height:44px;border-radius:10px;
      background:var(--accent);
      box-shadow:0 6px 20px rgba(79,70,229,0.15), inset 0 -6px 20px rgba(255,255,255,0.06);
      display:flex;align-items:center;justify-content:center;font-weight:700;color:#061421;
      font-family:Inter, system-ui;
    } */

.brand h1 {
  font-size: 1rem;
  margin: 0;
  font-weight: 700
}

.nav {
  display: flex;
  gap: 10px;
  align-items: center
}

.nav a {
  font-size: 0.94rem;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--text);
  opacity: 0.9
}

.nav a.secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.04)
}

/* -------------------------
       Hero
       ------------------------- */
.hero {
  margin-top: 20px;
  display: grid;
  gap: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  padding: 22px;
  border-radius: var(--radius);
  box-shadow: 0 8px 36px rgba(2, 6, 23, 0.6);
  overflow: hidden;
}

/* .hero-left{} */
.eyebrow {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.78rem
}

.headline {
  font-size: 1.4rem;
  margin: 8px 0 8px;
  font-weight: 800;
  letter-spacing: -0.01em
}

.sub {
  color: var(--muted);
  margin: 0 0 14px;
  font-size: 0.95rem
}

/* -------------------------
       Buttons (shadows + hover)
       ------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 0;
  outline: 0;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.6);
}

.btn:active {
  transform: translateY(1px)
}

.btn-primary {
  background: var(--accent-solid);
  color: white;
  box-shadow: 0 12px 30px rgba(79, 70, 229, 0.25), 0 2px 6px rgba(2, 6, 23, 0.6);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.45), inset 0 -8px 18px rgba(255, 255, 255, 0.01);
}

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

/* -------------------------
       Hero visual card
       ------------------------- */
.hero-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  border-radius: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px
}

.stat {
  background: var(--glass);
  padding: 10px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text)
}

/* -------------------------
       Sections
       ------------------------- */
section {
  margin-top: 24px
}

.section-title {
  font-size: 1.02rem;
  font-weight: 800;
  margin: 0 0 8px
}

.muted {
  color: var(--muted);
  font-size: 0.93rem
}

/* -------------------------
       Services grid (mobile-first)
       ------------------------- */
.services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 8px
}

.service {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent);
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.s-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  background: linear-gradient(180deg, #0ea5a4, #7c3aed);
  box-shadow: 0 8px 22px rgba(12, 11, 20, 0.45)
}

.s-body h4 {
  margin: 0 0 6px;
  font-size: 1rem
}

.s-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem
}

/* -------------------------
       Portfolio / cards
       ------------------------- */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 12px
}

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  border-radius: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.03);
  box-shadow: 0 6px 20px rgba(2, 6, 23, 0.5);
}

.card h3 {
  margin: 0 0 6px
}

.card p {
  margin: 0;
  color: var(--muted)
}

.kpi {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 10px
}

.kpi .num {
  font-weight: 800;
  font-size: 1.05rem
}

/* -------------------------
       Contact form (simple, visual)
       ------------------------- */
.contact {
  display: grid;
  gap: 10px;
  margin-top: 8px
}

input,
textarea {
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: transparent;
  color: var(--text)
}

textarea {
  min-height: 120px;
  resize: vertical
}

/* -------------------------
       Footer
       ------------------------- */
footer {
  margin-top: 28px;
  padding: 18px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), transparent);
  display: flex;
  flex-direction: column;
  gap: 8px
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px
}

.copyright {
  color: var(--muted);
  font-size: 0.9rem
}

/* -------------------------
       Animations
       ------------------------- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.reveal {
  animation: fadeUp .6s ease forwards;
  opacity: 0
}

.reveal.delay-1 {
  animation-delay: .08s
}

.reveal.delay-2 {
  animation-delay: .16s
}

.reveal.delay-3 {
  animation-delay: .24s
}

.reveal.delay-4 {
  animation-delay: .32s
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    animation: none;
    opacity: 1;
    transform: none
  }

  .btn {
    transition: none
  }
}

/* -------------------------
       Responsive: tablet & up
       ------------------------- */
@media (min-width:720px) {
  .hero {
    grid-template-columns: 1fr 360px;
    gap: 22px;
    padding: 28px
  }

  .grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .services {
    grid-template-columns: repeat(2, 1fr)
  }

  .logo {
    width: 56px;
    height: 56px
  }

  .headline {
    font-size: 1.6rem
  }
}

@media (min-width:1080px) {
  .grid {
    grid-template-columns: repeat(3, 1fr)
  }

  .hero {
    padding: 36px;
    border-radius: 18px
  }
}