:root{
  --bg: #0f1720;
  --surface: #0f1729;
  --muted: #9aa4b2;
  --text: #e6eef6;
  --accent: #0ea5ff;
  --glass: rgba(255,255,255,0.04);
  --radius: 12px;
  --container: 1100px;
}

/* базовая стилизация */
*{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: linear-gradient(180deg,var(--bg) 0%, #08101a 100%);
  background-attachment: scroll;
  color:var(--text);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.5;
}

html, body {
  overflow-x: hidden;
}


/* контейнер */
.container{
  width:calc(100% - 40px);
  max-width:var(--container);
  margin:0 auto;
  padding:40px 20px;
}

/* header */
.site-header{
  position:sticky;
  top:0;
  z-index:20;
  backdrop-filter: blur(6px);
  background: rgba(15,19,32,0.55);
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:14px 0;
}

/* бренд */
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:var(--text);
}

.brand-mark{
  width:48px;
  height:48px;
  object-fit:contain;
  border-radius:10px;
  box-shadow: 0 6px 18px rgba(14,165,255,0.06), 0 1px 0 rgba(255,255,255,0.02) inset;
  background: rgba(255,255,255,0.03);
}

/* логотип DG */
.brand-name{font-weight:600; font-size:18px}
.dg-neon{
  display:inline-block;
  font-weight:900;
  letter-spacing:0.02em;
  margin-right:6px;
  font-size:20px;
  color:#c6f7ff;
  padding:2px 6px;
  border-radius:6px;
  background: rgba(255,255,255,0.02);
  text-shadow:
    0 0 6px rgba(198,247,255,0.35),
    0 0 18px rgba(14,165,255,0.15),
    0 0 30px rgba(14,165,255,0.08);
}

/* навигация */
.main-nav{display:flex;gap:18px;align-items:center}
.main-nav a{
  color:var(--muted);
  text-decoration:none;
  font-weight:600;
}
.main-nav a:hover{
  color:var(--text);
  opacity:0.95;
}
.main-nav .cta{
  padding:8px 12px;
  border-radius:10px;
  background: rgba(255,255,255,0.05);
  color:var(--text);
  box-shadow: 0 6px 18px rgba(14,165,255,0.06);
}

/* hero */
.hero{
  position:relative;
  padding:80px 0 100px 0;
  overflow: hidden;
}
.hero-content{max-width:780px}
.hero h1{
  margin:0 0 12px 0;
  font-size:40px;
  line-height:1.03;
  letter-spacing:-0.01em;
}
.lead{
  color:var(--muted);
  font-size:18px;
  margin:0 0 18px 0;
}

/* кнопки */
.btn{
  display:inline-block;
  text-decoration:none;
  padding:10px 16px;
  border-radius:10px;
  font-weight:700;
}
.btn-primary{
  background:linear-gradient(90deg,var(--accent), #7dd3fc);
  color:#021021;
  box-shadow: 0 10px 30px rgba(14,165,255,0.18);
}
.btn-ghost{
  background:transparent;
  border:1px solid rgba(255,255,255,0.04);
  color:var(--text);
}

/* неоновый фон в hero */
.hero-neon{
  position:absolute;
  right:-8%;
  top:-10%;
  width:520px;
  height:520px;
  border-radius:50%;
  filter: blur(40px) saturate(120%);
  background: radial-gradient(circle at 30% 30%, rgba(14,165,255,0.18), transparent 25%),
              radial-gradient(circle at 70% 70%, rgba(124,58,237,0.09), transparent 20%);
  transform: rotate(12deg);
  pointer-events:none;
  opacity:0.9;
}

/* секции */
.section{
  padding:40px 0;
  background:none;
}

.card{
  position: relative;
  background: rgba(255,255,255,0.035);
  border-radius: var(--radius);
  padding: 22px;

  /* основной объём */
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06),
    0 10px 30px rgba(2,6,23,0.6),
    0 0 18px rgba(255,255,255,0.04);

  border: 1px solid rgba(255,255,255,0.08);
}


/* грид проектов */
.grid{
  display:grid;
  grid-template-columns: repeat(3,1fr);
  gap:18px;
}
.project h3{margin:0 0 8px 0}
.link-more{
  display:inline-block;
  margin-top:12px;
  color:var(--accent);
  text-decoration:none;
  font-weight:700;
}

/* команда */
.team-list{
  margin:0;
  padding-left:18px;
  color:var(--muted);
}

/* футер */
.site-footer{
  padding:22px 0;
  border-top:1px solid rgba(255,255,255,0.02);
  color:var(--muted);
}

/* адаптив */
@media (max-width:980px){
  .grid{grid-template-columns:repeat(2,1fr)}
  .hero h1{font-size:32px}
  .brand-mark{width:44px;height:44px}
}

@media (max-width:640px){
  .header-inner{flex-direction:row;gap:8px}
  .main-nav{display:none}
  .grid{grid-template-columns:1fr}
  .hero{padding:50px 0 70px}
  .container{padding:24px}
}

@media (max-width: 768px) {
  .hero-neon {
    width: 280px;
    height: 280px;
    right: -120px;
    top: -120px;
    opacity: 0.6;
  }
}


/* твой id */
.card-img {
  border-radius: 15%;
}
