/* Сохраняем все существующие стили и улучшаем блок учителя */

:root {
/* Primitive Color Tokens */
--color-white: rgba(255, 255, 255, 1);
--color-black: rgba(0, 0, 0, 1);
--color-cream-50: rgba(252, 252, 249, 1);
--color-cream-100: rgba(255, 255, 253, 1);
--color-gray-200: rgba(245, 245, 245, 1);
--color-gray-300: rgba(167, 169, 169, 1);
--color-gray-400: rgba(119, 124, 124, 1);
--color-slate-500: rgba(98, 108, 113, 1);
--color-brown-600: rgba(94, 82, 64, 1);
--color-charcoal-700: rgba(31, 33, 33, 1);
--color-charcoal-800: rgba(38, 40, 40, 1);
--color-slate-900: rgba(19, 52, 59, 1);
--color-teal-300: rgba(50, 184, 198, 1);
--color-teal-400: rgba(45, 166, 178, 1);
--color-teal-500: rgba(33, 128, 141, 1);
--color-teal-600: rgba(29, 116, 128, 1);
--color-teal-700: rgba(26, 104, 115, 1);
--color-teal-800: rgba(41, 150, 161, 1);
--color-red-400: rgba(255, 84, 89, 1);
--color-red-500: rgba(192, 21, 47, 1);
--color-orange-400: rgba(230, 129, 97, 1);
--color-orange-500: rgba(168, 75, 47, 1);

/* Premium Easy Russian Styles */
--color-primary: #6B8E23;
--color-primary-hover: #5D7A1F;
--color-primary-active: #4F661A;
--color-accent-gold: #D4AF37;
--color-background: #FFFBEA;
--color-surface: rgba(255, 251, 234, 0.95);

/* Premium gradients */
--gradient-primary: linear-gradient(135deg, var(--color-primary), var(--color-accent-gold));
--gradient-hero: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.15) 0%, rgba(107, 142, 35, 0.1) 50%, transparent 80%);
--gradient-surface: linear-gradient(145deg, rgba(255, 251, 234, 0.9), rgba(255, 251, 234, 0.7));

/* Shadows */
--shadow-premium: 0 20px 60px rgba(107, 142, 35, 0.15), 0 8px 25px rgba(212, 175, 55, 0.1);
--shadow-card: 0 12px 40px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(107, 142, 35, 0.12);
--shadow-floating: 0 25px 80px rgba(107, 142, 35, 0.2);
}

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

html {
scroll-behavior: smooth;
font-size: 16px;
}

body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
line-height: 1.6;
color: #1f2937;
background: var(--color-background);
overflow-x: hidden;
padding-top: 100px;
}

/* Navigation */
.nav {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 1000;
padding: 1rem 0;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
backdrop-filter: blur(0px);
}

.nav.scrolled {
background: rgba(255, 251, 234, 0.9);
backdrop-filter: blur(20px);
border-bottom: 1px solid rgba(107, 142, 35, 0.1);
box-shadow: var(--shadow-card);
padding: 0.75rem 0;
}

.nav-container {
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
display: flex;
align-items: center;
justify-content: space-between;
}

.nav-logo {
display: flex;
align-items: center;
gap: 0.75rem;
font-weight: 700;
font-size: 1.3rem;
color: #1f2937;
}

.nav-logo-img {
width: 48px;
height: 48px;
object-fit: contain;
}

.nav-links {
display: flex;
align-items: center;
gap: 2.5rem;
}

.nav-link {
color: #6b7280;
text-decoration: none;
font-weight: 500;
position: relative;
padding: 0.5rem 0;
transition: all 0.3s ease;
}

.nav-link:hover {
color: var(--color-primary);
transform: translateY(-2px);
}

.nav-link::after {
content: '';
position: absolute;
bottom: -2px;
left: 0;
width: 0;
height: 3px;
background: var(--gradient-primary);
border-radius: 2px;
transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.lang-btn {
background: var(--gradient-surface);
border: 2px solid rgba(107, 142, 35, 0.2);
border-radius: 12px;
padding: 0.5rem 1rem;
color: #1f2937;
font-weight: 600;
cursor: pointer;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
backdrop-filter: blur(10px);
display: flex;
align-items: center;
gap: 0.5rem;
}

.lang-btn:hover {
background: var(--gradient-primary);
color: white;
transform: translateY(-2px);
box-shadow: var(--shadow-card);
}

.lang-flag {
font-size: 1.2rem;
}

/* Hero Section */
.hero {
min-height: 100vh;
display: flex;
align-items: center;
position: relative;
overflow: hidden;
background: var(--color-background);
}

.hero-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: var(--gradient-hero);
z-index: 2;
}

.hero-blobs {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 3;
pointer-events: none;
}

.blob {
position: absolute;
border-radius: 50%;
background: radial-gradient(circle, rgba(212, 175, 55, 0.15), rgba(107, 142, 35, 0.1));
filter: blur(40px);
animation: morphBlob 20s ease-in-out infinite;
}

.blob-1 {
width: 300px;
height: 300px;
top: 10%;
left: 10%;
animation-delay: 0s;
}

.blob-2 {
width: 400px;
height: 400px;
top: 60%;
right: 10%;
animation-delay: 7s;
}

.blob-3 {
width: 250px;
height: 250px;
bottom: 20%;
left: 60%;
animation-delay: 14s;
}

@keyframes morphBlob {
0%, 100% {
transform: scale(1) translateX(0) translateY(0);
border-radius: 50%;
}
25% {
transform: scale(1.2) translateX(20px) translateY(-30px);
border-radius: 40% 60% 70% 30%;
}
50% {
transform: scale(0.8) translateX(-20px) translateY(20px);
border-radius: 60% 40% 30% 70%;
}
75% {
transform: scale(1.1) translateX(30px) translateY(-10px);
border-radius: 30% 70% 60% 40%;
}
}

.hero-container {
max-width: 1200px;
margin: 0 auto;
padding: 8rem 2rem 4rem;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
z-index: 4;
position: relative;
}

.hero-content {
max-width: 800px;
}

.hero-title {
font-family: 'Playfair Display', serif;
font-size: clamp(3rem, 8vw, 6rem);
font-weight: 700;
line-height: 1.1;
margin-bottom: 2rem;
text-align: center;
}

.hero-title-main {
display: block;
color: #1f2937;
margin-bottom: 0.2em;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-title-accent {
display: block;
background: var(--gradient-primary);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
position: relative;
margin-bottom: 0.2em;
text-shadow: none;
}

.hero-title-sub {
display: block;
color: #6b7280;
font-size: 0.8em;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.hero-subtitle {
font-size: 1.3rem;
color: #6b7280;
margin-bottom: 3rem;
line-height: 1.6;
max-width: 600px;
margin-left: auto;
margin-right: auto;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.hero-cta {
display: flex;
gap: 1.5rem;
justify-content: center;
margin-bottom: 4rem;
flex-wrap: wrap;
}

.btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 1rem 1.5rem;
border-radius: 12px;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
border: none;
text-decoration: none;
position: relative;
overflow: hidden;
}

.btn--hero {
padding: 1.2rem 2.5rem;
font-size: 1.1rem;
font-weight: 600;
border-radius: 16px;
min-width: 200px;
}

.btn--primary {
background: var(--gradient-primary);
color: white;
border: none;
box-shadow: var(--shadow-premium);
}

.btn--primary:hover {
transform: translateY(-4px) scale(1.05);
box-shadow: var(--shadow-floating);
}

.btn--outline {
background: var(--gradient-surface);
backdrop-filter: blur(20px);
border: 2px solid rgba(107, 142, 35, 0.3);
color: #1f2937;
}

.btn--outline:hover {
background: var(--gradient-primary);
color: white;
border-color: var(--color-accent-gold);
transform: translateY(-4px) scale(1.05);
box-shadow: var(--shadow-premium);
}

.btn--full-width {
width: 100%;
}

.hero-stats {
display: flex;
justify-content: center;
gap: 4rem;
margin-top: 2rem;
flex-wrap: wrap;
}

.stat-item {
text-align: center;
position: relative;
}

.stat-number {
font-size: 3.5rem;
font-weight: 700;
background: var(--gradient-primary);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
margin-bottom: 0.5rem;
display: block;
}

.stat-label {
font-size: 1rem;
color: #6b7280;
font-weight: 500;
}

/* Section Styles */
.section {
padding: 8rem 0;
position: relative;
}

.section:nth-child(even) {
background: rgba(107, 142, 35, 0.02);
}

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

.section-header {
text-align: center;
margin-bottom: 5rem;
}

.section-title {
font-family: 'Playfair Display', serif;
font-size: clamp(2.5rem, 5vw, 4rem);
font-weight: 700;
margin-bottom: 1rem;
background: var(--gradient-primary);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}

.section-subtitle {
font-size: 1.3rem;
color: #6b7280;
max-width: 600px;
margin: 0 auto;
line-height: 1.6;
}

/* ===============================================
   IMPROVED TEACHER SECTION - STATIC WITH BREATHING
   =============================================== */

.about-content {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 6rem;
align-items: center;
position: relative;
padding: 4rem 0;
}

/* Cinematic Background Effect */
.about-content::before {
content: '';
position: absolute;
top: -20%;
left: -10%;
width: 120%;
height: 140%;
background: radial-gradient(
    ellipse 800px 600px at 30% 50%,
    rgba(212, 175, 55, 0.05) 0%,
    rgba(107, 142, 35, 0.08) 30%,
    rgba(212, 175, 55, 0.03) 60%,
    transparent 100%
);
filter: blur(40px);
z-index: -1;
animation: cinematicGlow 12s ease-in-out infinite;
}

@keyframes cinematicGlow {
0%, 100% { 
    transform: scale(1) rotate(0deg);
    opacity: 0.6;
}
33% { 
    transform: scale(1.1) rotate(2deg);
    opacity: 0.8;
}
66% { 
    transform: scale(0.9) rotate(-1deg);
    opacity: 0.7;
}
}

/* Enhanced Text Section */
.about-text {
position: relative;
z-index: 2;
}

.about-title {
font-family: 'Playfair Display', serif;
font-size: clamp(2.5rem, 5vw, 4rem);
font-weight: 800;
margin-bottom: 0.5rem;
background: linear-gradient(135deg, 
    #1f2937 0%, 
    var(--color-primary) 50%, 
    var(--color-accent-gold) 100%
);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
position: relative;
animation: titleReveal 2s ease-out;
}

@keyframes titleReveal {
0% {
    opacity: 0;
    transform: translateY(50px) scale(0.8);
}
60% {
    opacity: 0.8;
    transform: translateY(-10px) scale(1.05);
}
100% {
    opacity: 1;
    transform: translateY(0) scale(1);
}
}

.about-title::after {
content: '';
position: absolute;
bottom: -10px;
left: 0;
width: 0;
height: 4px;
background: var(--gradient-primary);
border-radius: 2px;
animation: underlineExpand 3s ease-out 0.5s forwards;
}

@keyframes underlineExpand {
to { width: 100%; }
}

.about-subtitle {
color: var(--color-primary);
font-size: 1.5rem;
font-weight: 700;
margin-bottom: 2.5rem;
text-transform: uppercase;
letter-spacing: 2px;
position: relative;
animation: subtitleSlide 2s ease-out 0.3s both;
}

@keyframes subtitleSlide {
0% {
    opacity: 0;
    transform: translateX(-50px);
}
100% {
    opacity: 1;
    transform: translateX(0);
}
}

.about-subtitle::before {
content: '★';
color: var(--color-accent-gold);
margin-right: 0.5rem;
animation: starTwinkle 2s ease-in-out infinite;
}

@keyframes starTwinkle {
0%, 100% { opacity: 0.5; transform: scale(1); }
50% { opacity: 1; transform: scale(1.2); }
}

.about-description {
font-size: 1.3rem;
line-height: 1.9;
margin-bottom: 3.5rem;
color: #4a5568;
font-weight: 500;
position: relative;
background: rgba(107, 142, 35, 0.03);
padding: 2rem;
border-radius: 20px;
border-left: 5px solid var(--color-accent-gold);
box-shadow: 0 10px 30px rgba(107, 142, 35, 0.1);
animation: descriptionFade 2s ease-out 0.6s both;
}

@keyframes descriptionFade {
0% {
    opacity: 0;
    transform: translateY(30px);
}
100% {
    opacity: 1;
    transform: translateY(0);
}
}

.about-description::before {
content: '"';
position: absolute;
top: -10px;
left: 15px;
font-size: 4rem;
color: var(--color-accent-gold);
opacity: 0.3;
font-family: 'Playfair Display', serif;
}

/* WOW Achievements */
.about-achievements {
display: flex;
flex-direction: column;
gap: 2rem;
}

.achievement {
display: flex;
align-items: center;
gap: 2rem;
padding: 2rem;
background: linear-gradient(135deg, 
    rgba(255, 251, 234, 0.9) 0%,
    rgba(107, 142, 35, 0.05) 100%
);
border-radius: 25px;
border: 2px solid transparent;
background-clip: padding-box;
box-shadow: 
    0 10px 40px rgba(107, 142, 35, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
overflow: hidden;
animation: achievementSlide 1s ease-out both;
}

.achievement:nth-child(1) { animation-delay: 0.9s; }
.achievement:nth-child(2) { animation-delay: 1.2s; }
.achievement:nth-child(3) { animation-delay: 1.5s; }

@keyframes achievementSlide {
0% {
    opacity: 0;
    transform: translateX(-100px);
}
100% {
    opacity: 1;
    transform: translateX(0);
}
}

.achievement::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, 
    transparent,
    rgba(212, 175, 55, 0.2),
    transparent
);
transition: left 0.8s ease;
}

.achievement:hover::before {
left: 100%;
}

.achievement:hover {
transform: translateX(20px) scale(1.02);
border-color: rgba(212, 175, 55, 0.3);
box-shadow: 
    0 20px 60px rgba(107, 142, 35, 0.2),
    inset 0 2px 0 rgba(255, 255, 255, 0.7);
}

.achievement-icon {
font-size: 3rem;
min-width: 4rem;
text-align: center;
background: var(--gradient-primary);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
filter: drop-shadow(0 2px 4px rgba(107, 142, 35, 0.3));
}

.achievement-text {
font-weight: 700;
color: #1f2937;
font-size: 1.2rem;
line-height: 1.4;
}

/* ===============================================
   IMPROVED PHOTO SECTION - STATIC WITH BREATHING
   =============================================== */

.about-visual {
position: relative;
display: flex;
align-items: center;
justify-content: center;
z-index: 2;
}

.about-image-wrapper {
position: relative;
animation: photoEntrance 2.5s ease-out 1.8s both;
}

@keyframes photoEntrance {
0% {
    opacity: 0;
    transform: scale(0.5) rotate(-10deg);
    filter: blur(10px);
}
50% {
    opacity: 0.7;
    transform: scale(1.1) rotate(5deg);
    filter: blur(2px);
}
100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    filter: blur(0px);
}
}

/* IMPROVED: Static Layered Frame with Breathing Effect */
.about-image-container {
width: 450px; /* УВЕЛИЧЕН размер */
height: 450px; /* УВЕЛИЧЕН размер */
border-radius: 50%;
position: relative;
overflow: hidden;
background: linear-gradient(135deg, 
    var(--color-accent-gold) 0%,
    #B8860B 25%,
    var(--color-primary) 50%,
    var(--color-accent-gold) 75%,
    #B8860B 100%
); /* СТАТИЧНЫЙ градиент вместо conic */
padding: 10px; /* Увеличена обводка */
box-shadow: 
    0 0 0 5px rgba(255, 255, 255, 0.9),
    0 0 0 15px rgba(212, 175, 55, 0.4),
    0 0 0 25px rgba(255, 255, 255, 0.6),
    0 40px 120px rgba(107, 142, 35, 0.4),
    0 0 180px rgba(212, 175, 55, 0.3);
transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
animation: breathingGlow 4s ease-in-out infinite; /* НОВЫЙ эффект дыхания */
}

/* НОВАЯ анимация дыхания вместо вращения */
@keyframes breathingGlow {
0%, 100% { 
    transform: scale(1);
    box-shadow: 
        0 0 0 5px rgba(255, 255, 255, 0.9),
        0 0 0 15px rgba(212, 175, 55, 0.4),
        0 0 0 25px rgba(255, 255, 255, 0.6),
        0 40px 120px rgba(107, 142, 35, 0.4),
        0 0 180px rgba(212, 175, 55, 0.3);
}
50% { 
    transform: scale(1.02);
    box-shadow: 
        0 0 0 5px rgba(255, 255, 255, 1),
        0 0 0 15px rgba(212, 175, 55, 0.6),
        0 0 0 25px rgba(255, 255, 255, 0.8),
        0 45px 140px rgba(107, 142, 35, 0.5),
        0 0 200px rgba(212, 175, 55, 0.4);
}
}

.about-image-container::before {
content: '';
position: absolute;
inset: -25px;
background: radial-gradient(circle, 
    rgba(212, 175, 55, 0.3) 0%,
    rgba(107, 142, 35, 0.2) 50%,
    transparent 100%
); /* СТАТИЧНЫЙ радиальный градиент */
border-radius: 50%;
filter: blur(20px);
z-index: -1;
animation: pulseHalo 3s ease-in-out infinite; /* Пульсирующий ореол */
}

/* НОВАЯ анимация пульсирующего ореола */
@keyframes pulseHalo {
0%, 100% { 
    opacity: 0.6;
    transform: scale(1);
}
50% { 
    opacity: 0.9;
    transform: scale(1.1);
}
}

.about-image-container:hover {
transform: scale(1.08); /* Увеличен hover эффект */
box-shadow: 
    0 0 0 5px rgba(255, 255, 255, 1),
    0 0 0 15px rgba(212, 175, 55, 0.7),
    0 0 0 25px rgba(255, 255, 255, 0.9),
    0 60px 180px rgba(107, 142, 35, 0.5),
    0 0 250px rgba(212, 175, 55, 0.4);
animation-play-state: paused; /* Останавливаем дыхание при hover */
}

.about-image-inner {
width: 100%;
height: 100%;
border-radius: 50%;
overflow: hidden;
position: relative;
background: #fff;
}

.about-image {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
filter: 
    sepia(5%) 
    saturate(120%) 
    brightness(110%) 
    contrast(105%);
}

.about-image-container:hover .about-image {
transform: scale(1.08);
filter: 
    sepia(15%) 
    saturate(130%) 
    brightness(115%) 
    contrast(110%);
}

/* Floating Particles Around Photo */
.about-image-wrapper::before,
.about-image-wrapper::after {
content: '';
position: absolute;
width: 6px;
height: 6px;
background: var(--color-accent-gold);
border-radius: 50%;
box-shadow: 
    0 0 10px rgba(212, 175, 55, 0.8),
    0 0 20px rgba(212, 175, 55, 0.4);
}

.about-image-wrapper::before {
top: 15%;
right: 10%;
animation: particle1 8s ease-in-out infinite;
}

.about-image-wrapper::after {
bottom: 20%;
left: 15%;
animation: particle2 6s ease-in-out infinite;
}

@keyframes particle1 {
0%, 100% { 
    transform: translateY(0px) translateX(0px) scale(1);
    opacity: 0.6;
}
50% { 
    transform: translateY(-20px) translateX(10px) scale(1.5);
    opacity: 1;
}
}

@keyframes particle2 {
0%, 100% { 
    transform: translateY(0px) translateX(0px) scale(1);
    opacity: 0.7;
}
33% { 
    transform: translateY(15px) translateX(-15px) scale(1.2);
    opacity: 0.9;
}
66% { 
    transform: translateY(-10px) translateX(20px) scale(0.8);
    opacity: 1;
}
}

/* IMPROVED: Transparent Experience Badge */
.about-experience-badge {
position: absolute;
top: 2rem;
right: 0rem; /* Сдвинут ближе к центру */
background: rgba(255, 251, 234, 0.6); /* БОЛЕЕ ПРОЗРАЧНЫЙ */
backdrop-filter: blur(15px);
border: 2px solid rgba(212, 175, 55, 0.4); /* Тоньше и прозрачнее */
border-radius: 25px;
padding: 1.5rem; /* Немного меньше */
text-align: center;
box-shadow: 
    0 15px 40px rgba(107, 142, 35, 0.15), /* Мягче тень */
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
animation: gentleFloat 6s ease-in-out infinite; /* Более мягкая анимация */
z-index: 5; /* Понижен z-index */
}

/* НОВАЯ мягкая анимация */
@keyframes gentleFloat {
0%, 100% { 
    transform: translateY(0px);
    opacity: 0.85; /* Переменная прозрачность */
}
33% { 
    transform: translateY(-8px);
    opacity: 0.95;
}
66% { 
    transform: translateY(5px);
    opacity: 0.9;
}
}

.about-experience-badge::before {
content: '';
position: absolute;
inset: -8px;
background: radial-gradient(circle, 
    rgba(212, 175, 55, 0.2) 0%,
    transparent 70%
); /* СТАТИЧНЫЙ радиальный градиент */
border-radius: 35px;
filter: blur(8px);
z-index: -1;
animation: softPulse 4s ease-in-out infinite; /* Мягкий пульс */
}

/* НОВАЯ анимация мягкого пульса */
@keyframes softPulse {
0%, 100% { 
    opacity: 0.4;
    transform: scale(1);
}
50% { 
    opacity: 0.7;
    transform: scale(1.05);
}
}

.experience-years {
font-size: 3rem;
font-weight: 900;
background: var(--gradient-primary);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
margin-bottom: 0.5rem;
text-shadow: 0 4px 8px rgba(107, 142, 35, 0.2);
animation: numbersCount 3s ease-out 2.5s both;
}

@keyframes numbersCount {
0% {
    opacity: 0;
    transform: scale(0.5);
}
50% {
    opacity: 1;
    transform: scale(1.2);
}
100% {
    opacity: 1;
    transform: scale(1);
}
}

.experience-text {
font-size: 1.1rem;
color: var(--color-primary);
font-weight: 700;
text-transform: uppercase;
letter-spacing: 1px;
}

/* Additional Floating Elements */
.about-visual::before {
content: '✨';
position: absolute;
top: 10%;
left: 5%;
font-size: 2rem;
opacity: 0;
animation: sparkle1 4s ease-in-out 3s infinite;
}

.about-visual::after {
content: '💫';
position: absolute;
bottom: 15%;
right: 8%;
font-size: 1.8rem;
opacity: 0;
animation: sparkle2 5s ease-in-out 3.5s infinite;
}

@keyframes sparkle1 {
0%, 80%, 100% { opacity: 0; transform: scale(0.5) rotate(0deg); }
10%, 70% { opacity: 1; transform: scale(1.2) rotate(180deg); }
}

@keyframes sparkle2 {
0%, 85%, 100% { opacity: 0; transform: scale(0.8) rotate(0deg); }
15%, 75% { opacity: 0.8; transform: scale(1) rotate(-180deg); }
}

/* Course Cards */
.courses-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
gap: 2.5rem;
margin-top: 3rem;
}

.course-card {
position: relative;
cursor: pointer;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
perspective: 1000px;
}

.course-card-3d {
background: var(--gradient-surface);
backdrop-filter: blur(20px);
border: 2px solid rgba(107, 142, 35, 0.1);
border-radius: 24px;
padding: 2.5rem;
text-align: center;
position: relative;
overflow: hidden;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: var(--shadow-card);
transform-style: preserve-3d;
}

.course-card:hover {
transform: translateY(-12px) rotateX(5deg) rotateY(5deg);
box-shadow: var(--shadow-floating);
}

.course-card.featured {
border: 2px solid rgba(212, 175, 55, 0.3);
transform: scale(1.05);
}

.course-card.featured:hover {
transform: translateY(-12px) rotateX(5deg) rotateY(5deg) scale(1.05);
}

.course-card-badge {
position: absolute;
top: 1.5rem;
right: 1.5rem;
background: var(--gradient-primary);
color: white;
padding: 0.6rem 1.2rem;
border-radius: 20px;
font-size: 0.85rem;
font-weight: 600;
box-shadow: var(--shadow-card);
animation: pulse 2s infinite;
}

@keyframes pulse {
0%, 100% { transform: scale(1); }
50% { transform: scale(1.05); }
}

.course-card-icon {
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 1.5rem;
height: 80px;
}

.course-icon-img {
height: 64px;
width: auto;
object-fit: contain;
filter: drop-shadow(0 4px 8px rgba(107, 142, 35, 0.2));
}

.course-card-title {
font-size: 1.6rem;
font-weight: 700;
margin-bottom: 1.5rem;
color: #1f2937;
}

.course-card-price-tag {
background: var(--gradient-primary);
color: white;
border-radius: 16px;
padding: 1rem;
margin-bottom: 1.5rem;
display: inline-block;
min-width: 120px;
box-shadow: var(--shadow-card);
position: relative;
overflow: hidden;
}

.course-card-price-tag.featured-price {
background: linear-gradient(135deg, var(--color-accent-gold), #B8860B);
animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
0%, 100% { background-position: -200% center; }
50% { background-position: 200% center; }
}

.course-card-price {
font-size: 2.2rem;
font-weight: 700;
margin-bottom: 0.25rem;
}

.course-card-duration {
font-size: 0.9rem;
opacity: 0.9;
}

.course-card-features {
list-style: none;
margin-bottom: 2rem;
text-align: left;
}

.course-card-features li {
padding: 0.75rem 0;
border-bottom: 1px solid rgba(107, 142, 35, 0.1);
position: relative;
padding-left: 2rem;
transition: all 0.3s ease;
}

.course-card-features li:hover {
color: var(--color-primary);
transform: translateX(5px);
}

.course-card-features li:last-child {
border-bottom: none;
}

.course-card-features li::before {
content: '✓';
position: absolute;
left: 0;
color: var(--color-primary);
font-weight: 700;
width: 1.5rem;
height: 1.5rem;
border-radius: 50%;
background: rgba(107, 142, 35, 0.1);
display: flex;
align-items: center;
justify-content: center;
font-size: 0.8rem;
}

/* Shop Section Styles - ОБНОВЛЕНО для выравнивания кнопок */
.shop-section {
background: rgba(107, 142, 35, 0.02);
}

.shop-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 2.5rem;
margin-top: 3rem;
}

.shop-item {
background: var(--gradient-surface);
backdrop-filter: blur(20px);
border: 2px solid rgba(107, 142, 35, 0.1);
border-radius: 24px;
padding: 2.5rem;
text-align: center;
position: relative;
overflow: hidden;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: var(--shadow-card);
display: flex;
flex-direction: column; /* НОВОЕ: Делает карточку flex контейнером */
}

.shop-item:hover {
transform: translateY(-12px);
box-shadow: var(--shadow-floating);
}

.shop-item-image {
margin-bottom: 1.5rem;
height: 120px;
display: flex;
align-items: center;
justify-content: center;
}

.shop-item-image img {
max-width: 100%;
max-height: 100%;
object-fit: contain;
filter: drop-shadow(0 4px 8px rgba(107, 142, 35, 0.2));
}

.shop-item-title {
font-size: 1.4rem;
font-weight: 700;
margin-bottom: 1rem;
color: #1f2937;
}

.shop-item-description {
color: #6b7280;
margin-bottom: 1.5rem;
line-height: 1.6;
font-size: 0.95rem;
flex-grow: 1; /* НОВОЕ: Заполняет доступное пространство */
}

.shop-item-price {
font-size: 2rem;
font-weight: 700;
background: var(--gradient-primary);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
margin-bottom: 1.5rem;
}

/* НОВОЕ: Обертка для кнопки магазина для выравнивания */
.shop-item-button-wrapper {
margin-top: auto; /* НОВОЕ: Прижимает кнопку к низу */
}

.shop-item-button {
padding: 1rem 2rem;
font-size: 1.1rem;
width: 100%;
}

/* ================================================
   ПРИВЛЕКАТЕЛЬНЫЕ УЛУЧШЕНИЯ ДЛЯ КАРТОЧЕК МАГАЗИНА
   ================================================ */

/* Анимированные градиентные фоны для карточек */
.shop-item {
position: relative;
background: linear-gradient(145deg, 
    rgba(255, 251, 234, 0.95) 0%,
    rgba(255, 251, 234, 0.85) 50%,
    rgba(107, 142, 35, 0.05) 100%
);
backdrop-filter: blur(25px);
border: 2px solid transparent;
background-clip: padding-box;
box-shadow: 
    0 15px 35px rgba(107, 142, 35, 0.1),
    0 5px 15px rgba(212, 175, 55, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
overflow: hidden;
}

.shop-item::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(135deg, 
    rgba(212, 175, 55, 0.1) 0%,
    transparent 30%,
    transparent 70%,
    rgba(107, 142, 35, 0.1) 100%
);
opacity: 0;
transition: opacity 0.6s ease;
z-index: 1;
}

.shop-item:hover::before {
opacity: 1;
}

.shop-item:hover {
transform: translateY(-20px) scale(1.03);
box-shadow: 
    0 30px 80px rgba(107, 142, 35, 0.2),
    0 15px 40px rgba(212, 175, 55, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
border-color: rgba(212, 175, 55, 0.3);
}

/* Улучшенный контейнер изображений */
.shop-item-image {
position: relative;
background: radial-gradient(circle, 
    rgba(107, 142, 35, 0.1) 0%,
    rgba(212, 175, 55, 0.05) 50%,
    transparent 100%
);
border-radius: 20px;
padding: 2rem;
margin-bottom: 2rem;
transition: all 0.5s ease;
z-index: 2;
}

.shop-item-image::before {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 80%;
height: 80%;
background: linear-gradient(45deg, 
    rgba(107, 142, 35, 0.1),
    rgba(212, 175, 55, 0.1)
);
border-radius: 50%;
transform: translate(-50%, -50%);
filter: blur(20px);
opacity: 0;
transition: opacity 0.5s ease;
z-index: -1;
}

.shop-item:hover .shop-item-image::before {
opacity: 1;
}

.shop-item-image img {
transform: scale(1);
transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
filter: 
    drop-shadow(0 8px 16px rgba(107, 142, 35, 0.3))
    drop-shadow(0 4px 8px rgba(212, 175, 55, 0.2));
z-index: 2;
position: relative;
}

.shop-item:hover .shop-item-image img {
transform: scale(1.1) rotate(3deg);
filter: 
    drop-shadow(0 15px 30px rgba(107, 142, 35, 0.4))
    drop-shadow(0 8px 16px rgba(212, 175, 55, 0.3));
}

/* Улучшенные заголовки товаров */
.shop-item-title {
position: relative;
background: linear-gradient(135deg, 
    #1f2937 0%,
    var(--color-primary) 100%
);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
font-size: 1.6rem;
font-weight: 800;
margin-bottom: 1.5rem;
text-shadow: 0 2px 4px rgba(107, 142, 35, 0.1);
transition: all 0.3s ease;
z-index: 2;
position: relative;
}

.shop-item:hover .shop-item-title {
transform: translateY(-2px);
text-shadow: 0 4px 8px rgba(107, 142, 35, 0.2);
}

/* Привлекательные описания */
.shop-item-description {
background: rgba(107, 142, 35, 0.05);
padding: 1.5rem;
border-radius: 16px;
border-left: 4px solid var(--color-accent-gold);
font-size: 1rem;
line-height: 1.7;
color: #4a5568;
margin-bottom: 2rem;
transition: all 0.4s ease;
box-shadow: 0 4px 12px rgba(107, 142, 35, 0.08);
z-index: 2;
position: relative;
}

.shop-item:hover .shop-item-description {
background: rgba(107, 142, 35, 0.08);
transform: translateY(-2px);
box-shadow: 0 8px 20px rgba(107, 142, 35, 0.12);
border-left-color: #B8860B;
}

/* Эффектные цены с анимацией */
.shop-item-price {
position: relative;
font-size: 2.5rem;
font-weight: 900;
background: linear-gradient(135deg, 
    var(--color-primary) 0%,
    var(--color-accent-gold) 50%,
    #B8860B 100%
);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
text-align: center;
margin-bottom: 2rem;
text-shadow: 0 4px 8px rgba(107, 142, 35, 0.2);
animation: priceGlow 3s ease-in-out infinite;
z-index: 2;
}

@keyframes priceGlow {
0%, 100% {
    text-shadow: 
        0 0 10px rgba(212, 175, 55, 0.3),
        0 4px 8px rgba(107, 142, 35, 0.2);
}
50% {
    text-shadow: 
        0 0 20px rgba(212, 175, 55, 0.5),
        0 0 30px rgba(107, 142, 35, 0.3),
        0 8px 16px rgba(212, 175, 55, 0.2);
}
}

.shop-item-price::before {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 120px;
height: 120px;
background: radial-gradient(circle, 
    rgba(212, 175, 55, 0.2) 0%,
    rgba(107, 142, 35, 0.1) 50%,
    transparent 100%
);
border-radius: 50%;
transform: translate(-50%, -50%);
z-index: -1;
animation: priceHalo 4s ease-in-out infinite;
}

@keyframes priceHalo {
0%, 100% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.5;
}
50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.8;
}
}

/* Премиальные кнопки покупки */
.shop-item-button {
position: relative;
background: linear-gradient(135deg, 
    var(--color-primary) 0%,
    #5D7A1F 25%,
    var(--color-accent-gold) 75%,
    #B8860B 100%
);
background-size: 300% 300%;
border: none;
color: white;
font-weight: 700;
font-size: 1.2rem;
padding: 1.4rem 2.5rem;
border-radius: 20px;
box-shadow: 
    0 10px 30px rgba(107, 142, 35, 0.3),
    0 4px 15px rgba(212, 175, 55, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
cursor: pointer;
text-transform: uppercase;
letter-spacing: 1px;
overflow: hidden;
z-index: 2;
animation: gradientShift 6s ease-in-out infinite;
}

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

.shop-item-button::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, 
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
);
transition: left 0.8s ease;
z-index: 1;
}

.shop-item-button:hover::before {
left: 100%;
}

.shop-item-button:hover {
transform: translateY(-4px) scale(1.05);
box-shadow: 
    0 20px 50px rgba(107, 142, 35, 0.4),
    0 10px 25px rgba(212, 175, 55, 0.3),
    inset 0 2px 0 rgba(255, 255, 255, 0.4);
background-size: 400% 400%;
}

.shop-item-button:active {
transform: translateY(-2px) scale(1.02);
box-shadow: 
    0 15px 35px rgba(107, 142, 35, 0.35),
    0 6px 20px rgba(212, 175, 55, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Декоративные элементы для премиальности */
.shop-item::after {
content: '✨';
position: absolute;
top: 1.5rem;
right: 1.5rem;
font-size: 1.5rem;
opacity: 0;
transform: scale(0) rotate(180deg);
transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
z-index: 3;
}

.shop-item:hover::after {
opacity: 1;
transform: scale(1) rotate(0deg);
}

/* Дополнительные анимации загрузки */
.shop-item {
animation: shopItemFadeIn 0.8s ease-out forwards;
opacity: 0;
transform: translateY(30px);
}

.shop-item:nth-child(1) { animation-delay: 0.1s; }
.shop-item:nth-child(2) { animation-delay: 0.2s; }
.shop-item:nth-child(3) { animation-delay: 0.3s; }

@keyframes shopItemFadeIn {
to {
    opacity: 1;
    transform: translateY(0);
}
}

/* Testimonials */
.testimonials-carousel {
position: relative;
max-width: 900px;
margin: 0 auto;
overflow: hidden;
border-radius: 24px;
}

.testimonial-card {
background: var(--gradient-surface);
backdrop-filter: blur(20px);
border: 2px solid rgba(107, 142, 35, 0.1);
border-radius: 24px;
padding: 3rem;
margin: 0 1rem;
box-shadow: var(--shadow-card);
transition: all 0.4s ease;
display: none;
opacity: 0;
}

.testimonial-card.active {
display: block;
opacity: 1;
}

.testimonial-card:hover {
transform: translateY(-8px);
box-shadow: var(--shadow-floating);
}

.testimonial-quote {
font-size: 1.4rem;
line-height: 1.8;
margin-bottom: 2rem;
font-style: italic;
color: #1f2937;
position: relative;
padding-left: 3rem;
}

.testimonial-quote::before {
content: '"';
font-size: 4rem;
color: var(--color-primary);
position: absolute;
left: 0;
top: -0.5rem;
font-family: 'Playfair Display', serif;
opacity: 0.7;
}

.testimonial-author {
display: flex;
align-items: center;
gap: 1.5rem;
}

.testimonial-avatar {
width: 70px;
height: 70px;
border-radius: 50%;
background: var(--gradient-primary);
display: flex;
align-items: center;
justify-content: center;
font-size: 2rem;
color: white;
box-shadow: var(--shadow-card);
}

.testimonial-name {
font-weight: 700;
color: #1f2937;
font-size: 1.2rem;
margin-bottom: 0.25rem;
}

.testimonial-location {
color: #6b7280;
font-size: 1rem;
}

/* Contact Section */
.contact-content {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 5rem;
align-items: start;
}

.contact-title {
font-family: 'Playfair Display', serif;
font-size: 3rem;
font-weight: 700;
margin-bottom: 1.5rem;
color: #1f2937;
}

.contact-description {
font-size: 1.2rem;
line-height: 1.8;
margin-bottom: 3rem;
color: #6b7280;
}

.contact-methods {
display: flex;
flex-direction: column;
gap: 2rem;
}

.contact-method {
display: flex;
align-items: center;
gap: 1.5rem;
padding: 1.5rem;
background: var(--gradient-surface);
border-radius: 16px;
border-left: 4px solid var(--color-primary);
box-shadow: var(--shadow-card);
transition: all 0.3s ease;
}

.contact-method:hover {
transform: translateX(10px);
box-shadow: var(--shadow-premium);
}

.contact-method-icon {
font-size: 2rem;
min-width: 3rem;
text-align: center;
}

.contact-method-label {
font-weight: 600;
color: #1f2937;
margin-bottom: 0.25rem;
font-size: 1.1rem;
}

.contact-method-value {
color: #6b7280;
font-size: 1rem;
}

.payment-methods {
margin-top: 2rem;
padding: 1.5rem;
background: var(--gradient-surface);
border-radius: 16px;
border-left: 4px solid var(--color-primary);
}

.payment-methods h4 {
margin-bottom: 1rem;
color: #1f2937;
}

.payment-methods div {
color: #6b7280;
font-weight: 500;
}

.contact-form-wrapper {
background: var(--gradient-surface);
backdrop-filter: blur(20px);
border: 2px solid rgba(107, 142, 35, 0.1);
border-radius: 24px;
padding: 3rem;
box-shadow: var(--shadow-premium);
}

/* Form styles */
.form-group {
margin-bottom: 1.5rem;
}

.form-label {
display: block;
margin-bottom: 0.5rem;
font-weight: 600;
color: #1f2937;
}

.form-control {
width: 100%;
padding: 1rem;
border: 2px solid rgba(107, 142, 35, 0.2);
border-radius: 12px;
background: var(--color-background);
color: #1f2937;
font-size: 1rem;
transition: all 0.3s ease;
}

.form-control:focus {
outline: none;
border-color: var(--color-primary);
box-shadow: 0 0 0 3px rgba(107, 142, 35, 0.1);
}

select.form-control {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B8E23' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 1rem center;
background-size: 16px;
}

/* Modal */
.modal {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 2000;
display: flex;
align-items: center;
justify-content: center;
padding: 2rem;
opacity: 0;
visibility: hidden;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.hidden {
opacity: 0;
visibility: hidden;
}

.modal:not(.hidden) {
opacity: 1;
visibility: visible;
}

.modal-backdrop {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.6);
backdrop-filter: blur(10px);
}

.modal-content {
background: var(--gradient-surface);
border-radius: 24px;
padding: 2.5rem;
max-width: 500px;
width: 100%;
position: relative;
box-shadow: var(--shadow-floating);
transform: scale(0.9);
transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
backdrop-filter: blur(20px);
border: 2px solid rgba(107, 142, 35, 0.1);
}

.modal:not(.hidden) .modal-content {
transform: scale(1);
}

.modal-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 2rem;
}

.modal-title {
font-size: 1.6rem;
font-weight: 700;
color: #1f2937;
}

.modal-close {
background: none;
border: none;
font-size: 2rem;
color: #6b7280;
cursor: pointer;
transition: all 0.3s ease;
width: 40px;
height: 40px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
}

.modal-close:hover {
color: #1f2937;
background: rgba(107, 142, 35, 0.1);
transform: rotate(90deg);
}

.modal-body {
margin-top: 1.5rem;
}

.shop-modal-product {
background: rgba(107, 142, 35, 0.05);
border-radius: 12px;
padding: 1.5rem;
margin-bottom: 1.5rem;
text-align: center;
}

/* Footer */
.footer {
background: var(--gradient-surface);
border-top: 2px solid rgba(107, 142, 35, 0.1);
padding: 4rem 0 2rem;
}

.footer-content {
display: grid;
grid-template-columns: 1fr 2fr;
gap: 4rem;
margin-bottom: 3rem;
}

.footer-brand {
max-width: 350px;
}

.footer-logo {
display: flex;
align-items: center;
gap: 0.75rem;
font-weight: 700;
font-size: 1.3rem;
color: #1f2937;
margin-bottom: 1.5rem;
}

.footer-logo-img {
width: 48px;
height: 48px;
object-fit: contain;
}

.footer-description {
color: #6b7280;
line-height: 1.6;
font-size: 1.1rem;
}

.footer-links {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 3rem;
}

.footer-column-title {
font-weight: 600;
color: #1f2937;
margin-bottom: 1.5rem;
font-size: 1.1rem;
}

.footer-link {
display: block;
color: #6b7280;
text-decoration: none;
padding: 0.5rem 0;
transition: all 0.3s ease;
}

.footer-link:hover {
color: var(--color-primary);
transform: translateX(5px);
}

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

.footer-copyright {
color: #6b7280;
font-size: 1rem;
}

/* AOS Animation Library Styles */
[data-aos] {
opacity: 0;
transform: translateY(30px);
transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-aos].aos-animate {
opacity: 1;
transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
.hero-container,
.about-content,
.contact-content {
grid-template-columns: 1fr;
gap: 3rem;
text-align: center;
}

.courses-grid,
.shop-grid {
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Адаптация улучшенного блока учителя для планшетов */
.about-image-container {
width: 350px; /* Больший размер на планшетах */
height: 350px;
}

.about-experience-badge {
top: 0.5rem;
right: -0.5rem;
padding: 1.5rem;
}

.shop-item {
padding: 2rem 1.5rem;
}

.shop-item-price {
font-size: 2rem;
}

.shop-item-button {
padding: 1.2rem 2rem;
font-size: 1.1rem;
}

.shop-item:hover {
transform: translateY(-15px) scale(1.02);
}
}

@media (max-width: 768px) {
.nav-links {
display: none;
}

.hero-title {
font-size: clamp(2.5rem, 6vw, 4rem);
}

.hero-cta {
flex-direction: column;
align-items: center;
}

.hero-stats {
gap: 2rem;
flex-direction: column;
}

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

.footer-links {
grid-template-columns: 1fr;
gap: 2rem;
}

.courses-grid,
.shop-grid {
grid-template-columns: 1fr;
}

/* Улучшенный блок учителя на мобильных */
.about-image-container {
width: 280px; /* Увеличен размер на мобильных */
height: 280px;
}

.about-title {
font-size: clamp(2rem, 6vw, 3rem);
}

.about-description {
font-size: 1.1rem;
padding: 1.5rem;
}

.section {
padding: 5rem 0;
}

.modal-content {
padding: 2rem;
margin: 1rem;
}

.about-experience-badge {
position: static;
margin-top: 2rem;
}

.shop-item-title {
font-size: 1.4rem;
}

.shop-item-description {
padding: 1.2rem;
font-size: 0.9rem;
}

.shop-item-price {
font-size: 1.8rem;
}

.shop-item-button {
padding: 1rem 1.8rem;
font-size: 1rem;
}
}

@media (max-width: 480px) {
.container {
padding: 0 1rem;
}

.hero-container {
padding: 6rem 2rem 2rem;
}

.course-card-3d,
.shop-item {
padding: 2rem;
}

/* Улучшенный блок учителя на очень маленьких экранах */
.about-image-container {
width: 240px; /* Увеличен размер */
height: 240px;
}

.about-content {
gap: 3rem;
}

.achievement {
padding: 1.5rem;
gap: 1.5rem;
}

.achievement-icon {
font-size: 2rem;
min-width: 3rem;
}
}


/* ===============================
   COMPACT PREMIUM THEME OVERRIDES
   Inspired by easy-russian.online
   Keeps palette, reduces scale
   =============================== */

/* Typography — slightly smaller, tighter line-height */
:root {
  --h1-max: 3.75rem;  /* down from ~6rem */
  --h2-max: 2.5rem;
  --text-lg: 1.05rem;
  --radius-card: 16px; /* was 24px */
  --shadow-card-compact: 0 8px 24px rgba(0,0,0,.06), 0 2px 8px rgba(107,142,35,.10);
}

/* Nav — always readable, subtle */
.nav {
  background: rgba(255, 251, 234, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(107,142,35,.08);
  box-shadow: none;
  padding: .6rem 0;
}
.nav.scrolled {
  box-shadow: var(--shadow-card-compact);
  padding: .5rem 0;
}
.nav-logo-img { width: 40px; height: 40px; }
.nav-links { gap: 1.5rem; }
.nav-link { font-weight: 600; }

/* Hero — shorter, calmer */
.hero { min-height: 75vh; }
.hero-container { padding: 6rem 1.5rem 3rem; }
.hero-content { max-width: 720px; }
.hero-title { font-size: clamp(2.25rem, 5.5vw, var(--h1-max)); line-height: 1.08; margin-bottom: 1.25rem; }
.hero-subtitle { font-size: 1.05rem; margin-bottom: 2rem; max-width: 560px; }
.hero-cta { gap: 1rem; margin-bottom: 2rem; }
.btn--hero { padding: .9rem 1.6rem; font-size: 1rem; border-radius: 12px; min-width: 0; }
.blob { filter: blur(28px); animation-duration: 26s; } /* softer */
.blob-1, .blob-2, .blob-3 { opacity: .65; }

/* Stats — more compact */
.hero-stats { gap: 2.5rem; margin-top: 1rem; }
.stat-number { font-size: 2.2rem; }
.stat-label { font-size: .95rem; }

/* Sections — tighten vertical rhythm */
.section { padding: 4.5rem 0; }
.section-header { margin-bottom: 3rem; }
.section-title { font-size: clamp(1.75rem, 3.8vw, var(--h2-max)); }
.section-subtitle { font-size: 1.05rem; max-width: 560px; }
.container { max-width: 1080px; padding: 0 1.25rem; }

/* About (teacher) — keep premium, less drama */
.about-content { grid-template-columns: 1.1fr .9fr; gap: 3rem; padding: 2rem 0; }
.about-title { font-size: clamp(2rem, 4.5vw, 2.8rem); }
.about-subtitle { font-size: 1.1rem; letter-spacing: 1px; margin-bottom: 1.25rem; }
.about-description { font-size: 1.05rem; padding: 1.25rem; border-radius: 14px; margin-bottom: 1.5rem; }
.about-image-container { width: 360px; height: 360px; padding: 8px; }
.about-experience-badge { padding: 1rem; border-radius: 18px; }
.experience-years { font-size: 2.2rem; }
.achievement { padding: 1.25rem; border-radius: 16px; }
.achievement-icon { font-size: 2.2rem; min-width: 2.8rem; }
.achievement-text { font-size: 1.05rem; }

/* Courses — crisper cards */
.courses-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.course-card-3d { border-radius: var(--radius-card); padding: 1.5rem; box-shadow: var(--shadow-card-compact); }
.course-card:hover { transform: translateY(-6px) rotateX(3deg) rotateY(3deg); }
.course-card.featured { transform: none; border: 1px solid rgba(212,175,55,.35); }
.course-card-badge { padding: .4rem .9rem; font-size: .8rem; }
.course-icon-img { height: 52px; }
.course-card-title { font-size: 1.3rem; margin-bottom: 1rem; }
.course-card-price-tag { border-radius: 12px; padding: .7rem .9rem; margin-bottom: 1rem; }
.course-card-price { font-size: 1.6rem; }
.course-card-features li { padding: .55rem 0 .55rem 1.6rem; }

/* Shop — same tone, tighter */
.shop-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.shop-item { border-radius: var(--radius-card); padding: 1.5rem; box-shadow: var(--shadow-card-compact); }
.shop-item-image { height: 90px; margin-bottom: 1rem; }
.shop-item-title { font-size: 1.2rem; }
.shop-item-description { font-size: .95rem; padding: 1rem; border-radius: 12px; }
.shop-item-price { font-size: 1.8rem; margin-bottom: 1rem; }
.shop-item-button { padding: .9rem 1.2rem; font-size: 1rem; border-radius: 12px; }

/* Testimonials / Contact */
.contact-content { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; }
.contact-title { font-size: 1.8rem; }
.contact-description { font-size: 1.05rem; }
.form-control { padding: .8rem .9rem; border-radius: 12px; font-size: 1rem; }
.contact-form .btn { padding: .9rem 1.2rem; }

/* Footer */
.footer { padding: 3rem 0 2rem; }
.footer-content { gap: 2rem; }
.footer-column-title { font-size: 1rem; }
.footer-link { font-size: .95rem; }

/* Mobile tweaks */
@media (max-width: 768px) {
  .hero { min-height: 72vh; }
  .about-content, .contact-content { grid-template-columns: 1fr; }
  .about-image-container { width: 300px; height: 300px; margin: 0 auto; }
  .nav-links { display: none; } /* keep simple for MVP; could add burger later */
}


/* === Compact Teacher Section (Наталья Борисова) === */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.about-title {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  margin-bottom: 0.5rem;
  color: #2d2d2d;
}

.about-subtitle {
  font-size: 18px;
  color: #6b7280; /* slate-500 */
  margin-bottom: 1.5rem;
}

.about-description {
  font-size: 16px;
  line-height: 1.6;
  color: #374151;
  margin-bottom: 1.5rem;
  max-width: 520px;
}

.about-achievements {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.achievement {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: #fafafa;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.achievement-icon {
  font-size: 18px;
  color: var(--primary-color);
}

.about-image-container {
  position: relative;
  width: 280px;
  height: 280px;
  border: 5px solid #c9a74d; /* золотистая рамка */
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.about-experience-badge {
  position: absolute;
  bottom: -12px;
  right: -12px;
  background: #6B8E23; /* оливковый */
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-image-container {
    width: 240px;
    height: 240px;
  }
}


/* === Refinement: teacher badge & photo layout === */
.about-image-wrapper { position: relative; display: inline-block; }

/* Make the badge a compact circular chip that doesn't cover the face */
.about-experience-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(107,142,35,0.95);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
  backdrop-filter: blur(2px);
  pointer-events: none; /* avoid blocking hover/clicks on image */
  border: 2px solid rgba(255,255,255,.8);
}

.experience-years {
  font-size: 18px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .2px;
}

.experience-text {
  font-size: 10px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .6px;
  opacity: .95;
}

/* Fine-tune image rings and glow */
.about-image-container {
  box-shadow: 0 20px 40px rgba(0,0,0,.08);
  background: radial-gradient(120% 120% at 50% 50%, rgba(255,255,255,.9) 0%, rgba(255,255,255,.6) 60%, rgba(255,255,255,0) 100%);
}

.about-image-inner { border-radius: 50%; overflow: hidden; }

/* Achievement pills smaller & aligned */
.about-achievements { gap: .75rem; }
.achievement {
  padding: .6rem .9rem;
  border-radius: 10px;
  background: rgba(255,255,255,.85);
  box-shadow: 0 6px 14px rgba(0,0,0,.06);
}
.achievement-icon { font-size: 1.1rem; }
.achievement-text { font-size: .95rem; }

@media (max-width: 768px) {
  .about-experience-badge {
    width: 64px; height: 64px; top: -8px; right: -8px;
  }
  .experience-years { font-size: 16px; }
  .experience-text { font-size: 9px; }
}


/* Teacher badge refinement */
.about-experience-badge {
  position: absolute;
  bottom: -15px;
  right: -15px;
  background: rgba(0, 0, 0, 0.55); /* более прозрачный тёмный фон */
  color: #fff; /* контрастный текст */
  border-radius: 50%;
  padding: 28px 20px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  backdrop-filter: blur(6px); /* лёгкое размытие для премиальности */
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25); /* мягкая тень для читаемости */
}

.about-experience-badge .experience-years {
  font-size: 20px;
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}

.about-experience-badge .experience-text {
  font-size: 13px;
  font-weight: 500;
}


/* Teacher badge refinement — круглый, крупнее на 50%, премиальный фон */
.about-experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;   /* увеличено на 50% */
  height: 120px;
  border-radius: 50%; /* круг */
  background: radial-gradient(circle at top left, #FFD700, #C0A060); /* премиальный золотистый фон */
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  text-align: center;
  padding: 10px;
  z-index: 2;
}

.about-experience-badge .experience-years {
  font-size: 1.6rem;
  line-height: 1.2;
}

.about-experience-badge .experience-text {
  font-size: 0.9rem;
}


/* === HERO: edge-to-edge typography + full-width buttons (premium, neat) === */
.hero {
  padding: 8vh 0 6vh;
}

.hero-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 64px);
  text-align: center;
}

.hero-title {
  width: 100%;
  max-width: none;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  width: 100%;
  max-width: none;
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  margin: 18px auto 28px;
  opacity: .95;
}

/* эффектная разделительная линия */
.hero-container .divider-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,.55), transparent);
  margin: 14px 0 26px;
  border-radius: 2px;
}

/* Кнопки — на всю ширину ряда */
.hero-cta {
  display: flex;
  gap: clamp(10px, 2vw, 18px);
  justify-content: center;
  align-items: stretch;
  width: 100%;
  margin-top: 10px;
}

.hero-cta .btn {
  flex: 1 1 0;
  min-width: 210px;
  max-width: none;
  padding: clamp(12px, 2.2vw, 18px) clamp(14px, 2.8vw, 24px);
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  border-radius: 12px;
  transition: transform .22s ease, box-shadow .28s ease, filter .28s ease;
  will-change: transform, box-shadow, filter;
}

.hero-cta .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0,0,0,.12);
  filter: saturate(1.05);
}

.hero-cta .btn:active {
  transform: translateY(-1px) scale(.99);
}

@media (max-width: 640px) {
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { min-width: 100%; }
}


/* === Premium achievements within template palette === */
.achievement {
  background: linear-gradient(135deg, #fffaf0 0%, #fdf5e6 100%); /* тёплый айвори */
  border: 1px solid #d4af37; /* золото в гамме шаблона */
  border-radius: 12px;
  padding: 10px 18px;
  font-weight: 600;
  color: #3a2c0f; /* контрастный тёплый тёмный */
  box-shadow: 0 3px 10px rgba(212, 175, 55, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.achievement:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 14px rgba(212, 175, 55, 0.35);
}


/* === Enlarged product icons (40% increase) === */
.product img,
.shop-item img {
  transform: scale(1.4);
  transition: transform 0.3s ease;
  display: inline-block;
}

.product img:hover,
.shop-item img:hover {
  transform: scale(1.5);
}


.shop-item-image,
.product-thumb,
.product-image {
  display: block;
  overflow: visible;
}

.shop-item img,
.shop-item-image img,
.product img,
.product-thumb img,
.product-image img {
  transform: scale(1.4);              /* +40% */
  transform-origin: center;
  transition: transform .25s ease;
  display: inline-block;
}

/* subtle hover boost */
.shop-item img:hover,
.shop-item-image img:hover,
.product img:hover,
.product-thumb img:hover,
.product-image img:hover {
  transform: scale(1.48);
}

/* === Shop: enlarge product icons by 60% (safe selectors) === */
.shop-item-image,
.product-thumb,
.product-image {
  display: block;
  overflow: visible;
}

.shop-item img,
.shop-item-image img,
.product img,
.product-thumb img,
.product-image img {
  transform: scale(1.6);              /* +60% */
  transform-origin: center;
  transition: transform .25s ease;
  display: inline-block;
}

/* subtle hover boost */
.shop-item img:hover,
.shop-item-image img:hover,
.product img:hover,
.product-thumb img:hover,
.product-image img:hover {
  transform: scale(1.7);
}


/* Testimonials avatar image + flag */
.testimonial-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.testimonial-flag {
  margin-left: 0.5rem;
  font-size: 1.2rem;
  vertical-align: middle;
}


/* Testimonials avatar + flag */
.testimonial-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.testimonial-flag {
  margin-left: 0.5rem;
  font-size: 1.2rem;
  vertical-align: middle;
}
