*, *::before, *::after {
    box-sizing: border-box;
}

body{
    height: 100%;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html{
	height: 100%;
}

img{
    display: block;
}

.main-page{
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

/*header*/

.header{
    display: flex;
    align-items: center;
    height: 73px;
    border-bottom: 1px solid #e5e9f2;
}

.header-container{
    width: 1110px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.logo{
    margin-right: 40px;
}

.nav{
    font-weight: bold;
    font-size: 14px;
    line-height: 1px;
    color: #18191F;
    margin-top: -4px;
}
.nav-link{
    margin-right: 32px;
    color: #18191F;
    text-decoration: none;
}

.nav-link:hover{
	color: #8C30F5;
}

.nav-link:last-child{
	margin-right: 0px;
}

.appstore{
    margin-left: auto;
    display: flex;
}

.appstore-item {
	margin: 5px 0 5px 12px;
}

.appstore-item:hover {
	opacity: 0.5;
}
	
.appstore-item:first-child{
	margin-left: 0px;
}

/* Main */

.main{

}

.main-container{
    width: 1110px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding-top: 60px;
    padding-bottom: 60px;
    align-items: center;
}

.main-content{
    width: 540px;
    font-size: 18px;
    color:#18191F
}

.main-img{

}

.main-header{
	margin-top: 0;
	margin-bottom: 16px;
	font-weight: 800;
	font-size: 64px;
	line-height: 1.36;
	/* or 136% */
	color: #18191F;
}

.main-text {
    margin-bottom: 32px;
}

.main-text p {
    margin-bottom: 15px;
    font-size: 18px;
    line-height: 1.78;
}

.button {
    display: inline-block;
    padding-left: 35px;
    padding-right: 35px;
    
    height: 62px;

    background: #8C30F5;
    border-radius: 8px;

	font-weight: bold;
	font-size: 20px;
	line-height: 62px;
	color: #FFFFFF;
	text-decoration: none;
}

.button:hover{
    opacity: 0.8;
}

/*footer*/

.footer{
    display: flex;
    align-items: center;
    height: 72px;
    background: #0B0D17;
    color : #D9D8E1;
}

.footer-container{
    width: 1110px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright{
	font-size: 14px;
}

.footer-socials{
	display: flex;
}

.footer-socials-item{
	margin-left: 16px;
}

.footer-socials-item:hover{
	opacity: 0.5;
}

/* Pricing styles */
.pricing-container {
    width: 1110px;
    margin: 0 auto;
    padding: 60px 0;
}

.pricing-header {
    text-align: center;
    margin-bottom: 40px;
}

.pricing-header h1 {
    margin-top: 0;
    margin-bottom: 16px;
    font-weight: 800;
    font-size: 48px;
    line-height: 1.36;
    color: #18191F;
}

.pricing-header p {
    font-size: 18px;
    line-height: 1.78;
    color: #18191F;
    margin-bottom: 0;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
    font-size: 16px;
}

.pricing-table th,
.pricing-table td {
    padding: 15px;
    text-align: center;
    color: #18191F;
}

.pricing-table thead th {
    background-color: #8C30F5;
    color: white;
    font-size: 18px;
    font-weight: bold;
}

.pricing-table tbody tr:nth-child(even) {
    background-color: #f0f0f5;
}

.pricing-table tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

.btn-start {
    display: inline-block;
    padding: 8px 25px;
    background: #8C30F5;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    color: #FFFFFF;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-start:hover {
    opacity: 0.8;
}

.main-page {
    min-height: 100vh;
}


/* Медіа запит для екранів з шириною до 1140px */
@media (max-width: 1140px) {
    .header-container,
    .main-container,
    .footer-container,
    .pricing-container {
        width: 90%;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .main-container {
        flex-direction: column;
        text-align: center;
    }
    
    .main-content {
        width: 100%;
        margin-bottom: 40px;
    }
    
    .nav {
        display: none;
    }
    
    .appstore {
        margin-left: 20px;
    }
}

/* Медіа запит для мобільних пристроїв (до 760px) */
@media (max-width: 768px) {
    .header-container,
    .main-container,
    .footer-container,
    .pricing-container {
        width: 95%;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .main-header {
        font-size: 36px;
    }
    
    .main-text p {
        font-size: 16px;
    }
    
    .button {
        padding: 15px 25px;
        font-size: 18px;
        height: auto;
        line-height: 1.2;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .pricing-header h1 {
        font-size: 32px;
    }
    
    .pricing-table {
        font-size: 14px;
    }
    
    .pricing-table th,
    .pricing-table td {
        padding: 10px 5px;
    }
    
    .appstore {
        flex-direction: column;
        margin-left: 0;
        gap: 10px;
    }
    
    .appstore-item {
        margin: 0;
    }
    
    .logo img {
        width: 100px;
    }
}