/* ========================================
   СОВРЕМЕННЫЙ ДИЗАЙН ДЛЯ NEWSWEAVER
   Тренды 2026: Glassmorphism, градиенты, 
   плавные анимации, адаптивность
   ======================================== */

/* === БАЗОВЫЕ СТИЛИ === */
:root {
    /* Новая цветовая палитра 2026: Deep Ocean & Coral Sunset */
    --primary-color: #0ea5e9; /* Sky Blue - главный цвет */
    --primary-dark: #0284c7; /* Deep Sky Blue */
    --primary-light: #38bdf8; /* Light Sky Blue */
    --secondary-color: #ec4899; /* Hot Pink - акцентный */
    --accent-color: #f97316; /* Coral Orange */
    --text-dark: #0f172a; /* Slate 900 */
    --text-medium: #334155; /* Slate 700 */
    --text-light: #64748b; /* Slate 500 */
    --bg-light: #f8fafc; /* Slate 50 */
    --bg-white: #ffffff;
    --border-color: #e2e8f0; /* Slate 200 */
    --success-color: #14b8a6; /* Teal */
    
    /* Современные градиенты с глубиной */
    --gradient-primary: linear-gradient(135deg, #0ea5e9 0%, #6366f1 50%, #8b5cf6 100%);
    --gradient-secondary: linear-gradient(135deg, #ec4899 0%, #f97316 100%);
    --gradient-hero: linear-gradient(135deg, #0ea5e9 0%, #6366f1 30%, #ec4899 70%, #f97316 100%);
    --gradient-accent: linear-gradient(135deg, #14b8a6 0%, #0ea5e9 100%);
    
    /* Тени с современными оттенками */
    --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1);
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* === COOKIE BANNER === */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-content p {
    flex: 1;
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-medium);
}

.cookie-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-accept {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-base);
    white-space: nowrap;
}

.cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}


/* === HEADER === */
.header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-base);
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition-base);
}


/* === HERO SECTION - ПЛИТОЧНЫЙ ДИЗАЙН === */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 120px 0 80px;
    overflow: hidden;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float-orb 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    bottom: -50px;
    left: -50px;
    animation-delay: 7s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 14s;
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.hero-text-block {
    animation: fadeInLeft 1s ease forwards;
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(79, 172, 254, 0.15) 100%);
    color: var(--primary-color);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 2px solid rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.badge-tag::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(102, 126, 234, 0.3), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.badge-tag:hover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.25) 0%, rgba(79, 172, 254, 0.25) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.2);
}

.badge-tag:hover::before {
    opacity: 1;
}

.hero-title {
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-dark);
    letter-spacing: -2px;
}

.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--text-medium);
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

.btn-outline:hover {
    background: var(--text-dark);
    color: white;
    border-color: var(--text-dark);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.stat-item {
    text-align: left;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 600;
    opacity: 0.85;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

.hero-visual {
    position: relative;
    animation: fadeInRight 1s ease forwards;
}

.hero-image-main {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.6s ease;
    border: 3px solid rgba(102, 126, 234, 0.2);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

.hero-image-main::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 10;
    pointer-events: none;
}

.hero-image-main:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
    box-shadow: 0 30px 80px rgba(102, 126, 234, 0.25);
}

.hero-image-main:hover::before {
    opacity: 1;
}

.main-image {
    width: 100%;
    height: auto;
    display: block;
    transition: filter 0.3s ease;
}

.hero-image-main:hover .main-image {
    filter: brightness(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    transition: opacity 0.3s ease;
}

.hero-image-main:hover .image-overlay {
    opacity: 0.1;
}

/* === ПЛИТОЧНАЯ СЕТКА === */
.hero-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.tile {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
}

.tile:hover {
    transform: translateY(-8px) skewY(-2deg);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.tile:hover::before {
    transform: scaleX(1);
}

.tile::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.05) 0%, transparent 70%);
    transition: all 0.6s ease;
    opacity: 0;
}

/* Типы плиток */
.tile-feature {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 8px 20px 20px 20px;
    clip-path: polygon(0 15px, 15px 0, 100% 0, 100% 100%, 0 100%);
    border: 2px solid rgba(102, 126, 234, 0.1);
    position: relative;
}

.tile-feature:hover {
    border-color: rgba(102, 126, 234, 0.3);
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.tile-feature::after {
    opacity: 1;
}

.tile-feature .tile-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #667eea20 0%, #764ba220 100%);
    border-radius: 12px 16px 16px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    transform: perspective(1000px) rotateX(5deg);
    border: 1px solid rgba(102, 126, 234, 0.2);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
}

.tile-feature:hover .tile-icon {
    transform: perspective(1000px) rotateX(0deg) translateY(-3px);
}

.tile-feature h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.tile-feature p {
    color: var(--text-medium);
    line-height: 1.6;
}

.tile-highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
    border-radius: 20px 20px 20px 8px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
}

.tile-highlight .tile-content {
    position: relative;
    z-index: 2;
}

.tile-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: -50px;
    right: -50px;
    filter: blur(40px);
    transition: all 0.6s ease;
}

.tile-highlight:hover .tile-glow {
    top: -30px;
    right: -30px;
    opacity: 0.8;
}

.highlight-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.tile-highlight h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.tile-highlight p {
    margin-bottom: 20px;
    opacity: 0.95;
}

.tile-link {
    color: white;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.tile-link:hover {
    gap: 12px;
    background: rgba(255, 255, 255, 0.25);
}

.tile-stats {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 20px 8px 20px 20px;
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 0 100%);
    border: 2px dashed rgba(102, 126, 234, 0.3);
}

.stats-circle {
    position: relative;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 15px rgba(102, 126, 234, 0.15));
}

.progress-ring {
    transform: rotate(-90deg);
}

.progress-ring-circle {
    stroke-dasharray: 326;
    stroke-dashoffset: 0;
    animation: progress 2s ease-out forwards;
}

.stats-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
}

.stats-text {
    font-size: 0.9rem;
    color: var(--text-medium);
    font-weight: 600;
}

.stats-label {
    color: var(--text-medium);
    font-weight: 500;
}

.tile-cta {
    background: linear-gradient(135deg, #f093fb15 0%, #f5576c15 100%);
    border: 2.5px solid #f093fb;
    text-align: center;
    border-radius: 20px 20px 8px 20px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 15px 100%, 0 calc(100% - 15px));
    position: relative;
}

.tile-cta::before {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    opacity: 0.05;
}

.cta-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    animation: float 4s ease-in-out infinite;
}
}

.tile-cta h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.tile-cta p {
    color: var(--text-medium);
    margin-bottom: 16px;
}

.cta-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(240, 147, 251, 0.3);
}

.tile-image {
    padding: 0;
    position: relative;
    min-height: 250px;
    border-radius: 20px 20px 20px 8px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
    overflow: hidden;
    border: 2px solid rgba(74, 144, 226, 0.2);
}

.tile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.tile-image:hover .tile-img {
    transform: scale(1.08) rotate(1deg);
}

.tile-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.5) 60%, transparent 100%);
    padding: 30px;
    color: white;
    transform: translateY(0);
    transition: transform 0.4s ease;
}

.tile-image:hover .tile-overlay {
    transform: translateY(-10px);
}

.overlay-text {
    font-size: 1.2rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.tile-testimonial {
    background: linear-gradient(135deg, #4facfe15 0%, #00f2fe15 100%);
    border: 2px solid #4facfe;
    border-radius: 8px 20px 20px 20px;
    clip-path: polygon(15px 0, 100% 0, 100% 100%, 0 100%, 0 15px);
    position: relative;
}

.tile-testimonial::before {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    opacity: 0.03;
}

.testimonial-content {
    position: relative;
    z-index: 2;
}

.quote-icon {
    font-size: 4rem;
    color: #4facfe;
    line-height: 1;
    margin-bottom: 16px;
    font-family: Georgia, serif;
    filter: drop-shadow(0 2px 4px rgba(79, 172, 254, 0.2));
    opacity: 0.7;
}

.testimonial-content p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(79, 172, 254, 0.3);
    transition: all 0.3s ease;
}

.tile-testimonial:hover .testimonial-author img {
    border-color: #4facfe;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(79, 172, 254, 0.3);
}

.author-name {
    font-weight: 700;
    color: var(--text-dark);
}

.author-role {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* === FLOATING ЭЛЕМЕНТЫ === */
.floating-element {
    position: absolute;
    font-size: 2rem;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.fe-1 {
    top: 15%;
    left: 5%;
    animation-delay: 0s;
}

.fe-2 {
    top: 25%;
    right: 8%;
    animation-delay: 2s;
}

.fe-3 {
    bottom: 20%;
    left: 10%;
    animation-delay: 4s;
}

.fe-4 {
    bottom: 30%;
    right: 15%;
    animation-delay: 6s;
}


/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, white, #f0f4ff);
    color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.25);
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px) skewX(-1deg);
    box-shadow: 0 8px 35px rgba(102, 126, 234, 0.35);
    background: linear-gradient(135deg, #f0f4ff, white);
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    position: relative;
}

.btn-secondary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-color: white;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover::after {
    opacity: 1;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}


/* === SECTIONS === */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: -1px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-medium);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}


/* === WHY US SECTION === */
.why-us {
    padding: 6rem 0;
    background: var(--bg-light);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.why-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.why-card:nth-child(1) {
    border-radius: 8px 20px 20px 20px;
    clip-path: polygon(0 20px, 20px 0, 100% 0, 100% 100%, 0 100%);
    background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
    border: 2px solid rgba(102, 126, 234, 0.15);
}

.why-card:nth-child(2) {
    border-radius: 20px 20px 8px 20px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
    background: linear-gradient(135deg, #f0f4ff 0%, #ffffff 100%);
    border: 2px solid rgba(236, 72, 153, 0.15);
}

.why-card:nth-child(3) {
    border-radius: 20px 8px 20px 20px;
    clip-path: polygon(20px 0, 100% 0, 100% 100%, 0 100%, 0 20px);
    background: linear-gradient(135deg, #fff0f8 0%, #f0f4ff 100%);
    border: 2px solid rgba(249, 115, 22, 0.15);
}

.why-card:nth-child(4) {
    border-radius: 20px 20px 20px 8px;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
    border: 2px solid rgba(20, 184, 166, 0.15);
}

.why-card:hover {
    transform: translateY(-12px) skewX(-1deg);
    box-shadow: var(--shadow-xl);
    border-color: rgba(102, 126, 234, 0.3);
}

.why-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: all 0.6s ease;
}

.why-card:hover::before {
    opacity: 1;
    top: -30%;
    right: -30%;
}

.why-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    animation: float 4s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.why-card:hover .why-icon {
    transform: scale(1.1) rotate(5deg);
}

.why-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    position: relative;
    z-index: 2;
}

.why-card p {
    color: var(--text-medium);
    line-height: 1.7;
    position: relative;
    z-index: 2;
}


/* === COURSES SECTION === */
.courses {
    padding: 6rem 0;
    background: white;
}

.accordion {
    max-width: 900px;
    margin: 3rem auto 0;
}

.accordion-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(102, 126, 234, 0.1);
    position: relative;
}

.accordion-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 0;
    background: var(--gradient-primary);
    transition: height 0.4s ease;
}

.accordion-item.active::before {
    height: 100%;
}

.accordion-item:hover {
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.1);
    transform: skewX(-1deg);
}

.accordion-header {
    width: 100%;
    padding: 1.5rem 2rem;
    background: linear-gradient(90deg, rgba(248, 250, 252, 0.5) 0%, rgba(255, 255, 255, 0.5) 100%);
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.accordion-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.2), transparent);
}

.accordion-header:hover {
    background: linear-gradient(90deg, rgba(248, 250, 252, 0.8) 0%, rgba(240, 244, 255, 0.8) 100%);
}

.accordion-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: left;
}

.accordion-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary-color);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.1);
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
    background: rgba(102, 126, 234, 0.2);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
}

.course-details {
    padding: 2rem;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    border-top: 1px dashed rgba(102, 126, 234, 0.2);
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.5) 0%, transparent 100%);
}

.course-image {
    width: 200px;
    height: 140px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid rgba(102, 126, 234, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.course-image:hover {
    transform: scale(1.05) rotate(-1deg);
    border-color: rgba(102, 126, 234, 0.4);
}

.course-info h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.course-list {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.course-list li {
    color: var(--text-medium);
    margin-bottom: 0.5rem;
    position: relative;
}

.course-list li::marker {
    color: var(--primary-color);
}


/* === STATS SECTION === */
.stats {
    padding: 5rem 0;
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item {
    padding: 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.stat-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1), transparent 50%);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-item:hover {
    transform: scale(1.05) skewY(-1deg);
}

.stat-item:hover::after {
    opacity: 1;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    line-height: 1;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
    opacity: 0.85;
    position: relative;
    z-index: 1;
}


/* === PROCESS/TIMELINE === */
.process {
    padding: 6rem 0;
    background: var(--bg-light);
}

.timeline {
    max-width: 800px;
    margin: 3rem auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }

.timeline-marker {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
    z-index: 1;
    position: relative;
    transition: all 0.3s ease;
    border: 3px solid white;
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.4);
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    flex: 1;
    border-left: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -4px;
    width: 100%;
    height: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, transparent 100%);
    transition: height 0.4s ease;
}

.timeline-item:hover .timeline-content {
    transform: translateX(8px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.15);
    border-left-color: var(--accent-color);
}

.timeline-item:hover .timeline-content::before {
    height: 100%;
}

.timeline-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    position: relative;
    z-index: 1;
}

.timeline-content p {
    color: var(--text-medium);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}


/* === TESTIMONIALS === */
.testimonials {
    padding: 6rem 0;
    background: white;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(79, 172, 254, 0.1);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.testimonial-card:hover::before {
    transform: scaleX(1);
}

.testimonial-card:hover {
    transform: translateY(-8px) skewX(-1deg);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(79, 172, 254, 0.3);
}

.testimonial-content {
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.testimonial-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-medium);
    font-style: italic;
    position: relative;
    padding-left: 16px;
}

.testimonial-content p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 2px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.author-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(79, 172, 254, 0.3);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(79, 172, 254, 0.2);
}

.testimonial-card:hover .author-photo {
    border-color: #4facfe;
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 6px 16px rgba(79, 172, 254, 0.3);
}

.author-name {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.author-position {
    font-size: 0.9rem;
    color: var(--text-light);
}


/* === FAQ === */
.faq {
    padding: 6rem 0;
    background: var(--bg-light);
}

.faq-list {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.1) 0%, transparent 100%);
    transition: width 0.4s ease;
}

.faq-item.active::before {
    width: 100%;
}

.faq-item:hover {
    border-left-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
    transform: translateX(4px);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    background: linear-gradient(90deg, rgba(248, 250, 252, 0.5) 0%, rgba(255, 255, 255, 0.5) 100%);
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s ease;
    position: relative;
}

.faq-question::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.2), transparent);
}

.faq-question:hover {
    background: linear-gradient(90deg, rgba(248, 250, 252, 0.8) 0%, rgba(240, 244, 255, 0.8) 100%);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.1);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background: rgba(102, 126, 234, 0.2);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 2rem 1.5rem;
    color: var(--text-medium);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}


/* === CONTACT SECTION === */
.contact {
    padding: 6rem 0;
    background: white;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-info > p {
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(79, 172, 254, 0.05) 100%);
    border-radius: 12px;
    border: 1px solid rgba(102, 126, 234, 0.1);
    border-left: 3px solid var(--primary-color);
    transition: all 0.3s ease;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}

.contact-item:hover {
    border-left-color: var(--accent-color);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(79, 172, 254, 0.1) 100%);
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-medium);
    line-height: 1.6;
}

.contact-form-wrapper {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(102, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.03) 0%, transparent 70%);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
    position: relative;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.5), white);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.form-group input:hover:not(:focus),
.form-group select:hover:not(:focus),
.form-group textarea:hover:not(:focus) {
    border-color: rgba(102, 126, 234, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}


/* === CTA SECTION === */
.cta-section {
    padding: 5rem 0;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}


/* === FOOTER === */
.footer {
    background: #1f2937;
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.footer-section {
    position: relative;
    padding-bottom: 2rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.footer-section:last-child {
    border-bottom: none;
}

.footer-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
}

.footer-section p {
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    inset: -50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px) rotate(5deg);
}

.social-links a:hover::before {
    opacity: 1;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    opacity: 0.9;
    transition: var(--transition-base);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}


/* === PAGE HERO (для внутренних страниц) === */
.page-hero {
    padding: 6rem 0 4rem;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.page-hero p {
    font-size: 1.25rem;
    opacity: 0.95;
}


/* === COURSES PAGE === */
.courses-filter {
    padding: 2rem 0;
    background: var(--bg-light);
}

.filter-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-base);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
}

.courses-list {
    padding: 4rem 0;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.course-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 2px solid rgba(102, 126, 234, 0.1);
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.course-card:hover {
    transform: translateY(-12px) skewY(-2deg);
    box-shadow: 0 12px 45px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.3);
}

.course-card:hover::before {
    opacity: 1;
}

.course-image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.course-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.course-card:hover .course-image-wrapper::after {
    opacity: 1;
}

.course-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.course-card:hover .course-card-image {
    transform: scale(1.1) rotate(2deg);
}

.course-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    z-index: 2;
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.course-badge.beginner {
    background: linear-gradient(135deg, var(--success-color), #0d9488);
}

.course-badge.intermediate {
    background: linear-gradient(135deg, var(--accent-color), #ea580c);
}

.course-badge.advanced {
    background: linear-gradient(135deg, var(--secondary-color), #be185d);
}

.course-card-content {
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.course-card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    position: relative;
}

.course-card-content h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    transition: width 0.4s ease;
}

.course-card:hover .course-card-content h3::after {
    width: 60px;
}

.course-card-content > p {
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.course-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px dashed rgba(102, 126, 234, 0.2);
}

.meta-item {
    font-size: 0.9rem;
    color: var(--text-medium);
    padding: 4px 8px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), transparent);
    border-radius: 4px;
    border-left: 2px solid rgba(102, 126, 234, 0.3);
    padding-left: 12px;
}

.course-topics {
    margin-bottom: 1.5rem;
}

.course-topics h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.course-topics ul {
    list-style: disc;
    padding-left: 1.5rem;
}

.course-topics li {
    color: var(--text-medium);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.course-footer {
    padding-top: 1rem;
}

.benefits {
    padding: 4rem 0;
    background: var(--bg-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-item {
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
    transition: all 0.4s ease;
}

.benefit-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(79, 172, 254, 0.05) 100%);
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.benefit-item:hover {
    transform: translateY(-8px) scale(1.02);
}

.benefit-item:hover::before {
    opacity: 1;
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: float 4s ease-in-out infinite;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.2) rotate(-10deg);
}

.benefit-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    position: relative;
    z-index: 1;
}

.benefit-item p {
    color: var(--text-medium);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}


/* === ABOUT PAGE === */
.our-story {
    padding: 6rem 0;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.story-text p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.story-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

.values {
    padding: 6rem 0;
    background: var(--bg-light);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(102, 126, 234, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}

.value-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.value-card:hover {
    transform: translateY(-8px) skewY(-2deg);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

.value-card:hover::before {
    opacity: 1;
}

.value-number {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 4px rgba(102, 126, 234, 0.2));
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    position: relative;
    z-index: 1;
}

.value-card p {
    color: var(--text-medium);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.team {
    padding: 6rem 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.team-member {
    text-align: center;
    position: relative;
}

.team-member::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, transparent 100%);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.team-member:hover::before {
    opacity: 1;
}

.member-photo {
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.2);
    border: 4px solid white;
    position: relative;
    transition: all 0.4s ease;
}

.member-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member:hover .member-photo {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.3);
}

.team-member:hover .member-photo::after {
    opacity: 1;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    position: relative;
    z-index: 1;
}

.member-position {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.member-bio {
    color: var(--text-medium);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.achievements {
    padding: 6rem 0;
    background: var(--bg-light);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.achievement-item {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(102, 126, 234, 0.1);
    transition: all 0.4s ease;
    border-radius: 20px 8px 20px 20px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}

.achievement-item::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.achievement-item:hover {
    transform: translateY(-10px) skewX(-1deg);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

.achievement-item:hover::before {
    opacity: 1;
}

.achievement-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: float 4s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.achievement-item:hover .achievement-icon {
    transform: scale(1.15) rotate(10deg);
}

.achievement-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    position: relative;
    z-index: 1;
}

.achievement-item p {
    color: var(--text-medium);
    position: relative;
    z-index: 1;
}

.partners {
    padding: 6rem 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    height: 120px;
    border: 2px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}

.partner-logo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.partner-logo:hover {
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.1);
    transform: translateY(-4px);
}

.partner-logo:hover::before {
    opacity: 1;
}

.partner-logo img {
    max-height: 60px;
    opacity: 0.7;
    transition: var(--transition-base);
}

.partner-logo:hover img {
    opacity: 1;
}


/* === CONTACT PAGE === */
.contact-page {
    padding: 4rem 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

.contact-info-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-info-section > p {
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
}

.method-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.method-details h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.method-details p {
    color: var(--text-medium);
    line-height: 1.6;
}

.method-note {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.social-contact-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-contact-links a {
    color: var(--primary-color);
    text-decoration: underline;
}

.office-hours {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
}

.office-hours h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
}

.hours-table tr {
    border-bottom: 1px solid var(--border-color);
}

.hours-table td {
    padding: 0.75rem 0;
    color: var(--text-medium);
}

.hours-table td:last-child {
    text-align: right;
    font-weight: 600;
}

.form-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.form-card h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.form-card > p {
    color: var(--text-medium);
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-label input {
    width: auto;
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: underline;
}

.map-section {
    margin-top: 4rem;
}

.map-placeholder {
    position: relative;
    height: 400px;
    background: var(--bg-light);
    border-radius: 20px;
    overflow: hidden;
}

.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.map-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
}

.map-overlay p {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.contact-faq {
    padding: 6rem 0 4rem;
    background: var(--bg-light);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.faq-box {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.faq-box h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.faq-box p {
    color: var(--text-medium);
    line-height: 1.7;
}


/* === THANKS PAGE === */
.thanks-page {
    padding: 6rem 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.thanks-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.thanks-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    background: var(--gradient-primary);
    color: white;
    font-size: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: var(--shadow-xl);
}

.thanks-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.thanks-content p {
    font-size: 1.125rem;
    color: var(--text-medium);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.thanks-note {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.thanks-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.thanks-additional {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.thanks-additional h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.thanks-additional ul {
    list-style: disc;
    padding-left: 2rem;
    text-align: left;
    display: inline-block;
}

.thanks-additional li {
    color: var(--text-medium);
    margin-bottom: 0.5rem;
}

.thanks-contact {
    margin-top: 2rem;
}

.phone-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 0.5rem;
}


/* === POLICY PAGES === */
.policy-page {
    padding: 4rem 0;
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
}

.policy-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.update-date {
    color: var(--text-light);
    margin-bottom: 3rem;
    font-style: italic;
}

.policy-content h2 {
    font-size: 1.75rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.policy-content h3 {
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.policy-content p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.policy-content ul {
    list-style: disc;
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.policy-content li {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.policy-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.policy-back {
    margin-top: 3rem;
    text-align: center;
}


/* === ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes float-orb {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(30px, -30px);
    }
    50% {
        transform: translate(-30px, 30px);
    }
    75% {
        transform: translate(20px, 20px);
    }
}

@keyframes progress {
    to {
        stroke-dashoffset: 80;
    }
}


/* === RESPONSIVE DESIGN === */
@media (max-width: 968px) {
    .hero-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-tiles {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .hero-image-main {
        transform: none;
    }
    
    .contact-wrapper,
    .contact-layout,
    .story-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .course-details {
        grid-template-columns: 1fr;
    }
    
    .course-image {
        width: 100%;
        height: 200px;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        gap: 1rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn-large {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .stat-divider {
        display: none;
    }
    
    .hero-tiles {
        grid-template-columns: 1fr;
    }
    
    .floating-element {
        display: none;
    }
    
    .gradient-orb {
        filter: blur(60px);
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-marker {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .hero {
        padding: 80px 0 40px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .badge-tag {
        font-size: 0.8rem;
        padding: 8px 16px;
    }
    
    .hero-stats {
        gap: 16px;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .tile {
        padding: 24px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .btn {
        padding: 12px 24px;
    }
}