/* ==========================================
   ОСНОВНЫЕ ПЕРЕМЕННЫЕ И RESET
   ========================================== */
:root {
    /* Цвета */
    --primary-gradient: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
    --secondary-gradient: linear-gradient(135deg, #059669 0%, #2563eb 100%);
    --dark-gradient: linear-gradient(135deg, #1f2937 0%, #111827 100%);

    --color-primary: #10b981;
    --color-secondary: #3b82f6;
    --color-accent: #8b5cf6;
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-danger: #ef4444;

    --color-bg: #ffffff;
    --color-bg-alt: #f9fafb;
    --color-text: #1f2937;
    --color-text-light: #6b7280;
    --color-border: #e5e7eb;

    /* Типографика */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Размеры */
    --container-width: 1200px;
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --border-radius-lg: 24px;

    /* Тени */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Анимации */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    overflow-x: hidden;
    width: 100%;
}

/* ==========================================
   ТИПОГРАФИКА
   ========================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

.lead-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

/* ==========================================
   УТИЛИТЫ
   ========================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

.section {
    padding: 5rem 0;
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

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

.section-title {
    margin-bottom: 1rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-decorator {
    width: 80px;
    height: 4px;
    background: var(--primary-gradient);
    margin: 0 auto;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-top: 1rem;
}

/* ==========================================
   НАВИГАЦИЯ
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.logo-icon {
    font-size: 1.75rem;
}

.logo-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

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

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-text);
    border-radius: 2px;
    transition: var(--transition-base);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #ecfdf5 0%, #dbeafe 100%);
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.hero-background::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }

    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

.hero-content {
    text-align: center;
    z-index: 1;
    width: 100%;
    max-width: 100%;
}

.hero-title {
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

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

.stat-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-heading);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-top: 0.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

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

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

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--color-text-light);
    font-size: 0.875rem;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-left: 2px solid var(--color-primary);
    border-bottom: 2px solid var(--color-primary);
    transform: rotate(-45deg);
    margin: 0.5rem auto 0;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) rotate(-45deg);
    }

    40% {
        transform: translateY(-10px) rotate(-45deg);
    }

    60% {
        transform: translateY(-5px) rotate(-45deg);
    }
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-base);
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
}

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

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

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

.btn-secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* ==========================================
   INTRO SECTION
   ========================================== */
.intro-section {
    background: var(--color-bg);
}

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

.fact-card {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    border: 1px solid var(--color-border);
}

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

.fact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.fact-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

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

/* ==========================================
   SCIENCE SECTION
   ========================================== */
.science-section {
    background: var(--color-bg-alt);
}

.content-grid {
    display: grid;
    gap: 3rem;
}

.content-block {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.content-block h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.causes-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cause-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--color-bg-alt);
    border-radius: var(--border-radius-sm);
    transition: var(--transition-base);
}

.cause-item:hover {
    background: linear-gradient(135deg, #ecfdf5 0%, #dbeafe 100%);
    transform: translateX(5px);
}

.cause-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.cause-text h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.cause-text p {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.chart-container {
    background: var(--color-bg-alt);
    padding: 2rem;
    border-radius: var(--border-radius-sm);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stats-highlight {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.highlight-item {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #ecfdf5 0%, #dbeafe 100%);
    border-radius: var(--border-radius-sm);
}

.highlight-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-heading);
}

.highlight-text {
    display: block;
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-top: 0.5rem;
}

/* ==========================================
   IMPACT SECTION - ЭКОСИСТЕМЫ
   ========================================== */
.impact-section {
    background: white;
}

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

.ecosystem-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border: 2px solid transparent;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.ecosystem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-base);
}

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

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

.ecosystem-card.forest:hover {
    border-color: #10b981;
}

.ecosystem-card.water:hover {
    border-color: #3b82f6;
}

.ecosystem-card.steppe:hover {
    border-color: #f59e0b;
}

.ecosystem-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.ecosystem-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.ecosystem-content {
    margin-bottom: 1.5rem;
}

.impact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.impact-list li {
    padding-left: 1.5rem;
    position: relative;
    color: var(--color-text-light);
    line-height: 1.6;
}

.impact-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
    font-size: 1.5rem;
}

.ecosystem-severity {
    margin-top: 1.5rem;
}

.severity-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text);
    display: block;
    margin-bottom: 0.5rem;
}

.severity-bar {
    height: 8px;
    background: var(--color-bg-alt);
    border-radius: 4px;
    overflow: hidden;
}

.severity-fill {
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 4px;
    transition: width 1s ease;
}

/* ==========================================
   METHODS SECTION - ӘДІСТЕР
   ========================================== */
.methods-section {
    background: var(--color-bg-alt);
}

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

.method-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    position: relative;
    transition: var(--transition-base);
}

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

.method-number {
    position: absolute;
    top: -1rem;
    right: 2rem;
    font-size: 4rem;
    font-weight: 800;
    font-family: var(--font-heading);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
}

.method-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.method-content ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.method-content li {
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ==========================================
   CALCULATOR SECTION
   ========================================== */
.calculator-section {
    background: linear-gradient(135deg, #ecfdf5 0%, #dbeafe 100%);
}

.calculator-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    align-items: start;
}

.calculator-form {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-xl);
}

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

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.label-icon {
    font-size: 1.25rem;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: var(--transition-base);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.btn-calculate {
    width: 100%;
    margin-top: 1rem;
}

.calculator-result {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-xl);
    text-align: center;
}

.result-circle {
    position: relative;
    margin: 0 auto 2rem;
    width: 200px;
    height: 200px;
}

.progress-ring {
    transform: rotate(-90deg);
}

.progress-ring-fill {
    stroke-dasharray: 534;
    stroke-dashoffset: 534;
    transition: stroke-dashoffset 1s ease;
}

.result-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.result-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.result-unit {
    display: block;
    font-size: 0.75rem;
    color: var(--color-text-light);
    margin-top: 0.25rem;
}

.result-comparison {
    margin-bottom: 2rem;
    text-align: left;
}

.result-comparison h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.comparison-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--color-bg-alt);
    border-radius: var(--border-radius-sm);
    margin-bottom: 0.5rem;
}

.comparison-icon {
    font-size: 1.5rem;
}

.comparison-text {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.result-tips {
    text-align: left;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

/* ==========================================
   CONCLUSION SECTION
   ========================================== */
.conclusion-section {
    background: white;
}

.conclusion-content {
    max-width: 900px;
    margin: 0 auto;
}

.recommendations {
    margin: 3rem 0;
}

.recommendations h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    text-align: center;
}

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

.recommendation-card {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition-base);
    border: 1px solid var(--color-border);
}

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

.recommendation-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.recommendation-card h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.recommendation-card p {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.cta-box {
    background: var(--primary-gradient);
    color: white;
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    margin-top: 3rem;
}

.cta-box h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
}

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

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

.cta-box .btn-primary:hover {
    background: var(--color-bg-alt);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--dark-gradient);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-text {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.footer-copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ==========================================
   RESPONSIVE - МОБИЛЬНАЯ АДАПТАЦИЯ
   ========================================== */

/* Планшеты и маленькие ноутбуки */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.25rem;
    }

    .hero-stats {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }

    .content-grid {
        gap: 2rem;
    }
}

/* Планшеты вертикально */
@media (max-width: 768px) {

    /* Навигация */
    .nav-container {
        padding: 0.75rem 1rem;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: white;
        width: 100%;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        padding: 2rem;
        box-shadow: var(--shadow-2xl);
        transition: var(--transition-base);
        gap: 1rem;
        z-index: 999;
    }

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

    .nav-link {
        font-size: 1.125rem;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--color-border);
    }

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

    .nav-toggle {
        display: flex;
    }

    /* Hero секция */
    .hero {
        min-height: 85vh;
        padding: 100px 0 3rem;
    }

    .hero-title {
        font-size: 2.25rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
        margin-bottom: 2rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-cta .btn {
        width: 100%;
        text-align: center;
    }

    .scroll-indicator {
        display: none;
    }

    /* Секции */
    .section {
        padding: 3rem 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* Типографика */
    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.375rem;
    }

    h4 {
        font-size: 1.125rem;
    }

    .lead-text {
        font-size: 1.125rem;
    }

    /* Карточки */
    .key-facts,
    .ecosystems-grid,
    .methods-grid,
    .recommendations-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .fact-card,
    .ecosystem-card,
    .method-card,
    .recommendation-card {
        padding: 1.75rem;
    }

    .fact-icon,
    .ecosystem-icon {
        font-size: 2.5rem;
    }

    /* Контент */
    .content-block {
        padding: 2rem;
    }

    .cause-item {
        flex-direction: row;
        align-items: center;
    }

    .cause-icon {
        font-size: 1.75rem;
    }

    /* Калькулятор */
    .calculator-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .calculator-form,
    .calculator-result {
        padding: 2rem;
    }

    .form-group label {
        font-size: 0.9375rem;
    }

    .form-input {
        padding: 0.75rem;
        font-size: 1rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
    }

    /* Заключение */
    .cta-box {
        padding: 2.5rem 2rem;
    }

    .cta-box h3 {
        font-size: 1.5rem;
    }

    .cta-box p {
        font-size: 1rem;
    }

    /* Методы */
    .method-number {
        font-size: 3rem;
        top: -0.5rem;
        right: 1.5rem;
    }

    /* Footer */
    .footer {
        padding: 2.5rem 0;
    }
}

/* Мобильные устройства */
@media (max-width: 480px) {

    /* Общие */
    .container {
        padding: 0 1rem;
    }

    /* Навигация */
    .logo {
        font-size: 1.25rem;
    }

    .logo-icon {
        font-size: 1.5rem;
    }

    .nav-menu {
        padding: 1.5rem;
    }

    /* Hero */
    .hero {
        min-height: 80vh;
        padding: 90px 0 2rem;
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .stat-card {
        padding: 1.25rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.8125rem;
    }

    /* Секции */
    .section {
        padding: 2.5rem 0;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-decorator {
        width: 60px;
    }

    /* Типографика */
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    h4 {
        font-size: 1.0625rem;
    }

    .lead-text {
        font-size: 1rem;
        line-height: 1.7;
    }

    /* Карточки */
    .fact-card,
    .ecosystem-card,
    .method-card,
    .recommendation-card,
    .content-block {
        padding: 1.5rem;
        border-radius: var(--border-radius-sm);
    }

    .fact-icon {
        font-size: 2.25rem;
        margin-bottom: 0.75rem;
    }

    .ecosystem-icon {
        font-size: 2.5rem;
    }

    .recommendation-icon {
        font-size: 2.5rem;
    }

    /* Причины */
    .cause-item {
        padding: 0.75rem;
        gap: 0.75rem;
    }

    .cause-icon {
        font-size: 1.5rem;
    }

    .cause-text h4 {
        font-size: 1rem;
    }

    .cause-text p {
        font-size: 0.875rem;
    }

    /* График */
    .chart-container {
        padding: 1.5rem;
        min-height: 250px;
    }

    .stats-highlight {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .highlight-item {
        padding: 1.25rem;
    }

    .highlight-number {
        font-size: 1.75rem;
    }

    /* Списки влияния */
    .impact-list {
        gap: 0.5rem;
    }

    .impact-list li {
        font-size: 0.9375rem;
        padding-left: 1.25rem;
    }

    .impact-list li::before {
        font-size: 1.25rem;
    }

    /* Методы */
    .method-number {
        font-size: 2.5rem;
        right: 1rem;
    }

    .method-content ul {
        gap: 0.75rem;
    }

    .method-content li {
        font-size: 0.9375rem;
    }

    /* Калькулятор */
    .calculator-form,
    .calculator-result {
        padding: 1.5rem;
    }

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

    .form-group label {
        font-size: 0.875rem;
        gap: 0.375rem;
    }

    .label-icon {
        font-size: 1.125rem;
    }

    .form-input {
        padding: 0.625rem 0.875rem;
        font-size: 0.9375rem;
    }

    .result-circle {
        width: 180px;
        height: 180px;
        margin-bottom: 1.5rem;
    }

    .result-number {
        font-size: 2rem;
    }

    .result-unit {
        font-size: 0.6875rem;
    }

    .comparison-item {
        padding: 0.625rem;
        gap: 0.5rem;
    }

    .comparison-icon {
        font-size: 1.25rem;
    }

    .comparison-text {
        font-size: 0.8125rem;
    }

    /* Кнопки */
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }

    /* Заключение */
    .cta-box {
        padding: 2rem 1.5rem;
        border-radius: var(--border-radius);
    }

    .cta-box h3 {
        font-size: 1.375rem;
        margin-bottom: 0.75rem;
    }

    .cta-box p {
        font-size: 0.9375rem;
        margin-bottom: 1.5rem;
    }

    /* Рекомендации */
    .recommendations h3 {
        font-size: 1.375rem;
        margin-bottom: 1.5rem;
    }

    /* Список литературы */
    .references h3 {
        font-size: 1.25rem;
    }

    .references-list {
        font-size: 0.875rem;
        line-height: 1.8;
    }

    /* Footer */
    .footer {
        padding: 2rem 0;
    }

    .footer-logo {
        font-size: 1.25rem;
    }

    .footer-text {
        font-size: 0.9375rem;
    }

    .footer-copyright {
        font-size: 0.8125rem;
    }
}

/* Очень маленькие экраны */
@media (max-width: 360px) {
    .container {
        padding: 0 0.75rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.375rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .fact-card,
    .ecosystem-card,
    .method-card,
    .content-block {
        padding: 1.25rem;
    }

    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
    }
}

/* Улучшения для touch-устройств */
@media (hover: none) and (pointer: coarse) {

    /* Увеличенные области тапа */
    .btn,
    .nav-link,
    .form-input {
        min-height: 44px;
        min-width: 44px;
    }

    .nav-toggle {
        padding: 0.5rem;
        min-width: 44px;
        min-height: 44px;
    }

    /* Отключение hover-эффектов на touch */
    .fact-card:hover,
    .ecosystem-card:hover,
    .method-card:hover,
    .recommendation-card:hover {
        transform: none;
    }

    /* Активные состояния вместо hover */
    .fact-card:active,
    .ecosystem-card:active,
    .method-card:active,
    .recommendation-card:active {
        transform: scale(0.98);
    }

    .btn-primary:active {
        transform: scale(0.97);
    }

    /* Убираем эффект наведения для ссылок */
    .nav-link:hover::after {
        width: 0;
    }

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

/* ==========================================
   УТИЛИТЫ ДЛЯ АНИМАЦИЙ
   ========================================== */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

[data-aos="fade-right"] {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-right"].aos-animate {
    opacity: 1;
    transform: translateX(0);
}

[data-aos="fade-left"] {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-left"].aos-animate {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================
   ДОПОЛНИТЕЛЬНЫЕ ЭЛЕМЕНТЫ
   ========================================== */
.references {
    margin-top: 3rem;
}

.references h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.references-list {
    list-style-position: inside;
    color: var(--color-text-light);
    line-height: 2;
}

.references-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border);
}

.references-list li:last-child {
    border-bottom: none;
}

/* Плавная прокрутка */
html {
    scroll-padding-top: 80px;
}

/* Улучшенная доступность */
*:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}