/* ========================================
   YIYUTUO - Corporate Website Stylesheet
   BYD-inspired Modern Design with Animations
   ======================================== */

/* CSS Variables */
:root {
    --primary-color: #0041d9;
    --primary-dark: #0033aa;
    --primary-light: #0066ff;
    --secondary-color: #00a0e9;
    --accent-color: #00d4ff;
    --gradient-primary: linear-gradient(135deg, #0041d9 0%, #00a0e9 100%);
    --gradient-hero: linear-gradient(135deg, #001a4d 0%, #0033aa 50%, #00a0e9 100%);
    --gradient-card: linear-gradient(180deg, rgba(0,68,217,0.05) 0%, rgba(0,160,233,0.1) 100%);
    --text-dark: #1a1a2e;
    --text-medium: #4a4a6a;
    --text-light: #7a7a9a;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --bg-dark: #0a1628;
    --shadow-sm: 0 2px 8px rgba(0,68,217,0.1);
    --shadow-md: 0 8px 30px rgba(0,68,217,0.15);
    --shadow-lg: 0 20px 60px rgba(0,68,217,0.2);
    --shadow-xl: 0 30px 80px rgba(0,68,217,0.25);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --font-heading: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --font-body: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --container-max: 1400px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--bg-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

.section {
    padding: 120px 0;
    position: relative;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

/* ========================================
   Header & Navigation
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,68,217,0.1);
    transition: var(--transition-normal);
}

.header.scrolled {
    background: rgba(255,255,255,0.98);
    box-shadow: var(--shadow-md);
}

.header-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo svg {
    transition: var(--transition-normal);
}

.logo:hover svg {
    transform: rotate(360deg);
}

.logo-text {
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-item {
    position: relative;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
    padding: 10px 0;
    transition: var(--transition-fast);
}

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

.nav-item:hover::after,
.nav-item.active::after {
    width: 100%;
}

.nav-item:hover,
.nav-item.active {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition-normal);
}

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 25s; }
.particle:nth-child(2) { left: 20%; top: 80%; animation-delay: 2s; animation-duration: 20s; }
.particle:nth-child(3) { left: 80%; top: 10%; animation-delay: 4s; animation-duration: 30s; }
.particle:nth-child(4) { left: 70%; top: 70%; animation-delay: 6s; animation-duration: 22s; }
.particle:nth-child(5) { left: 40%; top: 50%; animation-delay: 8s; animation-duration: 28s; }
.particle:nth-child(6) { left: 90%; top: 40%; animation-delay: 10s; animation-duration: 24s; }

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translate(50px, -100px) scale(1.5);
        opacity: 0.6;
    }
    50% {
        transform: translate(100px, 50px) scale(1);
        opacity: 0.3;
    }
    75% {
        transform: translate(-50px, -50px) scale(1.2);
        opacity: 0.5;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 30px;
    border: 1px solid rgba(255,255,255,0.2);
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    text-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.hero-title span {
    background: linear-gradient(135deg, #00d4ff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 20px;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 50px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.5);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
    transform: translateY(-3px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 100px;
    padding-top: 60px;
    border-top: 1px solid rgba(255,255,255,0.2);
    position: relative;
}

.hero-stats::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gradient-primary);
}

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

.stat-number {
    font-size: 56px;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
}

/* ========================================
   Services Section
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--bg-white);
    border-radius: 24px;
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,68,217,0.1);
    transition: var(--transition-slow);
}

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

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-card);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    transition: var(--transition-normal);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    transform: rotate(10deg) scale(1.1);
}

.service-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--primary-color);
    transition: var(--transition-normal);
}

.service-card:hover .service-icon svg {
    stroke: white;
}

.service-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.service-card p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ========================================
   App Features Section
   ======================================== */
.app-section {
    background: var(--bg-light);
}

.app-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.app-content h2 {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.app-content p {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 40px;
}

.app-features-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.app-feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: var(--bg-white);
    border-radius: 16px;
    transition: var(--transition-normal);
}

.app-feature:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.app-feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.app-feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

.app-feature-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.app-feature-content p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

.app-mockup {
    position: relative;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: linear-gradient(145deg, #1a1a2e, #2d2d4a);
    border-radius: 40px;
    padding: 12px;
    margin: 0 auto;
    box-shadow: var(--shadow-xl);
    animation: phoneFloat 6s ease-in-out infinite;
}

@keyframes phoneFloat {
    0%, 100% { transform: translateY(0) rotate(2deg); }
    50% { transform: translateY(-20px) rotate(-2deg); }
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-screen svg {
    width: 120px;
    height: 120px;
    opacity: 0.5;
}

/* ========================================
   About Section
   ======================================== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.about-text p {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: 12px;
}

.value-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon svg {
    width: 20px;
    height: 20px;
    stroke: white;
}

.value-item span {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
}

.about-visual {
    position: relative;
}

.about-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.about-image-box {
    background: var(--gradient-primary);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    color: white;
    transition: var(--transition-normal);
}

.about-image-box:nth-child(2),
.about-image-box:nth-child(4) {
    margin-top: 40px;
}

.about-image-box:hover {
    transform: scale(1.05);
}

.about-image-box svg {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.about-image-box h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.about-image-box p {
    font-size: 14px;
    opacity: 0.9;
}

/* ========================================
   News Section
   ======================================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: var(--bg-white);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(0,68,217,0.1);
    transition: var(--transition-slow);
}

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

.news-image {
    height: 220px;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.news-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transition: var(--transition-normal);
}

.news-card:hover .news-image::before {
    transform: translate(-50%, -50%) scale(1.5);
}

.news-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background: white;
    padding: 10px 16px;
    border-radius: 12px;
    text-align: center;
}

.news-date .day {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.news-date .month {
    font-size: 12px;
    color: var(--text-light);
}

.news-content {
    padding: 30px;
}

.news-category {
    display: inline-block;
    background: var(--gradient-card);
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.news-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
}

.news-link svg {
    width: 16px;
    height: 16px;
    transition: var(--transition-fast);
}

.news-card:hover .news-link svg {
    transform: translateX(5px);
}

/* ========================================
   Contact Section
   ======================================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info {
    background: var(--gradient-hero);
    border-radius: 32px;
    padding: 60px;
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.contact-info h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}

.contact-info > p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 50px;
    position: relative;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-item-icon {
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

.contact-item-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

.contact-item-content p {
    font-size: 15px;
    opacity: 0.9;
}

.contact-form {
    background: var(--bg-white);
    border-radius: 32px;
    padding: 60px;
    box-shadow: var(--shadow-lg);
}

.contact-form h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 40px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    transition: var(--transition-fast);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0,68,217,0.1);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.btn-submit {
    width: 100%;
    padding: 18px;
    background: var(--gradient-primary);
    color: white;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ========================================
   Page Header
   ======================================== */
.page-header {
    background: var(--gradient-hero);
    padding: 180px 0 100px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
    position: relative;
}

/* ========================================
   Legal Pages
   ======================================== */
.legal-content {
    padding: 80px 0;
}

.legal-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 50px 0 20px;
    padding-top: 30px;
    border-top: 1px solid #e5e7eb;
}

.legal-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 30px 0 16px;
}

.legal-content p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-content ul {
    margin: 16px 0;
    padding-left: 24px;
}

.legal-content ul li {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 10px;
    position: relative;
}

.legal-content ul li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: -16px;
}

.legal-content strong {
    color: var(--text-dark);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 80px 0 0;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo svg {
    width: 48px;
    height: 48px;
}

.footer-logo-text {
    font-size: 24px;
    font-weight: 700;
}

.footer-description {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
}

.footer-column h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-link {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    transition: var(--transition-fast);
}

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

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}

.footer-contact-item svg {
    width: 20px;
    height: 20px;
    color: var(--accent-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-item span {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
}

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

.footer-legal {
    display: flex;
    gap: 30px;
}

.footer-legal-link {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    transition: var(--transition-fast);
}

.footer-legal-link:hover {
    color: var(--accent-color);
}

/* ========================================
   Animations
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

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

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    animation: fadeInLeft 0.8s ease forwards;
}

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    animation: fadeInRight 0.8s ease forwards;
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    animation: scaleIn 0.6s ease forwards;
}

@keyframes scaleIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Counter Animation */
.counter {
    display: inline-block;
}

/* ========================================
   Partners Section
   ======================================== */
.partners-section {
    background: var(--bg-white);
    padding: 80px 0;
    overflow: hidden;
}

.partners-header {
    text-align: center;
    margin-bottom: 60px;
}

.partners-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.partners-header p {
    font-size: 16px;
    color: var(--text-light);
}

.partners-slider {
    display: flex;
    gap: 60px;
    animation: slidePartners 30s linear infinite;
    width: max-content;
}

@keyframes slidePartners {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.partner-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 40px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: var(--transition-normal);
    min-width: 200px;
}

.partner-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.partner-item svg {
    width: 80px;
    height: 40px;
    color: var(--text-light);
}

.partners-wrapper {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.partners-wrapper::before,
.partners-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.partners-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-white), transparent);
}

.partners-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-white), transparent);
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    background: var(--gradient-primary);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    animation: floatBubble 8s ease-in-out infinite;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    animation: floatBubble 10s ease-in-out infinite reverse;
}

@keyframes floatBubble {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(30px, -30px) scale(1.1);
    }
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 48px;
    font-weight: 700;
    color: white;
    margin-bottom: 24px;
}

.cta-content p {
    font-size: 20px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background: white;
    color: var(--primary-color);
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition-normal);
}

.cta-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: white;
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid white;
    transition: var(--transition-normal);
}

.cta-buttons .btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* ========================================
   Blog Preview Section
   ======================================== */
.blog-preview-section {
    background: var(--bg-light);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

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

.blog-image {
    height: 200px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.blog-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition-slow);
}

.blog-card:hover .blog-image::before {
    left: 100%;
}

.blog-image svg {
    width: 60px;
    height: 60px;
    color: white;
    opacity: 0.9;
}

.blog-content {
    padding: 30px;
}

.blog-category {
    display: inline-block;
    padding: 6px 16px;
    background: var(--gradient-primary);
    color: white;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-content p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 13px;
    color: var(--text-light);
}

.blog-meta svg {
    width: 16px;
    height: 16px;
    display: inline;
    vertical-align: middle;
    margin-right: 6px;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 16px;
}

.blog-link svg {
    width: 16px;
    height: 16px;
    transition: var(--transition-fast);
}

.blog-card:hover .blog-link svg {
    transform: translateX(5px);
}

/* ========================================
   Map Section
   ======================================== */
.map-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.map-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.map-visual {
    position: relative;
    background: var(--gradient-primary);
    border-radius: 20px;
    padding: 60px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.map-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.map-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.map-content svg {
    width: 120px;
    height: 120px;
    color: white;
    margin-bottom: 30px;
    animation: pulse 2s ease-in-out infinite;
}

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

.map-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.map-content p {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
}

.map-info {
    padding: 40px;
}

.map-info h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.office-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 20px;
    transition: var(--transition-normal);
}

.office-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.office-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.office-card h4 svg {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
}

.office-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ========================================
   Social Media Section
   ======================================== */
.social-section {
    background: var(--bg-dark);
    padding: 80px 0;
}

.social-content {
    text-align: center;
}

.social-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.social-content p {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 40px;
}

.social-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 30px;
    background: rgba(255,255,255,0.1);
    border-radius: 50px;
    color: white;
    font-weight: 500;
    transition: var(--transition-normal);
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,68,217,0.3);
}

.social-link svg {
    width: 24px;
    height: 24px;
}

/* ========================================
   Enhanced Contact Form
   ======================================== */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.contact-method-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

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

.contact-method-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-method-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.contact-method-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.contact-method-card p {
    font-size: 14px;
    color: var(--text-light);
}

.contact-method-card a {
    color: var(--primary-color);
    font-weight: 500;
}

.business-hours {
    background: var(--gradient-primary);
    padding: 40px;
    border-radius: 16px;
    color: white;
    margin-bottom: 60px;
}

.business-hours h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.business-hours svg {
    width: 24px;
    height: 24px;
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.hours-item:last-child {
    border-bottom: none;
}

/* ========================================
   Global Network Section
   ======================================== */
.global-section {
    background: var(--bg-white);
    position: relative;
}

.global-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.global-stat-item {
    text-align: center;
    padding: 40px;
    background: var(--bg-light);
    border-radius: 20px;
    transition: var(--transition-normal);
}

.global-stat-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.global-stat-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.global-stat-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.global-stat-item h3 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.global-stat-item p {
    font-size: 14px;
    color: var(--text-light);
}

/* ========================================
   Testimonials Section
   ======================================== */
.testimonials-section {
    background: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 80px;
    font-family: Georgia, serif;
    color: var(--primary-color);
    opacity: 0.1;
    line-height: 1;
}

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

.testimonial-content {
    font-size: 16px;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

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

.testimonial-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.testimonial-info p {
    font-size: 14px;
    color: var(--text-light);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-stats {
        margin-top: 60px;
        padding-top: 40px;
    }
    
    .stat-number {
        font-size: 42px;
    }
    
    .app-showcase {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .app-mockup {
        order: -1;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-normal);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .hero {
        padding-top: 120px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-values {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .page-header h1 {
        font-size: 40px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .contact-form,
    .contact-info {
        padding: 40px 30px;
    }
    
    .legal-content {
        padding: 40px 0;
    }
    
    .legal-content h2 {
        font-size: 24px;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .hero-buttons,
    .btn {
        display: none;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .page-header {
        padding: 60px 0;
    }
}
