/* === Стили лендинга === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
header {
    padding: 20px 0; border-bottom: 1px solid var(--border);
    background: var(--surface); position: sticky; top: 0; z-index: 10;
}
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo-img {
    height: 36px; width: auto;
    filter: drop-shadow(0 0 12px rgba(79,143,255,0.4));
}
.nav-links { display: flex; gap: 16px; align-items: center; }
.btn-outline {
    padding: 8px 20px; border: 1px solid var(--btn-outline-border); border-radius: 8px;
    background: var(--btn-outline-bg); color: var(--text-secondary);
    font-size: 14px; cursor: pointer; transition: all 0.3s; text-decoration: none;
    display: inline-block;
}
.btn-outline:hover {
    border-color: var(--accent); color: var(--hero-title);
    box-shadow: 0 0 20px rgba(79,143,255,0.15); background: rgba(79,143,255,0.08);
}
.btn-small-primary {
    padding: 8px 20px; background: linear-gradient(135deg, #4f8fff, #7c3aed);
    color: #ffffff; border: none; border-radius: 8px; font-size: 14px;
    font-weight: 500; cursor: pointer; transition: all 0.3s; text-decoration: none;
    display: inline-block;
}
.btn-small-primary:hover { transform: translateY(-1px); box-shadow: 0 0 20px rgba(139,92,246,0.5); }
.theme-toggle {
    background: none; border: none; cursor: pointer; font-size: 1.5rem;
    padding: 4px; color: var(--text); transition: 0.2s;
}
.theme-toggle:hover { opacity: 0.8; }
.hero {
    padding: 120px 0 100px; text-align: center; position: relative;
}
.hero h1 {
    font-size: clamp(40px, 8vw, 64px); font-weight: 700; line-height: 1.1;
    letter-spacing: -1.5px; margin-bottom: 24px; color: var(--hero-title);
}
.hero h1 span {
    background: linear-gradient(135deg, #4f8fff, #c084fc);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    animation: gradientShift 4s ease infinite alternate;
}
@keyframes gradientShift {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(15deg); }
}
.hero p {
    font-size: 20px; color: var(--text-secondary); max-width: 680px; margin: 0 auto 40px;
}
.btn-primary {
    padding: 16px 42px; background: linear-gradient(135deg, #4f8fff, #7c3aed);
    color: #ffffff; border: none; border-radius: 12px; font-size: 18px;
    font-weight: 600; cursor: pointer; transition: all 0.3s; text-decoration: none;
    display: inline-block; position: relative; overflow: hidden;
    box-shadow: 0 0 30px rgba(79,143,255,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 50px rgba(139,92,246,0.5); }
.btn-primary::before {
    content: ""; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}
.btn-primary:hover::before { left: 100%; }

.features { padding: 80px 0; }
.section-title {
    font-size: 36px; font-weight: 700; text-align: center; margin-bottom: 24px;
    color: var(--hero-title); text-shadow: 0 0 20px rgba(79,143,255,0.2);
}
.section-subtitle { text-align: center; color: var(--text-secondary); margin-bottom: 64px; font-size: 18px; }
.grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px;
}
.card {
    background: var(--card-bg); backdrop-filter: blur(12px);
    border: 1px solid var(--border); border-radius: 20px;
    padding: 36px 32px; transition: all 0.4s; position: relative; overflow: hidden;
}
.card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(79,143,255,0.08), transparent 70%);
    opacity: 0; transition: opacity 0.4s;
}
.card:hover::before { opacity: 1; }
.card:hover {
    border-color: rgba(79,143,255,0.3); transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 30px rgba(79,143,255,0.1);
}
.card-icon {
    font-size: 28px; margin-bottom: 20px; display: inline-block;
    background: rgba(79,143,255,0.1); padding: 10px; border-radius: 12px; color: #4f8fff;
}
.card h3 { font-size: 20px; margin-bottom: 12px; color: var(--text); position: relative; }
.card p { color: var(--text-secondary); font-size: 15px; line-height: 1.7; position: relative; }
.how-it-works { padding: 80px 0; }
.steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 48px; margin-top: 48px; }
.step { text-align: center; flex: 1; min-width: 200px; max-width: 250px; }
.step-number {
    display: inline-block; width: 48px; height: 48px; border-radius: 50%;
    background: linear-gradient(135deg, #4f8fff, #7c3aed);
    color: #fff; font-weight: 700; font-size: 20px; line-height: 48px;
    margin-bottom: 16px;
}
.step h4 { color: var(--text); margin-bottom: 8px; }
.step p { color: var(--text-secondary); font-size: 14px; }
.cta {
    background: var(--card-bg); backdrop-filter: blur(12px);
    border: 1px solid var(--border); border-radius: 24px;
    padding: 80px 40px; text-align: center; margin: 40px 0 80px;
    position: relative; overflow: hidden;
}
.cta::before {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle at center, rgba(79,143,255,0.05), transparent 60%);
    animation: ctaPulse 8s infinite alternate;
}
@keyframes ctaPulse {
    0% { transform: scale(0.9); opacity: 0.5; }
    100% { transform: scale(1.1); opacity: 1; }
}
.cta h2 { font-size: 36px; font-weight: 700; margin-bottom: 16px; color: var(--hero-title); position: relative; }
.cta p { color: var(--text-secondary); margin-bottom: 36px; position: relative; font-size: 18px; }
footer {
    border-top: 1px solid var(--border); padding: 36px 0;
    text-align: center; color: #6b7280; font-size: 14px;
    backdrop-filter: blur(10px); background: var(--surface);
}

/* Мобильные */
@media (max-width: 768px) {
    .container { padding: 0 16px; }
    .hero { padding: 80px 0 60px; }
    .hero h1 { font-size: 32px; }
    .hero p { font-size: 16px; padding: 0 16px; }
    .btn-primary { padding: 14px 32px; font-size: 16px; }
    .grid { grid-template-columns: 1fr; gap: 16px; }
    .section-title { font-size: 28px; }
    .section-subtitle { font-size: 16px; }
    .card { padding: 24px 20px; }
    .card h3 { font-size: 18px; }
    .cta { padding: 40px 20px; }
    .cta h2 { font-size: 28px; }
    .cta p { font-size: 16px; }
    .steps { flex-direction: column; align-items: center; }
    .step { max-width: 100%; }
}
