:root {
    --bg: #05070a;
    --bg-2: #0a0d12;
    --panel: rgba(17, 22, 31, 0.72);
    --panel-strong: rgba(22, 28, 39, 0.92);
    --line: rgba(255,255,255,0.11);
    --line-strong: rgba(79,124,255,0.45);
    --text: #f7f9fb;
    --muted: #98a2b3;
    --muted-2: #667085;
    --blue: #3f76ff;
    --blue-2: #74a2ff;
    --glow: rgba(63, 118, 255, 0.38);
    --radius: 24px;
    --max: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background:
    radial-gradient(circle at 70% 12%, rgba(63,118,255,0.20), transparent 28%),
    radial-gradient(circle at 20% 20%, rgba(63,118,255,0.08), transparent 24%),
    linear-gradient(180deg, #05070a 0%, #080b10 45%, #05070a 100%);
    color: var(--text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(circle at 50% 0%, black, transparent 72%);
    z-index: -3;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(63,118,255,0.11), transparent 20rem);
    z-index: -2;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; }

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    backdrop-filter: blur(18px);
    background: rgba(5, 7, 10, 0.68);
    border-bottom: 1px solid var(--line);
}

.nav {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 0.9;
    text-transform: uppercase;
}

.brand-mark {
    width: 38px;
    height: 38px;
    border: 1px solid var(--blue);
    border-radius: 12px;
    position: relative;
    box-shadow: 0 0 35px rgba(63,118,255,0.4);
    transform: rotate(45deg);
}

.brand-mark::before,
.brand-mark::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255,255,255,0.35);
    inset: 7px;
    border-radius: 8px;
}

.brand-mark::after {
    inset: 14px;
    border-color: var(--blue-2);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    
    font-size: 14px;
    font-weight: 700;
}

.nav-links a { color: rgba(247,249,251,0.78); transition: color 0.25s ease; }
.nav-links a:hover { color: var(--text); }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.04);
    color: white;
    border: 1px solid var(--line);
    border-radius: 999px;
}

.btn {
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.035);
    color: white;
    padding: 13px 20px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.24);
    background: rgba(255,255,255,0.075);
}

.btn-primary {
    border-color: rgba(63,118,255,0.95);
    background: linear-gradient(135deg, #2f65ff, #75a4ff);
    box-shadow: 0 16px 46px rgba(63,118,255,0.28);
}

.btn-primary:hover {
    box-shadow: 0 22px 60px rgba(63,118,255,0.45);
}

.section {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
    padding: 92px 0;
}

.hero {
    min-height: 100svh;
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 40px;
    padding: 130px 0 70px;
    position: relative;
}

.eyebrow {
    color: var(--blue-2);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    margin-bottom: 22px;
}

h1, h2, h3 {
    font-family: "Space Grotesk", Inter, sans-serif;
    letter-spacing: -0.075em;
    margin: 0;
}

h1 {
    font-size: 6em;
    line-height: 0.82;
    max-width: 780px;
    text-transform: uppercase;
}

.hero p {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
    max-width: 560px;
    margin: 28px 0 34px;
}

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

.hero-visual {
    position: relative;
    min-height: 560px;
    display: grid;
    place-items: center;
    perspective: 1000px;
}

.part {
    width: min(620px, 100%);
    aspect-ratio: 1.25;
    position: relative;
    transform-style: preserve-3d;
    animation: float 7s ease-in-out infinite;
    filter: drop-shadow(0 60px 60px rgba(0,0,0,0.58));
}

.part-body {
    position: absolute;
    inset: 18% 6% 20%;
    background:
    radial-gradient(circle at 20% 35%, rgba(255,255,255,0.45), transparent 8%),
    radial-gradient(circle at 80% 35%, rgba(255,255,255,0.32), transparent 8%),
    linear-gradient(135deg, #2d333d, #05070a 55%, #182036);
    border-radius: 999px 42px 999px 42px;
    transform: rotate(-14deg) skewX(-7deg);
    box-shadow:
    inset 0 18px 34px rgba(255,255,255,0.08),
    inset 0 -28px 46px rgba(0,0,0,0.72),
    0 0 70px rgba(63,118,255,0.25);
    border: 1px solid rgba(255,255,255,0.15);
}

.part-body::before,
.part-body::after {
    content: "";
    position: absolute;
    width: 23%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, transparent 36%, rgba(10,13,18,0.96) 37% 62%, rgba(255,255,255,0.16) 63% 70%, transparent 71%);
    top: 19%;
    box-shadow: inset 0 0 22px rgba(0,0,0,0.9), 0 0 22px rgba(63,118,255,0.18);
}

.part-body::before { left: 8%; }
.part-body::after { right: 8%; }

.strut {
    position: absolute;
    width: 12%;
    height: 70%;
    left: 44%;
    top: 15%;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255,255,255,0.22), rgba(255,255,255,0.02));
    transform: rotate(54deg);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.08) inset;
}

.strut:nth-child(2) { transform: rotate(90deg); left: 44%; top: 15%; }
.strut:nth-child(3) { transform: rotate(126deg); left: 44%; top: 15%; }

.part-shadow {
    position: absolute;
    width: 70%;
    height: 26%;
    bottom: 9%;
    background: radial-gradient(ellipse, rgba(63,118,255,0.32), transparent 65%);
    filter: blur(18px);
}

.micro-card {
    position: absolute;
    right: 2%;
    bottom: 14%;
    padding: 12px 15px;
    border: 1px solid var(--line);
    background: rgba(5,7,10,0.68);
    backdrop-filter: blur(16px);
    border-radius: 999px;
    display: flex;
    gap: 10px;
    align-items: center;
    color: var(--muted);
    font-size: 12px;
    max-width: 245px;
}

.pulse {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 0 8px rgba(63,118,255,0.14), 0 0 30px rgba(63,118,255,0.8);
    flex: 0 0 auto;
}

.logo-strip {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 30px 0;
    background: rgba(255,255,255,0.015);
}

.logos {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    align-items: center;
    text-align: center;
    color: rgba(255,255,255,0.48);
    font-family: "Space Grotesk", Inter, sans-serif;
    font-size: clamp(1rem, 2vw, 1.65rem);
    font-weight: 700;
    letter-spacing: -0.05em;
}

.section-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 52px;
    align-items: start;
}

.section-title h2 {
    font-size: clamp(2.7rem, 5vw, 5.6rem);
    line-height: 0.92;
    text-transform: uppercase;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.025));
    border-radius: var(--radius);
    padding: 26px;
    min-height: 225px;
    transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(63,118,255,0.18), transparent 50%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--line-strong);
    background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
}

.card:hover::before { opacity: 1; }

.step-num {
    color: var(--blue);
    font-size: 30px;
    font-weight: 900;
    margin-bottom: 58px;
}

.card h3 {
    font-size: 24px;
    letter-spacing: -0.05em;
    margin-bottom: 12px;
}

.card p {
    color: var(--muted);
    line-height: 1.55;
    margin: 0;
}

.materials {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.material-card {
    min-height: 285px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 20px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
    background:
    linear-gradient(180deg, transparent 0%, rgba(5,7,10,0.28) 35%, rgba(5,7,10,0.94) 100%),
    repeating-linear-gradient(135deg, #313842 0 6px, #151a21 6px 12px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.material-card:nth-child(2) { background-image: linear-gradient(180deg, transparent, rgba(5,7,10,0.95)), repeating-linear-gradient(90deg, #2b3139 0 5px, #11161c 5px 11px); }
.material-card:nth-child(3) { background-image: linear-gradient(180deg, transparent, rgba(5,7,10,0.95)), radial-gradient(circle at 40% 25%, rgba(255,255,255,0.33), transparent 30%), linear-gradient(135deg, #5a626e, #151922); }
.material-card:nth-child(4) { background-image: linear-gradient(180deg, transparent, rgba(5,7,10,0.95)), repeating-linear-gradient(45deg, #3a3f45 0 3px, #0d1117 3px 7px); }
.material-card:nth-child(5) { background-image: linear-gradient(180deg, transparent, rgba(5,7,10,0.95)), radial-gradient(circle at 50% 18%, rgba(63,118,255,0.25), transparent 24%), linear-gradient(135deg, #222935, #080a0f); }

.material-card:hover {
    transform: translateY(-8px);
    border-color: var(--line-strong);
}

.material-card h3 {
    font-size: 21px;
    margin-bottom: 10px;
}

.material-card p {
    color: rgba(255,255,255,0.72);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.projects {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-card {
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.035);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--line-strong);
}

.project-img {
    height: 220px;
    background:
    radial-gradient(circle at 50% 35%, rgba(255,255,255,0.3), transparent 8%),
    radial-gradient(circle at 30% 60%, rgba(63,118,255,0.18), transparent 20%),
    linear-gradient(135deg, #2b313a, #07090d 65%);
    position: relative;
    overflow: hidden;
}

.project-img::after {
    content: "";
    position: absolute;
    inset: 52px 54px;
    border-radius: 18px;
    background: linear-gradient(135deg, #525b66, #0a0d12);
    box-shadow: inset 0 10px 24px rgba(255,255,255,0.08), 0 30px 50px rgba(0,0,0,0.45);
    transform: rotate(-7deg);
}

.project-card:nth-child(2) .project-img::after {
    inset: 42px 38px;
    border-radius: 6px;
    background:
    linear-gradient(90deg, transparent 48%, rgba(255,255,255,0.12) 49% 51%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(255,255,255,0.12) 49% 51%, transparent 52%),
    linear-gradient(135deg, #a0a7b1, #242a33);
    transform: rotate(0deg);
}

.project-card:nth-child(3) .project-img::after {
    border-radius: 50%;
    background: conic-gradient(from 20deg, #59616b, #0a0d12, #59616b, #111722, #59616b);
}

.project-content { padding: 24px; }
.tag { color: var(--muted-2); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 900; margin-bottom: 14px; }
.project-content h3 { font-size: 24px; line-height: 1.1; margin-bottom: 12px; }
.project-content p { color: var(--muted); line-height: 1.55; margin: 0; }

.quote-panel {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 34px;
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(255,255,255,0.065), rgba(255,255,255,0.02));
    box-shadow: 0 30px 90px rgba(0,0,0,0.28);
}

.quote-panel h2 {
    font-size: clamp(2.2rem, 4vw, 4.1rem);
    line-height: 0.95;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.ticks {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 14px;
    color: var(--muted);
}

.ticks li { display: flex; gap: 10px; align-items: center; }
.ticks span {
    width: 19px;
    height: 19px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--blue);
    color: white;
    font-size: 12px;
    flex: 0 0 auto;
}

.quote-ui {
    display: grid;
    grid-template-columns: 1fr 1fr 240px;
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    min-height: 340px;
    background: rgba(0,0,0,0.24);
}

.dropzone {
    display: grid;
    place-items: center;
    text-align: center;
    padding: 24px;
    border-right: 1px dashed rgba(255,255,255,0.18);
}

.drop-icon {
    width: 66px;
    height: 66px;
    margin: 0 auto 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    display: grid;
    place-items: center;
    color: var(--blue-2);
    font-size: 30px;
    background: rgba(255,255,255,0.045);
}

.dropzone strong { display: block; margin-bottom: 8px; }
.dropzone small { color: var(--muted); }

.preview {
    display: grid;
    place-items: center;
    position: relative;
    border-right: 1px solid var(--line);
    background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 28px 28px;
}

.preview-part {
    width: 56%;
    aspect-ratio: 1;
    border-radius: 28px;
    background: linear-gradient(135deg, #d5dae3, #444b56 52%, #151921);
    transform: rotateX(58deg) rotateZ(-28deg);
    box-shadow: 0 35px 60px rgba(0,0,0,0.55), inset 0 12px 18px rgba(255,255,255,0.35);
    position: relative;
}

.preview-part::before {
    content: "";
    position: absolute;
    inset: 24%;
    border-radius: 50%;
    background: #0b0e13;
    box-shadow: inset 0 4px 12px rgba(255,255,255,0.12);
}

.quote-controls {
    padding: 22px;
    display: grid;
    gap: 16px;
    align-content: center;
}

label {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    display: grid;
    gap: 8px;
}

select {
    width: 100%;
    color: white;
    background: rgba(255,255,255,0.07);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px;
    outline: none;
}

.price {
    border-top: 1px solid var(--line);
    margin-top: 6px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 12px;
}

.price small { color: var(--muted); display: block; margin-bottom: 5px; }
.price strong { font-size: 31px; letter-spacing: -0.05em; }

.testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.quote-card {
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 28px;
    background: rgba(255,255,255,0.035);
}

.quote-mark { color: var(--blue); font-size: 48px; line-height: 1; font-family: Georgia, serif; }
.quote-card p { color: rgba(255,255,255,0.78); line-height: 1.55; }
.quote-card strong { display: block; margin-top: 24px; }
.quote-card small { color: var(--muted); }

.cta-footer {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto 36px;
    padding: 38px;
    border-radius: 30px;
    background:
    radial-gradient(circle at 80% 40%, rgba(63,118,255,0.28), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025));
    border: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.cta-footer h2 {
    font-size: clamp(2rem, 4vw, 4.4rem);
    line-height: 0.94;
    text-transform: uppercase;
}

footer {
    border-top: 1px solid var(--line);
    padding: 40px 0;
    color: var(--muted);
}

.footer-inner {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    font-size: 14px;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotateX(5deg) rotateY(-8deg); }
    50% { transform: translateY(-22px) rotateX(-1deg) rotateY(10deg); }
}

@media (max-width: 1050px) {
    .hero,
    .section-grid,
    .quote-panel {
    grid-template-columns: 1fr;
    }

    .hero { padding-top: 125px; }
    .hero-visual { min-height: 440px; }
    .materials { grid-template-columns: repeat(2, 1fr); }
    .quote-ui { grid-template-columns: 1fr; }
    .dropzone, .preview { border-right: 0; border-bottom: 1px solid var(--line); }
    .preview { min-height: 280px; }
}

@media (max-width: 800px) {
    .nav-links,
    .nav-actions .btn { display: none; }
    .menu-toggle { display: grid; place-items: center; }

    .nav-links.open {
    position: fixed;
    top: 82px;
    left: 20px;
    right: 20px;
    display: grid;
    gap: 4px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(8, 11, 16, 0.96);
    box-shadow: 0 24px 70px rgba(0,0,0,0.5);
    }

    .nav-links.open a { padding: 14px; }

    h1 { font-size: 3.6rem; }
    .hero { grid-template-columns: 1fr; }
    .steps, .projects, .testimonials, .logos { grid-template-columns: 1fr; }
    .logos { gap: 16px; font-size: 1.5rem; }
    .section { padding: 70px 0; }
    .materials { grid-template-columns: 1fr; }
    .material-card { min-height: 230px; }
    .cta-footer { align-items: stretch; flex-direction: column; }
    .cta-footer .btn { width: 100%; }
}

@media (max-width: 520px) {
    .nav, .hero, .section, .logos, .cta-footer, .footer-inner { width: min(100% - 28px, var(--max)); }
    .hero-actions .btn { width: 100%; }
    .quote-panel { padding: 20px; border-radius: 22px; }
    .brand span { font-size: 13px; }
    .hero-visual { min-height: 320px; }
    .micro-card { position: relative; right: auto; bottom: auto; margin-top: -24px; }
}
