@font-face {
    font-family: 'Druk Wide';
    src: url('Fonts/DrukWideBold.ttf');
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Montserrat', sans-serif;
    color: white;
    min-height: 100vh;
    background: #000;
    overflow-x: hidden;
}

.site-bg {
    position: fixed; inset: 0;
    background: url('Images/background.jpg') center/cover no-repeat;
    filter: blur(3px);
    transform: scale(1.05);
    z-index: -2;
}

.site-overlay {
    position: fixed; inset: 0;
    background: radial-gradient(circle at center, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.85) 100%);
    z-index: -1;
}

/* ============ HEADER ============ */
header {
    position: fixed; top: 0; left: 0; width: 100%;
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    z-index: 1000;
}

.logo-wrap { display: flex; align-items: center; gap: 12px; }
.logo-wrap .logo { height: 40px; }
.logo-wrap span { font-weight: 700; font-size: 16px; letter-spacing: 3px; }

nav { display: flex; gap: 8px; flex-wrap: wrap; }
nav a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}
nav a:hover { color: #fff; background: rgba(255,255,255,0.08); }
nav a.active { color: #fff; background: rgba(255,255,255,0.15); }

/* ============ CONTENT ============ */
.content {
    padding: 140px 60px 80px;
    max-width: 1200px;
    margin: 0 auto;
    animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); filter: blur(8px); }
    to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

h1 {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #fff, #b0b0b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 { font-size: 24px; margin-bottom: 20px; }

.subtitle {
    font-size: 15px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 40px;
}

.form-container { max-width: 700px; }

/* ============ TABS ============ */
.tabs {
    display: flex;
    gap: 8px;
    padding: 4px;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    margin-bottom: 30px;
}

.tab {
    flex: 1;
    padding: 12px;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.6);
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: 0.25s;
}

.tab:hover { color: #fff; background: rgba(255,255,255,0.05); }
.tab.active { background: rgba(255,255,255,0.15); color: #fff; }

/* ============ FORMS ============ */
form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 35px;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    margin-bottom: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-group label {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    outline: none;
    transition: 0.3s;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: rgba(255,255,255,0.6);
    box-shadow: 0 0 15px rgba(255,255,255,0.06);
}

.form-group textarea { resize: vertical; min-height: 90px; }
.form-group small { color: rgba(255,255,255,0.35); font-size: 11px; }
.form-group select option { background: #1a1a1a; }

/* ============ BUTTONS ============ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 40px;
    background: #fff;
    color: #000;
    text-decoration: none;
    border-radius: 14px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: 'Montserrat', sans-serif;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255,255,255,0.25);
}

.btn-primary:active { transform: translateY(0) scale(0.98); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

.btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: 'Montserrat', sans-serif;
}

.btn-download:hover {
    background: #fff;
    color: #000;
    transform: translateY(-2px);
}

.btn-download.danger {
    background: rgba(231,76,60,0.15);
    border-color: rgba(231,76,60,0.4);
    color: #e74c3c;
}

.btn-download.danger:hover {
    background: #e74c3c;
    color: #fff;
}

/* ============ STATUS ============ */
.form-status {
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    display: none;
}

.form-status.ok {
    display: block;
    background: rgba(46, 204, 113, 0.15);
    border: 1px solid rgba(46, 204, 113, 0.4);
    color: #2ecc71;
}

.form-status.fail {
    display: block;
    background: rgba(231, 76, 60, 0.15);
    border: 1px solid rgba(231, 76, 60, 0.4);
    color: #e74c3c;
}

/* ============ CABINET ============ */
.cabinet-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.order-card {
    padding: 24px;
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    transition: 0.3s;
}

.order-card:hover {
    border-color: rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.05);
}

.order-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    gap: 12px;
    flex-wrap: wrap;
}

.order-head h3 { font-size: 18px; }

.order-status {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

.order-status.pending { background: rgba(241, 196, 15, 0.15); color: #f1c40f; }
.order-status.approved { background: rgba(52, 152, 219, 0.15); color: #5dade2; }
.order-status.completed { background: rgba(46, 204, 113, 0.15); color: #2ecc71; }
.order-status.rejected { background: rgba(231, 76, 60, 0.15); color: #e74c3c; }

.order-info p {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    padding: 4px 0;
    word-break: break-all;
}

.order-info a { color: #5dade2; }

.news-pre {
    background: rgba(0,0,0,0.4);
    padding: 12px;
    border-radius: 8px;
    font-size: 12px;
    white-space: pre-wrap;
    margin-top: 6px;
    font-family: monospace;
    color: rgba(255,255,255,0.8);
}

.order-actions {
    margin-top: 18px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.upload-row {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

.upload-row input[type=file] {
    flex: 1;
    padding: 10px 14px;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    min-width: 200px;
}

/* ============ HERO / ГЛАВНАЯ ============ */
.hero {
    text-align: center;
    padding: 40px 0 60px;
}

.hero h1 {
    font-size: 72px;
    margin-bottom: 15px;
}

.hero .subtitle {
    font-size: 18px;
    margin-bottom: 35px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.features { margin-top: 60px; }

.features h2,
.how-it-works h2,
.cta h2 {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.feature-card {
    padding: 30px;
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 18px;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.06);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.feature-card i {
    font-size: 32px;
    color: #ffc95f;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    line-height: 1.5;
}

.how-it-works { margin-top: 80px; }

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

.step {
    padding: 30px 25px;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 18px;
    text-align: center;
    position: relative;
    transition: 0.3s;
}

.step:hover {
    border-color: rgba(255,255,255,0.25);
    transform: translateY(-4px);
}

.step-num {
    width: 48px;
    height: 48px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    color: #ffc95f;
}

.step h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.step p {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    line-height: 1.5;
}

.cta {
    margin-top: 80px;
    padding: 50px 40px;
    text-align: center;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 22px;
}

.cta p {
    color: rgba(255,255,255,0.6);
    margin-bottom: 25px;
    font-size: 15px;
}

.cta p b { color: #2ecc71; }

/* ============ FOOTER ============ */
footer {
    padding: 30px 60px;
    text-align: center;
    color: rgba(255,255,255,0.3);
    font-size: 13px;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 60px;
}

/* ============ ADAPTIVE ============ */
@media (max-width: 768px) {
    header { padding: 15px 20px; flex-direction: column; gap: 12px; }
    nav a { padding: 8px 12px; font-size: 12px; }
    .content { padding: 200px 20px 60px; }
    h1 { font-size: 30px; }
    .hero h1 { font-size: 44px; }
    .hero .subtitle { font-size: 15px; }
    .features h2, .how-it-works h2, .cta h2 { font-size: 22px; }
    .cta { padding: 30px 20px; }
    .form-row { flex-direction: column; }
    form { padding: 22px; }
}

/* ================= SCREENSHOTS ================= */
.screenshots {
    margin: 60px 0;
}

.screenshots h2 {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
}

.screens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.screen-item {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    position: relative;
}

.screen-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.4));
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.screen-item:hover {
    transform: translateY(-6px);
    border-color: rgba(255,255,255,0.3);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.screen-item:hover::after {
    opacity: 1;
}

.screen-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.screen-item:hover img {
    transform: scale(1.04);
}

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 40px;
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 18px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.9);
    animation: zoomIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    font-family: 'Montserrat', sans-serif;
}

.lightbox-close:hover {
    background: #e81123;
    border-color: #e81123;
    transform: rotate(90deg);
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@media (max-width: 768px) {
    .screens-grid { grid-template-columns: 1fr; gap: 14px; }
    .screenshots h2 { font-size: 20px; }
}
/* ============================================ */