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

:root {
    --primary: #8B4513;
    --primary-light: #A0522D;
    --primary-dark: #5D2E0A;
    --accent: #D4A574;
    --bg-dark: #1A1A1A;
    --bg-light: #FAF7F2;
    --text-dark: #1A1A1A;
    --text-light: #FFFFFF;
    --text-muted: #6B6B6B;
}

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

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

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.animate-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-scale.visible {
    opacity: 1;
    transform: scale(1);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ========== PREVIEW BANNER ========== */
.preview-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 8px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 1000;
    font-size: 0.85rem;
    font-weight: 500;
}

.preview-banner span {
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.visit-site {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(255,255,255,0.15);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.visit-site:hover {
    background: rgba(255,255,255,0.25);
}

/* ========== HEADER ========== */
.header {
    position: sticky;
    top: 40px;
    z-index: 100;
}

.header__top {
    background: var(--bg-dark);
    padding: 10px 0;
}

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

.tagline {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 500;
}

.corporate-link {
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.corporate-link:hover {
    color: var(--accent);
}

.header__nav {
    background: white;
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

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

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 3px;
}

.logo-sub {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 5px;
}

.nav__menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav__menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s;
    position: relative;
}

.nav__menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav__menu a:hover {
    color: var(--primary);
}

.nav__menu a:hover::after {
    width: 100%;
}

.order-btn {
    background: var(--primary);
    color: white;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.order-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
}

/* ========== HERO ========== */
.hero {
    min-height: calc(100vh - 140px);
    display: flex;
    align-items: center;
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
}

.hero__content {
    flex: 1;
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.hero__title .accent {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero__subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero__buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.3);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.btn-large {
    padding: 18px 36px;
    font-size: 1rem;
}

.hero__image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.product-showcase {
    display: flex;
    gap: 20px;
}

.product-item {
    background: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    animation: float 3s ease-in-out infinite;
}

.product-item:nth-child(2) {
    animation-delay: 0.5s;
    transform: translateY(20px);
}

.product-item:nth-child(3) {
    animation-delay: 1s;
}

.product-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.product-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.product-item span {
    font-weight: 600;
    color: var(--text-dark);
}

/* ========== ADVANTAGES ========== */
.advantages {
    padding: 80px 20px;
    background: white;
}

.advantages .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.advantage-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.advantage-card:hover {
    background: var(--bg-light);
    transform: translateY(-5px);
}

.advantage-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.advantage-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

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

/* ========== CATALOG ========== */
.catalog {
    padding: 80px 20px;
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--text-dark);
}

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

.catalog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.catalog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.catalog-card__image {
    height: 180px;
    background: linear-gradient(135deg, var(--accent), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
}

.emoji-icon {
    font-size: 4rem;
}

.catalog-card__content {
    padding: 25px;
}

.catalog-card__content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.catalog-card__content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

/* ========== HOW IT WORKS ========== */
.how-it-works {
    padding: 80px 20px;
    background: white;
}

.steps {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    z-index: 0;
}

.step {
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.3);
}

.step h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.step p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ========== CTA ========== */
.cta {
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #2D2D2D 100%);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 2.2rem;
    color: white;
    margin-bottom: 15px;
}

.cta p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta .btn-outline {
    border-color: rgba(255,255,255,0.3);
    color: white;
}

.cta .btn-outline:hover {
    background: white;
    color: var(--primary);
    border-color: white;
}

/* ========== CONTACT ========== */
.contact {
    padding: 80px 20px;
    background: var(--bg-light);
}

.contact-grid {
    max-width: 600px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-item h4 {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 5px;
    font-weight: 500;
}

.contact-item a,
.contact-item span {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
}

.contact-item a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.social-link {
    padding: 12px 24px;
    background: white;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* ========== FOOTER ========== */
.footer {
    padding: 40px 20px;
    background: var(--bg-dark);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo .logo-text {
    color: white;
}

.footer-logo .logo-sub {
    color: rgba(255,255,255,0.5);
}

.footer-copy {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

.footer-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.footer-link:hover {
    color: white;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__buttons {
        justify-content: center;
    }

    .advantages .container {
        grid-template-columns: repeat(2, 1fr);
    }

    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        flex-wrap: wrap;
        justify-content: center;
    }

    .steps::before {
        display: none;
    }

    .step {
        flex: 0 0 calc(33.333% - 20px);
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .header__top .container {
        flex-direction: column;
        gap: 10px;
    }

    .header__nav .container {
        flex-wrap: wrap;
        gap: 15px;
    }

    .nav__menu {
        display: none;
    }

    .hero__title {
        font-size: 2rem;
    }

    .product-showcase {
        flex-wrap: wrap;
        justify-content: center;
    }

    .advantages .container {
        grid-template-columns: 1fr;
    }

    .catalog-grid {
        grid-template-columns: 1fr;
    }

    .step {
        flex: 0 0 100%;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .cta h2 {
        font-size: 1.6rem;
    }

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

@media (max-width: 480px) {
    .preview-banner {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }

    .hero__title {
        font-size: 1.7rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

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