@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg: #070A12;
  --panel: rgba(255,255,255,0.04);
  --text: #EDEDED;
  --muted: #A0A0A0;
  --accent: #6C7CFF;
  --border: rgba(255,255,255,0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Inter, sans-serif;
}

body {
  background: radial-gradient(circle at top, #0B1020, var(--bg));
  color: var(--text);
}

/* NAV */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 18px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(14px);
  background: rgba(7,10,18,0.6);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}

.logo {
  font-weight: 700;
  letter-spacing: 1px;
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: var(--muted);
  transition: 0.3s;
}

nav a:hover {
  color: var(--text);
}

/* CONTAINER */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 140px 20px 80px;
}

/* HERO */
.hero h1 {
  font-size: 54px;
  line-height: 1.1;
}

.hero p {
  margin-top: 18px;
  color: var(--muted);
  max-width: 600px;
}

/* BUTTON */
.btn {
  margin-top: 30px;
  padding: 14px 22px;
  border-radius: 12px;
  background: var(--accent);
  border: none;
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  transform: translateY(-2px);
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 22px;
  border-radius: 14px;
  transition: 0.3s;
}

.card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

/* FOOTER */
footer {
  padding: 50px 20px;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

/* RESPONSIVE */
@media(max-width: 900px) {
  header {
    padding: 15px 20px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}
.hero {
    padding-top: 180px;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    color: #aaa;
    font-size: 12px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 58px;
    line-height: 1.05;
    letter-spacing: -1px;
}

.hero p {
    margin-top: 20px;
    color: #a0a0a0;
    max-width: 650px;
    font-size: 16px;
}

/* BUTTONS */
.actions {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.btn.secondary {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
}

/* TRUST BLOCK */
.trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 60px;
    max-width: 600px;
}

    .trust div {
        background: rgba(255,255,255,0.03);
        border: 1px solid rgba(255,255,255,0.08);
        padding: 20px;
        border-radius: 14px;
        text-align: center;
    }

    .trust h3 {
        font-size: 24px;
    }
.section {
    padding: 120px 0;
}

.form-box {
    max-width: 800px;
    margin: auto;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 40px;
    backdrop-filter: blur(12px);
}

.form-head h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.form-head p {
    color: #a0a0a0;
}

/* GRID FORM */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.input-group {
    display: flex;
    flex-direction: column;
}

    .input-group label {
        font-size: 13px;
        color: #aaa;
        margin-bottom: 6px;
    }

    .input-group input,
    .input-group select,
    .input-group textarea {
        padding: 14px;
        border-radius: 10px;
        border: 1px solid rgba(255,255,255,0.1);
        background: rgba(10,14,25,0.8);
        color: #fff;
        outline: none;
        transition: 0.3s;
    }

        .input-group input:focus,
        .input-group select:focus,
        .input-group textarea:focus {
            border-color: #6C7CFF;
        }

    .input-group.full {
        grid-column: span 2;
    }

textarea {
    min-height: 120px;
    resize: none;
}

/* BOTTOM */
.form-bottom {
    grid-column: span 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

    .form-bottom span {
        color: #777;
        font-size: 13px;
    }

/* RESPONSIVE */
@media(max-width: 700px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .input-group.full,
    .form-bottom {
        grid-column: span 1;
    }

    .form-bottom {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}
footer {
    margin-top: 100px;
    border-top: 1px solid rgba(255,255,255,0.08);
    background: rgba(5,7,13,0.6);
    backdrop-filter: blur(10px);
    padding: 60px 20px;
}

.footer-grid {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-brand h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.footer-brand p {
    color: #a0a0a0;
    font-size: 14px;
    max-width: 280px;
}

.footer-col h4 {
    font-size: 14px;
    margin-bottom: 12px;
    color: #fff;
}

.footer-col a {
    display: block;
    color: #a0a0a0;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 8px;
    transition: 0.3s;
}

    .footer-col a:hover {
        color: #fff;
    }

.footer-bottom {
    max-width: 1100px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    color: #666;
    font-size: 13px;
}

@media(max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }
}
.footer-brand img {
    border-radius: 6px;
    background: rgba(255,255,255,0.03);
    padding: 2px;
}
.header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 14px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(7,10,18,0.55);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    z-index: 1000;
}

/* LEFT BRAND */
.header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .header-left img {
        width: 48px;
        height: 38px;
        border-radius: 6px;
    }

    .header-left span {
        font-weight: 600;
        letter-spacing: 0.5px;
    }

/* NAV */
.header-nav {
    display: flex;
    gap: 22px;
}

    .header-nav a {
        color: #a0a0a0;
        text-decoration: none;
        font-size: 14px;
        position: relative;
        transition: 0.3s;
    }

        .header-nav a:hover {
            color: #fff;
        }

        /* underline animation */
        .header-nav a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -6px;
            width: 0%;
            height: 1px;
            background: #6C7CFF;
            transition: 0.3s;
        }

        .header-nav a:hover::after {
            width: 100%;
        }

/* BUTTON */
.header-btn {
    padding: 10px 16px;
    border-radius: 10px;
    background: linear-gradient(90deg, #6C7CFF, #8A5CFF);
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

    .header-btn:hover {
        transform: translateY(-2px);
    }

/* RESPONSIVE */
@media(max-width: 900px) {
    .header {
        padding: 14px 20px;
    }

    .header-nav {
        display: none;
    }
}
#dynamic-blocks .card {
    transition: 0.3s;
    cursor: pointer;
}

    #dynamic-blocks .card:hover {
        transform: translateY(-6px);
        border-color: #6C7CFF;
    }
.ad-slot {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ad-card {
    display: block;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

    .ad-card:hover {
        transform: translateY(-4px);
        border-color: #6C7CFF;
    }

    .ad-card img {
        width: 100%;
        border-radius: 10px;
    }
@media (max-width: 900px) {

  /* контейнеры */
  .container {
    padding: 0 16px;
  }

  /* HERO */
  .hero h1 {
    font-size: 34px;
    line-height: 1.2;
  }

  .hero p {
    font-size: 14px;
  }

  /* GRID → 1 колонка */
  .grid {
    grid-template-columns: 1fr !important;
  }

  /* кнопки */
  .actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

}.burger {
  display: none;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
}

@media (max-width: 900px) {

  .header-nav {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(10,12,20,0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    display: none;
    padding: 20px;
    gap: 15px;
  }

  .burger {
    display: block;
  }

  .header-btn {
    display: none;
  }

  .header-nav.active {
    display: flex;
  }
}@media (max-width: 900px) {

  .form-grid {
    grid-template-columns: 1fr !important;
  }

  .form-box {
    padding: 20px;
  }

  .form-bottom {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}@media (max-width: 900px) {

  .card {
    padding: 16px;
  }

}
