/* ============================
   YURGAMASH.RU — Modern Industrial
   ============================ */

:root {
    --bg: #08080f;
    --bg-surface: #10101a;
    --bg-card: #151525;
    --bg-card-hover: #1a1a30;
    --bg-glass: rgba(20, 20, 35, 0.6);
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --text: #e0e0e0;
    --text-muted: #8888a0;
    --text-dim: #555570;
    --accent: #ff6b2b;
    --accent-glow: rgba(255, 107, 43, 0.3);
    --accent-dim: rgba(255, 107, 43, 0.15);
    --accent-2: #3b82f6;
    --accent-2-glow: rgba(59, 130, 246, 0.3);
    --green: #22c55e;
    --red: #ef4444;
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.modal-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ============================
   Particles Canvas
   ============================ */
#particles {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

/* ============================
   Container
   ============================ */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* ============================
   Header
   ============================ */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition);
    background: transparent;
}

.header.scrolled {
    background: rgba(10, 10, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 2px;
}

.logo-icon {
    color: var(--accent);
}

.nav {
    display: flex;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    border-radius: 8px;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 14px;
    transition: all var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    padding: 8px 16px;
    border-radius: 8px;
    background: var(--accent-dim);
    border: 1px solid rgba(255, 107, 43, 0.2);
    transition: all var(--transition);
}

.header-phone:hover {
    background: var(--accent-glow);
    border-color: rgba(255, 107, 43, 0.4);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: var(--transition);
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================
   Hero
   ============================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 60% 50%, rgba(255, 107, 43, 0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 30% 70%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 50px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: var(--green);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease;
}

.badge-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse 2s infinite;
}

.hero-title { margin-bottom: 20px; }

.title-line {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    font-size: clamp(32px, 6vw, 72px);
    line-height: 1.1;
    letter-spacing: -1px;
}

.title-line:first-child {
    color: #fff;
    font-size: clamp(24px, 4vw, 48px);
    font-weight: 500;
    letter-spacing: 2px;
}

.title-line.accent {
    color: var(--accent);
    text-shadow: 0 0 60px var(--accent-glow);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 18px);
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease 0.4s both;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-stats {
    display: flex;
    gap: 40px;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #fff;
}

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Visual - 3D Loader */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-3d {
    position: relative;
    width: 380px;
    height: 320px;
    perspective: 800px;
}

.loader-body {
    position: relative;
    width: 100%;
    height: 100%;
    transform: rotateY(15deg) rotateX(5deg);
    transform-style: preserve-3d;
    animation: loaderFloat 4s ease-in-out infinite;
}

.loader-shadow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 20px;
    background: rgba(255, 107, 43, 0.2);
    border-radius: 50%;
    filter: blur(15px);
    animation: shadowPulse 4s ease-in-out infinite;
}

@keyframes loaderFloat {
    0%, 100% { transform: rotateY(15deg) rotateX(5deg) translateY(0); }
    50% { transform: rotateY(15deg) rotateX(5deg) translateY(-10px); }
}

@keyframes shadowPulse {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.3; }
    50% { transform: translateX(-50%) scale(0.8); opacity: 0.15; }
}

.loader-cabin {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 80px;
    background: linear-gradient(135deg, #1e1e35, #151525);
    border: 2px solid rgba(255, 107, 43, 0.4);
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(255, 107, 43, 0.15), inset 0 0 20px rgba(255, 107, 43, 0.05);
}

.loader-cabin::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 15px;
    right: 15px;
    height: 30px;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 6px;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.loader-boom {
    position: absolute;
    bottom: 100px;
    left: 60%;
    transform-origin: bottom left;
    animation: boomMove 3s ease-in-out infinite;
}

.loader-arm {
    width: 180px;
    height: 16px;
    background: linear-gradient(90deg, rgba(255, 107, 43, 0.6), rgba(255, 107, 43, 0.3));
    border-radius: 4px;
    border: 1px solid rgba(255, 107, 43, 0.3);
    transform: rotate(-30deg);
    transform-origin: left center;
}

.loader-grab {
    position: absolute;
    right: -30px;
    top: -15px;
    width: 50px;
    height: 45px;
    border: 2px solid rgba(255, 107, 43, 0.5);
    border-radius: 4px;
    background: rgba(255, 107, 43, 0.1);
    animation: grabOpenClose 2s ease-in-out infinite;
}

@keyframes boomMove {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    30% { transform: translateY(-20px) rotate(-5deg); }
    60% { transform: translateY(-5px) rotate(3deg); }
}

@keyframes grabOpenClose {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.6); }
}

.loader-wheel {
    position: absolute;
    bottom: 15px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #1e1e35, #0a0a15);
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}

.loader-wheel.left { left: 50px; }
.loader-wheel.right { right: 60px; }

.loader-wheel::after {
    content: '';
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-dim);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: bounce 2s infinite;
    z-index: 2;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ============================
   Buttons
   ============================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #ff5722);
    color: #fff;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 13px;
    border-radius: 8px;
}

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

/* ============================
   Section Common
   ============================ */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 50px;
    background: var(--accent-dim);
    border: 1px solid rgba(255, 107, 43, 0.2);
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
}

/* ============================
   About
   ============================ */
.about {
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.8;
}

.text-large {
    font-size: 18px;
    color: var(--text) !important;
    font-weight: 500;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.about-feature-item:hover {
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-dim);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-dim);
    border-radius: var(--radius);
    color: var(--accent);
    flex-shrink: 0;
}

.feature-info strong {
    display: block;
    color: #fff;
    font-size: 14px;
    margin-bottom: 4px;
}

.feature-info span {
    font-size: 13px;
    color: var(--text-muted);
}

/* ============================
   Advantages
   ============================ */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.advantage-card {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.advantage-card:hover {
    border-color: rgba(255, 107, 43, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

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

.advantage-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-dim);
    border-radius: var(--radius);
    color: var(--accent);
    margin-bottom: 20px;
}

.advantage-card h3 {
    font-size: 17px;
    color: #fff;
    margin-bottom: 10px;
    font-weight: 600;
}

.advantage-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================
   Specs
   ============================ */
.specs-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.specs-table-wrap {
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid var(--border);
    transition: background 0.3s ease;
}

.specs-table tr:last-child { border-bottom: none; }
.specs-table tr:hover { background: rgba(255, 255, 255, 0.03); }

.spec-name {
    padding: 14px 20px;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
}

.spec-value {
    padding: 14px 20px;
    text-align: right;
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.specs-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.specs-card {
    padding: 24px;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    transition: all var(--transition);
}

.specs-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 0 20px var(--accent-2-glow);
}

.specs-card.highlight {
    border-color: rgba(255, 107, 43, 0.3);
    background: var(--accent-dim);
    grid-column: 1 / -1;
}

.specs-card.highlight:hover {
    box-shadow: 0 0 30px var(--accent-glow);
}

.specs-card-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
}

.specs-card.highlight .specs-card-value {
    font-size: 56px;
    color: var(--accent);
}

.specs-card-value span {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-muted);
    margin-left: 4px;
}

.specs-card-label {
    font-size: 13px;
    color: var(--text-muted);
}

/* ============================
   Attachments
   ============================ */
.attachments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.attachment-card {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.4s ease;
    text-align: center;
}

.attachment-card:hover {
    border-color: rgba(255, 107, 43, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.attachment-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-dim);
    border-radius: 50%;
    color: var(--accent);
}

.attachment-card h3 {
    font-size: 16px;
    color: #fff;
    margin-bottom: 10px;
}

.attachment-card p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.6;
}

.attachment-price {
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
}

/* ============================
   Parts
   ============================ */
.parts-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
    justify-content: center;
}

.filter-btn {
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

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

.part-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.4s ease;
}

.part-card:hover {
    border-color: rgba(255, 107, 43, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.part-card.hidden { display: none; }

.part-image {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    color: var(--text-dim);
}

.part-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.part-info {
    padding: 20px;
}

.part-category {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    font-weight: 600;
}

.part-info h3 {
    font-size: 15px;
    color: #fff;
    margin: 6px 0 8px;
    font-weight: 600;
    line-height: 1.3;
}

.part-info p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.5;
}

.part-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.part-article {
    font-size: 12px;
    color: var(--text-dim);
}

.part-stock {
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
}

.stock-yes { background: rgba(34, 197, 94, 0.1); color: var(--green); }
.stock-no { background: rgba(239, 68, 68, 0.1); color: var(--red); }

.part-price {
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

/* ============================
   Contacts
   ============================ */
.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contacts-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.contact-item:hover {
    border-color: rgba(255, 107, 43, 0.3);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-dim);
    border-radius: var(--radius);
    color: var(--accent);
    flex-shrink: 0;
}

.contact-text strong {
    display: block;
    color: #fff;
    font-size: 14px;
    margin-bottom: 4px;
}

.contact-text span,
.contact-text a {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

.contact-text a:hover { color: var(--accent); }

/* Contact Form */
.contact-form {
    padding: 32px;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.contact-form h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    color: #fff;
    margin-bottom: 20px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    transition: all var(--transition);
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-dim);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-dim);
}

.form-note {
    font-size: 12px;
    color: var(--text-dim);
    margin-top: 12px;
    text-align: center;
}

/* ============================
   Footer
   ============================ */
.footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo { margin-bottom: 16px; }

.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-links h4 {
    font-size: 14px;
    color: #fff;
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-links a {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 10px;
    transition: color var(--transition);
}

.footer-links a:hover { color: var(--accent); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-dim);
}

/* ============================
   Modal
   ============================ */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    width: 90%;
    max-width: 480px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
    transition: color var(--transition);
}

.modal-close:hover { color: #fff; }

.modal h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 22px;
    color: #fff;
    margin-bottom: 12px;
}

.modal-part-name {
    color: var(--accent);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
}

.success-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--green);
}

/* ============================
   Toast
   ============================ */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 16px 24px;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: #fff;
    font-weight: 500;
    z-index: 3000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
}

.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { border-color: var(--green); color: var(--green); }
.toast.error { border-color: var(--red); color: var(--red); }

/* ============================
   Animations
   ============================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

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

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

/* ============================
   Responsive
   ============================ */
@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero-content { max-width: 600px; margin: 0 auto; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { display: none; }
    .advantages-grid { grid-template-columns: repeat(2, 1fr); }
    .parts-grid { grid-template-columns: repeat(2, 1fr); }
    .attachments-grid { grid-template-columns: repeat(2, 1fr); }
    .specs-container { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(10, 10, 20, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 24px;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav.active { opacity: 1; visibility: visible; }

    .menu-toggle { display: flex; }
    .header-phone { font-size: 13px; padding: 6px 12px; }

    .hero-stats { flex-wrap: wrap; gap: 20px; }
    .advantages-grid { grid-template-columns: 1fr; }
    .parts-grid { grid-template-columns: 1fr; }
    .attachments-grid { grid-template-columns: 1fr; }
    .contacts-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .specs-table { font-size: 13px; }
    .spec-name, .spec-value { padding: 10px 14px; }

    section { padding: 60px 0; }
    .section-title { font-size: 26px; }
    .container { padding: 0 16px; }
}

@media (max-width: 480px) {
    .hero { min-height: auto; padding: 120px 0 60px; }
    .hero-actions { flex-direction: column; }
    .hero-stats { gap: 16px; }
    .stat-value { font-size: 28px; }
}
