:root {
    --primary: #FFD700;
    --primary-dark: #E6C200;
    --primary-light: #FFE44D;
    --black: #0D0D0D;
    --black-light: #1A1A1A;
    --black-lighter: #2A2A2A;
    --gray-dark: #3A3A3A;
    --gray: #6B6B6B;
    --gray-light: #9A9A9A;
    --white: #FFFFFF;
    --bg-dark: #111111;
    --bg-card: #1A1A1A;
    --border: #333333;
    --success: #22C55E;
    --warning: #F59E0B;
    --error: #EF4444;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.6);
    --shadow-gold: 0 0 20px rgba(255, 215, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--white);
    background-color: var(--bg-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

#menuToggle {
    display: none;
}

#menuToggle:checked ~ .header .nav {
    left: 0;
}

#menuToggle:checked ~ .header .mobile-menu-label span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#menuToggle:checked ~ .header .mobile-menu-label span:nth-child(2) {
    opacity: 0;
}

#menuToggle:checked ~ .header .mobile-menu-label span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--primary-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.header {
    background-color: var(--black);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--white);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo svg {
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-brand {
    color: var(--primary);
    font-size: 22px;
    font-weight: 800;
}

.logo-number {
    color: var(--white);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-link {
    display: block;
    padding: 8px 16px;
    text-decoration: none;
    color: var(--gray-light);
    font-weight: 500;
    font-size: 15px;
    border-radius: 6px;
    transition: all 0.3s;
}

.nav-link:hover {
    color: var(--white);
    background-color: var(--black-lighter);
}

.nav-link.active {
    color: var(--black);
    background-color: var(--primary);
}

.mobile-menu-label {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-label span {
    width: 24px;
    height: 2px;
    background-color: var(--white);
    transition: all 0.3s;
    border-radius: 2px;
}

.hero {
    position: relative;
    height: 520px;
    overflow: hidden;
    background-color: var(--black);
}

.hero-slider {
    height: 100%;
    width: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--black);
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide-bg {
    position: relative;
    overflow: hidden;
}

.hero-slide-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 13, 13, 0.85) 0%, rgba(26, 26, 26, 0.75) 40%, rgba(42, 42, 42, 0.85) 100%);
    z-index: 1;
}

.hero-slide-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.hero-content {
    max-width: 640px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    color: var(--white);
}

.hero-title span {
    color: var(--primary);
}

.hero-text {
    font-size: 18px;
    margin-bottom: 28px;
    color: var(--gray-light);
    line-height: 1.6;
}

.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 215, 0, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: var(--primary);
    font-size: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    -webkit-tap-highlight-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    outline: none;
}

.slider-control:hover {
    background-color: var(--primary);
    color: var(--black);
}

.slider-control:active {
    transform: translateY(-50%) scale(0.95);
}

.slider-control.prev { left: 20px; }
.slider-control.next { right: 20px; }

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--gray-dark);
    cursor: pointer;
    transition: all 0.3s;
    -webkit-tap-highlight-color: transparent;
    border: none;
    padding: 0;
    outline: none;
}

.slider-dot:hover {
    background-color: var(--gray);
}

.slider-dot.active {
    background-color: var(--primary);
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
    width: 12px;
    height: 12px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    letter-spacing: 0.3px;
    -webkit-tap-highlight-color: transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--black);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-secondary {
    background-color: var(--black-lighter);
    color: var(--white);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background-color: var(--gray-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--black);
}

.btn-lg {
    padding: 14px 36px;
    font-size: 16px;
}

.btn-link {
    background: none;
    color: var(--primary);
    padding: 0;
    font-weight: 600;
}

.btn-link:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.intro-section {
    padding: 64px 0;
    background-color: var(--black-light);
    border-bottom: 1px solid var(--border);
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.intro-content h2 span {
    color: var(--primary);
}

.intro-content p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--gray-light);
    margin-bottom: 16px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--white);
}

.section-title span {
    color: var(--primary);
}

.section-title--left {
    text-align: left;
}

.content-section {
    padding: 64px 0;
}

.content-section--alt {
    background-color: var(--black-light);
}

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

.content-main h2 {
    font-size: 26px;
    margin: 32px 0 16px;
    color: var(--white);
}

.content-main h2:first-child {
    margin-top: 0;
}

.content-main h3 {
    font-size: 20px;
    margin: 24px 0 12px;
    color: var(--primary);
}

.content-main p {
    margin-bottom: 16px;
    color: var(--gray-light);
    line-height: 1.8;
}

.content-main ul,
.content-main ol {
    margin: 16px 0;
    padding-left: 24px;
    color: var(--gray-light);
}

.content-main li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.content-figure {
    margin: 24px 0;
}

.content-figure img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.content-figure figcaption {
    text-align: center;
    color: var(--gray);
    font-size: 14px;
    margin-top: 8px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 45%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    background-color: var(--black);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.content-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-card {
    background-color: var(--bg-card);
    padding: 24px;
    border-radius: 8px;
    border: 1px solid var(--border);
    position: sticky;
    top: 80px;
}

.sidebar-card + .sidebar-card {
    position: static;
}

.sidebar-card h3 {
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--primary);
}

.sidebar-card ul {
    list-style: none;
}

.sidebar-card li {
    margin-bottom: 10px;
    padding-left: 16px;
    position: relative;
    color: var(--gray-light);
}

.sidebar-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary);
}

.sidebar-card a {
    color: var(--primary);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.card {
    background-color: var(--bg-card);
    border-radius: 8px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.3s;
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-gold);
}

.card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card-body {
    padding: 20px;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--white);
}

.card-text {
    color: var(--gray-light);
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.6;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-tag {
    display: inline-block;
    padding: 4px 10px;
    background-color: rgba(255, 215, 0, 0.1);
    color: var(--primary);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.info-blocks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.info-block {
    background-color: var(--bg-card);
    padding: 28px;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.info-block:hover {
    border-color: var(--primary);
}

.info-block-icon {
    color: var(--primary);
    margin-bottom: 16px;
}

.info-block h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--white);
}

.info-block p {
    color: var(--gray-light);
    line-height: 1.6;
}

.page-hero {
    padding: 56px 0;
    background: linear-gradient(135deg, var(--black) 0%, var(--black-light) 100%);
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.page-title {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--white);
}

.page-title span {
    color: var(--primary);
}

.page-subtitle {
    font-size: 18px;
    color: var(--gray-light);
}

.table-wrapper {
    overflow-x: auto;
    margin: 24px 0;
    -webkit-overflow-scrolling: touch;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 400px;
}

.data-table th,
.data-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.data-table th {
    background-color: var(--black-lighter);
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.data-table td {
    color: var(--gray-light);
}

.data-table tr:hover td {
    background-color: var(--black-lighter);
}

.faq-section {
    padding: 64px 0;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-toggle {
    display: none;
}

.faq-question {
    width: 100%;
    padding: 16px 20px;
    background-color: var(--bg-card);
    color: var(--white);
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: all 0.3s;
    font-family: inherit;
    -webkit-tap-highlight-color: transparent;
}

.faq-question:hover {
    background-color: var(--black-lighter);
}

.faq-question::after {
    content: '+';
    font-size: 20px;
    color: var(--primary);
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-toggle:checked + .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: var(--black-light);
}

.faq-toggle:checked ~ .faq-answer {
    max-height: 500px;
}

.faq-answer-inner {
    padding: 16px 20px;
    color: var(--gray-light);
    line-height: 1.7;
}

.cta {
    padding: 64px 0;
    background: linear-gradient(135deg, var(--black) 0%, var(--black-lighter) 100%);
    text-align: center;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.cta-content h2 {
    font-size: 32px;
    margin-bottom: 12px;
    color: var(--white);
}

.cta-content h2 span {
    color: var(--primary);
}

.cta-content p {
    font-size: 17px;
    margin-bottom: 28px;
    color: var(--gray-light);
}

.footer {
    background-color: var(--black);
    padding: 48px 0 0;
    border-top: 2px solid var(--primary);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
}

.footer-logo {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.footer-text {
    color: var(--gray);
    line-height: 1.7;
    font-size: 14px;
}

.footer-heading {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    color: var(--white);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--gray);
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--black-lighter);
    color: var(--gray-light);
    border-radius: 6px;
    transition: all 0.3s;
    border: 1px solid var(--border);
    -webkit-tap-highlight-color: transparent;
}

.social-link:hover {
    background-color: var(--primary);
    color: var(--black);
    border-color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    color: var(--gray);
    font-size: 13px;
}

@media (max-width: 968px) {
    .nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--black);
        transition: left 0.3s ease;
        padding: 80px 24px 24px;
        border-top: 1px solid var(--border);
        z-index: 999;
        overflow-y: auto;
    }

    .nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 4px;
    }

    .nav-link {
        padding: 14px 16px;
        font-size: 18px;
        border-radius: 8px;
    }

    .mobile-menu-label {
        display: flex;
        z-index: 1001;
    }

    .hero {
        height: 400px;
    }

    .hero-slide-img {
        object-fit: contain;
    }

    .hero-title {
        font-size: 30px;
    }

    .hero-text {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .slider-control {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .slider-control:active {
        transform: translateY(-50%) scale(0.95);
    }

    .slider-control.prev { left: 10px; }
    .slider-control.next { right: 10px; }

    .intro-content h2 {
        font-size: 26px;
    }

    .intro-content p {
        font-size: 16px;
    }

    .content-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .content-sidebar {
        display: none;
    }

    .sidebar-card {
        position: static;
    }

    .content-section {
        padding: 48px 0;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 32px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .page-hero {
        padding: 40px 0;
    }

    .page-title {
        font-size: 30px;
    }

    .page-subtitle {
        font-size: 16px;
    }

    .info-block {
        padding: 24px;
    }

    .faq-section {
        padding: 48px 0;
    }

    .video-wrapper {
        padding-bottom: 56.25%;
        border-radius: 8px;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }

    .header-content {
        padding: 10px 0;
    }

    .logo svg {
        width: 34px;
        height: 34px;
    }

    .logo-brand {
        font-size: 18px;
    }

    .logo-number {
        font-size: 16px;
    }

    .hero {
        height: 320px;
    }

    .hero-slide-img {
        object-fit: contain;
    }

    .hero-title {
        font-size: 22px;
    }

    .hero-text {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .btn {
        padding: 10px 24px;
        font-size: 14px;
    }

    .slider-control {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }

    .slider-control:active {
        transform: translateY(-50%) scale(0.95);
    }

    .slider-control.prev { left: 8px; }
    .slider-control.next { right: 8px; }

    .slider-dots {
        bottom: 12px;
    }

    .slider-dot {
        width: 8px;
        height: 8px;
    }

    .slider-dot.active {
        width: 10px;
        height: 10px;
    }

    .intro-section {
        padding: 40px 0;
    }

    .intro-content h2 {
        font-size: 22px;
    }

    .intro-content p {
        font-size: 15px;
    }

    .content-section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 24px;
    }

    .content-main h2 {
        font-size: 22px;
        margin: 24px 0 12px;
    }

    .content-main h3 {
        font-size: 18px;
    }

    .content-main p {
        font-size: 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer {
        padding: 36px 0 0;
    }

    .card-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .card-image {
        height: 160px;
    }

    .card-body {
        padding: 16px;
    }

    .info-blocks {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .info-block {
        padding: 20px;
    }

    .page-hero {
        padding: 32px 0;
    }

    .page-title {
        font-size: 26px;
    }

    .page-subtitle {
        font-size: 15px;
    }

    .faq-section {
        padding: 40px 0;
    }

    .faq-question {
        padding: 14px 16px;
        font-size: 15px;
    }

    .faq-answer-inner {
        padding: 14px 16px;
    }

    .data-table th,
    .data-table td {
        padding: 10px 12px;
        font-size: 14px;
    }

    .video-wrapper {
        padding-bottom: 56.25%;
        border-radius: 8px;
    }

    .sidebar-card {
        padding: 20px;
    }
}

@media (max-width: 400px) {
    .hero {
        height: 280px;
    }

    .hero-slide-img {
        object-fit: contain;
    }

    .hero-title {
        font-size: 20px;
    }

    .hero-content {
        max-width: 100%;
    }

    .slider-control {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }

    .slider-control.prev { left: 6px; }
    .slider-control.next { right: 6px; }

    .intro-content h2 {
        font-size: 20px;
    }

    .section-title {
        font-size: 22px;
    }

    .page-title {
        font-size: 22px;
    }
}
