/* === Базовые стили === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--color-white);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* === Типографика === */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--link-color);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--link-hover);
}

/* === Header и Navigation === */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: background var(--transition-base), box-shadow var(--transition-base);
}

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

.header-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    text-decoration: none;
}

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

nav ul li a,
.main-nav ul li a {
    color: var(--text-primary);
    font-weight: 500;
    transition: color var(--transition-base);
}

nav ul li a:hover,
nav ul li a.active,
.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: var(--link-hover);
}

/* === Mobile Menu === */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: var(--color-primary-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

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

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

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

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

body.menu-open {
    overflow: hidden;
}

/* === Кнопки === */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

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

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

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

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

.btn-secondary:hover {
    background: var(--color-primary-dark);
    color: var(--color-white);
}

/* === Hero Section === */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    overflow: hidden;
    color: var(--color-white);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-image: url('../images/hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.1);
    transition: transform 0.3s ease-out;
    z-index: 0;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    opacity: 0.75;
    z-index: 1;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--particle-color);
    border-radius: 50%;
    animation: float 15s infinite ease-in-out;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

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

.hero-content h1 {
    color: var(--color-white);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px var(--overlay-dark);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* === Секции === */
section {
    padding: var(--section-padding);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.content-section {
    background: var(--bg-section-light);
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.content-section p,
.content-section li,
.content-section h1,
.content-section h2,
.content-section h3,
.content-section h4,
.content-section ul,
.content-section ol,
.content-section div {
    color: var(--text-primary);
}

.content-section a {
    color: var(--link-color);
}

.content-section a:hover {
    color: var(--link-hover);
}

.features-section {
    background: var(--bg-section-dark);
    color: var(--color-white);
}

.features-section h2,
.features-section h3 {
    color: var(--color-white);
}

/* === Scroll Reveal Animation === */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.scroll-reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

.scroll-reveal.delay-1 {
    transition-delay: 0.1s;
}

.scroll-reveal.delay-2 {
    transition-delay: 0.2s;
}

.scroll-reveal.delay-3 {
    transition-delay: 0.3s;
}

/* === Карточки === */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.concept-card {
    background: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 1px solid var(--border-color);
}

.concept-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent-gold);
}

.card-image {
    width: 100%;
    height: 250px;
    background: var(--gradient-primary);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.card-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0.3;
    transition: opacity var(--transition-base);
}

.concept-card:hover .card-image::before {
    opacity: 0.1;
}

.card-content {
    padding: 2rem;
}

.card-content h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.card-content p {
    color: var(--text-secondary);
}

/* === Footer === */
footer {
    background: var(--bg-section-dark);
    color: var(--color-white);
    padding: 3rem 0 1rem;
    position: relative;
    z-index: 100;
}

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

.footer-section h4 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

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

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

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-base);
    display: inline-block;
    position: relative;
    pointer-events: auto;
    cursor: pointer;
    text-decoration: none;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.3);
}

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

.footer-section ul li {
    position: relative;
}

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

/* === Cookie Banner === */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-white);
    box-shadow: var(--shadow-xl);
    z-index: 10000;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform var(--transition-base);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 250px;
}

.cookie-text p {
    margin: 0;
    color: var(--text-primary);
}

.cookie-text a {
    color: var(--link-color);
    text-decoration: underline;
}

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

/* === Формы === */
.form-group {
    margin-bottom: 1.5rem;
}

ul, ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* === Карта === */
.contact-map {
    margin: 3rem 0;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
    display: block;
}

/* === Thank You Page === */
.thank-you-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--section-padding);
}

.thank-you-content h1 {
    margin-bottom: 1.5rem;
}

.thank-you-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* === Contact Form Layout === */
.contact-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* === Research Areas Layout === */
.research-areas-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.research-areas-content {
    flex: 1;
}

.research-areas-image {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.research-areas-image img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

/* === Таблицы === */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    border-radius: 8px;
    overflow: hidden;
}

thead {
    background: var(--gradient-primary);
    color: var(--color-white);
}

thead th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--color-white);
}

tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: background-color var(--transition-base);
}

tbody tr:hover {
    background-color: var(--color-off-white);
}

tbody tr:last-child {
    border-bottom: none;
}

tbody td {
    padding: 1rem;
    color: var(--text-primary);
}

.table-container {
    overflow-x: auto;
    margin: 2rem 0;
}

/* === Аккордеоны === */
.accordion {
    margin: 2rem 0;
}

.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
}

.accordion-header {
    padding: 1.5rem;
    background: var(--color-white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color var(--transition-base);
    user-select: none;
}

.accordion-header:hover {
    background: var(--color-off-white);
}

.accordion-header.active {
    background: var(--color-off-white);
}

.accordion-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.accordion-icon {
    font-size: 1.5rem;
    color: var(--color-primary);
    transition: transform var(--transition-base);
}

.accordion-header.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow), padding var(--transition-slow);
    padding: 0 1.5rem;
}

.accordion-content.active {
    max-height: 1000px;
    padding: 1.5rem;
}

.accordion-body {
    color: var(--text-secondary);
    line-height: 1.8;
}

.accordion-body p {
    margin-bottom: 1rem;
}

.accordion-body ul, .accordion-body ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

/* === Отзывы/Тестовимонials === */
.testimonials {
    margin: 3rem 0;
}

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

.testimonial-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

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

.testimonial-content {
    margin-bottom: 1.5rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.8;
}

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

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

.testimonial-info h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.testimonial-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.testimonial-rating {
    color: var(--color-accent-gold);
    margin-top: 0.5rem;
    font-size: 1.1rem;
}

/* === Статьи === */
.article {
    background: var(--color-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin: 2rem 0;
    border: 1px solid var(--border-color);
}

.article-header {
    padding: 2rem;
    background: var(--gradient-primary);
    color: var(--color-white);
}

.article-header h3 {
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.article-meta {
    font-size: 0.9rem;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
}

.article-body {
    padding: 2rem;
}

.article-body h4 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.article-body p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.article-body ul, .article-body ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.article-footer {
    padding: 1.5rem 2rem;
    background: var(--color-off-white);
    border-top: 1px solid var(--border-color);
}

/* === Статистика === */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: var(--color-white);
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base);
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    display: block;
}

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

/* === Блоки с данными === */
.data-section {
    margin: 3rem 0;
}

.data-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--color-primary);
    margin-bottom: 1.5rem;
}

.data-card h4 {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.data-card p {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

/* === Адаптивность === */
@media (max-width: 768px) {
    /* Отключение анимаций на мобильных устройствах */
    html {
        scroll-behavior: auto !important;
    }
    
    /* Отключение scroll reveal анимаций */
    .scroll-reveal,
    .scroll-reveal-left,
    .scroll-reveal-right {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    
    .scroll-reveal.revealed,
    .scroll-reveal-left.revealed,
    .scroll-reveal-right.revealed {
        opacity: 1 !important;
        transform: none !important;
    }
    
    .scroll-reveal.delay-1,
    .scroll-reveal.delay-2,
    .scroll-reveal.delay-3 {
        transition-delay: 0s !important;
    }
    
    /* Отключение hero анимаций */
    .hero-content {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
    
    .hero-background {
        transform: none !important;
        transition: none !important;
    }
    
    .particle {
        animation: none !important;
        display: none;
    }
    
    /* Отключение transform анимаций на карточках */
    .concept-card,
    .concept-card:hover {
        transform: none !important;
        transition: none !important;
    }
    
    .testimonial-card,
    .testimonial-card:hover {
        transform: none !important;
        transition: none !important;
    }
    
    .stat-card,
    .stat-card:hover {
        transform: none !important;
        transition: none !important;
    }
    
    .btn-primary,
    .btn-primary:hover {
        transform: none !important;
    }
    
    .btn-primary::before {
        display: none !important;
    }
    
    /* Отключение transition для большинства элементов */
    .card-image::before {
        transition: none !important;
    }
    
    .accordion-icon {
        transition: none !important;
    }
    
    /* Mobile Menu Styles */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--color-white);
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        transition: right 0.3s ease;
        overflow-y: auto;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    nav ul,
    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 20px 20px;
        gap: 0;
    }
    
    nav ul li,
    .main-nav ul li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    
    nav ul li a,
    .main-nav ul li a {
        display: block;
        padding: 1rem 0;
        width: 100%;
        font-size: 1.1rem;
    }
    
    nav ul li a:hover,
    nav ul li a.active,
    .main-nav ul li a:hover,
    .main-nav ul li a.active {
        color: var(--link-hover);
        padding-left: 10px;
        transition: padding-left 0.3s ease;
    }
    
    .mobile-menu-overlay {
        display: block;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    section {
        padding: var(--section-padding-mobile);
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-buttons .btn {
        flex: 1;
        min-width: 120px;
    }
    
    .map-container iframe {
        height: 300px;
    }
    
    /* Contact form layout on mobile */
    .contact-form-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Research areas layout on mobile */
    .research-areas-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .research-areas-image {
        position: relative;
        top: 0;
    }
    
    /* Table responsiveness */
    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    table {
        font-size: 0.9rem;
    }
    
    thead th,
    tbody td {
        padding: 0.75rem;
    }
    
    /* Accordion mobile */
    .accordion-header {
        padding: 1rem;
    }
    
    .accordion-title {
        font-size: 1rem;
    }
    
    /* Articles mobile */
    .article-header,
    .article-body,
    .article-footer {
        padding: 1.5rem;
    }
    
    /* Stats grid mobile */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    /* Testimonials mobile */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    /* Footer mobile */
    footer {
        display: block !important;
        padding: 2rem 0 1rem;
        position: relative;
        z-index: 1000;
        pointer-events: auto;
        touch-action: manipulation;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
        pointer-events: auto;
    }
    
    .footer-section {
        margin-bottom: 1rem;
        pointer-events: auto;
    }
    
    .footer-section h4 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    .footer-section ul {
        pointer-events: auto;
    }
    
    .footer-section ul li {
        margin-bottom: 0.4rem;
        pointer-events: auto;
    }
    
    .footer-section a {
        font-size: 0.95rem;
        pointer-events: auto;
        cursor: pointer;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0.3);
        display: inline-block;
        min-height: 44px;
        line-height: 44px;
        padding: 0 5px;
    }
    
    .footer-bottom {
        padding-top: 1.5rem;
        font-size: 0.9rem;
        pointer-events: auto;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    /* Stats single column on small mobile */
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    table {
        font-size: 0.8rem;
    }
    
    thead th,
    tbody td {
        padding: 0.5rem;
    }
    
}

