/* ================================
   Maysik Cloud Website
   Colors: blue / violet / green
   ================================ */

:root {
    --bg: #050816;
    --bg-deep: #030511;
    --card: rgba(15, 23, 42, 0.78);
    --card-strong: rgba(15, 23, 42, 0.94);
    --border: rgba(148, 163, 184, 0.18);

    --text: #f8fafc;
    --muted: #a7b0c4;

    --blue: #2dd4ff;
    --violet: #8b5cf6;
    --green: #34d399;
    --danger: #fb7185;

    --shadow-blue: rgba(45, 212, 255, 0.16);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

body.menu-open {
    overflow: hidden;
}

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

img {
    max-width: 100%;
}

.site-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 18% 12%, rgba(139, 92, 246, 0.23), transparent 30%),
        radial-gradient(circle at 78% 18%, rgba(45, 212, 255, 0.18), transparent 32%),
        radial-gradient(circle at 78% 82%, rgba(52, 211, 153, 0.14), transparent 30%),
        linear-gradient(180deg, var(--bg), var(--bg-deep));
}

.site-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(45, 212, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(45, 212, 255, 0.035) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

.container {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
}

/* Header */

.header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(5, 8, 22, 0.84);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 800;
}

.logo img {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 0 28px rgba(45, 212, 255, 0.25);
}

.logo span {
    font-size: 18px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 22px;
    color: var(--muted);
    font-size: 15px;
}

.nav a {
    transition: 0.2s ease;
}

.nav a:hover,
.nav a.active {
    color: var(--text);
}

.burger {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.75);
    padding: 10px;
    cursor: pointer;
}

.burger span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--text);
    border-radius: 4px;
}

/* Common blocks */

.hero,
.page-hero {
    padding: 76px 0 72px;
}

.hero__grid,
.split {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
    gap: 56px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 24px;
    padding: 8px 13px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--muted);
    background: rgba(15, 23, 42, 0.58);
    font-size: 14px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 16px var(--green);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

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

h2 {
    margin-bottom: 14px;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.1;
    letter-spacing: -1.2px;
}

.gradient-text {
    background: linear-gradient(90deg, #ffffff, var(--blue), var(--green));
    -webkit-background-clip: text;
    color: transparent;
}

.lead {
    max-width: 720px;
    margin-bottom: 34px;
    color: var(--muted);
    font-size: 19px;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 13px 20px;
    border-radius: 15px;
    font-weight: 800;
    transition: 0.22s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button--primary {
    background: linear-gradient(90deg, var(--blue), var(--violet));
    box-shadow: 0 16px 38px var(--shadow-blue);
}

.button--ghost {
    border: 1px solid var(--border);
    background: rgba(15, 23, 42, 0.5);
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    max-width: 620px;
    margin-top: 34px;
}

.stat {
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.5);
}

.stat strong,
.stat span {
    display: block;
}

.stat strong {
    font-size: 19px;
}

.stat span {
    color: var(--muted);
    font-size: 14px;
}

.visual-card {
    position: relative;
    padding: 34px;
    border: 1px solid var(--border);
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.58));
    box-shadow: 0 0 80px rgba(45, 212, 255, 0.08);
    overflow: hidden;
}

.visual-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    background: radial-gradient(circle at 50% 10%, rgba(45, 212, 255, 0.18), transparent 44%);
    pointer-events: none;
}

.visual-card img {
    position: relative;
    display: block;
    width: min(360px, 100%);
    margin: 0 auto 24px;
    filter: drop-shadow(0 0 32px rgba(45, 212, 255, 0.25));
}

.visual-line {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
    color: var(--muted);
}

.visual-line:last-child {
    border-bottom: 0;
}

.visual-line strong {
    color: var(--text);
    text-align: right;
}

/* Sections */

.section {
    padding: 62px 0;
}

.section--soft {
    background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.22), transparent);
}

.section-head {
    max-width: 780px;
    margin-bottom: 30px;
}

.section-label {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-head p {
    color: var(--muted);
    font-size: 17px;
}

.grid {
    display: grid;
    gap: 18px;
}

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

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

.card,
.price-card,
.note-card,
.news-card,
.warning-card {
    padding: 25px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--card);
    backdrop-filter: blur(14px);
}

.card p,
.price-card p,
.price-card li,
.note-card li,
.news-card p,
.warning-card p,
.warning-card li {
    color: var(--muted);
}

.card-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(45, 212, 255, 0.15), rgba(139, 92, 246, 0.15));
    font-size: 23px;
}

.price-value {
    margin: 20px 0;
    font-size: 32px;
    line-height: 1;
    font-weight: 900;
}

.price-card--active {
    border-color: rgba(45, 212, 255, 0.42);
    box-shadow: 0 0 44px rgba(45, 212, 255, 0.08);
}

.popular {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 6px 10px;
    border-radius: 999px;
    color: #00111a;
    background: linear-gradient(90deg, var(--green), var(--blue));
    font-size: 12px;
    font-weight: 900;
}

.warning-card {
    border-color: rgba(251, 113, 133, 0.28);
    background: linear-gradient(135deg, rgba(251, 113, 133, 0.08), rgba(15, 23, 42, 0.72));
}

.contacts-box {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    align-items: stretch;
    padding: 34px;
    border: 1px solid var(--border);
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(45, 212, 255, 0.1), rgba(139, 92, 246, 0.08), rgba(52, 211, 153, 0.08));
}

.news-date {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--green);
    font-size: 13px;
    font-weight: 800;
}

/* Footer */

.footer {
    padding: 34px 0 44px;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    color: var(--muted);
    font-size: 14px;
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

/* Adaptive */

@media (max-width: 960px) {
    .hero__grid,
    .split,
    .contacts-box {
        grid-template-columns: 1fr;
    }

    .grid--3,
    .grid--2,
    .stats {
        grid-template-columns: 1fr;
    }

    .hero,
    .page-hero {
        padding-top: 46px;
    }
}

@media (max-width: 720px) {
    .burger {
        display: block;
    }

    .nav {
        position: fixed;
        top: 78px;
        left: 16px;
        right: 16px;
        display: none;
        flex-direction: column;
        gap: 0;
        padding: 12px;
        border: 1px solid var(--border);
        border-radius: 20px;
        background: rgba(5, 8, 22, 0.97);
    }

    .nav.is-open {
        display: flex;
    }

    .nav a {
        padding: 14px;
        border-radius: 14px;
    }

    .nav a:hover {
        background: rgba(148, 163, 184, 0.1);
    }

    h1 {
        letter-spacing: -1.2px;
    }

    .footer__inner {
        flex-direction: column;
    }

    .contacts-box {
        padding: 22px;
    }
}
