/* Root Variables */
:root {
    --primary-color: #D4A574;
    --secondary-color: #E8C5A0;
    --accent-color: #C9A96E;
    --terracotta: #CD7F32;
    --gold: #DAA520;
    --background-color: #FDFCFA;
    --text-color: #4A3728;
    --text-light: #8B7355;
    --light-bg: #F8F4EE;
    --white: #FFFFFF;
    --cream: #FDF5E6;
    --shadow: 0 8px 32px rgba(212, 165, 116, 0.08);
    --shadow-hover: 0 15px 50px rgba(212, 165, 116, 0.12);
    --shadow-soft: 0 4px 20px rgba(212, 165, 116, 0.06);
    --gradient-warm: linear-gradient(135deg, #FDFCFA 0%, #F8F4EE 50%, #F0E6D6 100%);
    --gradient-accent: linear-gradient(135deg, #D4A574 0%, #C9A96E 100%);
    --gradient-gold: linear-gradient(135deg, #DAA520 0%, #CD7F32 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.1) 100%);
    --border-radius: 24px;
    --border-radius-small: 16px;
    --transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Playfair Display', serif;
    --font-script: 'Dancing Script', cursive;
}

/* Light theme enhancement */
@media (prefers-color-scheme: light) {
    :root {
        --background-color: #FDFCFA;
        --text-color: #4A3728;
        --light-bg: #F8F4EE;
        --white: #FFFFFF;
    }
}

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

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

body {
    font-family: var(--font-primary);
    line-height: 1.7;
    color: var(--text-color);
    background: var(--background-color);
    overflow-x: hidden;
    font-weight: 400;
    letter-spacing: 0.01em;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
    letter-spacing: 0.01em;
}

.highlight {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.accent {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
    position: relative;
}

.accent::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    opacity: 0.25;
    border-radius: 2px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(253, 252, 250, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(212, 165, 116, 0.08);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 1px 0 rgba(212, 165, 116, 0.05);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 20px;
}

.logo {
    font-family: var(--font-script);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.logo i {
    color: var(--gold);
    animation: heartbeat 3s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 50%, 100% { transform: scale(1); }
    25%, 75% { transform: scale(1.08); }
}

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

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

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

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.25s, color 0.25s, box-shadow 0.25s, border-color 0.25s, transform 0.18s cubic-bezier(.39,.575,.565,1);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--white);
    box-shadow: var(--shadow);
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: scale(1.025);
    box-shadow: 0 6px 32px rgba(212, 165, 116, 0.13), 0 1.5px 8px 0 rgba(212, 165, 116, 0.10);
    border-color: var(--gold);
}

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

.btn-secondary:hover {
    transform: scale(1.025);
    background-image: linear-gradient(90deg, #FDF5E6 0%, #D4A574 100%);
    color: var(--primary-color);
    border-color: var(--gold);
}

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

.btn-outline:hover {
    transform: scale(1.025);
    background-image: linear-gradient(90deg, #FDF5E6 0%, #D4A574 100%);
    color: var(--primary-color);
    border-color: var(--gold);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-accent);
    border-radius: var(--border-radius);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
    filter: blur(20px);
}

.btn-glow:hover::after {
    opacity: 0.4;
    transform: scale(1.1);
}

.btn::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: var(--transition);
}

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

/* Ripple-эффект */
.btn::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0;
    height: 0;
    background: rgba(212, 165, 116, 0.18);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    pointer-events: none;
    transition: width 0.4s cubic-bezier(.39,.575,.565,1), height 0.4s cubic-bezier(.39,.575,.565,1), opacity 0.3s;
    z-index: 0;
}
.btn:active::after {
    width: 180%;
    height: 180%;
    opacity: 0.18;
    transition: 0s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-warm);
    position: relative;
    overflow: hidden;
    padding: 160px 0 120px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="24" height="24" patternUnits="userSpaceOnUse"><circle cx="12" cy="12" r="1.5" fill="rgba(212,165,116,0.06)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.8;
}

.hero::after {
    content: '';
    position: absolute;
    top: 15%;
    right: 8%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(15deg); }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-color);
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--border-radius);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 165, 116, 0.08);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.hero-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.stat-item {
    text-align: center;
    flex: 1;
    position: relative;
    padding: 0.5rem;
    transition: var(--transition);
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: linear-gradient(to bottom, transparent, var(--primary-color), transparent);
    opacity: 0.3;
}

.stat-item:hover {
    transform: translateY(-2px);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-display);
    line-height: 1;
    margin-bottom: 0.5rem;
    transition: var(--transition);
    position: relative;
}

.stat-number::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--gradient-gold);
    border-radius: 50%;
    opacity: 0.1;
    z-index: -1;
    transition: var(--transition);
}

.stat-item:hover .stat-number::before {
    opacity: 0.2;
    transform: translateX(-50%) scale(1.2);
}

.stat-item:hover .stat-number {
    color: var(--gold);
    transform: scale(1.05);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    animation: slideInRight 1s ease-out;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    transition: var(--transition);
}

.hero-image:hover img {
    transform: scale(1.02);
}

/* Sections */
.section {
    padding: 5rem 0;
    position: relative;
    border-radius: 2.5rem;
    overflow: hidden;
    box-shadow: 0 8px 48px 0 rgba(212, 165, 116, 0.07), 0 2px 16px 0 rgba(212, 165, 116, 0.10);
    background: rgba(255,255,255,0.85);
    animation: fadeInSection 1.2s cubic-bezier(.39,.575,.565,1) both;
    margin-bottom: 3rem;
}
.section::before {
    content: '';
    position: absolute;
    z-index: 0;
    top: -30%;
    left: -20%;
    width: 140%;
    height: 160%;
    background: radial-gradient(circle at 30% 30%, rgba(212,165,116,0.08) 0%, transparent 70%),
                radial-gradient(circle at 70% 70%, rgba(212,165,116,0.06) 0%, transparent 80%);
    pointer-events: none;
}
.section .container, .section > .container {
    position: relative;
    z-index: 1;
}
@keyframes fadeInSection {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Floating shapes для декоративности */
.floating-shapes {
    position: absolute;
    z-index: 0;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
}
.floating-shapes::before, .floating-shapes::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.13;
    filter: blur(2px);
    animation: float 12s ease-in-out infinite;
}
.floating-shapes::before {
    width: 120px; height: 120px;
    background: var(--gradient-accent);
    top: 10%; left: 5%;
    animation-delay: 0s;
}
.floating-shapes::after {
    width: 80px; height: 80px;
    background: var(--gradient-warm);
    bottom: 8%; right: 8%;
    animation-delay: 3s;
}

@media (max-width: 768px) {
    .section {
        padding: 2.5rem 0;
        border-radius: 1.2rem;
        margin-bottom: 2rem;
    }
}
@media (max-width: 480px) {
    .section {
        padding: 1.2rem 0;
        border-radius: 0.7rem;
        margin-bottom: 1.5rem;
    }
}

.bg-gradient {
    background: var(--gradient-warm);
    padding-top: 7rem;
}

.bg-warm {
    background: var(--light-bg);
}

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-color);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

.section-line {
    width: 80px;
    height: 4px;
    background: var(--gradient-accent);
    margin: 2rem auto;
    border-radius: 2px;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature {
    text-align: center;
    padding: 3rem 2.5rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--border-radius);
    backdrop-filter: blur(20px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(212, 165, 116, 0.08);
    box-shadow: var(--shadow-soft);
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.feature:hover::before {
    transform: scaleX(1);
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--secondary-color);
}

.feature i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: block;
    transition: var(--transition);
}

.feature:hover i {
    transform: scale(1.1);
    color: var(--gold);
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-text {
    color: var(--text-color);
    opacity: 0.9;
}

/* Micro CTA */
.micro-cta {
    text-align: center;
    margin-top: 3.5rem;
    padding: 2rem 1.5rem;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
}

.micro-cta p {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-text {
    font-size: 1.15rem;
    line-height: 1.8;
    letter-spacing: 0.01em;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    transition: var(--transition);
    border: 8px solid var(--white);
    transform: rotate(1.5deg);
}

.about-image:hover img {
    transform: rotate(0deg) scale(1.02);
    box-shadow: 0 30px 100px rgba(212, 165, 116, 0.2);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    right: 30px;
    bottom: 30px;
    background: var(--gradient-glass);
    border-radius: var(--border-radius);
    backdrop-filter: blur(12px);
    z-index: -1;
    opacity: 0.6;
}

.credentials {
    margin-top: 3rem;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: rgba(212, 165, 116, 0.06);
    border-radius: var(--border-radius-small);
    transition: var(--transition);
    border: 1px solid rgba(212, 165, 116, 0.1);
    position: relative;
    overflow: hidden;
}

.credential-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-accent);
    transform: scaleY(0);
    transition: var(--transition);
    transform-origin: top;
}

.credential-item:hover::before {
    transform: scaleY(1);
}

.credential-item:hover {
    background: rgba(212, 165, 116, 0.1);
    transform: translateX(5px);
    box-shadow: var(--shadow-soft);
}

.credential-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.credential-item:hover i {
    transform: scale(1.1);
    color: var(--gold);
}

.credential-item span {
    color: var(--text-color);
    font-weight: 500;
    line-height: 1.5;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 32px 0 rgba(212, 165, 116, 0.08), 0 1.5px 8px 0 rgba(212, 165, 116, 0.10);
    animation: fadeInUp 0.8s cubic-bezier(.39,.575,.565,1) both;
    overflow: hidden;
}

.pricing-card:hover {
    transform: scale(1.025);
    box-shadow: 0 6px 32px rgba(212, 165, 116, 0.13), 0 1.5px 8px 0 rgba(212, 165, 116, 0.10);
    border-color: var(--accent-color);
    background: rgba(255,255,255,0.97);
}

.pricing-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-accent);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    opacity: 0;
    animation: badgeAppear 1.2s 0.2s forwards;
}

@keyframes badgeAppear {
    from { opacity: 0; transform: translateY(-10px) scale(0.8); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.pricing-icon {
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 1.2rem;
}

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

.pricing-price {
    margin-bottom: 2rem;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-display);
}

.price-period {
    display: block;
    font-size: 0.875rem;
    color: var(--text-color);
    opacity: 0.7;
    margin-top: 0.5rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.pricing-features i {
    color: var(--accent-color);
    font-size: 0.875rem;
}

.pricing-features li:hover {
    color: var(--accent-color);
}

.pricing-result {
    background: var(--light-bg);
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

/* Video Section */
.video-container {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.video-placeholder {
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--border-radius);
    padding: 4rem 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 2px dashed var(--primary-color);
    transition: var(--transition);
}

.video-placeholder:hover {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.95);
}

.video-placeholder i {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.video-placeholder h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

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

.highlight-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.highlight-item i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.highlight-item h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--border-radius);
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

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

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-accent);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-info h4 {
    margin-bottom: 0.25rem;
    color: var(--primary-color);
}

.testimonial-info span {
    color: var(--text-color);
    opacity: 0.7;
    font-size: 0.9rem;
}

.testimonial-result {
    background: var(--light-bg);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 1rem;
    display: inline-block;
}

/* Blog Preview */
.blog-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-preview-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

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

.blog-preview-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.blog-preview-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.blog-preview-card p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    opacity: 0.8;
}

.blog-tag {
    background: var(--light-bg);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-cta {
    text-align: center;
}

/* Final CTA */
.final-cta-section {
    background: var(--gradient-accent);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

.final-cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

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

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.cta-buttons .btn-primary {
    background: var(--white);
    color: var(--primary-color);
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.contact-info {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    opacity: 0.9;
}

.contact-item i {
    font-size: 1.25rem;
}

/* Footer */
.footer {
    background: var(--text-color);
    color: var(--cream);
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footerPattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="2" fill="rgba(212,165,116,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23footerPattern)"/></svg>');
    opacity: 0.3;
}

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

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

.footer-logo {
    font-family: var(--font-script);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo i {
    color: var(--gold);
}

.footer-text {
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(212, 165, 116, 0.3);
}

.footer-section h4 {
    margin-bottom: 2rem;
    color: var(--secondary-color);
    font-size: 1.3rem;
    font-weight: 600;
}

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

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

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.3rem;
    border-radius: 18px;
    font-weight: 600;
    color: var(--white);
    background: rgba(255,255,255,0.06);
    box-shadow: 0 2px 12px rgba(212, 165, 116, 0.04);
    opacity: 0.92;
    border: 1.5px solid rgba(255,255,255,0.13);
    transition: none;
    text-decoration: none;
    position: relative;
}

.footer-links a:hover, .footer-links a:focus {
    background: rgba(255,255,255,0.06);
    color: var(--white);
    border-color: rgba(255,255,255,0.13);
    box-shadow: 0 2px 12px rgba(212, 165, 116, 0.04);
    opacity: 0.92;
    transform: none;
    z-index: 1;
    transition: none;
}

.footer-links a:active {
    transform: scale(0.97);
    box-shadow: 0 2px 8px rgba(212, 165, 116, 0.10);
}

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

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    box-shadow: var(--shadow);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* Glass Card Effect */
.glass-card {
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 32px rgba(212, 165, 116, 0.06);
    transition: var(--transition);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.45);
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(212, 165, 116, 0.1);
}

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

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

@keyframes sparkle {
    0%, 100% { 
        opacity: 0;
        transform: scale(0) rotate(0deg);
    }
    50% { 
        opacity: 1;
        transform: scale(1) rotate(180deg);
    }
}

.sparkle {
    position: relative;
}

.sparkle::after {
    content: '✨';
    position: absolute;
    top: -10px;
    right: -10px;
    animation: sparkle 2s ease-in-out infinite;
    pointer-events: none;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 0.6s ease-out forwards;
}

.slide-in-left {
    opacity: 0;
    animation: slideInLeft 0.6s ease-out forwards;
}

.slide-in-right {
    opacity: 0;
    animation: slideInRight 0.6s ease-out forwards;
}

/* Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: scale(0.8);
    transition: var(--transition);
}

.popup-overlay.active .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
}

.popup-close:hover {
    color: var(--primary-color);
}

.popup-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.popup-title {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.popup-text {
    margin-bottom: 2rem;
    color: var(--text-color);
}

/* Chatbot Styles */
.chatbot {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 1000;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-accent);
    color: var(--white);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-hover);
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 350px;
    height: 400px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chatbot-window.active {
    display: flex;
}

.chatbot-header {
    background: var(--gradient-accent);
    color: var(--white);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.25rem;
    cursor: pointer;
}

.chatbot-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    max-height: 300px;
}

.message {
    margin-bottom: 1rem;
    padding: 0.75rem;
    border-radius: 12px;
    max-width: 80%;
}

.message.bot {
    background: var(--light-bg);
    color: var(--text-color);
    align-self: flex-start;
}

.message.user {
    background: var(--gradient-accent);
    color: var(--white);
    align-self: flex-end;
    margin-left: auto;
}

.chatbot-input {
    display: flex;
    padding: 1rem;
    border-top: 1px solid rgba(139, 69, 19, 0.1);
}

.chatbot-input input {
    flex: 1;
    border: 1px solid rgba(139, 69, 19, 0.2);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    margin-right: 0.5rem;
    outline: none;
}

.chatbot-send {
    background: var(--gradient-accent);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: var(--transition);
}

.chatbot-send:hover {
    transform: scale(1.1);
}

/* Mobile Navigation Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    background: rgba(212, 165, 116, 0.1);
    transform: scale(1.05);
}

.mobile-menu-toggle.active {
    color: var(--gold);
}

/* Updated Mobile Navigation - merged with responsive styles */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .nav {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(253, 252, 250, 0.98);
        backdrop-filter: blur(24px);
        padding: 2rem 1rem;
        border-top: 1px solid rgba(212, 165, 116, 0.08);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        flex-direction: column;
        gap: 1.5rem;
        z-index: 1000;
        box-shadow: 0 4px 20px rgba(212, 165, 116, 0.1);
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 0.5rem 0;
        text-align: center;
        width: 100%;
        border-bottom: 1px solid rgba(212, 165, 116, 0.08);
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .nav .btn {
        margin-top: 1rem;
        align-self: center;
        min-width: 200px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (prefers-contrast: high) {
    :root {
        --primary-color: #000000;
        --text-color: #000000;
        --background-color: #ffffff;
    }
}

/* Focus styles for keyboard navigation */
.btn:focus,
.nav-link:focus,
input:focus,
button:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .chatbot,
    .back-to-top,
    .popup-overlay {
        display: none !important;
    }
    
    .section {
        page-break-inside: avoid;
    }
}

/* --- Trial Section --- */
.trial-flex {
  display: flex;
  gap: 3rem;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.trial-benefits {
  flex: 1 1 320px;
  min-width: 280px;
  max-width: 400px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: rgba(255,255,255,0.92);
  border-radius: var(--border-radius);
  box-shadow: 0 8px 32px rgba(212, 165, 116, 0.08);
  margin-bottom: 1.5rem;
  min-height: auto;
  overflow: visible;
}
.trial-benefits h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.trial-list {
  list-style: none;
  margin-bottom: 1.5rem;
}
.trial-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
  font-size: 1rem;
  color: var(--text-color);
}
.trial-list i {
  color: var(--accent-color);
  font-size: 1rem;
}
.trial-note {
  background: var(--gradient-accent);
  color: var(--white);
  padding: 0.7rem 1rem;
  border-radius: 16px;
  font-size: 0.98rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1rem;
  box-shadow: 0 2px 12px rgba(212, 165, 116, 0.08);
}
.trial-form {
  flex: 1 1 320px;
  min-width: 280px;
  max-width: 400px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.97);
  border-radius: var(--border-radius);
  box-shadow: 0 8px 32px rgba(212, 165, 116, 0.08);
  margin-bottom: 1.5rem;
}
.trial-form h3 {
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.trial-form .form-group {
  margin-bottom: 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.trial-form label {
  font-size: 0.98rem;
  margin-bottom: 0.4rem;
  color: var(--text-light);
  font-weight: 500;
}
.trial-form input,
.trial-form select,
.trial-form textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(212, 165, 116, 0.18);
  background: rgba(255,255,255,0.85);
  font-size: 1rem;
  color: var(--text-color);
  margin-bottom: 0.2rem;
  transition: border-color 0.2s;
  font-family: inherit;
}
.trial-form input:focus,
.trial-form select:focus,
.trial-form textarea:focus {
  border-color: var(--accent-color);
  outline: none;
}
.trial-form textarea {
  min-height: 70px;
  resize: vertical;
}
.trial-form .btn {
  margin-top: 0.5rem;
  width: 100%;
  font-size: 1.1rem;
}
.trial-privacy {
  margin-top: 1rem;
  font-size: 0.92rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
@media (max-width: 900px) {
  .trial-flex {
    flex-direction: column;
    gap: 1.5rem;
    align-items: stretch;
  }
  .trial-benefits, .trial-form {
    max-width: 100%;
    width: 100%;
  }
}

/* --- Blog Preview Filters --- */
.blog-preview-filters {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.filter-btn {
  background: rgba(255,255,255,0.7);
  border: 1.5px solid var(--accent-color);
  color: var(--primary-color);
  border-radius: 2rem;
  padding: 0.6rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s, border-color 0.25s;
  box-shadow: 0 2px 12px rgba(212, 165, 116, 0.06);
  outline: none;
  position: relative;
  z-index: 1;
}
.filter-btn:not(.active):hover {
  background: var(--gradient-accent);
  color: var(--white);
  border-color: var(--primary-color);
  box-shadow: 0 4px 24px rgba(212, 165, 116, 0.12);
}
.filter-btn.active {
  background: var(--gradient-accent);
  color: var(--white);
  border-color: var(--primary-color);
  box-shadow: 0 6px 32px rgba(212, 165, 116, 0.13);
  font-weight: 600;
  transform: scale(1.04);
}
.filter-btn:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px var(--gold);
}
@media (max-width: 600px) {
  .blog-preview-filters {
    gap: 0.5rem;
    margin-bottom: 1.2rem;
  }
  .filter-btn {
    font-size: 0.98rem;
    padding: 0.5rem 1rem;
  }
}

/* --- Улучшенный стиль для секций bg-warm --- */
.section.bg-warm {
  background: linear-gradient(120deg, #F8F4EE 60%, #FDF5E6 100%) !important;
  position: relative;
  overflow: hidden;
}
.section.bg-warm::before {
  content: '';
  position: absolute;
  z-index: 0;
  top: -20%;
  left: -10%;
  width: 130%;
  height: 140%;
  background: radial-gradient(circle at 30% 40%, rgba(212,165,116,0.10) 0%, transparent 70%),
              radial-gradient(circle at 80% 80%, rgba(212,165,116,0.07) 0%, transparent 80%);
  opacity: 0.7;
  pointer-events: none;
  animation: warmBgMove 18s ease-in-out infinite alternate;
}
.section.bg-warm::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: url('data:image/svg+xml;utf8,<svg width="120" height="120" xmlns="http://www.w3.org/2000/svg"><circle cx="60" cy="60" r="55" fill="%23FDF5E6" opacity="0.7"/><circle cx="90" cy="30" r="18" fill="%23D4A574" opacity="0.13"/></svg>');
  background-size: cover;
  z-index: 1;
  opacity: 0.7;
  pointer-events: none;
}
@keyframes warmBgMove {
  0% { transform: scale(1) translateY(0); }
  100% { transform: scale(1.04) translateY(18px); }
}

/* Усиление glassmorphism для карточек внутри bg-warm */
.section.bg-warm .glass-card,
.section.bg-warm .pricing-card,
.section.bg-warm .trial-benefits,
.section.bg-warm .trial-form {
  background: rgba(255,255,255,0.82);
  box-shadow: 0 12px 48px 0 rgba(212, 165, 116, 0.10), 0 2px 16px 0 rgba(212, 165, 116, 0.13);
  border: 1.5px solid rgba(212, 165, 116, 0.08);
  backdrop-filter: blur(18px);
}

/* Адаптивность для декоративных элементов */
@media (max-width: 768px) {
  .section.bg-warm::after {
    width: 70px;
    height: 70px;
    bottom: -20px;
    right: -20px;
  }
}

/* --- Instagram Preview --- */
.instagram-feed {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}
.insta-preview {
  background: rgba(255,255,255,0.85);
  border-radius: var(--border-radius);
  box-shadow: 0 8px 32px rgba(212, 165, 116, 0.10);
  padding: 2.5rem 2rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
  animation: fadeInUp 1.1s cubic-bezier(.39,.575,.565,1) both;
  border: 1.5px solid rgba(212, 165, 116, 0.09);
  transition: box-shadow 0.3s, transform 0.3s;
}
.insta-preview:hover {
  box-shadow: 0 16px 48px rgba(212, 165, 116, 0.16);
  transform: translateY(-6px) scale(1.015);
}
.insta-preview i.fab.fa-instagram {
  font-size: 3.2rem;
  color: var(--terracotta);
  /* margin-bottom: 1.2rem; */
  background: linear-gradient(135deg, #D4A574 0%, #CD7F32 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.insta-preview h3 {
  font-size: 1.35rem;
  color: var(--primary-color);
  margin-bottom: 0.7rem;
  font-family: var(--font-display);
}
.insta-preview p {
  color: var(--text-color);
  opacity: 0.9;
  margin-bottom: 1.2rem;
}
.insta-features {
  list-style: none;
  margin-bottom: 1.5rem;
  padding: 0;
}
.insta-features li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.7rem;
  font-size: 1rem;
  color: var(--text-color);
  justify-content: center;
  transition: color 0.2s;
}
.insta-features i {
  color: var(--accent-color);
  font-size: 1.1rem;
}
.insta-preview .btn {
  margin-top: 1.2rem;
  width: 100%;
  font-size: 1.1rem;
}
.insta-preview::after {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, #FDF5E6 60%, transparent 100%);
  opacity: 0.7;
  z-index: 0;
}
@media (max-width: 600px) {
  .insta-preview {
    padding: 1.2rem 0.7rem;
    max-width: 100%;
  }
  .instagram-feed {
    margin-bottom: 1.2rem;
  }
}

/* --- Contacts Content --- */
.contacts-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin: 4rem 0 3rem 0;
  justify-items: center;
  align-items: stretch;
  position: relative;
  z-index: 1;
}
.contact-card {
  background: rgba(255,255,255,0.88);
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(212, 165, 116, 0.10);
  padding: 1.5rem 1rem 1.2rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1.5px solid rgba(212, 165, 116, 0.09);
  transition: box-shadow 0.3s, transform 0.3s;
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeInUp 1.1s cubic-bezier(.39,.575,.565,1) both;
  max-width: 260px;
  width: 100%;
  min-width: 0;
  min-height: 320px;
}
.contact-card:hover {
  box-shadow: 0 16px 48px rgba(212, 165, 116, 0.16);
  transform: translateY(-6px) scale(1.015);
  border-color: var(--accent-color);
}
.contact-card i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  transition: color 0.2s, transform 0.2s;
}
.contact-card:hover i {
  color: var(--gold);
  transform: scale(1.12) rotate(-6deg);
}
.contact-card h3 {
  font-size: 1.15rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
}
.contact-card p {
  color: var(--text-color);
  opacity: 0.9;
  margin-bottom: 1.2rem;
  font-size: 1rem;
}
.contact-card .btn {
  margin-top: auto;
}
.contact-card::after {
  content: '';
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, #FDF5E6 60%, transparent 100%);
  opacity: 0.7;
  z-index: 0;
}
@media (max-width: 700px) {
  .contacts-content {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .contact-card {
    padding: 1.2rem 0.7rem 1.1rem 0.7rem;
    max-width: 100%;
  }
}

/* --- Декоративная волна для contacts-content --- */
.contacts-content::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 0;
  width: 100%;
  height: 90px;
  background: url('data:image/svg+xml;utf8,<svg width="100%" height="90" viewBox="0 0 400 90" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0 60 Q100 90 200 60 T400 60 V90 H0Z" fill="%23FDF5E6" opacity="0.7"/></svg>');
  background-size: cover;
  z-index: 0;
  pointer-events: none;
}
.contacts-content {
  position: relative;
}

/* Каскадная анимация карточек */
.contact-card {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1.1s cubic-bezier(.39,.575,.565,1) both;
}
.contact-card:nth-child(1) { animation-delay: 0.1s; }
.contact-card:nth-child(2) { animation-delay: 0.25s; }
.contact-card:nth-child(3) { animation-delay: 0.4s; }
.contact-card:nth-child(4) { animation-delay: 0.55s; }

/* Мини-лейблы */
.contact-label {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  background: var(--gradient-accent);
  border-radius: 12px;
  padding: 0.25rem 0.8rem;
  margin-bottom: 0.7rem;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(212, 165, 116, 0.08);
}
.contact-card.telegram i { color: #229ED9; }
.contact-card.whatsapp i { color: #25D366; }
.contact-card.instagram i { color: #E1306C; }
.contact-card.email i { color: var(--terracotta); }

/* Micro CTA под карточками */
.contacts-micro-cta {
  text-align: center;
  margin-top: 2.2rem;
  font-size: 1.08rem;
  color: var(--primary-color);
  background: rgba(255,255,255,0.7);
  border-radius: 18px;
  padding: 1.1rem 1rem 1.2rem 1rem;
  box-shadow: 0 2px 12px rgba(212, 165, 116, 0.06);
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 700px) {
  .contacts-micro-cta {
    font-size: 1rem;
    padding: 0.8rem 0.5rem;
  }
}

.contact-card.email .btn {
  font-size: 0.82rem;
}

/* --- Исправление анимаций кнопок --- */
/* Добавляем overflow: hidden для контейнеров с кнопками, кроме trial-benefits где это вызывает обрезание */
.pricing-card, .contact-card, .insta-preview, .trial-form, .hero-buttons, .cta-buttons, .micro-cta, .blog-cta, .footer-section {
  overflow: hidden;
}

/* Уменьшаем scale для кнопок, чтобы они не вылезали */
.btn:hover, .btn:focus {
  transform: scale(1.025);
}
.btn-primary:hover, .btn-secondary:hover, .btn-outline:hover {
  transform: scale(1.025);
}
.contact-card:hover {
  transform: translateY(-6px) scale(1.015);
}
.insta-preview:hover {
  transform: translateY(-6px) scale(1.015);
}
.filter-btn.active {
  transform: scale(1.04);
}

/* Убираем overflow: visible у .btn-glow */
.btn-glow {
  overflow: hidden;
}

/* Enhanced Mobile Responsiveness */

/* Tablet Portrait and Large Mobile */
@media (max-width: 900px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .features {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .testimonials-carousel {
        padding: 0 1rem;
    }
    
    .testimonial-card {
        margin: 0 0.5rem;
    }
}

/* Mobile Landscape and Small Tablets */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 140px 0 100px;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .stat-item {
        flex: 1;
        min-width: 100px;
    }
    
    .stat-item:not(:last-child)::after {
        display: none;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        min-width: 200px;
    }
    
    .about-text {
        font-size: 1rem;
    }
    
    .about-image img {
        transform: none;
        border: 4px solid var(--white);
    }
    
    .about-image:hover img {
        transform: scale(1.02);
    }
    
    .credential-item {
        padding: 1rem;
        gap: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .features {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .testimonials-carousel {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        padding: 0;
        overflow: visible;
    }
    
    .testimonial-card {
        margin: 0;
        width: 100%;
        transform: none !important;
    }
    
    /* Hide testimonials beyond the third on mobile for better performance */
    .testimonial-card:nth-child(n+4) {
        display: none;
    }
    
    .blog-preview-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .lesson-highlights {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .chatbot {
        left: 1rem;
        right: 1rem;
    }
    
    .chatbot-window {
        width: 100%;
        max-width: 350px;
    }
    
    .section-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .btn {
        padding: 0.875rem 1.25rem;
        min-height: 48px;
        font-size: 1rem;
    }
    
    .btn-large {
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
    }
    
    .micro-cta {
        padding: 1.5rem 1rem;
        text-align: center;
    }
    
    .micro-cta .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .section:first-child {
        padding-top: 2rem;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .final-cta-content h2 {
        font-size: 2rem;
    }
    
    .pricing-card {
        padding: 1.5rem 1rem;
    }
    
    .pricing-card h3 {
        font-size: 1.3rem;
    }
    
    .price-amount {
        font-size: 1.8rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem 1rem;
    }
    
    .stat-item {
        min-width: auto;
        padding: 0.5rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .pricing-icon {
        font-size: 2.2rem;
    }
    
    .feature {
        padding: 1.5rem 1rem;
        text-align: center;
    }
    
    .feature i {
        font-size: 2rem;
    }
    
    .feature-title {
        font-size: 1.2rem;
        margin: 1rem 0 0.5rem;
    }
    
    .feature-text {
        font-size: 0.9rem;
    }
    
    .blog-preview-card {
        padding: 1.5rem 1rem;
    }
    
    .blog-preview-card h3 {
        font-size: 1.2rem;
        line-height: 1.3;
    }
    
    .blog-preview-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .btn {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
        min-height: 44px;
    }
    
    .hero-buttons .btn {
        min-width: 180px;
        padding: 0.875rem 1rem;
    }
    
    .footer-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .social-links {
        justify-content: center;
        gap: 1rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section:first-child {
        padding-top: 1.5rem;
    }
}

/* Extra Small Devices */
@media (max-width: 360px) {
    .container {
        padding: 0 8px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .hero-stats {
        padding: 1rem 0.5rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .pricing-card {
        padding: 1rem 0.75rem;
    }
    
    .testimonial-card {
        padding: 1rem;
    }
    
    .btn {
        padding: 0.75rem 0.875rem;
        font-size: 0.9rem;
        min-height: 42px;
    }
    
    .hero-buttons .btn {
        min-width: 160px;
    }
}

/* Improve touch targets */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 44px;
        padding: 0.875rem 1.25rem;
    }
    
    .nav-link {
        padding: 0.75rem 0.5rem;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .social-link {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .filter-btn {
        min-height: 44px;
        padding: 0.75rem 1.25rem;
    }
}

/* Landscape orientation adjustments */
@media screen and (orientation: landscape) and (max-height: 600px) {
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-stats {
        flex-direction: row;
        gap: 1rem;
        padding: 1rem;
    }
    
    .section {
        padding: 2.5rem 0;
    }
}

/* High DPI screens adjustments */
@media only screen and (-webkit-min-device-pixel-ratio: 2),
       only screen and (min--moz-device-pixel-ratio: 2),
       only screen and (-o-min-device-pixel-ratio: 2/1),
       only screen and (min-device-pixel-ratio: 2),
       only screen and (min-resolution: 192dpi),
       only screen and (min-resolution: 2dppx) {
    
    .hero-image img,
    .about-image img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Testimonials Carousel Mobile Improvements - merged into main 768px media query */

/* Contact Cards Mobile Layout */
@media (max-width: 700px) {
    .contacts-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-card {
        padding: 2rem 1.5rem;
        text-align: center;
    }
    
    .contact-card i {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .contact-card h3 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }
    
    .contact-card p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
}

/* Blog Preview Grid Mobile */
@media (max-width: 600px) {
    .blog-preview-filters {
        gap: 0.5rem;
        margin-bottom: 1.5rem;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    
    .filter-btn {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
        flex-shrink: 0;
        white-space: nowrap;
    }
    
    .blog-preview-grid {
        gap: 1rem;
    }
}

/* Improved Form Mobile Layout */
@media (max-width: 480px) {
    .trial-flex {
        gap: 1rem;
    }
    
    .trial-benefits,
    .trial-form {
        padding: 1.5rem 1rem 2rem 1rem;
        min-height: auto;
        overflow: visible;
    }
    
    .trial-benefits h3,
    .trial-form h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .trial-list {
        margin-bottom: 1.5rem;
    }
    
    .trial-list li {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        line-height: 1.5;
    }
    
    .trial-note {
        font-size: 0.85rem;
        padding: 0.75rem 1rem;
        margin-top: 1.5rem;
        line-height: 1.4;
    }
    
    .trial-privacy {
        font-size: 0.8rem;
        margin-top: 1.5rem;
        line-height: 1.4;
    }
} 