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

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a26;
    --accent: #ff2d55;
    --accent-glow: #ff2d5540;
    --accent-secondary: #ff6b81;
    --text-primary: #ffffff;
    --text-secondary: #b0b0c0;
    --text-muted: #6b6b80;
    --border: #2a2a3a;
    --gradient-1: linear-gradient(135deg, #ff2d55 0%, #ff6b81 100%);
    --gradient-2: linear-gradient(135deg, #1a1a26 0%, #252540 100%);
    --shadow-glow: 0 0 40px rgba(255, 45, 85, 0.3);
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--bg-primary);
}

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

/* Прелоадер */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hide {
    opacity: 0;
    visibility: hidden;
}

.laser-line {
    width: 0;
    height: 2px;
    background: var(--accent);
    animation: laserLoad 1.5s ease-in-out infinite;
    box-shadow: 0 0 20px var(--accent-glow);
}

@keyframes laserLoad {
    0% { width: 0; opacity: 0; }
    50% { width: 200px; opacity: 1; }
    100% { width: 300px; opacity: 0; }
}

/* Шапка */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 20px 40px;
}

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

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
}

.logo-icon {
    font-size: 1.8rem;
    color: var(--accent);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.logo-text {
    letter-spacing: -0.5px;
}

.accent {
    color: var(--accent);
    font-weight: 800;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

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

.nav-links a:hover::after {
    width: 100%;
}

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

.mobile-menu-btn span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* Главный экран */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 40px 60px;
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-content {
    max-width: 700px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
}

.title-line {
    display: block;
}

.title-sub {
    display: block;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 300;
    color: var(--text-secondary);
    margin-top: 10px;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 10px 30px rgba(255, 45, 85, 0.4);
}

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

.btn-outline {
    border: 2px solid var(--border);
    color: var(--text-primary);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--accent);
    background: rgba(255, 45, 85, 0.05);
    transform: translateY(-3px);
}

.hero-visual {
    position: absolute;
    right: -150px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
}

.laser-circle {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    border: 2px solid var(--border);
    position: relative;
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.laser-beam {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 200px;
    background: var(--accent);
    box-shadow: 0 0 30px var(--accent-glow), 0 0 60px var(--accent-glow);
    transform-origin: top center;
    animation: beamPulse 2s ease-in-out infinite;
}

@keyframes beamPulse {
    0%, 100% { height: 180px; opacity: 0.6; }
    50% { height: 230px; opacity: 1; }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: var(--border);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { height: 10px; opacity: 0.3; }
    50% { height: 40px; opacity: 1; }
    100% { height: 10px; opacity: 0.3; }
}

/* Секции */
section {
    padding: 100px 40px;
}

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

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent);
    background: rgba(255, 45, 85, 0.1);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 45, 85, 0.2);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -1px;
}

/* Услуги */
.services {
    background: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px 30px;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, var(--accent-glow) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* О нас */
.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 50px;
}

.feature-item {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    padding: 30px;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.feature-item:hover {
    border-color: var(--accent);
    transform: translateX(10px);
}

.feature-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    opacity: 0.5;
}

.feature-text h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.feature-text p {
    color: var(--text-secondary);
}

/* Материалы */
.materials {
    background: var(--bg-secondary);
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto 60px;
}

.material-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
    cursor: pointer;
}

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

.material-image {
    width: 100%;
    height: 150px;
    border-radius: 12px;
    margin-bottom: 20px;
    background-size: cover;
    background-position: center;
}

.material-image.wood {
    background: linear-gradient(45deg, #3e2723, #5d4037, #4e342e);
    position: relative;
    overflow: hidden;
}

.material-image.wood::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    top: 50%;
    left: -50%;
    transform: rotate(-15deg);
    box-shadow: 0 10px 0 rgba(255, 255, 255, 0.05), 0 20px 0 rgba(255, 255, 255, 0.05), 0 -10px 0 rgba(255, 255, 255, 0.05);
}

.material-image.acrylic {
    background: linear-gradient(135deg, #1a237e, #283593, #3949ab);
    position: relative;
}

.material-image.acrylic::after {
    content: '';
    position: absolute;
    inset: 20px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
}

.material-image.leather {
    background: linear-gradient(45deg, #4a148c, #6a1b9a, #7b1fa2);
}

.material-image.metal {
    background: linear-gradient(135deg, #37474f, #546e7a, #78909c);
    position: relative;
}

.material-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.material-card span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Ozon блок */
.ozon-section {
    text-align: center;
}

.ozon-link {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, #005bff, #00aaff);
    color: white;
    text-decoration: none;
    padding: 20px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 91, 255, 0.4);
}

.ozon-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 91, 255, 0.6);
}

.ozon-text {
    font-size: 0.85rem;
    opacity: 0.9;
}

.ozon-logo strong {
    font-weight: 800;
}

/* Контакты */
.contacts-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contacts-description {
    color: var(--text-secondary);
    margin: 30px 0;
    font-size: 1.05rem;
    line-height: 1.7;
}

.contact-methods {
    margin-top: 30px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 25px 30px;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
}

.contact-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.contact-details h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-details span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.contacts-map {
    height: 100%;
}

.map-placeholder {
    height: 400px;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.map-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    animation: mapGlow 3s ease-in-out infinite;
}

@keyframes mapGlow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.5); opacity: 0.8; }
}

.map-info {
    text-align: center;
    z-index: 1;
    padding: 40px;
}

.map-info h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.map-info p {
    color: var(--text-secondary);
}

/* Футер */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 60px 40px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 10px;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Адаптивность */
@media (max-width: 768px) {
    .header {
        padding: 15px 20px;
    }
    
    .header.scrolled {
        padding: 10px 20px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 100px 20px 60px;
        text-align: center;
    }

    .hero-visual {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    section {
        padding: 60px 20px;
    }

    .contacts-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .service-card {
        padding: 30px 20px;
    }

    .ozon-link {
        flex-direction: column;
        text-align: center;
        padding: 20px 30px;
    }
}