/* Reset и базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-bg: #0a0a0f;
    --secondary-bg: #11111f;
    --accent: #00d9ff;
    --accent-hover: #00b8e6;
    --text-primary: #ffffff;
    --text-secondary: #a0a0c0;
    --text-muted: #666687;
    --border: #22223a;
    --card-bg: #16162a;
    --gradient: linear-gradient(135deg, #00d9ff, #a100ff);
    --gradient-2: linear-gradient(135deg, #a100ff, #00d9ff);
}

body {
    font-family: 'JetBrains Mono', monospace;
    background: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Анимированный фон */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient);
    opacity: 0.1;
    animation: float 20s infinite linear;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-delay: -5s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: -10s;
}

.shape-4 {
    width: 80px;
    height: 80px;
    top: 30%;
    right: 20%;
    animation-delay: -15s;
}

.shape-5 {
    width: 120px;
    height: 120px;
    bottom: 10%;
    right: 5%;
    animation-delay: -7s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(100px, 50px) rotate(90deg);
    }
    50% {
        transform: translate(50px, 100px) rotate(180deg);
    }
    75% {
        transform: translate(-50px, 50px) rotate(270deg);
    }
}

.code-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.code-particle {
    position: absolute;
    color: var(--accent);
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    opacity: 0.1;
    animation: particleFlow 15s infinite linear;
}

@keyframes particleFlow {
    0% {
        transform: translateX(100vw) translateY(var(--y)) rotate(0deg);
    }
    100% {
        transform: translateX(-100px) translateY(var(--y)) rotate(360deg);
    }
}

/* Навигация */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transform: translateY(-100%);
    animation: slideDown 0.8s ease-out 0.3s forwards;
}

@keyframes slideDown {
    to {
        transform: translateY(0);
    }
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    opacity: 0;
    animation: fadeInRight 0.6s ease-out forwards;
}

.nav-links a:nth-child(1) { animation-delay: 0.4s; }
.nav-links a:nth-child(2) { animation-delay: 0.5s; }
.nav-links a:nth-child(3) { animation-delay: 0.6s; }
.nav-links a:nth-child(4) { animation-delay: 0.7s; }

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Герой секция */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    margin-bottom: 30px;
}

.badge-text {
    background: rgba(0, 217, 255, 0.1);
    color: var(--accent);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    border: 1px solid rgba(0, 217, 255, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.greeting {
    color: var(--accent);
    font-size: 18px;
    margin-bottom: 10px;
    display: block;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.5s forwards;
}

.name {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.1;
}

.name-part {
    display: block;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.name-part:nth-child(1) { animation-delay: 0.7s; }
.name-part:nth-child(2) { 
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation-delay: 0.9s;
}

.title-wrapper {
    margin-bottom: 30px;
}

.title {
    font-size: 36px;
    color: var(--text-secondary);
    height: 50px;
}

.typed-text {
    color: var(--accent);
}

.cursor {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1.3s forwards;
}

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

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.cta-button {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.cta-button.primary {
    background: var(--gradient);
    color: var(--text-primary);
}

.cta-button.secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Терминал */
.hero-visual {
    position: relative;
}

.code-terminal {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s;
    opacity: 0;
    animation: fadeInRight 1s ease-out 1.5s forwards;
}

.code-terminal:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.terminal-header {
    background: var(--secondary-bg);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid var(--border);
}

.terminal-buttons {
    display: flex;
    gap: 8px;
}

.terminal-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-btn.close { background: #ff5f56; }
.terminal-btn.minimize { background: #ffbd2e; }
.terminal-btn.maximize { background: #27ca3f; }

.terminal-title {
    color: var(--text-secondary);
    font-size: 12px;
}

.terminal-body {
    padding: 25px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
}

.terminal-line {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.prompt {
    color: var(--accent);
}

.command {
    color: var(--text-primary);
}

.terminal-output {
    color: var(--text-secondary);
    margin-left: 25px;
    margin-bottom: 15px;
}

.git-branch {
    color: var(--accent);
}

.git-status {
    color: #27ca3f;
}

.typing {
    position: relative;
}

.typing::after {
    content: '';
    position: absolute;
    right: -8px;
    width: 2px;
    height: 1em;
    background: var(--accent);
    animation: blink 1s infinite;
}

.blink {
    animation: blink 1s infinite;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: var(--accent);
    position: relative;
    animation: bounce 2s infinite;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: -3px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Секции */
.section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 60px;
}

.section-title {
    font-size: 32px;
    color: var(--text-primary);
    white-space: nowrap;
}

.title-number {
    color: var(--accent);
    font-family: 'JetBrains Mono', monospace;
}

.section-line {
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* Секция About */
.about {
    padding: 120px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.7;
}

.tech-stack {
    margin-top: 40px;
}

.tech-stack h3 {
    color: var(--text-primary);
    margin-bottom: 25px;
    font-size: 20px;
}

.tech-grid {
    display: grid;
    gap: 30px;
}

.tech-category h4 {
    color: var(--accent);
    margin-bottom: 15px;
    font-size: 16px;
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-item {
    background: rgba(0, 217, 255, 0.1);
    color: var(--accent);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    border: 1px solid rgba(0, 217, 255, 0.3);
    transition: all 0.3s;
}

.tech-item:hover {
    background: rgba(0, 217, 255, 0.2);
    transform: translateY(-2px);
}

.about-image {
    position: relative;
}

.profile-card {
    width: 300px;
    height: 400px;
    perspective: 1000px;
}

.card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s;
}

.profile-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    overflow: hidden;
}

.card-front {
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-back {
    background: var(--card-bg);
    transform: rotateY(180deg);
    padding: 20px;
    border: 1px solid var(--border);
}

.profile-placeholder {
    text-align: center;
}

.avatar {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: bold;
    color: white;
    margin-bottom: 20px;
}

.code-snippet {
    color: var(--text-primary);
    font-size: 12px;
}

/* Секция Contact */
.contact {
    padding: 120px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 28px;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-info p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--card-bg);
    border-radius: 10px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.contact-item:hover {
    border-color: var(--accent);
    transform: translateX(10px);
}

.contact-icon {
    font-size: 20px;
}

.contact-text {
    flex: 1;
}

.contact-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.contact-value {
    font-size: 16px;
    color: var(--text-primary);
}

.cta-card {
    background: var(--gradient);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    color: white;
}

.cta-card h4 {
    font-size: 24px;
    margin-bottom: 15px;
}

.cta-card p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.availability {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #27ca3f;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Страница проектов */
.projects-hero {
    padding: 150px 0 80px;
}

.page-header {
    text-align: center;
}

.page-title {
    font-size: 48px;
    margin-bottom: 20px;
}

.page-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
}

.projects-showcase {
    padding: 80px 0 120px;
}

.project-featured {
    margin-bottom: 80px;
}

.project-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
}

.project-badge {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.badge {
    background: var(--gradient);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.status {
    background: rgba(39, 202, 63, 0.1);
    color: #27ca3f;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    border: 1px solid rgba(39, 202, 63, 0.3);
}

.project-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.project-title {
    font-size: 36px;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.7;
}

.project-features {
    margin-bottom: 30px;
}

.project-features h4 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 18px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
}

.feature-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

.project-technologies {
    margin-bottom: 30px;
}

.project-technologies h4 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-size: 18px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-tag {
    background: rgba(0, 217, 255, 0.1);
    color: var(--accent);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    border: 1px solid rgba(0, 217, 255, 0.3);
    transition: all 0.3s;
}

.tech-tag:hover {
    background: rgba(0, 217, 255, 0.2);
    transform: translateY(-2px);
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient);
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.project-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
}

.project-visual {
    position: relative;
}

.visual-container {
    position: relative;
}

.calculator-preview {
    background: var(--secondary-bg);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid var(--border);
    position: relative;
    z-index: 2;
}

.calc-screen {
    background: var(--primary-bg);
    border-radius: 10px;
    padding: 25px;
    border: 1px solid var(--border);
}

.calc-header {
    text-align: center;
    margin-bottom: 25px;
    color: var(--accent);
    font-weight: 600;
}

.calc-body {
    color: var(--text-secondary);
}

.calc-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.value {
    color: var(--text-primary);
    font-weight: 600;
}

.calc-result {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 2px solid var(--accent);
    text-align: center;
}

.result-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.result-value {
    font-size: 24px;
    color: var(--accent);
    font-weight: 700;
}

.floating-elements {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    pointer-events: none;
}

.element {
    position: absolute;
    font-size: 24px;
    animation: floatElement 6s infinite ease-in-out;
}

.element-1 {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.element-2 {
    bottom: 20%;
    left: 5%;
    animation-delay: -2s;
}

.element-3 {
    top: 50%;
    right: 5%;
    animation-delay: -4s;
}

@keyframes floatElement {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(120deg);
    }
    66% {
        transform: translateY(10px) rotate(240deg);
    }
}

.coming-soon {
    text-align: center;
}

.coming-soon-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 60px 40px;
    border: 1px solid var(--border);
}

.coming-soon-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.coming-soon-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.coming-soon-card p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.progress-bar {
    width: 200px;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    margin: 0 auto;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient);
    animation: progress 2s infinite linear;
}

@keyframes progress {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Детальная страница проекта */
.project-detail-hero {
    padding: 150px 0 80px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 30px;
    transition: color 0.3s;
}

.back-link:hover {
    color: var(--text-primary);
}

.project-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.project-category, .project-year {
    background: rgba(0, 217, 255, 0.1);
    color: var(--accent);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    border: 1px solid rgba(0, 217, 255, 0.3);
}

.project-title-large {
    font-size: 48px;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
}

.project-detail-content {
    padding: 80px 0 120px;
}

.project-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
    align-items: start;
}

.overview-text h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.overview-text p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
}

.project-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.overview-visual {
    position: relative;
}

.visual-showcase {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 40px;
    border: 1px solid var(--border);
}

.calculator-demo {
    width: 100%;
    height: 300px;
    background: var(--primary-bg);
    border-radius: 10px;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.calculator-demo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 49%, rgba(0, 217, 255, 0.1) 50%, transparent 51%);
    background-size: 10px 10px;
    animation: scan 2s linear infinite;
}

@keyframes scan {
    0% { background-position: 0 0; }
    100% { background-position: 10px 10px; }
}

.project-features-detailed {
    margin-bottom: 80px;
}

.project-features-detailed h2 {
    font-size: 32px;
    margin-bottom: 40px;
    text-align: center;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--accent);
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.project-download {
    margin-top: 60px;
}

.download-card {
    background: var(--gradient);
    border-radius: 20px;
    padding: 50px;
    color: white;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.download-info h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.download-info p {
    margin-bottom: 25px;
    opacity: 0.9;
    line-height: 1.6;
}

.download-features {
    list-style: none;
}

.download-features li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.download-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.download-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 15px 30px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.download-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.modal-content {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    border: 1px solid var(--border);
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 25px;
}

.modal-header h3 {
    font-size: 24px;
    color: var(--text-primary);
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-body p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.6;
}

.contact-info-modal {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    padding: 15px;
    background: rgba(0, 217, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(0, 217, 255, 0.1);
}

/* Футер */
footer {
    background: var(--secondary-bg);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.footer-info {
    display: flex;
    gap: 40px;
    margin-bottom: 20px;
}

.footer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-label {
    color: var(--accent);
    font-size: 12px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-value {
    color: var(--text-primary);
    font-size: 16px;
}

.copyright {
    color: var(--text-muted);
    font-size: 14px;
    text-align: center;
}

/* Адаптивность */
@media (max-width: 968px) {
    .hero-container,
    .about-content,
    .contact-content,
    .project-content,
    .project-overview,
    .download-card {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .name {
        font-size: 48px;
    }
    
    .title {
        font-size: 28px;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .project-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        justify-content: center;
    }
    
    .footer-info {
        flex-direction: column;
        gap: 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Анимации появления при скролле */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s, transform 0.8s;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Стили для иконок статусов */
.stat-icon {
    font-size: 36px;
    margin-bottom: 10px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    text-align: center;
}

.project-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    flex: 1;
    min-width: 120px;
}

/* Убедимся, что числовые счетчики имеют правильные стили */
.stat-number[data-count] {
    font-size: 36px;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

/* Стили для блока обновления */
.update-notice-section {
    margin: 60px 0;
}

.update-notice-section .project-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.update-notice-section .project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
}

.update-notice-section .project-badge {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.update-notice-section .badge {
    background: var(--gradient);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.update-notice-section .status {
    background: rgba(39, 202, 63, 0.1);
    color: #27ca3f;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    border: 1px solid rgba(39, 202, 63, 0.3);
}

.update-notice-section .project-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.update-notice-section .project-title {
    font-size: 36px;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.update-notice-section .project-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.7;
}

.update-notice-section .project-features {
    margin-bottom: 30px;
}

.update-notice-section .project-features h4 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 18px;
}

.update-notice-section .features-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.update-notice-section .feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
}

.update-notice-section .feature-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}

.update-notice-section .project-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.update-notice-section .project-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient);
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.update-notice-section .project-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
}

.update-notice-section .calculator-preview {
    background: var(--secondary-bg);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid var(--border);
    position: relative;
    z-index: 2;
}

.update-notice-section .calc-screen {
    background: var(--primary-bg);
    border-radius: 10px;
    padding: 25px;
    border: 1px solid var(--border);
}

.update-notice-section .calc-header {
    text-align: center;
    margin-bottom: 25px;
    color: var(--accent);
    font-weight: 600;
}

.update-notice-section .calc-body {
    color: var(--text-secondary);
}

.update-notice-section .calc-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.update-notice-section .value {
    color: var(--text-primary);
    font-weight: 600;
}

.update-notice-section .calc-result {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 2px solid var(--accent);
    text-align: center;
}

.update-notice-section .result-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.update-notice-section .result-value {
    font-size: 24px;
    color: var(--accent);
    font-weight: 700;
}

/* Адаптивность для блока обновления */
@media (max-width: 968px) {
    .update-notice-section .project-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .update-notice-section .project-actions {
        flex-direction: column;
    }
    
    .update-notice-section .project-link,
    .update-notice-section .cta-button.secondary {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}
