@font-face {
    font-family: 'Inter';
    font-style: normal;
    /* Указываем диапазон поддерживаемых весов для вариативного шрифта */
    font-weight: 300 400 600 700 800; 
    font-display: swap;
  	    /* Указываем путь к вашему локальному variable-файлу */
    src: url('../fonts/Inter-VariableFont.ttf') format('truetype-variations'),
         url('../fonts/Inter-VariableFont.ttf') format('truetype');
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0c12;
    min-height: 100vh;
    color: #ffffff;
    overflow-x: hidden;
    position: relative;
}

/* ========= АНИМАЦИЯ ЭЛЕКТРОННЫХ СХЕМ (фон) ========= */
.circuit-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.3;
}

.circuit-line {
    position: absolute;
    background: rgba(0, 255, 255, 0.25);
    box-shadow: 0 0 6px rgba(0, 255, 255, 0.5);
    transition: all 0.2s ease;
}

/* динамические линии будут генерироваться js, но добавим и статический канвас-эффект */
canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 0;
    pointer-events: none;
}

/* основной контент поверх фона */
.wrapper {
    position: relative;
    z-index: 2;
    max-width: 1300px;
    margin: 0 auto;
    padding: 2rem 2rem 3rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(1px);
}

/* header с логотипом и статусом */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 4rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lightning-icon {
    font-size: 2.2rem;
    color: #00ffff;
    filter: drop-shadow(0 0 8px cyan);
    animation: pulseGlow 2s infinite alternate;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #FFFFFF, #00ffff, #8a2be2);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.status-badge {
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    padding: 0.6rem 1.4rem;
    border-radius: 60px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(0, 255, 255, 0.5);
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.2);
    transition: all 0.3s;
}

.status-badge i {
    margin-right: 8px;
    color: #00ffff;
}

/* главный герой */
.hero {
    text-align: center;
    margin: 2rem 0 3rem;
}

.hero h1 {
    font-size: clamp(2.4rem, 7vw, 4.5rem);
    font-weight: 800;
    background: linear-gradient(125deg, #FFFFFF 20%, #aaffff 50%, #b77eff 80%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 1.2rem;
    letter-spacing: -1px;
    animation: fadeSlideUp 0.9s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.hero h1 i {
    background: none;
    color: #ffd966;
    font-size: 0.9em;
    margin-right: 10px;
}

.dev-message {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(20, 30, 45, 0.7);
    backdrop-filter: blur(12px);
    padding: 0.8rem 2rem;
    border-radius: 60px;
    border: 1px solid rgba(0, 255, 255, 0.4);
    margin-top: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
}

.dev-message .pulse-dot {
    width: 12px;
    height: 12px;
    background: #00ffaa;
    border-radius: 50%;
    box-shadow: 0 0 12px #00ffaa;
    animation: pulseRed 1.5s infinite;
}

/* карточки фич */
.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0 4rem;
}

.feature-card {
    background: rgba(15, 20, 30, 0.6);
    backdrop-filter: blur(12px);
    border-radius: 32px;
    padding: 2rem 1.8rem;
    width: 280px;
    text-align: center;
    border: 1px solid rgba(0, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    cursor: default;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.feature-card:hover {
    transform: translateY(-12px);
    border-color: rgba(0, 255, 255, 0.8);
    box-shadow: 0 20px 35px -12px rgba(0, 255, 255, 0.3);
    background: rgba(20, 30, 45, 0.8);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.2rem;
    color: #00ffff;
    transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(3deg);
}

.feature-card h3 {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    letter-spacing: -0.3px;
}

.feature-card p {
    font-size: 0.95rem;
    opacity: 0.85;
    line-height: 1.4;
}

/* блок информации о проекте */
.info-section {
    background: rgba(8, 12, 20, 0.65);
    backdrop-filter: blur(12px);
    border-radius: 48px;
    padding: 2.2rem 2rem;
    margin: 1rem 0 2rem;
    border: 1px solid rgba(0, 255, 255, 0.25);
    transition: all 0.3s;
}

.info-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
    align-items: center;
}

.info-text {
    flex: 2;
    min-width: 240px;
}

.info-text h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
    background: linear-gradient(135deg, #e0e0ff, #80ffff);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.info-text p {
    font-size: 1rem;
    line-height: 1.5;
    color: #cfddee;
    margin-bottom: 1rem;
}

.contact-email {
    flex: 1;
    min-width: 240px;
    background: rgba(0, 20, 30, 0.5);
    border-radius: 28px;
    padding: 1.5rem;
    text-align: center;
    border: 1px dashed rgba(0, 255, 200, 0.5);
    transition: 0.3s;
}

.contact-email:hover {
    border: 1px solid #00ffff;
    background: rgba(0, 40, 50, 0.5);
}

.contact-email i {
    font-size: 2.5rem;
    color: #00ffff;
    margin-bottom: 0.8rem;
}

.contact-email a {
    color: #bbf0ff;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid cyan;
    transition: 0.2s;
    word-break: break-all;
}

.contact-email a:hover {
    color: white;
    text-shadow: 0 0 6px cyan;
}

/* футер */
.footer {
    margin-top: 3rem;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.6;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
    padding-top: 2rem;
}

/* анимации */
@keyframes pulseGlow {
    0% {
        text-shadow: 0 0 2px cyan;
        opacity: 0.9;
    }
    100% {
        text-shadow: 0 0 14px cyan;
        opacity: 1;
    }
}

@keyframes pulseRed {
    0% {
        opacity: 0.4;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* адаптивность */
@media (max-width: 800px) {
    .wrapper {
        padding: 1.2rem;
    }
    .top-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    .features {
        gap: 1.2rem;
    }
    .feature-card {
        width: 100%;
        max-width: 320px;
    }
    .info-grid {
        flex-direction: column;
        text-align: center;
    }
    .contact-email {
        width: 100%;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .feature-card {
        padding: 1.5rem;
    }
    .status-badge {
        font-size: 0.75rem;
    }
    .logo-text {
        font-size: 1.4rem;
    }
}

/* кнопка-декор (дополнительный стиль) */
.glow-text {
    color: cyan;
}
