/* General Styles */
:root {
    --primary-color: #0066ff;
    --secondary-color: #2c3e50;
    --accent-color: #00c9ff;
    --text-color: #333;
    --light-text: #fff;
    --dark-bg: #1a1a2e;
    --light-bg: #f8f9fa;
    --gradient-primary: linear-gradient(135deg, #0066ff, #00c9ff);
    --gradient-dark: linear-gradient(135deg, #1a1a2e, #2c3e50);
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--light-bg);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Custom Cursor Follower */
.cursor-follower {
    position: fixed;
    width: 30px;
    height: 30px;
    background: rgba(0, 102, 255, 0.2);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease, background 0.3s ease;
}

.cursor-follower.active {
    width: 60px;
    height: 60px;
    background: rgba(0, 102, 255, 0.1);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    position: relative;
}

/* 主按钮炫酷效果 */
.btn-primary {
    background: linear-gradient(135deg, #0066ff, #00c9ff);
    color: var(--light-text);
    box-shadow: 0 5px 20px rgba(0, 102, 255, 0.4), 0 0 30px rgba(0, 201, 255, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    outline: none;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(90deg, #0066ff, #00c9ff, #0066ff);
    z-index: -1;
    transform: translateX(-100%);
    animation: shiny 3s infinite linear;
}

@keyframes shiny {
    0% {
        transform: translateX(-100%);
    }
    20%, 100% {
        transform: translateX(100%);
    }
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.4), 0 0 40px rgba(0, 201, 255, 0.3);
    color: var(--light-text);
}

/* 次级按钮 */
.btn-outline {
    background: transparent;
    color: var(--light-text);
    border: 2px solid rgba(0, 201, 255, 0.7);
    margin-left: 15px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 0 15px rgba(0, 201, 255, 0.2);
}

.btn-outline::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(0, 201, 255, 0.2);
    transition: all 0.3s ease;
    z-index: -1;
}

.btn-outline:hover {
    color: var(--light-text);
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 201, 255, 0.3);
}

.btn-outline:hover::after {
    width: 100%;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-divider {
    height: 4px;
    width: 70px;
    background: var(--gradient-primary);
    margin: 0 auto;
    border-radius: 2px;
}

.section-header.light h2, 
.section-header.light p {
    color: var(--light-text);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(26, 26, 46, 0.9);
    transition: var(--transition);
    padding: 20px 0;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--box-shadow);
    padding: 15px 0;
    backdrop-filter: blur(10px);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    margin-right: 15px;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--light-text);
    transition: var(--transition);
}

header.scrolled .logo h1 {
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    color: var(--light-text);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

header.scrolled .nav-menu a {
    color: var(--secondary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    color: var(--light-text);
    cursor: pointer;
}

header.scrolled .menu-toggle {
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: var(--dark-bg);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* 网格背景 */
.cyber-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(90deg, rgba(0, 201, 255, 0.08) 1px, transparent 1px),
        linear-gradient(rgba(0, 102, 255, 0.08) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
    perspective: 1000px;
    transform-style: preserve-3d;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translateZ(0) translateY(0);
    }
    100% {
        transform: translateZ(0) translateY(40px);
    }
}

/* 电路线 */
.circuit-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    overflow: hidden;
}

.circuit-lines::before {
    content: '';
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background: 
        radial-gradient(circle at 30% 20%, rgba(0, 201, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(0, 102, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 45% 85%, rgba(0, 201, 255, 0.1) 0%, transparent 55%);
    z-index: 1;
}

.circuit-lines::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: 
        linear-gradient(90deg, transparent 95%, rgba(0, 201, 255, 0.15) 95%),
        linear-gradient(transparent 95%, rgba(0, 102, 255, 0.15) 95%);
    background-size: 20px 20px, 30px 30px;
    z-index: 2;
}

/* 数据点和圆 */
.data-circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 3;
}

.data-circles::before,
.data-circles::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
    box-shadow:
        100px 100px 2px rgba(0, 201, 255, 0.3),
        300px 200px 2px rgba(0, 102, 255, 0.2),
        500px 100px 2px rgba(0, 201, 255, 0.3),
        700px 300px 2px rgba(0, 102, 255, 0.2),
        900px 200px 2px rgba(0, 201, 255, 0.3),
        200px 400px 2px rgba(0, 102, 255, 0.2),
        400px 500px 2px rgba(0, 201, 255, 0.3),
        600px 400px 2px rgba(0, 102, 255, 0.2),
        800px 500px 2px rgba(0, 201, 255, 0.3),
        1000px 400px 2px rgba(0, 102, 255, 0.2),
        150px 600px 2px rgba(0, 201, 255, 0.3),
        350px 550px 2px rgba(0, 102, 255, 0.2),
        550px 650px 2px rgba(0, 201, 255, 0.3),
        750px 550px 2px rgba(0, 102, 255, 0.2),
        950px 650px 2px rgba(0, 201, 255, 0.3);
    animation: pulseData 4s infinite alternate;
}

.data-circles::before {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation-delay: 0s;
}

.data-circles::after {
    top: 30px;
    left: 30px;
    width: 100%;
    height: 100%;
    animation-delay: 2s;
}

@keyframes pulseData {
    0%, 100% {
        opacity: 0.2;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.05);
    }
}

/* 技术科技点 */
.tech-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    overflow: hidden;
}

.tech-dots::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(0, 201, 255, 0.3) 1px, transparent 1px);
    background-size: 25px 25px;
    animation: floatDots 20s infinite linear;
}

@keyframes floatDots {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    100% {
        transform: translateY(25px) rotate(1deg);
    }
}

/* 全局发光叠加效果 */
.glow-overlay {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(ellipse at center, rgba(0, 102, 255, 0.1) 0%, rgba(0, 0, 0, 0) 60%),
        radial-gradient(ellipse at 70% 40%, rgba(0, 201, 255, 0.1) 0%, rgba(0, 0, 0, 0) 60%);
    animation: glowPulse 10s infinite alternate;
    z-index: 5;
    mix-blend-mode: screen;
}

@keyframes glowPulse {
    0% {
        opacity: 0.3;
        transform: rotate(0deg);
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 0.3;
        transform: rotate(360deg);
    }
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 10;
    color: var(--light-text);
    padding-bottom: 50px;
}

.animated-title {
    font-size: 3.5rem;
    margin-bottom: 25px;
    overflow: hidden;
    text-shadow: 0 0 15px rgba(0, 201, 255, 0.5);
    animation: textGlow 3s infinite alternate;
}

@keyframes textGlow {
    0% {
        text-shadow: 0 0 5px rgba(0, 201, 255, 0.5);
    }
    100% {
        text-shadow: 0 0 20px rgba(0, 201, 255, 0.8), 0 0 30px rgba(0, 102, 255, 0.5);
    }
}

.animated-title span {
    color: var(--accent-color);
    display: block;
    position: relative;
}

.animated-title span::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    animation: lineGrow 3s forwards;
}

@keyframes lineGrow {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.image-stack {
    position: relative;
    height: 400px;
}

.image-stack img {
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    position: absolute;
}

.image-stack .img-1 {
    top: 0;
    left: 0;
    width: 80%;
    z-index: 1;
}

.image-stack .img-2 {
    bottom: 0;
    right: 0;
    width: 60%;
    z-index: 2;
}

.company-values {
    display: flex;
    flex-wrap: wrap;
    margin-top: 40px;
    gap: 20px;
}

.value-item {
    flex: 1;
    min-width: 200px;
    background: var(--light-bg);
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-10px);
}

.value-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.value-item h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* Services Section */
.services-section {
    background: var(--gradient-dark);
    color: var(--light-text);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    backdrop-filter: blur(5px);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.bg-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.bg-particles::before,
.bg-particles::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 201, 255, 0.1);
    animation: float 15s infinite linear;
}

.bg-particles::before {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -150px;
}

.bg-particles::after {
    width: 500px;
    height: 500px;
    bottom: -250px;
    right: -250px;
    animation-duration: 20s;
    animation-delay: 2s;
}

@keyframes float {
    0% {
        transform: rotate(0deg) translate(0, 0);
    }
    50% {
        transform: rotate(180deg) translate(100px, 100px);
    }
    100% {
        transform: rotate(360deg) translate(0, 0);
    }
}

/* Solutions Section */
.solutions-slider {
    position: relative;
    overflow: hidden;
}

.solution-item {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.solution-image {
    flex: 1;
    min-width: 300px;
}

.solution-image img {
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.solution-image img:hover {
    transform: scale(1.03);
}

.solution-content {
    flex: 1;
    min-width: 300px;
}

.solution-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.solution-content p {
    margin-bottom: 25px;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 500;
}

.learn-more i {
    margin-left: 5px;
    transition: var(--transition);
}

.learn-more:hover i {
    transform: translateX(5px);
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.prev-btn, .next-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light-bg);
    color: var(--secondary-color);
    border: none;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--box-shadow);
}

.prev-btn:hover, .next-btn:hover {
    background: var(--primary-color);
    color: var(--light-text);
}

.slider-dots {
    display: flex;
    justify-content: center;
    margin: 0 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Cases Section */
.cases-section {
    background: var(--dark-bg);
    color: var(--light-text);
}

.cases-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
    gap: 15px;
}

.filter-btn {
    padding: 8px 20px;
    background: transparent;
    color: var(--light-text);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary-color);
    color: var(--light-text);
    border-color: var(--primary-color);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.case-item {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.case-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.case-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.case-item:hover .case-overlay {
    opacity: 1;
}

.case-item:hover .case-image img {
    transform: scale(1.1);
}

.case-details h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.case-details p {
    font-size: 0.9rem;
    margin-bottom: 15px;
    opacity: 0.8;
}

.case-link {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Contact Section */
.contact-content {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.contact-info {
    max-width: 600px;
    width: 100%;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    transition: var(--transition);
    padding: 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
}

.info-item i {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-right: 25px;
    margin-top: 5px;
}

.info-item h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.social-media {
    display: flex;
    gap: 15px;
    margin-top: 40px;
    justify-content: center;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--light-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.2);
}

.social-icon:hover {
    background: var(--gradient-dark);
    color: var(--light-text);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.3);
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background: var(--light-bg);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.map-container {
    height: 400px;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

#map {
    height: 100%;
    width: 100%;
    background: #eee;
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: var(--light-text);
    padding: 70px 0 20px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.link-group {
    flex: 1;
    min-width: 150px;
}

.link-group h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.link-group h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-color);
}

.link-group ul li {
    margin-bottom: 10px;
}

.link-group ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.link-group ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
    opacity: 0.7;
    margin-bottom: 10px;
}

.privacy-links {
    display: flex;
    gap: 20px;
}

.privacy-links a {
    color: rgba(255, 255, 255, 0.7);
}

.privacy-links a:hover {
    color: var(--accent-color);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--light-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent-color);
    transform: translateY(-5px);
}

/* Media Queries */
@media (max-width: 992px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .animated-title {
        font-size: 2.8rem;
    }
    
    .solution-item {
        flex-direction: column;
    }
    
    .solution-image, .solution-content {
        flex: 100%;
    }
}

@media (max-width: 768px) {
    section {
        padding: 70px 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--dark-bg);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .animated-title {
        font-size: 2.3rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .image-stack {
        height: 300px;
        margin-top: 30px;
    }
    
    .cases-filter {
        overflow-x: auto;
        padding-bottom: 10px;
        justify-content: flex-start;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-links {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .privacy-links {
        justify-content: center;
        margin-top: 10px;
    }
}

@media (max-width: 576px) {
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .animated-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 10px 20px;
    }
    
    .btn-outline {
        margin-left: 10px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        bottom: 20px;
        right: 20px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid transparent;
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader:before, .loader:after {
    content: '';
    position: absolute;
    border: 3px solid transparent;
    border-radius: 50%;
}

.loader:before {
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-top-color: var(--accent-color);
    animation: spin 0.8s linear infinite reverse;
}

.loader:after {
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    border-top-color: var(--light-text);
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.editor-info {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 5px;
} 