:root {
    --bg: #05040e;
    --bg-soft: #0c0a1a;
    --card: #121026;
    --card-hover: #1c1936;
    --accent: #7c5dff;
    --accent-soft: rgba(124, 93, 255, 0.15);
    --text: #f4f4ff;
    --muted: #a3a0c3;
    --border: rgba(255, 255, 255, 0.08);
    --font: 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font);
    background: radial-gradient(circle at 20% -10%, rgba(124, 93, 255, 0.25), transparent 55%),
                radial-gradient(circle at 80% 0%, rgba(0, 255, 214, 0.2), transparent 45%),
                var(--bg);
    color: var(--text);
    margin: 0;
    min-height: 100vh;
    line-height: 1.5;
}

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

.container {
    width: min(1200px, calc(100% - 3rem));
    margin: 0 auto;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

h1, h2, h3 {
    margin: 0;
    font-weight: 600;
}

p {
    margin-top: 0;
    color: var(--muted);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.65);
}

.btn {
    border: none;
    border-radius: 999px;
    padding: 0.85rem 1.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
    font-size: 1rem;
}

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

.btn.primary {
    background: linear-gradient(120deg, #7c5dff, #2ce3ff);
    color: #0a0719;
}

.btn.secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
}

.btn.ghost {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}

.btn.full {
    width: 100%;
    justify-content: center;
}

.link-btn {
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    font-size: 0.95rem;
    text-decoration: underline;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(16px);
    background: rgba(5, 4, 14, 0.8);
    border-bottom: 1px solid var(--border);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 1rem;
}

.logo {
    font-weight: 700;
    letter-spacing: 0.08em;
}

nav {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.95rem;
}

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

.hero {
    padding: 5rem 0 4rem;
}

.hero .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    align-items: center;
}

.hero__content h1 {
    font-size: clamp(2.5rem, 6vw, 3.8rem);
}

.hero__subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero__meta {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.hero__meta strong {
    display: block;
    font-size: 1.6rem;
}

.hero__visual {
    display: flex;
    justify-content: center;
}

.video-card {
    background: var(--card);
    border-radius: 24px;
    padding: 1.5rem;
    border: 1px solid var(--border);
    position: relative;
    width: min(360px, 100%);
}

.video-card__poster {
    border-radius: 18px;
    background: url('https://images.unsplash.com/photo-1521572163474-6864f9cf17ab?auto=format&fit=crop&w=900&q=80') center/cover;
    height: 260px;
}

.video-card__badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    padding: 0.4rem 1rem;
    background: rgba(0,0,0,0.5);
    border-radius: 999px;
    font-size: 0.85rem;
}

.play-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(120deg, #2ce3ff, #7c5dff);
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    cursor: pointer;
}

.play-btn::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 12px solid #05040e;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    position: absolute;
    left: 23px;
    top: 20px;
}

section {
    padding: 4rem 0;
}

.cases__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.case-card {
    background: var(--card);
    border-radius: 20px;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.case-card:hover {
    transform: translateY(-4px);
    border-color: rgba(124, 93, 255, 0.5);
}

.case-card__poster {
    height: 180px;
    border-radius: 20px 20px 0 0;
    background-size: cover;
    background-position: center;
}

.poster-1 { background-image: url('https://images.unsplash.com/photo-1461749280684-dccba630e2f6?auto=format&fit=crop&w=800&q=80'); }
.poster-2 { background-image: url('https://images.unsplash.com/photo-1484704849700-f032a568e944?auto=format&fit=crop&w=800&q=80'); }
.poster-3 { background-image: url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?auto=format&fit=crop&w=800&q=80'); }
.poster-4 { background-image: url('https://images.unsplash.com/photo-1483058712412-4245e9b90334?auto=format&fit=crop&w=800&q=80'); }
.poster-5 { background-image: url('https://images.unsplash.com/photo-1485217988980-11786ced9454?auto=format&fit=crop&w=800&q=80'); }
.poster-6 { background-image: url('https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=800&q=80'); }

.case-card__info {
    padding: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.case-card__info span {
    color: var(--muted);
}

.packages__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.package-card {
    background: var(--card);
    border-radius: 24px;
    padding: 1.8rem;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.package-card__badge {
    background: var(--accent-soft);
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    width: fit-content;
}

.package-card ul {
    padding-left: 1.2rem;
    color: var(--muted);
    margin: 0 0 1rem;
}

.package-card--accent {
    background: linear-gradient(150deg, rgba(124, 93, 255, 0.2), rgba(44, 227, 255, 0.1));
    border-color: rgba(124, 93, 255, 0.5);
}

.workflow__steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.workflow__steps article {
    background: var(--card);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid var(--border);
}

.workflow__steps span {
    display: inline-flex;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    margin-bottom: 0.8rem;
}

.faq__list {
    display: grid;
    gap: 1rem;
}

.faq details {
    background: var(--card);
    border-radius: 16px;
    border: 1px solid var(--border);
    padding: 1rem 1.5rem;
}

.faq summary {
    cursor: pointer;
    font-weight: 600;
}

.order__card {
    background: var(--card);
    border-radius: 32px;
    padding: 2.5rem;
    border: 1px solid var(--border);
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

form {
    display: grid;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

input, textarea, select {
    background: #070611;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 0.85rem 1rem;
    color: var(--text);
    font-family: inherit;
}

input:focus, textarea:focus, select:focus {
    outline: 2px solid rgba(124, 93, 255, 0.6);
}

.form-row {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.error {
    font-size: 0.85rem;
    color: #ff8a8a;
    min-height: 1rem;
}

.form-note {
    font-size: 0.9rem;
}

.site-footer {
    border-top: 1px solid var(--border);
    padding: 2rem 0 3rem;
    background: #05040e;
}

.site-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 50;
}

.modal.active {
    display: flex;
}

.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
}

.modal__content {
    position: relative;
    background: var(--card);
    padding: 2rem;
    border-radius: 24px;
    border: 1px solid var(--border);
    width: min(500px, 90%);
}

#videoModal .modal__content {
    width: min(760px, 95%);
    padding: 1rem;
}

.modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    border: none;
    background: transparent;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
}

video {
    width: 100%;
    border-radius: 16px;
    background: #000;
}

body.status-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
}

.status-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 2.5rem;
    width: min(520px, 100%);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 20px 60px rgba(5, 4, 14, 0.6);
}

.status-card__icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin: 0 auto;
    display: grid;
    place-items: center;
    font-size: 2rem;
    font-weight: 600;
}

.status-card--success .status-card__icon {
    background: rgba(60, 255, 168, 0.12);
    color: #3cff9e;
}

.status-card--failure .status-card__icon {
    background: rgba(255, 138, 138, 0.15);
    color: #ff8a8a;
}

.status-card__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.status-card a {
    text-decoration: none;
}

.status-card pre {
    background: #070611;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1rem;
    font-family: 'Space Grotesk', monospace;
    color: var(--muted);
    overflow-x: auto;
}


@media (max-width: 720px) {
    nav {
        display: none;
    }

    .site-header .btn {
        padding: 0.6rem 1.2rem;
    }

    .hero {
        padding-top: 3rem;
    }

    .order__card {
        padding: 1.5rem;
        border-radius: 24px;
    }

    .status-card {
        padding: 1.8rem;
    }
}
