/*
Theme Name: Soundcrew Digital
Theme URI: https://soundcrew.ru/
Author: Soundcrew
Description: Corporate landing page for Soundcrew digital twin and indoor positioning software.
Version: 1.0.1
Text Domain: soundcrew-digital
*/

:root {
    --ink: #07111f;
    --ink-soft: #0c1d30;
    --panel: #10253a;
    --text: #f4f8fb;
    --muted: #9fb3c8;
    --cyan: #35d5ff;
    --blue: #3488ff;
    --amber: #ffb84d;
    --line: rgba(138, 190, 224, 0.18);
    --white: #ffffff;
    --radius: 24px;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--ink);
    color: var(--text);
    font-family: 'Manrope', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden;
}
body::before {
    position: fixed;
    inset: 0;
    z-index: -2;
    content: '';
    background: radial-gradient(circle at 12% 22%, rgba(52, 136, 255, .10), transparent 33%),
                radial-gradient(circle at 88% 68%, rgba(53, 213, 255, .08), transparent 28%), var(--ink);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 9999; padding: 10px 18px; background: var(--white); color: var(--ink); }
.skip-link:focus { top: 20px; }

.site-header {
    position: fixed;
    top: 0;
    z-index: 100;
    width: 100%;
    border-bottom: 1px solid transparent;
    transition: .3s ease;
}
.site-header.scrolled { border-color: var(--line); background: rgba(7, 17, 31, .88); backdrop-filter: blur(18px); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -.02em; }
.brand-mark { position: relative; width: 36px; height: 36px; border: 1px solid rgba(53, 213, 255, .6); border-radius: 11px; background: rgba(53, 213, 255, .08); }
.brand-mark::before, .brand-mark::after { position: absolute; content: ''; border: 2px solid var(--cyan); border-radius: 50%; }
.brand-mark::before { inset: 8px; }
.brand-mark::after { inset: 14px; background: var(--cyan); box-shadow: 0 0 18px var(--cyan); }
.brand small { color: var(--cyan); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.nav { display: flex; align-items: center; gap: 24px; font-size: 14px; color: #cad7e4; }
.nav a { transition: color .2s ease; }
.nav a:hover, .nav a:focus-visible { color: var(--cyan); }
.nav-cta, .button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    box-shadow: 0 10px 32px rgba(52, 136, 255, .28);
    color: #04101d;
    cursor: pointer;
    font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease;
}
.nav-cta { min-height: 42px; padding: 0 16px; }
.button:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(52, 136, 255, .38); }
.button.secondary { border-color: var(--line); background: rgba(255, 255, 255, .04); box-shadow: none; color: var(--text); }
.menu-toggle { display: none; padding: 8px; border: 0; background: none; color: white; }

.hero { position: relative; min-height: 800px; display: flex; align-items: center; padding: 150px 0 90px; overflow: hidden; }
.hero-image { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, #07111f 0%, rgba(7,17,31,.96) 27%, rgba(7,17,31,.45) 62%, rgba(7,17,31,.08) 100%), url('assets/hero-digital-twin.png') center/cover no-repeat; }
.hero::after { position: absolute; right: 0; bottom: 0; left: 0; z-index: -1; height: 220px; content: ''; background: linear-gradient(transparent, var(--ink)); }
.hero-copy { max-width: 660px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; color: var(--cyan); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { width: 24px; height: 1px; content: ''; background: currentColor; }
h1, h2, h3 { margin-top: 0; line-height: 1.08; letter-spacing: -.04em; }
h1 { max-width: 680px; margin-bottom: 24px; font-size: clamp(48px, 6.5vw, 84px); }
h2 { max-width: 780px; margin-bottom: 22px; font-size: clamp(36px, 4.5vw, 60px); }
h3 { margin-bottom: 12px; font-size: 24px; }
.hero-lead { max-width: 620px; margin: 0 0 34px; color: #c7d5e4; font-size: clamp(18px, 2vw, 22px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 660px; margin-top: 64px; }
.hero-meta div { padding-top: 16px; border-top: 1px solid var(--line); }
.hero-meta strong { display: block; color: var(--white); font-size: 26px; }
.hero-meta span { color: var(--muted); font-size: 12px; }

.ticker { overflow: hidden; border-block: 1px solid var(--line); background: rgba(255,255,255,.018); }
.ticker-track { display: flex; width: max-content; animation: ticker 30s linear infinite; }
.ticker span { padding: 20px 38px; color: #8ba3b9; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.ticker span::before { margin-right: 38px; color: var(--cyan); content: '◆'; font-size: 8px; }
@keyframes ticker { to { transform: translateX(-50%); } }

section { padding: 110px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 52px; }
.section-head p { max-width: 440px; margin: 0; color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.product-card, .task-card, .sphere-card, .step, .doc-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.015));
    box-shadow: var(--shadow);
}
.product-card { min-height: 470px; padding: 32px; display: flex; flex-direction: column; }
.product-card::after { position: absolute; right: -80px; bottom: -110px; width: 260px; height: 260px; content: ''; border: 1px solid rgba(53,213,255,.15); border-radius: 50%; box-shadow: 0 0 80px rgba(53,213,255,.08); }
.product-card:nth-child(2) { transform: translateY(32px); }
.product-card .number { color: #6f8aa2; font-size: 12px; letter-spacing: .14em; }
.icon-box { width: 76px; height: 76px; margin: 44px 0 32px; display: grid; place-items: center; border: 1px solid rgba(53,213,255,.32); border-radius: 20px; background: rgba(53,213,255,.07); color: var(--cyan); }
.icon-box svg { width: 40px; height: 40px; }
.product-card p { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 20px; }
.tags span { padding: 6px 10px; border: 1px solid var(--line); border-radius: 50px; color: #bdd0e1; font-size: 11px; }

.tasks { background: linear-gradient(180deg, transparent, rgba(16,37,58,.5), transparent); }
.task-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.task-card { min-height: 230px; padding: 28px; box-shadow: none; }
.task-card b { display: block; margin-bottom: 44px; color: var(--cyan); font-size: 13px; }
.task-card p { margin: 0; color: var(--muted); font-size: 14px; }

.sphere-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sphere-card { min-height: 260px; padding: 30px; box-shadow: none; transition: border-color .2s, transform .2s; }
.sphere-card:hover { transform: translateY(-5px); border-color: rgba(53,213,255,.48); }
.sphere-card span { color: var(--cyan); font-size: 36px; }
.sphere-card p { color: var(--muted); }

.architecture { position: relative; }
.architecture-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 70px; }
.data-map { position: relative; min-height: 480px; border: 1px solid var(--line); border-radius: 50%; background: radial-gradient(circle, rgba(52,136,255,.17), transparent 65%); }
.data-map::before, .data-map::after { position: absolute; inset: 12%; content: ''; border: 1px dashed rgba(53,213,255,.28); border-radius: 50%; animation: rotate 26s linear infinite; }
.data-map::after { inset: 28%; animation-direction: reverse; animation-duration: 18s; }
@keyframes rotate { to { transform: rotate(360deg); } }
.node { position: absolute; z-index: 2; width: 130px; padding: 14px 10px; border: 1px solid rgba(53,213,255,.34); border-radius: 14px; background: #0b1b2d; color: #dff8ff; text-align: center; font-size: 12px; box-shadow: 0 0 30px rgba(53,213,255,.12); }
.node:nth-child(1) { top: 7%; left: 32%; }
.node:nth-child(2) { top: 40%; right: 0; }
.node:nth-child(3) { bottom: 6%; left: 31%; }
.node:nth-child(4) { top: 40%; left: 0; }
.node.core { top: 40%; left: 36%; color: var(--ink); background: var(--cyan); font-weight: 800; }
.steps { display: grid; gap: 14px; }
.step { padding: 24px 26px; box-shadow: none; }
.step strong { margin-right: 14px; color: var(--cyan); }
.step p { margin: 7px 0 0 38px; color: var(--muted); font-size: 14px; }

.value-panel { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 32px; background: var(--line); }
.value-copy, .value-stats { background: var(--ink-soft); }
.value-copy { padding: 64px; }
.value-copy p { max-width: 600px; color: var(--muted); }
.value-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 36px; }
.value-list div { padding: 18px 0; border-top: 1px solid var(--line); }
.value-list b { display: block; margin-bottom: 6px; }
.value-list span { color: var(--muted); font-size: 13px; }
.value-stats { display: grid; align-content: center; padding: 54px; }
.stat { padding: 28px 0; border-bottom: 1px solid var(--line); }
.stat:last-child { border: 0; }
.stat strong { display: block; color: var(--cyan); font-size: 48px; line-height: 1; }
.stat span { color: var(--muted); font-size: 13px; }

.requirements-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.requirements-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.requirement { padding: 22px; border: 1px solid var(--line); border-radius: 16px; }
.requirement b { display: block; color: var(--cyan); font-size: 13px; }
.requirement span { color: var(--muted); font-size: 14px; }

.docs { border-block: 1px solid var(--line); background: rgba(255,255,255,.018); }
.docs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.doc-card { min-height: 160px; padding: 24px; display: flex; flex-direction: column; box-shadow: none; }
.doc-card:hover { border-color: rgba(53,213,255,.45); }
.doc-card small { color: var(--cyan); letter-spacing: .12em; }
.doc-card b { margin-top: auto; padding-top: 26px; }
.doc-card span { color: var(--muted); font-size: 12px; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.contact-details { margin-top: 38px; }
.contact-details a, .contact-details address { display: block; margin: 12px 0; color: #cbd8e4; font-style: normal; }
.contact-form { padding: 36px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.03); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; margin-bottom: 7px; color: #aebfd0; font-size: 12px; }
.field input, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; outline: 0; background: #091725; color: var(--white); padding: 14px 16px; }
.field input:focus, .field textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(53,213,255,.08); }
.field textarea { min-height: 126px; resize: vertical; }
.consent { display: flex; align-items: flex-start; gap: 10px; margin: 12px 0 20px; color: var(--muted); font-size: 12px; }
.consent input { margin-top: 4px; }
.notice { margin-bottom: 18px; padding: 13px 16px; border-radius: 12px; background: rgba(53,213,255,.10); color: #c8f5ff; font-size: 13px; }
.hp { position: absolute; left: -10000px; }

.site-footer { padding: 36px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.legal-links { display: flex; flex-wrap: wrap; gap: 18px; }
.legal-links button { padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.legal-links button:hover { color: var(--cyan); }
.legal-dialog { width: min(760px, calc(100% - 30px)); max-height: 84vh; padding: 0; border: 1px solid var(--line); border-radius: 22px; background: #0c1d30; color: var(--text); box-shadow: 0 30px 120px #000; }
.legal-dialog::backdrop { background: rgba(2,8,14,.82); backdrop-filter: blur(6px); }
.dialog-inner { padding: 34px; }
.dialog-inner h2 { font-size: 30px; }
.dialog-inner h3 { margin-top: 28px; font-size: 18px; }
.dialog-inner p, .dialog-inner li { color: #b5c6d6; font-size: 14px; }
.dialog-close { position: sticky; top: 16px; float: right; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: var(--ink); color: white; cursor: pointer; }
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
    .nav { position: fixed; inset: 82px 20px auto; padding: 24px; display: none; flex-direction: column; align-items: stretch; border: 1px solid var(--line); border-radius: 18px; background: #0b1b2d; box-shadow: var(--shadow); }
    .nav.open { display: flex; }
    .menu-toggle { display: block; }
    .product-grid, .docs-grid { grid-template-columns: 1fr 1fr; }
    .product-card:nth-child(2) { transform: none; }
    .task-grid { grid-template-columns: 1fr 1fr; }
    .architecture-grid, .requirements-wrap, .contact-grid { grid-template-columns: 1fr; }
    .value-panel { grid-template-columns: 1fr; }
}

@media (max-width: 650px) {
    .container { width: min(100% - 28px, 1180px); }
    section { padding: 78px 0; }
    .hero { min-height: 720px; padding-top: 120px; }
    .hero-copy { width: 100%; max-width: 100%; }
    h1 { max-width: 100%; font-size: 42px; overflow-wrap: normal; }
    .hero-lead { font-size: 17px; }
    .hero-image { background-position: 63% center; opacity: .75; }
    .hero-meta { grid-template-columns: 1fr; gap: 10px; margin-top: 44px; }
    .hero-meta div { display: flex; align-items: baseline; gap: 12px; }
    .hero-meta strong { font-size: 21px; }
    .section-head { align-items: start; flex-direction: column; margin-bottom: 36px; }
    .product-grid, .task-grid, .sphere-grid, .docs-grid, .requirements-list, .field-grid, .value-list { grid-template-columns: 1fr; }
    .product-card { min-height: 390px; }
    .data-map { min-height: 340px; }
    .node { width: 100px; font-size: 10px; }
    .node.core { left: 35%; }
    .value-copy, .value-stats { padding: 32px 24px; }
    .footer-row { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}
