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

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #8b5cf6;
    --accent: #ec4899;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-dark: #111827;
    --border: #e5e7eb;
    --gradient-1: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-2: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] {
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --bg-primary: #111827;
    --bg-secondary: #1f2937;
    --bg-dark: #0f172a;
    --border: #374151;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
}

html {
    scroll-behavior: smooth;
    cursor: none;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    background: #ffffff;
    background-attachment: fixed;
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

[data-theme="dark"] body {
    background: #111827;
    background-attachment: fixed;
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    left: 0;
    top: 0;
    will-change: transform;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                height 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                border-color 0.3s ease,
                background 0.3s ease;
    opacity: 0;
    background: rgba(99, 102, 241, 0.05);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4), 
                inset 0 0 20px rgba(99, 102, 241, 0.1);
}

.cursor-follower {
    border-color: #6366f1;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
}

[data-theme="dark"] .cursor-follower {
    mix-blend-mode: difference;
    background: transparent;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.cursor-follower.active {
    opacity: 1;
}

.cursor-follower.hover {
    width: 60px;
    height: 60px;
    border-color: #ec4899;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    box-shadow: 0 0 30px rgba(236, 72, 153, 0.6),
                inset 0 0 30px rgba(236, 72, 153, 0.1);
}

[data-theme="dark"] .cursor-follower.hover {
    mix-blend-mode: normal;
    background: rgba(99, 102, 241, 0.1);
    box-shadow: 0 0 30px rgba(236, 72, 153, 0.5);
}

.cursor-follower.click {
    width: 50px;
    height: 50px;
    border-color: #8b5cf6;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(99, 102, 241, 0.2) 100%);
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.7),
                inset 0 0 25px rgba(139, 92, 246, 0.15);
}

[data-theme="dark"] .cursor-follower.click {
    background: transparent;
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.6);
}

.cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    left: 0;
    top: 0;
    will-change: transform;
    transition: width 0.2s cubic-bezier(0.4, 0, 0.2, 1), 
                height 0.2s cubic-bezier(0.4, 0, 0.2, 1), 
                background 0.3s ease,
                box-shadow 0.3s ease;
    opacity: 0;
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.8),
                0 0 6px rgba(139, 92, 246, 0.6);
}

[data-theme="dark"] .cursor-dot {
    background: var(--primary);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

.cursor-dot.active {
    opacity: 1;
}

.cursor-dot.hover {
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
    box-shadow: 0 0 18px rgba(236, 72, 153, 0.9),
                0 0 10px rgba(139, 92, 246, 0.7);
}

[data-theme="dark"] .cursor-dot.hover {
    background: var(--accent);
    box-shadow: 0 0 15px rgba(236, 72, 153, 0.7);
}

.cursor-dot.click {
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    box-shadow: 0 0 25px rgba(139, 92, 246, 1),
                0 0 15px rgba(99, 102, 241, 0.8);
}

[data-theme="dark"] .cursor-dot.click {
    background: var(--secondary);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.8);
}

.cursor-particle {
    position: fixed;
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.8),
                0 0 6px rgba(139, 92, 246, 0.6);
}

[data-theme="dark"] .cursor-particle {
    background: var(--primary);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.8);
}

@media (max-width: 768px) {
    html {
        cursor: auto;
    }
    
    .cursor-follower,
    .cursor-dot,
    .cursor-particle {
        display: none !important;
        pointer-events: none !important;
        visibility: hidden !important;
        z-index: -1 !important;
    }
}

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in-up-delay {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 99997;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
    pointer-events: auto;
}

[data-theme="dark"] .header {
    background: rgba(17, 24, 39, 0.95);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    padding-left: 240px;
    position: relative;
    z-index: 2;
    overflow: visible;
    min-width: 0;
    pointer-events: auto;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    pointer-events: auto;
    position: relative;
    z-index: 99999;
}

.theme-toggle {
    background: var(--bg-secondary);
    border: 2px solid var(--border);
    border-radius: 12px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: auto !important;
    z-index: 99999 !important;
    outline: none;
}

.theme-toggle::before {
    content: '';
    position: absolute;
    top: -12px;
    left: -12px;
    right: -12px;
    bottom: -12px;
    z-index: -1;
    pointer-events: auto;
}

.theme-toggle:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.05);
}

.theme-toggle:hover .theme-icon {
    color: white;
    transform: rotate(180deg);
}

.theme-icon {
    width: 20px;
    height: 20px;
    color: var(--text-primary);
    transition: all 0.3s ease;
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.moon-icon {
    opacity: 0;
    transform: rotate(-90deg);
}

[data-theme="dark"] .sun-icon {
    opacity: 0;
    transform: rotate(90deg);
}

[data-theme="dark"] .moon-icon {
    opacity: 1;
    transform: rotate(0deg);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    position: absolute;
    left: 20px;
    top: 30%;
    transform: translateY(-50%);
    z-index: 3;
}

.logo-img-wrapper {
    width: fit-content;
    height: fit-content;
    display: inline-block;
    position: relative;
    line-height: 0;
}

.logo-img {
    width: auto;
    height: 144px;
    object-fit: contain;
    transition: opacity 0.3s ease;
    display: block;
    vertical-align: top;
}

.logo-for-dark {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}

.logo-for-light {
    opacity: 1;
    position: relative;
}

[data-theme="dark"] .logo-for-light {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}

[data-theme="dark"] .logo-for-dark {
    opacity: 1;
    position: relative;
}

.logo-img-wrapper-footer {
    width: 60px;
    height: 60px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin-left: auto;
    margin-right: 1.5rem;
    flex-shrink: 0;
    min-width: 0;
}

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--primary);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
    padding: 12px;
    margin: -12px;
    pointer-events: auto !important;
    position: relative;
    z-index: 99999 !important;
    min-width: 48px;
    min-height: 48px;
    justify-content: center;
    align-items: center;
    background: transparent;
    border: none;
    outline: none;
    overflow: visible;
}

.mobile-menu-toggle::before {
    content: '';
    position: absolute;
    top: -12px;
    left: -12px;
    right: -12px;
    bottom: -12px;
    z-index: -1;
    pointer-events: auto;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
    pointer-events: none;
    position: relative;
    z-index: 1;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 768px) {
    .theme-toggle {
        width: 40px;
        height: 40px;
    }
    
    .theme-icon {
        width: 18px;
        height: 18px;
    }
    
    .logo-img-wrapper {
        width: fit-content;
        height: 48px;
    }
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease, transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.btn-primary::after {
    display: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
    background: transparent;
    transition: background 0.3s ease;
}

@keyframes floatGlow {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translate(30px, -40px) scale(1.1);
        opacity: 0.8;
    }
    50% {
        transform: translate(-20px, 30px) scale(0.9);
        opacity: 0.7;
    }
    75% {
        transform: translate(40px, 20px) scale(1.05);
        opacity: 0.75;
    }
}

@keyframes floatGlow2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }
    33% {
        transform: translate(-35px, 25px) scale(0.95);
        opacity: 0.7;
    }
    66% {
        transform: translate(25px, -30px) scale(1.15);
        opacity: 0.6;
    }
}

@keyframes floatGlow3 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.65;
    }
    40% {
        transform: translate(45px, 35px) scale(0.85);
        opacity: 0.8;
    }
    80% {
        transform: translate(-25px, -45px) scale(1.2);
        opacity: 0.55;
    }
}

@keyframes floatGlow5 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }
    33% {
        transform: translate(-35px, 25px) scale(0.95);
        opacity: 0.7;
    }
    66% {
        transform: translate(25px, -30px) scale(1.15);
        opacity: 0.6;
    }
}

.glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(60px);
}

.glow-1 {
    width: 400px;
    height: 400px;
    top: 15%;
    left: 10%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.15) 40%, transparent 70%);
    animation: floatGlow 15s ease-in-out infinite;
}

.glow-2 {
    width: 350px;
    height: 350px;
    top: 60%;
    right: 15%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.18) 0%, rgba(236, 72, 153, 0.12) 40%, transparent 70%);
    animation: floatGlow2 18s ease-in-out infinite;
    animation-delay: -3s;
}

.glow-3 {
    width: 500px;
    height: 500px;
    bottom: 20%;
    left: 20%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(236, 72, 153, 0.1) 50%, transparent 70%);
    animation: floatGlow3 20s ease-in-out infinite;
    animation-delay: -7s;
}

.glow-4 {
    width: 300px;
    height: 300px;
    top: 30%;
    right: 30%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, rgba(99, 102, 241, 0.15) 40%, transparent 70%);
    animation: floatGlow 16s ease-in-out infinite;
    animation-delay: -10s;
}

.glow-5 {
    width: 450px;
    height: 450px;
    top: 50%;
    left: 50%;
    margin-left: -225px;
    margin-top: -225px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.15) 0%, rgba(139, 92, 246, 0.1) 45%, transparent 70%);
    animation: floatGlow5 17s ease-in-out infinite;
    animation-delay: -5s;
}

[data-theme="dark"] .glow-1 {
    background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, rgba(139, 92, 246, 0.2) 40%, transparent 70%);
}

[data-theme="dark"] .glow-2 {
    background: radial-gradient(circle, rgba(139, 92, 246, 0.23) 0%, rgba(236, 72, 153, 0.15) 40%, transparent 70%);
}

[data-theme="dark"] .glow-3 {
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, rgba(236, 72, 153, 0.15) 50%, transparent 70%);
}

[data-theme="dark"] .glow-4 {
    background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, rgba(99, 102, 241, 0.2) 40%, transparent 70%);
}

[data-theme="dark"] .glow-5 {
    background: radial-gradient(circle, rgba(236, 72, 153, 0.2) 0%, rgba(139, 92, 246, 0.15) 45%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem 0;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

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

.hero-form {
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    max-width: 500px;
    margin: 0 auto;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.hero-form h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: var(--gradient-1);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease, transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    box-shadow: var(--shadow-md);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-submit:active {
    transform: translateY(0);
}

.form-note {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 1rem;
    line-height: 1.4;
}

.advantages {
    padding: 6rem 0;
    background: transparent;
    transition: background 0.3s ease;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.advantage-card {
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid var(--border);
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.advantage-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

.directions {
    padding: 6rem 0;
    background: transparent;
    transition: background 0.3s ease;
}

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

.direction-card {
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    padding: 2.5rem;
    border-radius: 24px;
    border: 2px solid var(--border);
    transition: all 0.3s ease, transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .direction-card {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

.direction-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.direction-card:hover::before {
    transform: scaleX(1);
}

.direction-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.direction-number {
    font-size: 4rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.7;
    margin-bottom: 1rem;
}

.direction-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.direction-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.direction-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.direction-link:hover {
    gap: 1rem;
}

.teachers {
    padding: 6rem 0;
    background: transparent;
    transition: background 0.3s ease;
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.teachers-carousel-wrapper {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.teachers-carousel-container {
    overflow: hidden;
    margin: 0 60px;
    width: calc(100% - 120px);
    position: relative;
}

.teachers-carousel {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 2rem;
    will-change: transform;
    cursor: grab;
    position: relative;
}

.teachers-carousel:active {
    cursor: grabbing;
}

.teachers-carousel .teacher-card {
    flex-shrink: 0;
    position: relative;
}


@media (max-width: 768px) {
    .teachers-carousel-container {
        margin: 0 20px;
        width: calc(100% - 40px);
    }
    
    .teachers-carousel {
        cursor: default;
    }
    
    .teacher-card {
        padding: 2rem 1.5rem;
    }
}

.teacher-card {
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease, transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border);
}

.teacher-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.teacher-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.teacher-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.teacher-experience {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.teacher-quote {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btn-teacher {
    width: 100%;
    padding: 0.75rem;
    background: var(--gradient-1);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease, transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-teacher:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.reviews {
    padding: 6rem 0;
    background: transparent;
    transition: background 0.3s ease;
}

.reviews-carousel-wrapper {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.reviews-carousel-container {
    overflow: hidden;
    margin: 0 60px;
    width: calc(100% - 120px);
    position: relative;
}

.reviews-carousel {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 2rem;
    will-change: transform;
    cursor: grab;
    position: relative;
}

.reviews-carousel:active {
    cursor: grabbing;
}

.reviews-carousel .review-card {
    flex-shrink: 0;
    position: relative;
}


@media (max-width: 768px) {
    .reviews-carousel-container {
        margin: 0 20px;
        width: calc(100% - 40px);
    }
    
    .reviews-carousel {
        cursor: default;
    }
    
    .review-card {
        padding: 2rem 1.5rem;
    }
}

.review-card {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 24px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.review-stars {
    color: #fbbf24;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.review-text {
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    flex-shrink: 0;
    overflow: hidden;
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

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

.review-role {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.cta {
    padding: 6rem 0;
    background: var(--gradient-1);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.cta h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.cta-form input {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: inherit;
    transition: all 0.3s ease;
}

.cta-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.cta-form input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.15);
}

.btn-submit-large {
    width: 100%;
    padding: 1.25rem;
    background: white;
    color: var(--primary);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    box-shadow: var(--shadow-lg);
}

.btn-submit-large:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.cta-form .form-note {
    color: rgba(255, 255, 255, 0.8);
}

.footer {
    background: linear-gradient(180deg, #111827 0%, #0a0e1a 100%);
    color: white;
    padding: 4rem 0 2rem;
    transition: background 0.3s ease;
}

[data-theme="dark"] .footer {
    background: linear-gradient(180deg, #0a0e1a 0%, #050710 100%);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-top: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

.footer .logo {
    color: white;
}

* {
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

svg,
img,
.theme-icon {
    transition: none;
}

.theme-icon {
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease !important;
}

/* Carousel Styles */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-primary);
    border: 2px solid var(--border);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    color: var(--text-primary);
    box-shadow: var(--shadow-md);
}

.carousel-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-btn-prev {
    left: 0;
}

.carousel-btn-next {
    right: 0;
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.carousel-btn:disabled:hover {
    background: var(--bg-primary);
    border-color: var(--border);
    color: var(--text-primary);
    transform: translateY(-50%);
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-indicator.active {
    background: var(--primary);
    width: 24px;
    border-radius: 5px;
}

.carousel-indicator:hover {
    background: var(--primary);
    opacity: 0.7;
}

@media (max-width: 768px) {
    .logo-img-wrapper {
        width: fit-content;
        height: fit-content;
    }
    
    .logo-img {
        height: 160px;
    }
    
    [data-theme="dark"] .logo-for-dark {
        position: relative;
    }
    
    [data-theme="dark"] .logo-for-light {
        position: absolute;
    }
    
    .logo {
        left: 50%;
        top: 28%;
        transform: translate(-50%, -50%);
        position: absolute;
        pointer-events: none !important;
        z-index: 1 !important;
    }
    
    .logo-img-wrapper {
        pointer-events: none !important;
        z-index: 1 !important;
    }
    
    .logo-img {
        pointer-events: none !important;
        z-index: 1 !important;
    }
    
    .nav {
        padding-left: 20px;
        padding-right: 20px;
        justify-content: space-between;
        position: relative;
        z-index: 1002;
        pointer-events: auto;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background: var(--bg-primary);
        width: 100%;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
        gap: 1rem;
        border-top: 1px solid var(--border);
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex !important;
        order: -1;
        z-index: 99999 !important;
        position: relative;
        pointer-events: auto !important;
        min-width: 56px;
        min-height: 56px;
        padding: 16px;
        margin: -16px;
    }
    
    .mobile-menu-toggle::before {
        top: -16px;
        left: -16px;
        right: -16px;
        bottom: -16px;
    }
    
    .header-actions {
        order: 1;
        z-index: 99999 !important;
        position: relative;
        pointer-events: auto !important;
    }
    
    .theme-toggle {
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        min-width: 56px;
        min-height: 56px;
        pointer-events: auto !important;
        position: relative;
        z-index: 99999 !important;
        width: 56px;
        height: 56px;
        padding: 0;
    }
    
    .theme-toggle::before {
        top: -16px;
        left: -16px;
        right: -16px;
        bottom: -16px;
    }
    
    .nav {
        pointer-events: auto !important;
        z-index: 99998 !important;
    }
    
    .header {
        pointer-events: auto !important;
        z-index: 99997 !important;
    }
    
    .nav-menu {
        margin-right: 0;
    }
    
    .btn-primary {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
        min-width: fit-content;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .hero-form {
        padding: 2rem;
    }

    .advantages-grid,
    .directions-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .teachers-carousel-container {
        margin: 0 50px;
    }
    
    .reviews-carousel-container {
        margin: 0 20px;
        width: calc(100% - 40px);
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

@media (max-width: 480px) {
    .btn-primary {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .nav-menu {
        gap: 0.5rem;
    }
    
    .reviews-carousel-container {
        margin: 0 10px;
        width: calc(100% - 20px);
    }
    
    .review-card {
        padding: 1.5rem 1rem;
    }
    
    .teachers-carousel-container {
        margin: 0 10px;
        width: calc(100% - 20px);
    }
    
    .teacher-card {
        padding: 1.5rem 1rem;
    }
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--bg-primary);
    padding: 1.5rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 300px;
    max-width: 400px;
    border: 2px solid var(--border);
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.notification-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.notification-message {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.notification-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.notification-close:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .notification {
        top: 80px;
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
        transform: translateY(-150px);
    }
    
    .notification.show {
        transform: translateY(0);
    }
}

