/* General Styles */
:root {
    --primary-color: #0052cc; /* Deep Blue */
    --secondary-color: #00aaff; /* Bright Blue */
    --accent-color: #4cdd84; /* Green */
    --text-color: #333;
    --bg-color: #ffffff;
    --light-gray: #f7f9fc;
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

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

h1, h2, h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2rem; text-align: center; margin-bottom: 2rem;}

section {
    padding: 60px 0;
}

/* Header & Navbar */
.header {
    background: var(--bg-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    /* --- Додайте ці рядки --- */
    display: flex;
    align-items: center;
    gap: 10px; /* Відстань між іконкою та текстом */
}

/* Додайте цей новий блок в кінець файлу */
.logo img {
    height: 32px; /* Підберіть ідеальний розмір. 30-36px зазвичай добре виглядає */
    width: auto;
}

.nav-link {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
}

/* Hero Section */
.hero {
    background-color: var(--light-gray);
    padding: 80px 0;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button img {
    height: 60px;
    width: auto;
}

.android-only {
    font-size: 0.9rem;
    color: #666;
    margin-top: 1rem;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 300px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Language Dropdown Styles */
.lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-dropdown-toggle {
    background-color: #f7f9fc;
    color: var(--primary-color);
    padding: 8px 15px;
    font-size: 1rem;
    font-weight: 700;
    border: 1px solid #eef;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-dropdown-toggle:hover {
    background-color: #eef;
}

.lang-dropdown-toggle svg {
    transition: transform 0.2s ease;
}

/* Стиль для стрілочки, коли меню відкрите */
.lang-dropdown.open .lang-dropdown-toggle svg {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    display: none; /* За замовчуванням меню приховане */
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
    z-index: 101;
    border-radius: 8px;
    margin-top: 5px;
    overflow: hidden; /* Щоб внутрішні елементи мали заокруглені кути */
}

/* Клас для показу меню через JS */
.lang-dropdown-menu.show {
    display: block;
}

.lang-dropdown-item {
    color: var(--text-color);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-weight: 500;
    text-align: center;
}

.lang-dropdown-item:hover {
    background-color: #f1f1f1;
}

.lang-dropdown-toggle,
.lang-dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px; /* Відстань між кодом та назвою */
    text-align: left;
    width: 100%;
}

.lang-dropdown-item {
    padding: 12px 16px;
}

.lang-code {
    background-color: #eef;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--primary-color);
}

.lang-name {
    font-weight: 500;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.feature-image {
    width: 150px; /* або інший розмір, який вам подобається */
    height: auto; /* зберігаємо пропорції */
    border-radius: 10px; /* можна додати невелике заокруглення, якщо це пасує до дизайну */
    margin-bottom: 1rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* можна додати легку тінь для візуального ефекту */
}

/* Locations Section */
.locations {
    background-color: var(--bg-color); /* Switched to white for better contrast with the section above/below */
    text-align: center;
}
.locations p {
    max-width: 600px;
    margin: 0 auto 2.5rem auto; /* Center the paragraph and add more bottom margin */
}

.locations-grid {
    display: grid;
    /* Create a responsive grid that shows as many columns as fit, each at least 200px wide */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    text-align: left;
}

.location-item {
    background: var(--light-gray);
    border: 1px solid #eef;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.location-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.more-locations {
    margin-top: 2.5rem;
    color: #555;
    font-style: italic;
    font-size: 1.1rem;
}


/* FAQ Section */
.faq-item summary {
    font-size: 1.2rem;
    font-weight: 500;
    cursor: pointer;
    padding: 1rem;
    border-bottom: 1px solid #eee;
    list-style: none; /* Hide default arrow */
    position: relative;
    padding-right: 30px; /* Space for custom arrow */
}
.faq-item summary::-webkit-details-marker { display: none; } /* Hide for Chrome/Safari */
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 15px;
    font-size: 1.5rem;
    color: var(--secondary-color);
}
.faq-item details[open] summary::after {
    content: '−';
}

.faq-item p {
    padding: 1rem;
    margin: 0;
    border-bottom: 1px solid #eee;
}


/* Privacy Policy Page */
.privacy-policy {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-policy h2 {
    text-align: left;
    margin-top: 2rem;
}

.privacy-policy ul {
    padding-left: 20px;
}

.privacy-policy li {
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

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

.footer a {
    color: #fff;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }

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

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

/* Use Cases Section */
.use-cases {
    background-color: var(--light-gray);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.use-case-item {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.use-case-image {
    width: 100%; /* Зображення буде розтягуватись на всю ширину картки */
    height: auto; /* Зберігаємо пропорції */
    border-radius: 8px; /* Заокруглюємо кути, як у самої картки */
    margin-bottom: 1.5rem; /* Збільшуємо відступ знизу */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* Додаємо легку тінь для об'єму */
    border: 1px solid #eee; /* Тонка рамка для завершеності */
}

.use-case-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

/* Key Features Section */
.key-features {
    padding-bottom: 30px; /* Reducing padding as it's a summary */
}

.features-list-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.checkmark {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-right: 15px;
}

/* Responsive adjustments for new sections */
@media (max-width: 768px) {
    .features-list-container {
        grid-template-columns: 1fr;
    }
}
