/* Общие стили */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f0f2f5;
    color: #333;
    line-height: 1.6;
}

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

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

div.close_m_menu{
    position: fixed;
    width: 40px;
    height: 100vh;
    z-index: 10001;
    background-color: rgb(0,0,0, 0.5);
	display: none;
}
div.close_m_menu span{
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    color: black;
    font-weight: bold;
    font-size: 150%;
    /* transform: rotate(45deg); */
    color: white;
    user-select: none;
    cursor: pointer;
}

/* Header */
.header {
    /* background-color: #ffffff; */
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
    position: absolute;
    top: -80px;
    z-index: 10000;
    width: 100%;
    box-sizing: border-box;
	transition: top 2s ease 0s;
}

.header-left {
    display: flex;
    align-items: center;
}

.header-left .logo {
    height: 50px;
    width: 50px;
    margin-right: 10px;
    border-radius: 50%; /* Если логотип круглый */
    object-fit: cover;
}

.header-left .company-name {
    font-size: 1.8em;
    font-weight: bold;
    color: #5a2e9b; /* Фиолетовый оттенок для названия */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.header-nav ul {
    display: flex;
    gap: 25px;
}

.header-nav ul a li{
    font-size: 1.1em;
    font-weight: 500;
    color: #555;
    transition: color 0.3s ease, transform 0.3s ease;
}

.header-nav ul li a:hover {
    color: #8c4dc7; /* Более светлый фиолетовый */
    transform: translateY(-2px);
}

div.menu_mobile{
    position: relative;
    width: 30px;
    gap: 4px;
    display: none;
    flex-direction: column;
	cursor: pointer;
}
div.menu_mobile div{
    position: relative;
    width: 100%;
    height: 5px;
    background: midnightblue;
	border-radius: 10px;
}

/* Main Content - Общие стили для секций */
section {
    padding: 80px 5%;
    text-align: center;
    margin: 0 auto;
}

h1, h2 {
    color: #5a2e9b;
    margin-bottom: 20px;
    font-size: 2.5em;
}

h2 {
    font-size: 2.2em;
    margin-top: 40px;
}

p {
    font-size: 1.1em;
    color: #444;
}

.button {
    display: inline-block;
    background-color: #8c4dc7;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    margin-top: 30px;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
	
	transition: all 2s;
}

.main_button{
	font-size: 0%;
	opacity: 0;
	transition: all 2s;
}

.button:hover {
    background-color: #6a3a94;
    transform: translateY(-3px);
}

@property --myColor1 {
  syntax: '<color>';
  initial-value: #FDDCDC;
  inherits: false;
}

@property --myColor2 {
  syntax: '<color>';
  initial-value: #E0BBE4;
  inherits: false;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(var(--myColor1), var(--myColor2));
	/*transition: --myColor1 5s, --myColor2 5s;*/
    color: #333;
    padding: 100px 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-shadow: 1px 1px 3px rgba(255,255,255,0.5);
    box-sizing: border-box;
}

.hero-section h1 {
    font-size: 0%;
    color: #5a2e9b;
    margin-bottom: 15px;
	
	transition: all 2s;
}

.hero-section p {
    font-size: 0%;
    max-width: 700px;
    margin-bottom: 40px;
	
	transition: all 2s;
}

/* Features Section */
.features-section {
    background-color: #ffffff;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.feature-item h3 {
    color: #8c4dc7;
    font-size: 1.5em;
    margin-bottom: 15px;
}

/* Products Section */
.products-section {
    background-color: #f0f2f5;
}

div.products{
    position: relative;
    display: flex;
    gap: 20px;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: flex-start;
}

.product-item {
	background-color: #ffffff;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-top: 50px;
    flex-direction: column;
    align-items: stretch;
    gap: 25px;
    display: flex;
    justify-content: flex-start;
    min-width: 250px;
    /* width: calc(100% / 2 - 50px); */
    flex: 1 0;
}

.product-image {
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    width: 100%;
}

div.product_block{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    align-content: flex-start;
    text-align: left;
    flex: 1;
    justify-content: space-between;
}

.product-image:hover {
    transform: scale(1.03);
}

.product-item h3 {
    font-size: 2em;
    color: #5a2e9b;
	margin: 0px;
    margin-bottom: 10px;
}

.product-item p {
    max-width: 600px;
    margin-bottom: 20px;
}

.marketplace-links {
    display: flex;
    gap: 20px;
    flex-direction: column;
    align-items: stretch;
    flex: 1;
    width: 100%;
    text-align: center;
    justify-content: flex-end;
}

.marketplace-button {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    justify-content: center;
}

.marketplace-button i {
    margin-right: 8px;
}

.wildberries-button {
    background-color: #A32896; /* Цвет Wildberries */
    color: white;
}

.wildberries-button:hover {
    background-color: #8a207d;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.ozon-button {
    background-color: #005bff; /* Цвет Ozon */
    color: white;
}

.ozon-button:hover {
    background-color: #004ac2;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}


/* How-to-use section */
.how-to-use-section {
    background-color: #e0e0f7; /* Светлый фон */
}

.steps-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.step-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    max-width: 300px;
    flex-basis: calc(33.333% - 30px); /* Для 3 колонок с отступами */
    box-sizing: border-box;
}

.step-item h3 {
    color: #8c4dc7;
    font-size: 130%;
    margin-bottom: 15px;
}

/* About and Contact Sections */
.about-section, .contact-section {
    background-color: #ffffff;
    padding: 60px 5%;
}

.contact-section {
	background-color: #f0f2f5;
}

/* Footer */
.footer {
    background-color: #333;
    color: white;
    padding: 50px 5%;
    text-align: center;
    font-size: 0.95em;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 40px auto;
}

.footer-brand, .footer-nav, .footer-social {
    flex: 1;
    min-width: 180px;
    text-align: left;
}

.footer-brand h3 {
    color: #e0e0f7;
    font-size: 1.8em;
    margin-bottom: 15px;
}

.footer-nav h4, .footer-social h4 {
    color: #ccc;
    font-size: 1.1em;
    margin-bottom: 15px;
}

.footer-nav ul li {
    margin-bottom: 8px;
}

.footer-nav ul li a {
    color: #aaa;
    transition: color 0.3s ease;
}

.footer-nav ul li a:hover {
    color: #e0e0f7;
}

.social-icons {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    justify-content: flex-start; /* Выравнивание иконок влево */
}
.social-icons-black{
	justify-content: center;
}
.social-icons-black>a{
	color: #444 !important;
}

.social-icons a {
    color: white;
    font-size: 1.8em;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    color: #e0e0f7;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 20px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-bottom p {
    color: #aaa;
    font-size: 0.9em;
}

a#edgesection{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0.7;
    padding: 10px;
    background: white;
    color: black;
    font-weight: bold;
    border-radius: 10px;
    width: fit-content;
	transition: all 1s;
}
a#edgesection:hover{
	opacity: 0.8;
	box-shadow: 0px 0px 5px 0px white;
}
a#edgesection img{
    position: relative;
    width: 20px;
    height: 20px;
}
a#edgesection span{
    font-size: 120%;
}
/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .header {
        flex-direction: row;
        padding: 15px 3%;
    }

	.header-nav{
		display: none;
		position: fixed;
		top: 0px;
		left: 40px;
		width: calc(100% - 80px);
		background: white;
		height: 100%;
		padding: 10px 20px;
		border-radius: 10px 0px 0px 10px;
		z-index: 1;
	}
    .header-nav ul {
        flex-direction: column;
        gap: 10px;
        margin-top: 15px;
    }
	.header-nav ul li{
		/* background: red; */
		padding: 10px;
		border: 2px solid #e5c0e3;
		border-radius: 10px;
		/* background: #e5c0e3; */
		/* color: white; */
	}

    .header-nav ul li a {
        font-size: 1em;
    }
	
	div.menu_mobile{
		display: flex;
	}

    .hero-section {
        padding: 80px 3%;
        min-height: 400px;
    }

    /*.hero-section h1 {
        font-size: 2.5em;
    }

    .hero-section p {
        font-size: 1.2em;
    }*/

    h1, h2 {
        font-size: 2em;
    }

    section {
        padding: 50px 3%;
    }

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

    .product-item {
        padding: 30px;
		flex-direction: column;
    }
	.product-image{
		max-width: 100%;
		height: auto;
	}

    .marketplace-links {
        flex-direction: column;
        gap: 15px;
		width: 100%;
    }

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

    .steps-container {
        flex-direction: column;
    }

    .step-item {
        max-width: 100%;
    }

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

    .footer-brand, .footer-nav, .footer-social {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .header-left .company-name {
        font-size: 1.5em;
    }

   /* .hero-section h1 {
        font-size: 2em;
    }

    .hero-section p {
        font-size: 1em;
    }*/

    .button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .product-item h3 {
        font-size: 1.5em;
    }

    .marketplace-button {
        font-size: 0.9em;
        padding: 10px 20px;
    }
}