/* Загальні стилі */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Neue Haas Grotesk Display Pro', Arial, sans-serif;
    background-color: #000000;
    min-height: 100vh;
    color: white;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-image: url('./images/topsectionbg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 130px; /* Зменшений відступ для меню (було 150px) */
}

/* Стилі меню */
header {
    padding: 35px 150px 0; /* Зменшую відступ зверху з 60px на 35px (підняття на 25px) */
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: transparent;
    transition: none;
}

/* Стилі для фіксованого меню при скролі */
header.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 35px 150px 0; /* Зменшую відступ зверху з 60px на 35px */
    background-color: transparent;
    box-shadow: none;
    animation: none;
}

@keyframes slideDown {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(0);
    }
}

.main-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 76px; /* зменшена висота меню на додаткові 15% (було 90px) */
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0 32px;
    border-radius: 16px;
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

header.sticky-header .main-menu {
    height: 76px; /* зменшена висота меню на додаткові 15% (було 90px) */
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    background-color: rgba(0, 0, 0, 0.5);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Контейнер логотипу */
.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    margin-right: 10px;
    transition: transform 0.4s ease;
}

.logo-text {
    font-family: 'Monospac821 BT', monospace;
    font-size: 20px;
    font-weight: bold;
    color: #FFFFFF;
}

.logo-container:hover .logo-img {
    transform: rotate(10deg) scale(1.1);
}

/* Стилі для посилань меню */
.menu-links {
    display: flex;
    gap: 30px;
}

.menu-links a {
    color: white;
    text-decoration: none;
    font-family: 'Monospac821 BT', monospace;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
    font-weight: 400;
}

.menu-links a:hover {
    opacity: 0.7;
}

/* Стиль для активного посилання в меню */
.menu-links a.active, .footer-links a.active {
    color: #95FFA0;
    opacity: 1;
}

/* Стиль кнопки завантаження з App Store */
.download-button {
    display: flex;
    align-items: center;
}

.app-store-button {
    display: block;
}

.app-store-button svg, .appstore-img {
    transition: transform 0.4s ease;
}

.app-store-button .appstore-img-header {
    width: 120px;
    height: 40px;
    object-fit: contain;
}

.app-store-button:hover svg, .appstore-footer:hover .appstore-img {
    transform: translateY(-5px);
}

/* Контент героя */
.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: auto;
    padding: 0 20px;
    flex: 1;
    justify-content: center;
}

.about-us {
    font-family: 'Monospac821 BT', monospace;
    font-size: 18px;
    color: #4CD964; /* зелений колір з дизайну */
    margin-bottom: 20px;
    position: relative;
}

.about-us::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
}

.hero-content h1 {
    font-family: 'Neue Haas Grotesk Display Pro', Arial, sans-serif;
    font-size: 72px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
    background: linear-gradient(to bottom, #FFFFFF, #B7B7B7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.hero-content p {
    font-family: 'Monospac821 BT', monospace;
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 40px;
}

.try-free-button {
    font-family: 'Monospac821 BT', monospace;
    display: inline-block;
    background-color: white;
    color: black;
    text-decoration: none;
    padding: 20px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
}

.try-free-button:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
}

/* Адаптивність */
@media (max-width: 1200px) {
    header, header.sticky-header {
        padding: 25px 50px 0; /* Зменшуємо відступ зверху (було 40px) */
    }
    
    header.sticky-header .main-menu {
        height: auto;
        padding: 12px 20px; /* Зменшуємо внутрішній відступ (було 15px) */
    }
    
    .hero-content h1 {
        font-size: 60px;
    }
}

@media (max-width: 768px) {
    header, header.sticky-header {
        padding: 15px 20px 0; /* Зменшуємо відступ зверху (було 20px) */
    }
    
    header.sticky-header .main-menu {
        height: auto;
        padding: 12px; /* Зменшуємо внутрішній відступ (було 15px) */
        -webkit-backdrop-filter: blur(15px);
        backdrop-filter: blur(15px);
    }
    
    .main-menu {
        flex-direction: column;
        height: auto;
        padding: 12px; /* Зменшуємо внутрішній відступ (було 15px) */
        background-color: rgba(0, 0, 0, 0.5);
        -webkit-backdrop-filter: blur(15px);
        backdrop-filter: blur(15px);
    }
    
    .logo-container {
        margin-bottom: 20px;
    }
    
    .menu-links {
        flex-direction: column;
        gap: 15px;
        margin: 20px 0;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 40px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .try-free-button {
        padding: 15px 30px;
        font-size: 16px;
    }
}

/* Секція зі статистикою */
.stats-section {
    padding: 100px 0;
    background-color: #000000;
}

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

.stats-heading {
    font-family: 'Neue Haas Grotesk Display Pro', Arial, sans-serif;
    font-size: 42px;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 80px;
}

.stats-grid {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.stat-item {
    flex: 1;
    text-align: center;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 0;
    right: -20px;
    height: 100%;
    width: 1px;
    background: rgba(255, 255, 255, 0.15);
}

.percentage {
    font-family: 'Neue Haas Grotesk Display Pro', Arial, sans-serif;
    font-size: 80px;
    font-weight: 400; /* 55 Roman */
    margin-bottom: 20px;
    background: linear-gradient(to right, #95FFA0, #95B9FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.stat-item h3 {
    font-family: 'Neue Haas Grotesk Display Pro', Arial, sans-serif;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 15px;
}

.stat-item p {
    font-family: 'Monospac821 BT', monospace;
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    max-width: 280px;
    margin: 0 auto;
}

/* Адаптивність для статистики */
@media (max-width: 992px) {
    .stats-heading {
        font-size: 36px;
        margin-bottom: 60px;
    }
    
    .stats-grid {
        flex-direction: column;
        gap: 50px;
    }
    
    .stat-item:not(:last-child)::after {
        right: 0;
        top: auto;
        bottom: -25px;
        height: 1px;
        width: 100%;
    }
    
    .percentage {
        font-size: 70px;
    }
}

@media (max-width: 768px) {
    .stats-section {
        padding: 70px 0;
    }
    
    .stats-heading {
        font-size: 28px;
        margin-bottom: 50px;
    }
    
    .percentage {
        font-size: 60px;
    }
    
    .stat-item h3 {
        font-size: 20px;
    }
}

/* Секція функцій */
.features-section {
    padding: 120px 0;
    background-color: #000000;
}

.features-top {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.features-title h2 {
    font-family: 'Neue Haas Grotesk Display Pro', Arial, sans-serif;
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(to bottom, #FFFFFF, #B7B7B7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.accent {
    color: #95FFA0;
    -webkit-text-fill-color: #95FFA0;
    text-fill-color: #95FFA0;
}

.features-description {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px 0;
}

.features-description p {
    font-family: 'Monospac821 BT', monospace;
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 40px;
}

.all-features-btn {
    font-family: 'Monospac821 BT', monospace;
    display: inline-block;
    background-color: white;
    color: black;
    text-decoration: none;
    padding: 18px 30px;
    border-radius: 16px;
    font-weight: 400; /* Roman */
    font-size: 18px;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
}

.all-features-btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
}

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

.feature-card {
    padding: 40px;
    border-radius: 16px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.dark-bg {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.gradient-bg {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: url('./images/Ellipse262.png') no-repeat center;
    background-size: cover;
    border: 1px solid transparent;
    background-clip: padding-box;
}

.gradient-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(145deg, #BA8600, #008C0E, #003CB0, #2E004B, #B80050);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}

.gradient-bg::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    transform: translate(-50%, -50%) translate(45px, 45px);
    pointer-events: none;
    z-index: 0;
}

.feature-card h3, .feature-card p {
    position: relative;
    z-index: 2;
}

.feature-card h3 {
    font-family: 'Neue Haas Grotesk Display Pro', Arial, sans-serif;
    font-size: 30px;
    font-weight: 500; /* Medium */
    margin-bottom: 20px;
}

.feature-card p {
    font-family: 'Monospac821 BT', monospace;
    font-size: 15px;
    font-weight: 400; /* Roman */
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8); /* Білий з 80% непрозорості */
}

/* Адаптивність для секції функцій */
@media (max-width: 1100px) {
    .features-top {
        grid-template-columns: 1fr 1fr;
    }
    
    .features-title h2 {
        font-size: 48px;
    }
    
    .features-description {
        grid-column: 2;
    }
    
    .feature-card:nth-child(3) {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .features-section {
        padding: 80px 0;
    }
    
    .features-top, .features-bottom {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .features-title h2 {
        font-size: 40px;
    }
    
    .feature-card:nth-child(3) {
        grid-column: auto;
    }
    
    .feature-card {
        padding: 30px;
    }
    
    .feature-card h3 {
        font-size: 24px;
    }
}

/* Секція з телефонами */
.phones-section {
    padding: 150px 0;
    background-color: #000000;
}

.phone-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 150px;
}

.phone-block:last-child {
    margin-bottom: 0;
}

.phone-block.reverse {
    flex-direction: row-reverse;
}

.phone-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    padding: 30px;
}

.phone-img {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease-in-out;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.phone-image:hover .phone-img {
    transform: scale(1.02); /* Зменшуємо ефект масштабування і видаляємо translateY */
}

.phone-content {
    flex: 1;
    padding: 0 50px;
}

.accent-label {
    font-family: 'Monospac821 BT', monospace;
    font-size: 18px;
    font-weight: 400;
    color: #4CD964;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
}

.phone-title {
    font-family: 'Neue Haas Grotesk Display Pro', Arial, sans-serif;
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
    background: linear-gradient(to bottom, #FFFFFF, #B7B7B7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.phone-description {
    font-family: 'Monospac821 BT', monospace;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    max-width: 500px;
}

/* Адаптивність для секції з телефонами */
@media (max-width: 1100px) {
    .phone-block, .phone-block.reverse {
        flex-direction: column;
        text-align: center;
        margin-bottom: 100px;
    }
    
    .phone-content {
        padding: 50px 20px 0;
    }
    
    .phone-title {
        font-size: 48px;
    }
    
    .phone-description {
        margin: 0 auto;
    }
    
    .phone-img {
        max-width: 90%;
        transform: scale(1.1);
    }
}

@media (max-width: 768px) {
    .phones-section {
        padding: 100px 0;
    }
    
    .phone-block {
        margin-bottom: 80px;
    }
    
    .phone-title {
        font-size: 36px;
    }
    
    .phone-description {
        font-size: 16px;
    }
}

/* Плавна анімація для всіх зображень */
img {
    transition: all 0.5s ease;
}

/* Додатковий клас для анімації з'являння */
.fade-in-element {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-element.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Секція заклику до дії */
.cta-section {
    position: relative;
    padding: 150px 0;
    background: url('./images/5sectionbg.png') no-repeat center center;
    background-size: cover;
    overflow: hidden;
}

.cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-family: 'Neue Haas Grotesk Display Pro', Arial, sans-serif;
    font-size: 72px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 40px;
    color: #FFFFFF;
}

.cta-description {
    font-family: 'Monospac821 BT', monospace;
    font-size: 18px;
    line-height: 1.6;
    color: #FFFFFF;
    margin-bottom: 50px;
}

.cta-button {
    font-family: 'Monospac821 BT', monospace;
    display: inline-block;
    background-color: white;
    color: black;
    text-decoration: none;
    padding: 20px 60px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Адаптивність для секції заклику до дії */
@media (max-width: 992px) {
    .cta-title {
        font-size: 54px;
    }
    
    .cta-description {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .cta-section {
        padding: 100px 0;
    }
    
    .cta-title {
        font-size: 42px;
    }
    
    .cta-description br {
        display: none;
    }
    
    .cta-button {
        padding: 15px 40px;
        font-size: 16px;
    }
}

/* Футер */
.site-footer {
    background: url('./images/footerbg.png') no-repeat center center;
    background-size: cover;
    padding: 80px 0;
    position: relative;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo .logo-img, .footer-logo .footer-logo-img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    margin-right: 10px;
}

.footer-logo .logo-text {
    font-family: 'Monospac821 BT', monospace;
    font-size: 20px;
    font-weight: bold;
    color: #FFFFFF;
}

.footer-app-name {
    font-family: 'Monospac821 BT', monospace;
    font-size: 20px;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
}

.footer-links {
    display: flex;
    gap: 40px;
}

.footer-links a {
    color: #FFFFFF;
    text-decoration: none;
    font-family: 'Monospac821 BT', monospace;
    font-size: 16px;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.7;
}

.footer-download .appstore-img {
    height: 40px;
    transition: opacity 0.3s ease;
}

.footer-download .appstore-img:hover {
    opacity: 0.9;
}

/* Адаптивність для футера */
@media (max-width: 992px) {
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-links {
        order: 2;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-download {
        order: 3;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 60px 0;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 20px;
    }
}

/* Анімація для кнопок */
.try-free-button, .all-features-btn, .cta-button {
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.try-free-button:before, .all-features-btn:before, .cta-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.5s ease;
}

.try-free-button:hover:before, .all-features-btn:hover:before, .cta-button:hover:before {
    left: 100%;
}

/* Анімація для карток функцій */
.feature-card {
    transition: all 0.5s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Анімація для процентів у статистиці */
.percentage {
    position: relative;
    display: inline-block;
}

.percentage:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(to right, #95FFA0, #95B9FF);
    transition: all 0.5s ease;
    transform: translateX(-50%);
}

.stat-item:hover .percentage:after {
    width: 100%;
} 