:root {
    --bg-main: #070b14;
    --bg-panel: rgba(10, 20, 35, 0.84);
    --bg-panel-strong: rgba(8, 16, 28, 0.96);
    --border-soft: rgba(159, 188, 255, 0.18);
    --text-main: #f4f7fb;
    --text-muted: #acc1e2;
    --accent-blue: #34a6ff;
    --accent-orange: #ffb11f;
    --accent-red: #ff5f48;
    --success: #46d89f;
    --error: #ff8f8f;
    --shadow-main: 0 28px 70px rgba(0, 0, 0, 0.42);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Manrope", "Segoe UI", sans-serif;
    color: var(--text-main);
    background:
        radial-gradient(circle at top left, rgba(52, 166, 255, 0.16), transparent 34%),
        radial-gradient(circle at top right, rgba(255, 177, 31, 0.18), transparent 28%),
        linear-gradient(180deg, #060910 0%, #09111f 52%, #05070d 100%);
}

img {
    display: block;
    max-width: 100%;
}

.page-shell {
    position: relative;
    overflow: hidden;
}

.hero {
    position: relative;
    padding: 36px 20px 8px;
}

.hero__content,
.content {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.hero__content {
    position: relative;
    z-index: 1;
    border: 1px solid var(--border-soft);
    border-radius: 36px;
    padding: 28px 20px 36px;
    background:
        linear-gradient(135deg, rgba(6, 14, 28, 0.88), rgba(8, 19, 38, 0.72)),
        rgba(9, 18, 34, 0.9);
    box-shadow: var(--shadow-main);
    text-align: center;
    backdrop-filter: blur(16px);
}

.hero__backdrop {
    position: absolute;
    z-index: 0;
    filter: blur(18px);
    opacity: 0.8;
}

.hero__backdrop--left {
    top: -40px;
    left: -80px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(52, 166, 255, 0.35) 0%, transparent 68%);
}

.hero__backdrop--right {
    top: 40px;
    right: -70px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 177, 31, 0.3) 0%, transparent 70%);
}

.hero__eyebrow,
.section-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 14px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent-orange);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero__logo {
    width: min(100%, 760px);
    margin: 0 auto 12px;
    filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.35));
}

.hero__copy {
    max-width: 760px;
    margin: 0 auto;
}

.hero__copy h1,
.panel h2,
.feature-card h3 {
    font-family: "Sora", "Segoe UI", sans-serif;
}

.hero__copy h1 {
    margin: 0;
    font-size: clamp(2.2rem, 4vw, 4.4rem);
    line-height: 1.03;
}

.hero__lead {
    margin: 18px auto 0;
    max-width: 700px;
    color: var(--text-muted);
    font-size: clamp(1rem, 1.7vw, 1.16rem);
    line-height: 1.8;
}

.content {
    padding: 26px 0 44px;
}

.panel {
    margin-bottom: 26px;
    border: 1px solid var(--border-soft);
    border-radius: 32px;
    background:
        linear-gradient(180deg, rgba(13, 24, 40, 0.88), rgba(8, 15, 26, 0.96)),
        var(--bg-panel);
    box-shadow: var(--shadow-main);
    overflow: hidden;
}

.panel--about {
    padding: 34px 28px 30px;
}

.panel--contact {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 24px;
    padding: 28px;
    align-items: start;
}

.panel__intro {
    max-width: 760px;
}

.panel h2 {
    margin: 0 0 16px;
    font-size: clamp(1.6rem, 2.8vw, 2.6rem);
    line-height: 1.15;
}

.panel p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.8;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.feature-card {
    position: relative;
    min-height: 100%;
    padding: 22px 20px 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(19, 35, 58, 0.86), rgba(8, 14, 23, 0.92));
}

.feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(140deg, rgba(52, 166, 255, 0.12), transparent 40%, rgba(255, 177, 31, 0.12));
}

.feature-card__number {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--accent-blue);
    font-size: 0.94rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.feature-card h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
}

.feature-card p {
    font-size: 0.98rem;
}

.contact-copy {
    padding-top: 8px;
}

.contact-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 22px;
    background:
        linear-gradient(180deg, rgba(11, 22, 38, 0.96), rgba(6, 12, 21, 0.98)),
        var(--bg-panel-strong);
}

.contact-form {
    display: grid;
    gap: 16px;
}

.contact-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.field {
    display: grid;
    gap: 10px;
}

.field span {
    color: #d8e4f8;
    font-size: 0.95rem;
    font-weight: 700;
}

.field input,
.field textarea {
    width: 100%;
    border: 1px solid rgba(164, 185, 219, 0.16);
    border-radius: 16px;
    padding: 15px 16px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-main);
    font: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.field textarea {
    min-height: 160px;
    resize: vertical;
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: rgba(52, 166, 255, 0.7);
    box-shadow: 0 0 0 4px rgba(52, 166, 255, 0.16);
    transform: translateY(-1px);
}

.field--hidden {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.submit-button {
    justify-self: start;
    border: 0;
    border-radius: 999px;
    padding: 15px 24px;
    background: linear-gradient(135deg, var(--accent-orange), #ff7d1f 65%, var(--accent-red));
    color: #09111f;
    font-family: "Sora", "Segoe UI", sans-serif;
    font-size: 0.96rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(255, 110, 37, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 30px rgba(255, 110, 37, 0.36);
    filter: saturate(1.08);
}

.submit-button:focus-visible {
    outline: 3px solid rgba(255, 177, 31, 0.35);
    outline-offset: 3px;
}

.form-alert {
    margin-bottom: 16px;
    border-radius: 18px;
    padding: 14px 16px;
    font-weight: 700;
}

.form-alert--success {
    border: 1px solid rgba(70, 216, 159, 0.28);
    background: rgba(70, 216, 159, 0.12);
    color: #c8ffe8;
}

.form-alert--error {
    border: 1px solid rgba(255, 143, 143, 0.24);
    background: rgba(255, 143, 143, 0.12);
    color: #ffd6d6;
}

@media (max-width: 900px) {
    .panel--contact,
    .feature-grid,
    .contact-form__grid {
        grid-template-columns: 1fr;
    }

    .hero__content {
        padding: 24px 18px 28px;
        border-radius: 28px;
    }

    .panel,
    .contact-card {
        border-radius: 24px;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 18px 12px 4px;
    }

    .hero__content,
    .content {
        width: min(100% - 20px, 1120px);
    }

    .panel--about,
    .panel--contact {
        padding: 22px 16px;
    }

    .hero__eyebrow,
    .section-tag {
        font-size: 0.72rem;
        letter-spacing: 0.14em;
    }
}
