/* --- Базові налаштування (Reset) --- */
:root {
    --bg-color: #000000;
    --bg-secondary: #121212;
    --text-primary: #ffffff;
    --text-gray: #86868b;
    --accent-blue: #2997ff;
    --section-spacing: 120px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden; /* Прибирає горизонтальний скрол */
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Навігація --- */
.navbar {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px); /* Ефект розмиття Apple */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
}

.logo {
    font-weight: 600;
    font-size: 18px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links li {
    font-size: 12px;
    color: var(--text-gray);
    cursor: pointer;
    transition: color 0.3s ease;
}

.nav-links li:hover {
    color: var(--text-primary);
}

/* --- Hero Section (Головний екран) --- */
.hero {
    text-align: center;
    padding-top: 150px;
    padding-bottom: var(--section-spacing);
}

.new-badge {
    color: #f56300;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.subtitle {
    font-size: 24px;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-bottom: 60px;
}

.btn-primary {
    background-color: var(--accent-blue);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #0071e3;
    transform: scale(1.02);
}

.link {
    color: var(--accent-blue);
    text-decoration: none;
    font-size: 14px;
}

.link:hover {
    text-decoration: underline;
}

/* Стилі для головного фото */
.hero-image-container {
    max-width: 800px;
    margin: 0 auto;
}

.hero-img {
    width: 100%;
    height: auto;
    /* Проста анімація появи */
    animation: fadeInUp 1s ease-out;
}

/* --- Banner Section (Ряд телефонів) --- */
.banner-section {
    text-align: center;
    padding: var(--section-spacing) 0;
    background-color: var(--bg-secondary); /* Трохи світліший фон */

}

p {
    font-size: 18px;
    color: var(--text-gray);
    max-width: 700px;
    margin: 20px auto 0 auto;
    line-height: 1.6;
}

.banner-section h2 {
    font-size: 40px;
    margin-bottom: 40px;
}

.banner-img {
    width: 100%;
    max-width: 900px;
    height: auto;
}

/* --- Features Section (Сітка характеристик) --- */
.features {
    padding: var(--section-spacing) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.feature-card {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 30px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255,255,255,0.05);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.2);
}

.card-dark {
     background: #0a0a0a; /* Ще темніша картка для контрасту */
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.5;
    margin-bottom: 30px;
}

.feature-icon-placeholder {
    font-size: 50px;
    margin-top: 20px;
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 50px 0;
    color: var(--text-gray);
    font-size: 12px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* --- Анімації --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Адаптивність (для мобільних) --- */
@media (max-width: 768px) {
    .nav-links { display: none; } /* Ховаємо меню на мобільному */
    h1 { font-size: 42px; }
    .subtitle { font-size: 20px; }
    .banner-section h2 { font-size: 32px; }

}