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

:root {
    --primary: #C36BC6;
    --secondary: #E8A8E0;
    --accent: #A855F7;
    --pink: #EC4899;
    --purple-dark: #7C3AED;
    --background: #FAF5FF;
    --text: #333333;
    --white: #FFFFFF;
    --shadow: rgba(195, 107, 198, 0.3);
}

body {
    font-family: "Noto Sans SC", sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

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

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(195, 107, 198, 0.15);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(195, 107, 198, 0.25);
}

.navbar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    gap: 60px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
}

.logo-image {
    height: 60px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    font-size: 16px;
    font-weight: 600;
    color: #666;
    position: relative;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--pink));
    box-shadow: 0 4px 15px rgba(195, 107, 198, 0.4);
    transform: translateY(-2px);
}

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

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: 0.3s;
}

main {
    padding-top: 80px;
}

.hero {
    background: linear-gradient(135deg, var(--purple-dark) 0%, var(--primary) 50%, var(--pink) 100%);
    color: var(--white);
    padding: 140px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

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

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 20px;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 1;
}

.btn {
    display: inline-block;
    padding: 16px 40px;
    background: var(--white);
    color: var(--primary);
    font-size: 17px;
    font-weight: 600;
    border-radius: 35px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(195, 107, 198, 0.35);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--pink));
    color: var(--white);
    position: relative;
    z-index: 1;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--pink), var(--primary));
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(195, 107, 198, 0.45);
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 15px;
}

.section-title p {
    font-size: 16px;
    color: #666;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-card {
    background: var(--white);
    padding: 50px 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(195, 107, 198, 0.12);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--pink));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(195, 107, 198, 0.25);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--pink));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 35px;
    color: var(--white);
    box-shadow: 0 8px 20px rgba(195, 107, 198, 0.35);
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(195, 107, 198, 0.5);
}

.service-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--purple-dark);
    margin-bottom: 15px;
}

.service-card p {
    font-size: 15px;
    color: #666;
}

.products-preview {
    background: linear-gradient(180deg, var(--white) 0%, var(--background) 100%);
}

.products-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.tab-btn {
    padding: 14px 35px;
    background: transparent;
    color: #666;
    border: 2px solid var(--secondary);
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover,
.tab-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--pink));
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(195, 107, 198, 0.4);
    transform: translateY(-2px);
}

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

.field-card {
    grid-column: span 4;
    width: 100%;
}

.field-card .product-image {
    width: 100%;
    height: 350px;
    border-radius: 16px;
}

.field-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card {
    background: var(--background);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(196, 139, 245, 0.2);
}

.product-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 35px rgba(124, 58, 237, 0.15);
    border-color: rgba(196, 139, 245, 0.4);
}

.product-image {
    height: 180px;
    background: linear-gradient(135deg, rgba(196, 139, 245, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 70px;
    color: var(--accent);
    overflow: hidden;
    position: relative;
}

.product-image::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(196, 139, 245, 0.3) 0%, rgba(236, 72, 153, 0.3) 100%);
    border-radius: 50%;
    filter: blur(20px);
    transition: all 0.4s ease;
}

.product-card:hover .product-image::before {
    transform: scale(1.5);
    opacity: 0.6;
}

.product-image span {
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.product-card:hover .product-image span {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(124, 58, 237, 0.3));
}

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

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 8px;
}

.product-info p {
    font-size: 13px;
    color: #666;
}

.contact-section {
    background: var(--white);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--secondary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--white);
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 5px;
}

.contact-item p {
    font-size: 14px;
    color: #666;
}

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

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--secondary);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.footer {
    background: var(--accent);
    color: var(--white);
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-section p,
.footer-section a {
    font-size: 14px;
    opacity: 0.9;
    display: block;
    margin-bottom: 8px;
}

.footer-section a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 14px;
    opacity: 0.8;
}

.page-header {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 16px;
    opacity: 0.9;
}

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

.about-image {
    width: 100%;
    height: 350px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: var(--white);
}

.about-text h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 15px;
}

.about-text p {
    font-size: 15px;
    color: #666;
    margin-bottom: 15px;
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--secondary);
}

.timeline-item {
    position: relative;
    padding-bottom: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -34px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
}

.timeline-year {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 5px;
}

.timeline-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 5px;
}

.timeline-item p {
    font-size: 14px;
    color: #666;
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 5px 15px var(--shadow);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .menu-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .section-title h2 {
        font-size: 26px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        height: 250px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .products-tabs {
        flex-wrap: wrap;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .field-card {
        grid-column: span 2;
        width: 100%;
    }

    .field-card .product-image {
        width: 100%;
        height: 200px;
    }

    .field-card .product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .nav-links a {
        padding: 12px 20px;
        text-align: center;
    }

    .navbar .container {
        height: 70px;
        gap: 20px;
    }

    .logo-image {
        height: 50px;
    }

    main {
        padding-top: 70px;
    }

    .hero {
        padding: 100px 0;
    }
}
