:root {
    --bg-color: #f0f0f0;
    --text-main: #333;
    --accent-gray: #888;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: var(--bg-color) url('background-pattern.jpg') no-repeat center center fixed;
    background-size: cover;
    margin: 0;
    overflow-x: hidden;
}

.header {
    display: flex;
    align-items: center;   
    justify-content: space-between;
    padding: 20px 40px;   
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 7px solid #737373;
}


.search-container {
    display: flex;
    border: 1px solid #888;
    border-radius: 4px;
    overflow: hidden;
}


.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background: #ccc;
}


.side-menu {
    position: fixed;
    top: 0;
    right: -300px; 
    width: 300px;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    transition: 0.3s;
    z-index: 1000;
}

.side-menu.active {
    right: 0;
}

.menu-header {
    background: #aaa;
    color: white;
    padding: 20px;
    font-size: 24px;
}

.side-menu ul {
    list-style: none;
    padding: 20px;
}

.side-menu li {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.side-menu a {
    text-decoration: none;
    color: var(--text-main);
}

/* Затемнение фона */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    display: none;
    z-index: 999;
}

.overlay.active {
    display: block;
}

.logo {
    display: flex;
    align-items: center;   
    gap: 15px;             
    margin: 0; 
}

.logo-icon {
    width: 50px;          
    height: 50px;
    object-fit: contain;
}

.logo span {
    font-size: 32px;       
    font-weight: 500;
    color: var(--text-main);
    line-height: 1;        
}


.btn-signup {
    background-color: #555;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    clip-path: polygon(15% 0, 100% 0, 85% 100%, 0 100%);
}

.btn-login {
    background-color: transparent;
    border: 1px solid #555;
    padding: 10px 20px;
    cursor: pointer;
    clip-path: polygon(15% 0, 100% 0, 85% 100%, 0 100%);
}

.cta-button {
	display: block;
    width: fit-content;      
    margin: 0;      
    text-decoration: none;      
	
    padding: 20px 20px;       
    font-size: 24px;          
    font-weight: bold;       

    background-color: #f0f0f0; 
    color: #333;               
    border: 2px solid #ccc;    
    border-radius: 15px;       

    cursor: pointer;        
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); /*тень*/

    display: block;       
    
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #e0e0e0; 
    box-shadow: 0 6px 8px rgba(0,0,0,0.15); 
    transform: translateY(-2px); 
}

.hero {
    display: flex;
    align-items: flex-start;  
    justify-content: space-between; 
    padding: 30px 30px 0;  
    min-height: 80vh;  
}


.hero-content {
    flex: 0 0 50%;          
    text-align: left;  
}

.hero-content h4 {
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 30px;     
    color: #3b3b3b;
}

.hero-image {
    flex: 0 0 45%;         
    display: flex;
    justify-content: center; 
}

.hero-image img {
    max-width: 100%;        
    height: auto;        
    object-fit: contain;
}

.software-icons {
    display: flex;
    gap: 25px;           
    margin-top: 30px;    
    padding-left: 5px;  
    align-items: center;
}

.software-icons img {
    height: 80px;        
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1)); 
    transition: transform 0.2s ease;
}

.software-icons img:hover {
    transform: scale(1.1); 
}

.auth-buttons a {
    text-decoration: none;
    color: #333; 
    display: inline-block; 
}

.auth-buttons a:hover {
    color: #000;
    text-decoration: underline; 
}

.logo-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
}

