/* ═══════════════════════════════════════════════════════════════════
   KUZNYA THEME — STYLES
   Forge-палитра: графит + медь + искры
   ═══════════════════════════════════════════════════════════════════ */

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter Tight', 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

a { color: inherit; text-decoration: none; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ═══ HEADER ═══ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 16px 0;
    background: rgba(var(--bg-rgb), 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(var(--text-rgb), 0.06);
}
.site-header .container {
    display: flex;
    align-items: center;
    gap: 32px;
}
.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.site-logo em {
    color: var(--primary);
    font-style: normal;
    font-weight: 800;
}
.site-nav {
    display: flex;
    gap: 28px;
    margin-left: auto;
    font-size: 15px;
    font-weight: 500;
}
.site-nav a { color: var(--text-muted); transition: color 0.15s; }
.site-nav a:hover { color: var(--text); }

.site-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* ═══ BUTTONS ═══ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.15s;
    border: 1px solid transparent;
    cursor: pointer;
}
.btn-primary {
    background: var(--primary);
    color: #fff;
}
.btn-primary:hover {
    background: var(--primary-light);
    box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.35);
}
.btn-ghost {
    color: var(--text);
    border-color: rgba(var(--text-rgb), 0.12);
}
.btn-ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.btn-outline {
    border-color: var(--primary);
    color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

/* ═══ HERO ═══ */
.hero {
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}
.hero-content {
    max-width: 860px;
    text-align: center;
    margin: 0 auto;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    color: var(--primary-light);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
}
.hero-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.hero-title {
    font-size: clamp(40px, 6vw, 76px);
    font-weight: 800;
    margin-bottom: 24px;
}
.hero-title .accent {
    color: var(--primary);
    position: relative;
}
.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
}
.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
}
.hero-actions .btn {
    padding: 14px 26px;
    font-size: 15px;
}
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 720px;
    margin: 0 auto;
}
.hero-stats .stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.hero-stats .stat strong {
    font-family: 'Inter Tight', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.03em;
}
.hero-stats .stat span {
    font-size: 13px;
    color: var(--text-muted);
}

/* ═══ FOOTER ═══ */
.site-footer {
    margin-top: 80px;
    padding: 60px 0 32px;
    background: var(--bg-light);
    border-top: 1px solid rgba(var(--text-rgb), 0.06);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-col h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 16px;
    font-weight: 600;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
    color: var(--text);
    font-size: 14px;
    transition: color 0.15s;
}
.footer-col ul a:hover { color: var(--primary); }
.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 12px;
    max-width: 320px;
}
.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(var(--text-rgb), 0.06);
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-muted);
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--primary); }
.footer-legal .dot { margin: 0 8px; opacity: 0.4; }

/* ═══ MOBILE ═══ */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 20px;
    cursor: pointer;
}

@media (max-width: 900px) {
    .site-nav { display: none; }
    .nav-toggle { display: block; margin-left: auto; }
    .site-actions { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 560px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 12px; }
}