* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #8B4513 0%, #654321 100%);
    min-height: 100vh;
}

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

/* Header */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #D2691E;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    width: 40px;
    height: 40px;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #8B4513;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #8B4513;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 4rem 0;
    color: white;
}

.hero-content .logo {
    width: 120px;
    height: 120px;
    margin-bottom: 2rem;
    border-radius: 50%;
    border: 3px solid #D2691E;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.project-description {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.project-description h2 {
    color: #FFD700;
    margin-bottom: 1rem;
}

.features-list {
    list-style: none;
    text-align: left;
    max-width: 500px;
    margin: 2rem auto;
}

.features-list li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
}

/* Countdown */
.countdown {
    background: rgba(139, 69, 19, 0.8);
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.subscribe-form {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 1rem;
}

.subscribe-form input {
    padding: 12px;
    border: none;
    border-radius: 5px;
    width: 300px;
    font-size: 1rem;
}

.subscribe-form button {
    padding: 12px 24px;
    background: #FFD700;
    color: #8B4513;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.subscribe-form button:hover {
    background: #FFC400;
}

/* SEO Content */
.seo-content {
    text-align: left;
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 15px;
    margin-top: 3rem;
    color: #333;
}

.seo-content h2, .seo-content h3 {
    color: #8B4513;
    margin-bottom: 1rem;
}

.seo-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.seo-content li {
    margin-bottom: 0.5rem;
}

/* Footer */
.site-footer {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #D2691E;
    margin-bottom: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .subscribe-form {
        flex-direction: column;
    }
    
    .subscribe-form input {
        width: 100%;
    }
}

/* Footer improvements */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: center; /* Центрируем текст */
}

.footer-section {
    display: flex;
    flex-direction: column;
    align-items: center; /* Центрируем содержимое */
    justify-content: center;
}

.footer-section h4 {
    color: #D2691E;
    margin-bottom: 1rem;
    width: 100%;
}

.footer-section p {
    margin-bottom: 0.5rem;
    max-width: 300px; /* Ограничиваем ширину для лучшего вида */
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 5px;
    margin: 1rem 0;
    text-align: center;
    font-weight: bold;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Privacy note */
.privacy-note {
    font-size: 0.9rem;
    color: #ccc;
    margin-top: 1rem;
    font-style: italic;
}

/* Better form styling */
.subscribe-form {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.subscribe-form input {
    padding: 12px;
    border: none;
    border-radius: 5px;
    min-width: 250px;
    font-size: 1rem;
}

.subscribe-form button {
    padding: 12px 24px;
    background: #FFD700;
    color: #8B4513;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    white-space: nowrap;
}

.subscribe-form button:hover {
    background: #FFC400;
    transform: translateY(-2px);
}

/* Responsive footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .subscribe-form {
        flex-direction: column;
        align-items: center;
    }
    
    .subscribe-form input {
        min-width: 200px;
    }
}