/* Aurora Academy - Component Styles */

:root {
            --color-primary: #0D2240;
            --color-primary-light: #1E3A5F;
            --color-accent: #3B82F6;
            --color-white: #FFFFFF;
            --color-bg: #FFFFFF;
            --color-bg-alt: #F5F7FA;
            --color-border: #E8ECF1;
            --color-text: #0D2240;
            --color-text-secondary: #6B7280;
            --color-card-bg: #FFFFFF;
            --color-header-bg: #FFFFFF;
            --color-header-shadow: rgba(13, 34, 64, 0.08);
            --color-hero-gradient: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
            --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            --container-width: 1200px;
            --topbar-height: 40px;
            --header-height: 72px;
            --total-header-height: calc(var(--topbar-height) + var(--header-height));
            --logo-filter: none;
        }

        /* Dark Theme */
        [data-theme="dark"] {
            --color-primary: #FFFFFF;
            --color-primary-light: #E2E8F0;
            --color-accent: #60A5FA;
            --color-white: #0F172A;
            --color-bg: #0F172A;
            --color-bg-alt: #1E293B;
            --color-border: #334155;
            --color-text: #F1F5F9;
            --color-text-secondary: #94A3B8;
            --color-card-bg: #1E293B;
            --color-header-bg: #0F172A;
            --color-header-shadow: rgba(0, 0, 0, 0.3);
            --color-hero-gradient: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
            --logo-filter: brightness(0) invert(1);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: var(--font-family);
            font-size: 18px;
            line-height: 1.6;
            color: var(--color-text);
            background: var(--color-bg);
            transition: background-color 0.3s ease, color 0.3s ease;
        }

        .container {
            max-width: var(--container-width);
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Topbar */
        .topbar {
            background: var(--color-primary);
            height: var(--topbar-height);
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1001;
            transition: background-color 0.3s ease;
        }

        [data-theme="dark"] .topbar {
            background: #1E293B;
            border-bottom: 1px solid var(--color-border);
        }

        .topbar .container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 100%;
        }

        .topbar-logo {
            height: 28px;
        }

        .topbar-logo img {
            height: 100%;
            width: auto;
            filter: brightness(0) invert(1);
        }

        html[data-accessibility="on"] .topbar-logo img {
            filter: brightness(0) invert(1) !important;
        }

        .topbar-contacts {
            display: flex;
            align-items: center;
            gap: 24px;
        }

        .topbar-contacts a {
            color: rgba(255, 255, 255, 0.9);
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            transition: color 0.3s ease;
        }

        .topbar-contacts a:hover {
            color: #FFFFFF;
        }

        .topbar-social {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .topbar-social a {
            width: 28px;
            height: 28px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 6px;
            background: rgba(255, 255, 255, 0.1);
            transition: background 0.3s ease;
        }

        .topbar-social a:hover {
            background: rgba(255, 255, 255, 0.2);
        }

        .topbar-social svg {
            width: 16px;
            height: 16px;
            fill: #FFFFFF;
        }

        /* Header */
        .header {
            position: fixed;
            top: var(--topbar-height);
            left: 0;
            right: 0;
            height: var(--header-height);
            background: var(--color-header-bg);
            box-shadow: 0 2px 10px var(--color-header-shadow);
            z-index: 1000;
            transition: background-color 0.3s ease, box-shadow 0.3s ease;
        }

        .header .container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 100%;
            gap: 14px;
        }

        .logo {
            height: 30px;
            flex-shrink: 0;
        }

        .logo img {
            height: 100%;
            width: auto;
            filter: var(--logo-filter);
            transition: filter 0.3s ease;
        }

        /* Desktop logo - academy text */
        .logo-desktop {
            display: block;
        }

        /* Mobile logo - full horizontal */
        .logo-mobile {
            display: none;
        }

        .nav {
            display: flex;
            gap: 22px;
            flex: 1 1 auto;
            min-width: 0;
        }

        .nav a {
            text-decoration: none;
            color: var(--color-text);
            font-weight: 500;
            font-size: 14px;
            transition: color 0.3s ease;
            white-space: nowrap;
        }

        .nav a:hover {
            color: var(--color-accent);
        }

        /* Dropdown Menu */
        .nav-item {
            position: relative;
        }

        .nav-item > a {
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .nav-item > a::after {
            content: '';
            width: 0;
            height: 0;
            border-left: 4px solid transparent;
            border-right: 4px solid transparent;
            border-top: 4px solid currentColor;
            transition: transform 0.3s ease;
        }

        .nav-item:hover > a::after {
            transform: rotate(180deg);
        }

        .dropdown {
            position: absolute;
            top: 100%;
            left: 0;
            min-width: 280px;
            background: var(--color-card-bg);
            border-radius: 12px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
            padding: 12px 0;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: all 0.3s ease;
            z-index: 100;
        }

        .nav-item:hover .dropdown {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .dropdown a {
            display: block;
            padding: 10px 20px;
            font-size: 14px;
            color: var(--color-text);
        }

        .dropdown a:hover {
            background: var(--color-bg-alt);
            color: var(--color-accent);
        }

        .header-actions {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-shrink: 0;
        }

        .header-actions .btn {
            padding: 10px 18px;
            font-size: 14px;
        }

        /* Theme Toggle */
        .theme-toggle {
            width: 40px;
            height: 40px;
            border: none;
            background: var(--color-bg-alt);
            border-radius: 10px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            flex-shrink: 0;
        }

        .theme-toggle:hover {
            background: var(--color-border);
        }

        .theme-toggle svg {
            width: 20px;
            height: 20px;
            stroke: var(--color-text);
            transition: stroke 0.3s ease;
        }

        .theme-toggle .icon-sun {
            display: none;
        }

        .theme-toggle .icon-moon {
            display: block;
        }

        [data-theme="dark"] .theme-toggle .icon-sun {
            display: block;
        }

        [data-theme="dark"] .theme-toggle .icon-moon {
            display: none;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 12px 24px;
            border-radius: 10px;
            font-weight: 600;
            font-size: 15px;
            text-decoration: none;
            transition: all 0.3s ease;
            cursor: pointer;
            border: none;
            white-space: nowrap;
        }

        .btn-primary {
            background: var(--color-primary);
            color: var(--color-white);
        }

        [data-theme="dark"] .btn-primary {
            background: var(--color-accent);
            color: #0F172A;
        }

        .btn-primary:hover {
            background: var(--color-primary-light);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(13, 34, 64, 0.2);
        }

        [data-theme="dark"] .btn-primary:hover {
            background: #3B82F6;
        }

        .btn-secondary {
            background: transparent;
            color: var(--color-primary);
            border: 2px solid var(--color-primary);
        }

        .btn-secondary:hover {
            background: var(--color-primary);
            color: var(--color-white);
        }

        .btn-accent {
            background: var(--color-accent);
            color: #FFFFFF;
        }

        .btn-accent:hover {
            background: #2563EB;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
        }

        /* Mobile Header Icons */
        .mobile-header-icons {
            display: none;
            align-items: center;
            gap: 10px;
        }

        /* Mobile Header Actions (new simplified mobile header) */
        .mobile-header-actions {
            display: none;
            align-items: center;
            gap: 12px;
        }

        .mobile-icon-btn {
            width: 44px;
            height: 44px;
            border: none;
            background: var(--color-bg-alt);
            border-radius: 12px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        }

        .mobile-icon-btn:hover {
            background: var(--color-border);
            transform: scale(1.05);
        }

        .mobile-icon-btn:active {
            transform: scale(0.95);
        }

        .mobile-icon-btn svg {
            width: 22px;
            height: 22px;
            stroke: var(--color-text);
            transition: all 0.3s ease;
        }

        .mobile-icon-btn.telegram svg {
            fill: var(--color-text);
            stroke: none;
        }

        .mobile-icon-btn.telegram:hover {
            background: #229ED9;
        }

        .mobile-icon-btn.telegram:hover svg {
            fill: #fff;
        }

        .theme-toggle.mobile-theme {
            width: 44px;
            height: 44px;
            border-radius: 12px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        }

        /* Mobile Menu Button */
        .mobile-menu-btn {
            display: none;
            background: var(--color-bg-alt);
            border: none;
            cursor: pointer;
            width: 44px;
            height: 44px;
            border-radius: 12px;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 6px;
            padding: 0;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        }

        .mobile-menu-btn:hover {
            background: var(--color-border);
            transform: scale(1.05);
        }

        .mobile-menu-btn:active {
            transform: scale(0.95);
        }

        .mobile-menu-btn span {
            display: block;
            width: 20px;
            height: 2.5px;
            background: var(--color-text);
            transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            border-radius: 3px;
            transform-origin: center;
        }

        .mobile-menu-btn.active {
            background: var(--color-accent);
            box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
        }

        .mobile-menu-btn.active span {
            background: #fff;
        }

        .mobile-menu-btn.active span:nth-child(1) {
            transform: rotate(45deg) translate(6px, 6px);
        }

        .mobile-menu-btn.active span:nth-child(2) {
            opacity: 0;
            transform: scaleX(0);
        }

        .mobile-menu-btn.active span:nth-child(3) {
            transform: rotate(-45deg) translate(6px, -6px);
        }

        /* Mobile Navigation */
        .mobile-nav {
            display: none;
            position: fixed;
            top: var(--total-header-height);
            left: 0;
            right: 0;
            bottom: 0;
            background: var(--color-header-bg);
            padding: 24px 20px;
            z-index: 999;
            flex-direction: column;
            gap: 0;
            overflow-y: auto;
            opacity: 0;
            transform: translateY(-20px);
            transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .mobile-nav.active {
            display: flex;
            opacity: 1;
            transform: translateY(0);
        }

        .mobile-nav a:not(.btn) {
            display: flex;
            align-items: center;
            padding: 18px 0;
            text-decoration: none;
            color: var(--color-text);
            font-weight: 500;
            font-size: 18px;
            border-bottom: 1px solid var(--color-border);
            transition: all 0.3s ease;
        }

        .mobile-nav a:not(.btn):hover,
        .mobile-nav a:not(.btn):active {
            color: var(--color-accent);
            padding-left: 12px;
        }

        .mobile-nav .btn {
            display: flex !important;
            width: 100%;
            margin-top: 24px;
            padding: 18px 24px;
            font-size: 16px;
            font-weight: 600;
            justify-content: center;
            text-align: center;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(13, 34, 64, 0.15);
        }

        /* Hero Section */
        .hero {
            padding-top: calc(var(--total-header-height) + 48px);
            padding-bottom: 60px;
            background: var(--color-hero-gradient);
            position: relative;
            overflow: hidden;
            transition: background 0.3s ease;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 800px;
            height: 800px;
            background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
            pointer-events: none;
        }

        .hero .container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 48px;
            align-items: stretch;
        }

        .hero-content {
            position: relative;
            z-index: 1;
            background: var(--color-card-bg);
            border-radius: 20px;
            padding: 40px;
            box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 16px;
            background: rgba(59, 130, 246, 0.1);
            color: var(--color-accent);
            border-radius: 20px;
            font-size: 14px;
            font-weight: 500;
            margin-bottom: 20px;
            width: fit-content;
        }

        .hero h1 {
            font-size: 42px;
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 20px;
        }

        .hero h1 span {
            color: var(--color-accent);
        }

        .hero-description {
            font-size: 18px;
            color: var(--color-text-secondary);
            margin-bottom: 28px;
            line-height: 1.7;
        }

        .hero-buttons {
            display: flex;
            gap: 16px;
            margin-bottom: 32px;
        }

        .hero-stats {
            display: flex;
            gap: 32px;
            padding-top: 24px;
            border-top: 1px solid var(--color-border);
        }

        .hero-stat {
            text-align: left;
        }

        .hero-stat-number {
            font-size: 32px;
            font-weight: 700;
            color: var(--color-text);
        }

        .hero-stat-label {
            font-size: 14px;
            color: var(--color-text-secondary);
        }

        .hero-image {
            position: relative;
            display: flex;
            align-items: stretch;
            justify-content: center;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
        }

        .hero-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transform: scaleX(-1);
        }

        /* Audience Cards Section */
        .audience {
            padding: 100px 0;
            background: var(--color-bg);
            transition: background-color 0.3s ease;
        }

        .section-header {
            text-align: center;
            margin-bottom: 56px;
        }

        .section-title {
            font-size: 40px;
            font-weight: 700;
            margin-bottom: 20px;
        }

        .section-description {
            font-size: 20px;
            color: var(--color-text-secondary);
            max-width: 640px;
            margin: 0 auto;
        }

        .audience-cards {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 28px;
        }

        .audience-card {
            background: var(--color-card-bg);
            border: 1px solid var(--color-border);
            border-radius: 20px;
            padding: 36px;
            transition: all 0.3s ease;
        }

        .audience-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
            border-color: transparent;
        }

        .audience-card-icon {
            width: 64px;
            height: 64px;
            background: var(--color-bg-alt);
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 24px;
        }

        .audience-card-icon svg {
            width: 32px;
            height: 32px;
            stroke: var(--color-text);
        }

        .audience-card h3 {
            font-size: 22px;
            font-weight: 600;
            margin-bottom: 14px;
        }

        .audience-card p {
            font-size: 16px;
            color: var(--color-text-secondary);
            margin-bottom: 24px;
            line-height: 1.6;
        }

        .audience-card a {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: var(--color-accent);
            text-decoration: none;
            font-weight: 500;
            font-size: 16px;
        }

        .audience-card a:hover {
            gap: 12px;
        }

        /* Programs Section */
        .programs {
            padding: 100px 0;
            background: var(--color-bg-alt);
            transition: background-color 0.3s ease;
        }

        .programs-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 28px;
            margin-bottom: 48px;
        }

        .program-card {
            background: var(--color-card-bg);
            border-radius: 20px;
            padding: 32px;
            transition: all 0.3s ease;
            text-decoration: none;
            color: var(--color-text);
            display: block;
        }

        .program-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
        }

        .program-card-icon {
            width: 56px;
            height: 56px;
            background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
        }

        [data-theme="dark"] .program-card-icon {
            background: linear-gradient(135deg, var(--color-accent) 0%, #3B82F6 100%);
        }

        .program-card-icon svg {
            width: 28px;
            height: 28px;
            stroke: #FFFFFF;
        }

        .program-card h3 {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 10px;
            line-height: 1.4;
        }

        .program-card p {
            font-size: 15px;
            color: var(--color-text-secondary);
        }

        .programs-cta {
            text-align: center;
        }

        /* About Section */
        .about {
            padding: 100px 0;
            background: var(--color-bg);
            transition: background-color 0.3s ease;
        }

        .about .container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 64px;
            align-items: center;
        }

        .about-image-placeholder {
            aspect-ratio: 4/3;
            background: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-border) 100%);
            border-radius: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--color-text-secondary);
            font-size: 16px;
        }

        .about-content h2 {
            font-size: 40px;
            font-weight: 700;
            margin-bottom: 28px;
            line-height: 1.2;
        }

        .about-content p {
            font-size: 18px;
            color: var(--color-text-secondary);
            margin-bottom: 20px;
            line-height: 1.7;
        }

        .about-features {
            margin: 36px 0;
        }

        .about-feature {
            display: flex;
            align-items: flex-start;
            gap: 16px;
            margin-bottom: 20px;
        }

        .about-feature-icon {
            width: 24px;
            height: 24px;
            flex-shrink: 0;
            color: var(--color-accent);
        }

        .about-feature span {
            font-size: 17px;
            font-weight: 500;
        }

        /* Calendar Section */
        .calendar-section {
            padding: 100px 0;
            background: var(--color-bg-alt);
            transition: background-color 0.3s ease;
        }

        .calendar-container {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 32px;
        }

        .calendar {
            background: var(--color-card-bg);
            border-radius: 20px;
            padding: 32px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
        }

        .calendar-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 24px;
        }

        .calendar-title {
            font-size: 24px;
            font-weight: 700;
        }

        .calendar-nav {
            display: flex;
            gap: 8px;
        }

        .calendar-nav button {
            width: 40px;
            height: 40px;
            border: none;
            background: var(--color-bg-alt);
            border-radius: 10px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .calendar-nav button:hover {
            background: var(--color-border);
        }

        .calendar-nav svg {
            width: 20px;
            height: 20px;
            stroke: var(--color-text);
        }

        .calendar-grid {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 4px;
        }

        .calendar-day-name {
            text-align: center;
            font-size: 13px;
            font-weight: 600;
            color: var(--color-text-secondary);
            padding: 12px 0;
        }

        .calendar-day {
            aspect-ratio: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 15px;
            font-weight: 500;
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.2s ease;
            position: relative;
        }

        .calendar-day:hover {
            background: var(--color-bg-alt);
        }

        .calendar-day.other-month {
            color: var(--color-text-secondary);
            opacity: 0.5;
        }

        .calendar-day.today {
            background: var(--color-accent);
            color: #FFFFFF;
        }

        .calendar-day.has-event::after {
            content: '';
            position: absolute;
            bottom: 6px;
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--color-accent);
        }

        .calendar-day.today.has-event::after {
            background: #FFFFFF;
        }

        .calendar-day.event-training::after {
            background: #10B981;
        }

        .calendar-day.event-lecture::after {
            background: #EF4444;
        }

        .calendar-day.event-exam::after {
            background: #F59E0B;
        }

        .calendar-events {
            background: var(--color-card-bg);
            border-radius: 20px;
            padding: 32px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
        }

        .calendar-events h3 {
            font-size: 20px;
            font-weight: 700;
            margin-bottom: 20px;
        }

        .event-item {
            display: flex;
            gap: 16px;
            padding: 16px 0;
            border-bottom: 1px solid var(--color-border);
        }

        .event-item:last-child {
            border-bottom: none;
        }

        .event-date {
            text-align: center;
            min-width: 50px;
        }

        .event-date-day {
            font-size: 24px;
            font-weight: 700;
            color: var(--color-text);
        }

        .event-date-month {
            font-size: 12px;
            color: var(--color-text-secondary);
            text-transform: uppercase;
        }

        .event-info h4 {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 4px;
        }

        .event-info p {
            font-size: 14px;
            color: var(--color-text-secondary);
        }

        .event-tag {
            display: inline-block;
            padding: 4px 10px;
            border-radius: 6px;
            font-size: 12px;
            font-weight: 500;
            margin-top: 8px;
        }

        .event-tag.training {
            background: rgba(16, 185, 129, 0.1);
            color: #10B981;
        }

        .event-tag.lecture {
            background: rgba(239, 68, 68, 0.1);
            color: #EF4444;
        }

        .event-tag.exam {
            background: rgba(245, 158, 11, 0.1);
            color: #F59E0B;
        }

        .calendar-legend {
            display: flex;
            gap: 20px;
            margin-top: 20px;
            padding-top: 20px;
            border-top: 1px solid var(--color-border);
        }

        .legend-item {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            color: var(--color-text-secondary);
        }

        .legend-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
        }

        .legend-dot.training {
            background: #10B981;
        }

        .legend-dot.lecture {
            background: #EF4444;
        }

        .legend-dot.exam {
            background: #F59E0B;
        }

        /* Advantages Section */
        .advantages {
            padding: 100px 0;
            background: var(--color-primary);
            color: #FFFFFF;
        }

        [data-theme="dark"] .advantages {
            background: #1E293B;
        }

        .advantages .section-title {
            color: #FFFFFF;
        }

        .advantages-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 40px;
        }

        .advantage-item {
            text-align: center;
        }

        .advantage-number {
            font-size: 64px;
            font-weight: 700;
            color: var(--color-accent);
            line-height: 1;
            margin-bottom: 16px;
        }

        .advantage-label {
            font-size: 17px;
            opacity: 0.9;
        }

        /* License Section */
        .license {
            padding: 100px 0;
            background: var(--color-bg);
            transition: background-color 0.3s ease;
        }

        .license .container {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 64px;
            align-items: center;
        }

        .license-doc {
            background: var(--color-card-bg);
            border-radius: 20px;
            padding: 28px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        }

        .license-doc-placeholder {
            aspect-ratio: 3/4;
            background: var(--color-bg-alt);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--color-text-secondary);
            font-size: 15px;
            text-align: center;
            padding: 20px;
        }

        .license-content h2 {
            font-size: 36px;
            font-weight: 700;
            margin-bottom: 24px;
            line-height: 1.2;
        }

        .license-content p {
            font-size: 18px;
            color: var(--color-text-secondary);
            margin-bottom: 28px;
            line-height: 1.7;
        }

        .license-links {
            display: flex;
            flex-direction: column;
            gap: 14px;
        }

        .license-link {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 18px 24px;
            background: var(--color-card-bg);
            border-radius: 12px;
            text-decoration: none;
            color: var(--color-text);
            font-weight: 500;
            font-size: 16px;
            transition: all 0.3s ease;
            border: 1px solid var(--color-border);
        }

        .license-link:hover {
            background: var(--color-accent);
            color: #FFFFFF;
            border-color: var(--color-accent);
        }

        .license-link svg {
            width: 22px;
            height: 22px;
            flex-shrink: 0;
        }

        /* News Section */
        .news {
            padding: 100px 0;
            background: var(--color-bg-alt);
            transition: background-color 0.3s ease;
        }

        .news-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 28px;
            margin-bottom: 48px;
        }

        .news-card {
            background: var(--color-card-bg);
            border: 1px solid var(--color-border);
            border-radius: 20px;
            overflow: hidden;
            transition: all 0.3s ease;
            text-decoration: none;
            color: var(--color-text);
        }

        .news-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
            border-color: transparent;
        }

        .news-card-image {
            aspect-ratio: 16/9;
            background: var(--color-bg-alt);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--color-text-secondary);
            font-size: 15px;
        }

        .news-card-content {
            padding: 28px;
        }

        .news-card-date {
            font-size: 14px;
            color: var(--color-text-secondary);
            margin-bottom: 10px;
        }

        .news-card h3 {
            font-size: 18px;
            font-weight: 600;
            line-height: 1.5;
        }

        .news-cta {
            text-align: center;
        }

        /* News Slider (Mobile) */
        .news-slider {
            display: none;
        }

        .news-slider-container {
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            scrollbar-width: none;
            -ms-overflow-style: none;
            display: flex;
            gap: 16px;
            padding-bottom: 20px;
            margin-bottom: 28px;
        }

        .news-slider-container::-webkit-scrollbar {
            display: none;
        }

        .news-slider .news-card {
            flex: 0 0 85%;
            scroll-snap-align: start;
        }

        .news-slider-dots {
            display: flex;
            justify-content: center;
            gap: 8px;
            margin-bottom: 28px;
        }

        .news-slider-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: var(--color-border);
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .news-slider-dot.active {
            background: var(--color-accent);
            width: 24px;
            border-radius: 5px;
        }

        /* CTA Section */
        .cta {
            padding: 100px 0;
            background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
            color: #FFFFFF;
        }

        [data-theme="dark"] .cta {
            background: linear-gradient(135deg, #1E293B 0%, #334155 100%);
        }

        .cta .container {
            text-align: center;
        }

        .cta h2 {
            font-size: 40px;
            font-weight: 700;
            margin-bottom: 20px;
        }

        .cta p {
            font-size: 20px;
            opacity: 0.9;
            margin-bottom: 40px;
            max-width: 640px;
            margin-left: auto;
            margin-right: auto;
        }

        .cta-buttons {
            display: flex;
            gap: 20px;
            justify-content: center;
        }

        .cta .btn-secondary {
            border-color: #FFFFFF;
            color: #FFFFFF;
        }

        .cta .btn-secondary:hover {
            background: #FFFFFF;
            color: var(--color-primary);
        }

        /* Footer */
        .footer {
            background: var(--color-primary);
            color: #FFFFFF;
            padding: 72px 0 36px;
        }

        [data-theme="dark"] .footer {
            background: #0F172A;
            border-top: 1px solid var(--color-border);
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 48px;
            margin-bottom: 48px;
        }

        .footer-brand p {
            opacity: 0.7;
            font-size: 15px;
            margin-top: 20px;
            line-height: 1.7;
        }

        .footer-logo {
            height: 56px;
        }

        .footer-logo img {
            height: 100%;
            width: auto;
            filter: brightness(0) invert(1);
        }

        .footer-column h4 {
            font-size: 17px;
            font-weight: 600;
            margin-bottom: 24px;
        }

        .footer-column ul {
            list-style: none;
        }

        .footer-column li {
            margin-bottom: 14px;
        }

        .footer-column a {
            color: rgba(255,255,255,0.7);
            text-decoration: none;
            font-size: 15px;
            transition: color 0.3s ease;
        }

        .footer-column a:hover {
            color: #FFFFFF;
        }

        .footer-contacts p {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 14px;
            font-size: 15px;
        }

        .footer-contacts a {
            color: #FFFFFF;
            text-decoration: none;
        }

        .footer-bottom {
            padding-top: 36px;
            border-top: 1px solid rgba(255,255,255,0.1);
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 14px;
            opacity: 0.7;
        }

        .footer-bottom a {
            color: inherit;
            text-decoration: none;
        }

        .footer-bottom a:hover {
            text-decoration: underline;
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .hero .container {
                grid-template-columns: 1fr;
                gap: 40px;
            }

            .hero-image {
                order: -1;
            }

            .hero h1 {
                font-size: 36px;
            }

            .hero-content {
                padding: 32px;
            }

            .hero-image {
                min-height: 400px;
            }

            .programs-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .advantages-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 48px;
            }

            .about .container,
            .license .container {
                grid-template-columns: 1fr;
            }

            .calendar-container {
                grid-template-columns: 1fr;
            }

            .footer-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

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

            .header .container {
                gap: 10px;
            }

            .logo {
                height: 26px;
            }

            .nav {
                gap: 14px;
            }

            .nav a {
                font-size: 13px;
            }

            .header-actions {
                gap: 6px;
            }

            .header-actions .btn {
                padding: 9px 14px;
                font-size: 13px;
            }

            .theme-toggle {
                width: 36px;
                height: 36px;
            }
        }

        @media (max-width: 1280px) {
            .topbar-contacts {
                gap: 16px;
            }

            .topbar-contacts a {
                font-size: 13px;
            }

            .header .container {
                gap: 8px;
            }

            .logo {
                height: 24px;
            }

            .nav {
                gap: 12px;
            }

            .nav a {
                font-size: 12px;
            }

            .header-actions {
                gap: 6px;
            }

            .header-actions .btn {
                padding: 8px 12px;
                font-size: 12px;
            }

            .theme-toggle {
                width: 36px;
                height: 36px;
            }
        }

        @media (max-width: 768px) {
            body {
                font-size: 16px;
            }

            .topbar {
                display: none;
            }

            .header {
                top: 0;
                height: 72px;
            }

            .logo {
                height: 44px;
            }

            .logo-desktop {
                display: none;
            }

            .logo-mobile {
                display: block;
            }

            .nav {
                display: none;
            }

            .header-actions {
                display: none;
            }

            .mobile-header-actions {
                display: flex;
            }

            .mobile-header-icons {
                display: flex;
            }

            .mobile-menu-btn {
                display: flex;
            }

            .mobile-nav {
                top: 72px;
            }

            .hero {
                padding-top: calc(72px + 32px);
                padding-bottom: 48px;
            }

            .hero h1 {
                font-size: 28px;
            }

            .hero-content {
                padding: 24px;
            }

            .hero-description {
                font-size: 16px;
            }

            .hero-buttons {
                flex-direction: column;
            }

            .hero-stats {
                flex-wrap: wrap;
                gap: 24px;
            }

            .hero-stat-number {
                font-size: 28px;
            }

            .hero-image {
                min-height: 280px;
            }

            .section-title {
                font-size: 28px;
            }

            .section-description {
                font-size: 17px;
            }

            .audience {
                padding: 64px 0;
            }

            .audience-cards {
                grid-template-columns: 1fr;
            }

            .programs {
                padding: 64px 0;
            }

            .programs-grid {
                grid-template-columns: 1fr;
            }

            .about {
                padding: 64px 0;
            }

            .about-content h2 {
                font-size: 28px;
            }

            .calendar-section {
                padding: 64px 0;
            }

            .calendar {
                padding: 20px;
            }

            .calendar-events {
                padding: 24px;
            }

            .advantages {
                padding: 64px 0;
            }

            .advantages-grid {
                grid-template-columns: 1fr;
                gap: 40px;
            }

            .advantage-number {
                font-size: 48px;
            }

            .license {
                padding: 64px 0;
            }

            .license-content h2 {
                font-size: 28px;
            }

            .news {
                padding: 64px 0;
            }

            .news-grid {
                display: none;
            }

            .news-slider {
                display: block;
            }

            .cta {
                padding: 64px 0;
            }

            .cta h2 {
                font-size: 28px;
            }

            .cta p {
                font-size: 17px;
            }

            .cta-buttons {
                flex-direction: column;
            }

            .footer {
                padding: 48px 0 24px;
            }

            .footer-grid {
                grid-template-columns: 1fr;
                gap: 40px;
            }

            .footer-bottom {
                flex-direction: column;
                gap: 16px;
                text-align: center;
            }
        }
