:root {
    --ink: #05070f;
    --muted: #59627f;
    --paper: #ffffff;
    --surface: #ffffff;
    --surface-strong: #f3f7ff;
    --navy: #25275f;
    --blue: #2293d1;
    --blue-bright: #2db4ff;
    --black: #010208;
    --line: rgba(37, 39, 95, 0.16);
    --shadow: 0 24px 70px rgba(37, 39, 95, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    color: var(--ink);
    background: var(--paper);
}

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.shell {
    width: min(980px, calc(100% - 32px));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(45, 180, 255, 0.18);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px);
}

.topbar {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-mark img {
    width: clamp(74px, 9vw, 112px);
    height: auto;
    display: block;
}

.language-control {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-weight: 700;
    font-size: 0.9rem;
}

.language-control select,
.lead-form select,
.lead-form input {
    min-height: 40px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--ink);
    padding: 0 14px;
    outline: none;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.language-control select:focus,
.lead-form select:focus,
.lead-form input:focus {
    border-color: var(--blue-bright);
    box-shadow: 0 0 0 4px rgba(45, 180, 255, 0.16);
}

.hero {
    min-height: calc(100vh - 46px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
    align-items: center;
    gap: 34px;
    padding: 36px 0 54px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--blue-bright);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

h1,
h2 {
    margin: 0;
    letter-spacing: 0;
}

h1 {
    max-width: 9ch;
    font-size: clamp(2.6rem, 6vw, 4.9rem);
    line-height: 0.92;
}

h2 {
    font-size: clamp(1.45rem, 2.5vw, 2.35rem);
    line-height: 1.04;
}

.hero-text {
    max-width: 650px;
    margin: 16px 0 0;
    color: var(--muted);
    font-size: clamp(0.96rem, 1.3vw, 1.08rem);
    line-height: 1.55;
}

.hero-panel {
    min-height: 330px;
    position: relative;
    perspective: 1000px;
}

.hero-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 4;
    width: min(76%, 300px);
    height: auto;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 24px 38px rgba(0, 0, 0, 0.48));
}

.glass-tower {
    position: absolute;
    bottom: 18px;
    width: 34%;
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(45, 180, 255, 0.38) 0 8%, transparent 8% 18%, rgba(255, 255, 255, 0.2) 18% 26%, transparent 26% 100%),
        linear-gradient(155deg, rgba(34, 147, 209, 0.9), rgba(37, 39, 95, 0.96));
    box-shadow: var(--shadow);
    transform: rotateY(-18deg) rotateX(6deg);
    animation: floatTower 6s ease-in-out infinite;
}

.tower-one {
    left: 4%;
    height: 74%;
}

.tower-two {
    left: 34%;
    height: 92%;
    background:
        linear-gradient(90deg, rgba(45, 180, 255, 0.34) 0 7%, transparent 7% 22%, rgba(255, 255, 255, 0.18) 22% 34%, transparent 34% 100%),
        linear-gradient(155deg, #2293d1, #171a4d);
    animation-delay: -1.4s;
}

.tower-three {
    right: 4%;
    height: 62%;
    background:
        linear-gradient(90deg, rgba(45, 180, 255, 0.36) 0 9%, transparent 9% 26%, rgba(255, 255, 255, 0.16) 26% 34%, transparent 34% 100%),
        linear-gradient(155deg, var(--navy), var(--black));
    animation-delay: -2.5s;
}

@keyframes floatTower {
    0%,
    100% {
        translate: 0 0;
    }
    50% {
        translate: 0 -14px;
    }
}

.quick-actions {
    padding: 10px 0 54px;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 20px;
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding-top: 82px;
}

.action-card {
    min-height: 226px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    border: 1px solid rgba(45, 180, 255, 0.28);
    border-radius: 8px;
    padding: 94px 20px 20px;
    text-align: left;
    color: white;
    background: linear-gradient(145deg, var(--navy), var(--blue));
    box-shadow: 0 26px 0 #080b25, 0 34px 58px rgba(0, 0, 0, 0.38);
    transform: translateY(0);
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
    position: relative;
    overflow: visible;
}

.action-card:hover,
.action-card:focus-visible {
    transform: translateY(-8px) rotateX(4deg);
    box-shadow: 0 34px 0 #080b25, 0 42px 70px rgba(0, 0, 0, 0.44);
    filter: saturate(1.08);
}

.action-card:active {
    transform: translateY(4px);
    box-shadow: 0 18px 0 #080b25, 0 22px 42px rgba(0, 0, 0, 0.34);
}

.social-card {
    background: linear-gradient(145deg, #111747, #2293d1);
    box-shadow: 0 26px 0 #07091d, 0 34px 58px rgba(0, 0, 0, 0.38);
}

.social-card:hover,
.social-card:focus-visible {
    box-shadow: 0 34px 0 #07091d, 0 42px 70px rgba(0, 0, 0, 0.44);
}

.review-card {
    background: linear-gradient(145deg, #05070f, #25275f 54%, #2293d1);
    box-shadow: 0 26px 0 #02030a, 0 34px 58px rgba(0, 0, 0, 0.38);
}

.review-card:hover,
.review-card:focus-visible {
    box-shadow: 0 34px 0 #02030a, 0 42px 70px rgba(0, 0, 0, 0.44);
}

.icon-3d {
    width: 150px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    position: absolute;
    top: -74px;
    left: 50%;
    translate: -50% 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.3));
}

.icon-3d::after {
    content: "";
    position: absolute;
    left: 8%;
    right: 24%;
    bottom: 12%;
    height: 17%;
    z-index: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 18px rgba(37, 39, 95, 0.16);
    width: 80%;
}

.icon-3d img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0;
    display: block;
}

.card-title {
    display: block;
    font-size: 1.05rem;
    line-height: 1.24;
    font-weight: 800;
    max-width: 100%;
}

.card-copy {
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.55;
}

.review-section {
    padding: 48px 0 140px;
    background: #ffffff;
    border-block: 1px solid rgba(45, 180, 255, 0.16);
}

.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 26px;
}

.category-tab {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 14px;
    color: var(--ink);
    background: var(--surface);
    font-weight: 800;
}

.tab-icon {
    width: 24px;
    aspect-ratio: 1;
    display: inline-grid;
    place-items: center;
    border-radius: 6px;
    color: var(--blue);
    background: rgba(34, 147, 209, 0.12);
    font-size: 1rem;
    line-height: 1;
}

.category-tab.is-active {
    color: white;
    border-color: transparent;
    background: var(--blue);
    box-shadow: 0 12px 24px rgba(34, 147, 209, 0.22);
}

.category-tab.is-active .tab-icon {
    color: white;
    background: rgba(255, 255, 255, 0.18);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 34px;
}

.project-card {
    min-height: 190px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 46px rgba(37, 39, 95, 0.1);
}

.project-card.is-sold-out {
    opacity: 0.68;
}

.project-card h3 {
    margin: 12px 0;
    font-size: 1.2rem;
}

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

.project-badge,
.project-status {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 8px;
    color: #e9f7ff;
    background: rgba(34, 147, 209, 0.22);
    font-size: 0.82rem;
    font-weight: 800;
}

.project-status {
    margin-top: 12px;
}

.project-badge {
    max-width: 100%;
    min-height: 28px;
    color: var(--blue-bright);
    background: rgba(45, 180, 255, 0.1);
}

.project-link {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    margin-top: 14px;
    color: var(--blue-bright);
    font-weight: 800;
    text-decoration: none;
}

.project-link:hover,
.project-link:focus-visible {
    text-decoration: underline;
}

.lead-form {
    padding: 22px;
    border: 1px solid rgba(45, 180, 255, 0.22);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.form-heading {
    margin-bottom: 16px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.lead-form label {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-weight: 800;
    font-size: 0.84rem;
}

.lead-form .project-field {
    grid-column: 1 / -1;
    position: relative;
}

.lead-form .project-field select {
    width: 100%;
}

.native-project-select {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.project-menu {
    position: relative;
    z-index: 8;
}

.project-menu-button {
    width: 100%;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--ink);
    padding: 0 40px 0 14px;
    text-align: left;
    font-weight: 800;
    line-height: 1.35;
    position: relative;
}

.project-menu-button::after {
    content: "";
    width: 9px;
    height: 9px;
    position: absolute;
    right: 15px;
    top: 50%;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-70%) rotate(45deg);
}

.project-menu-button:focus-visible {
    border-color: var(--blue-bright);
    box-shadow: 0 0 0 4px rgba(45, 180, 255, 0.16);
    outline: none;
}

.project-menu-list {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    z-index: 40;
    max-height: min(300px, 38vh);
    overflow-y: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 22px 44px rgba(37, 39, 95, 0.18);
    padding: 6px;
}

.project-menu-option {
    width: 100%;
    min-height: 38px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--ink);
    padding: 9px 12px;
    text-align: left;
    font-weight: 700;
    line-height: 1.35;
}

.project-menu-option:hover,
.project-menu-option:focus-visible,
.project-menu-option.is-selected {
    background: rgba(34, 147, 209, 0.12);
    outline: none;
}

.project-menu-option:disabled {
    cursor: not-allowed;
    color: #7a8299;
    background: transparent;
}

.submit-button {
    min-height: 44px;
    margin-top: 16px;
    border: 0;
    border-radius: 8px;
    padding: 0 20px;
    color: white;
    background: linear-gradient(145deg, var(--navy), var(--blue));
    box-shadow: 0 14px 28px rgba(34, 147, 209, 0.24);
    font-weight: 800;
}

.submit-button:disabled {
    cursor: wait;
    opacity: 0.72;
}

.form-message {
    min-height: 24px;
    margin: 14px 0 0;
    color: var(--muted);
    font-weight: 700;
}

.form-message.is-success {
    color: var(--blue-bright);
}

.form-message.is-error {
    color: #8ecfff;
}

.site-footer {
    padding: 22px 0;
    color: var(--muted);
    font-weight: 600;
}

@media (min-width: 1600px) {
    body {
        font-size: 13px;
    }

    .shell {
        width: min(920px, calc(100% - 48px));
    }

    .hero {
        min-height: auto;
        padding: 30px 0 46px;
    }

    .hero-panel {
        min-height: 300px;
    }

    .action-card {
        min-height: 200px;
    }

    .review-section {
        padding: 42px 0 120px;
    }
}

@media (max-width: 900px) {
    .shell {
        width: min(100% - 28px, 760px);
    }

    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
        padding-top: 32px;
    }

    .hero-panel {
        min-height: 260px;
    }

    .action-grid,
    .project-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .action-grid {
        gap: 18px;
        padding-top: 0;
    }

    .action-card {
        min-height: 0;
        padding: 20px;
        display: grid;
        grid-template-columns: 108px minmax(0, 1fr);
        grid-template-areas:
            "icon title"
            "icon copy";
        align-items: center;
        column-gap: 16px;
        row-gap: 8px;
    }

    .icon-3d {
        position: relative;
        top: auto;
        left: auto;
        translate: none;
        grid-area: icon;
        width: 108px;
        filter: drop-shadow(0 12px 14px rgba(0, 0, 0, 0.24));
    }

    .icon-3d::after {
        left: 10%;
        right: 23%;
        bottom: 12%;
        height: 17%;
    }

    .card-title {
        grid-area: title;
    }

    .card-copy {
        grid-area: copy;
    }
}

@media (max-width: 560px) {
    .shell {
        width: min(100% - 24px, 1120px);
    }

    .topbar {
        min-height: auto;
        padding: 10px 0;
        align-items: center;
        flex-direction: column;
        justify-content: center;
        gap: 10px;
    }

    .brand-mark img {
        width: 86px;
    }

    .language-control {
        width: 100%;
        justify-content: space-between;
        gap: 12px;
    }

    .language-control select {
        flex: 1;
        min-width: 0;
        max-width: 100%;
    }

    h1 {
        font-size: 2.7rem;
    }

    .hero {
        padding-bottom: 38px;
    }

    .quick-actions {
        padding: 0 0 42px;
    }

    .section-heading {
        margin-bottom: 16px;
    }

    .action-card {
        padding: 18px;
        grid-template-columns: 100px minmax(0, 1fr);
        column-gap: 14px;
        border-radius: 8px;
    }

    .icon-3d {
        width: 100px;
    }

    .card-title {
        font-size: 1rem;
    }

    .card-copy {
        font-size: 0.92rem;
        line-height: 1.45;
    }

    .review-section {
        padding: 40px 0 120px;
    }

    .lead-form {
        padding: 20px;
    }
}
