:root {
    --bg-main: #0f0f11;
    --bg-surface: #1a1a1d;
    --bg-surface-hover: #232328;
    --text-main: #ffffff;
    --text-muted: #9ca3af;
    --accent: #2e81ff;
    --accent-hover: #1c6deb;
    --border: rgba(255, 255, 255, 0.08);
    --radius: 16px;
    --font: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font);
    line-height: 1.6;
    overflow-x: hidden;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: #1e1e1e;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-title {
    color: #fff;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 20px;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: #888;
    font-size: 28px;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #fff;
}

.modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
    border: none;
}

.dropbox-btn {
    background-color: #0061FE;
}

.dropbox-btn:hover {
    background-color: #004ecc;
}

.yandex-btn {
    background-color: #FC3F1D;
}

.yandex-btn:hover {
    background-color: #d63215;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    font-weight: 700;
}

.hero-logo {
    width: 140px;
    height: 140px;
    border-radius: 24px;
    margin-bottom: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-top: 10px;
}

.carousel-container {
    overflow: hidden;
    margin-top: 40px;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.carousel-track {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    width: max-content;
    animation: scroll 30s linear infinite;
}

.carousel-track img {
    height: 400px;
    border-radius: 20px;
    border: 1px solid var(--border);
    flex-shrink: 0;
}

.text-center {
    text-align: center;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.expression-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px 20px;
}

.metric-block {
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.metric-block .num {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
}

.mascot-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px 20px;
}

.mascot-grid img {
    width: 550px;
    height: auto;
}
.mascot-text h2 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 10px;
}
.mascot-text h4 {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-weight: normal;
}

.for-whom {
    background-attachment: scroll !important;
    background-position: center -40px;
    background-size: cover;
    padding: 120px 0;
}

.for-whom-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.target-card {
    background: rgba(26, 26, 29, 0.6);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 35px 30px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.target-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    font-weight: 800;
    text-transform: uppercase;
}

.target-card p {
    color: var(--text-muted);
}

.target-blue { border-color: #2e81ff; box-shadow: 0 10px 30px rgba(46, 129, 255, 0.15); }
.target-blue h3 { color: #2e81ff; }

.target-red { border-color: #ff4b4b; box-shadow: 0 10px 30px rgba(255, 75, 75, 0.15); }
.target-red h3 { color: #ff4b4b; }

.target-yellow { border-color: #ffca2e; box-shadow: 0 10px 30px rgba(255, 202, 46, 0.15); }
.target-yellow h3 { color: #ffca2e; }

.target-green { border-color: #2eff7e; box-shadow: 0 10px 30px rgba(46, 255, 126, 0.15); }
.target-green h3 { color: #2eff7e; }

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.team-card {
    background: var(--bg-surface);
    padding: 40px;
    border-radius: var(--radius);
    text-align: center;
}

.team-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid var(--accent);
}

.role {
    color: var(--accent);
    display: block;
    margin-bottom: 15px;
    font-weight: 600;
}

.navbar {
    position: absolute;
    top: 0;
    width: 100%;
    background: rgba(15, 15, 17, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 1.5rem;
}

.logo img {
    width: 40px;
    height: auto;
}

.lang-selector {
    display: flex;
    gap: 8px;
    align-items: center;
}

.lang-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
}

.lang-btn.active, .lang-btn:hover {
    opacity: 1;
    background: var(--bg-surface-hover);
}

.lang-btn img {
    border-radius: 4px;
}

.hero {
    padding-top: 140px;
    text-align: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #a5a5a5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.button-group {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--bg-surface);
    color: white;
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-surface-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 1px solid var(--border);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.05);
    transform: translateY(-2px);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.feature-card:nth-child(1) { transition-delay: 0.1s; }
.feature-card:nth-child(2) { transition-delay: 0.2s; }
.feature-card:nth-child(3) { transition-delay: 0.3s; }

.feature-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    padding: 32px;
    border-radius: var(--radius);
    transition: transform 0.3s ease;
}

.feature-card, .target-card, .team-card {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* .feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--accent);
} */

.icon-wrapper {
    width: 50px;
    height: 50px;
    background: rgba(46, 129, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.icon-wrapper i {
    color: var(--accent);
    width: 24px;
    height: 24px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.promo-container {
    background: linear-gradient(145deg, var(--bg-surface), #0b0b0d);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 60px 40px;
    text-align: center;
}

.promo-container img {
    width: 600px;
    height: auto;
    margin-bottom: 40px;
}

.promo-icon {
    width: 64px;
    height: 64px;
    color: var(--accent);
    margin-bottom: 24px;
}

.promo-container h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.promo-container p {
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    padding: 24px;
    border-radius: 12px;
}

.faq-card summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    color: #fff;
    list-style: none;
    outline: none;
}

.faq-card summary::-webkit-details-marker {
    display: none;
}

.faq-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 15px;
    line-height: 1.6;
}

.footer {
    border-top: 1px solid var(--border);
    padding: 40px 0;
    text-align: center;
    color: var(--text-muted);
}

.fade-in {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition:
        opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.feature-header i {
    color: var(--accent);
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.feature-card h3 {
    margin-bottom: 0;
    font-size: 1.25rem;
    line-height: 1.2;
}

.btn-apk:active {
    transform: scale(0.95);
    background: rgba(255, 255, 255, 0.1);
}

img {
    max-width: 100%;
    height: auto;
}

/* .expression-grid, .mascot-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px 20px;
} */

@media (min-width: 992px) {
    .expression-grid { grid-template-columns: 1fr 1fr; padding: 60px; }
    .mascot-grid { grid-template-columns: 350px 1fr; }
}

@media (min-width: 640px) {
    .for-whom-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .for-whom-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 120px;
        padding-bottom: 60px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
        letter-spacing: -1px;
    }

    .hero .subtitle {
        font-size: 1rem;
        padding: 0 10px;
    }

    .button-group {
        gap: 12px;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 16px;
    }

    .hero-logo {
        width: 100px;
        height: 100px;
        border-radius: 20px;
    }

    .feature-header {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .carousel-track img {
        height: 250px;
    }
}
