/* assets/style.css - Единый стиль для всего сайта */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecf2 100%);
    min-height: 100vh;
    color: #2d3748;
}

/* Логотип */
.logo {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.logo span:first-child {
    color: #1a202c;
}

.logo span:last-child {
    background: linear-gradient(135deg, #f97316 0%, #b45309 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-left: 2px;
}

/* Навигация */
.navbar {
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 20px 40px;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: #f97316;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #f97316 0%, #b45309 100%);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-family: 'Montserrat', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, #f97316 0%, #b45309 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.btn-secondary {
    background: white;
    color: #2d3748;
    border: 2px solid #e2e8f0;
}

.btn-secondary:hover {
    border-color: #f97316;
    color: #f97316;
}

.btn-outline {
    background: transparent;
    border: 2px solid #f97316;
    color: #f97316;
}

.btn-outline:hover {
    background: #f97316;
    color: white;
}

/* Карточки */
.card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Заголовки */
h1 {
    font-size: 36px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 15px;
}

h2 {
    font-size: 24px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 20px;
}

/* Код подтверждения */
.code-box {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    margin: 25px 0;
}

.code-number {
    font-size: 64px;
    font-weight: 700;
    letter-spacing: 15px;
    color: white;
    font-family: 'Montserrat', monospace;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.code-timer {
    color: #a0aec0;
    font-size: 14px;
    margin-top: 10px;
}

/* Статус сообщения */
.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin: 20px 0;
    font-weight: 500;
}

.alert-success {
    background: #c6f6d5;
    color: #22543d;
    border-left: 4px solid #48bb78;
}

.alert-error {
    background: #fed7d7;
    color: #742a2a;
    border-left: 4px solid #f56565;
}

.alert-info {
    background: #bee3f8;
    color: #2c5282;
    border-left: 4px solid #4299e1;
}

/* Сетка */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

/* Футер */
.footer {
    text-align: center;
    padding: 40px;
    color: #718096;
    font-size: 14px;
    border-top: 1px solid #e2e8f0;
    margin-top: 60px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    h1 {
        font-size: 28px;
    }
    
    .code-number {
        font-size: 48px;
        letter-spacing: 8px;
    }
}