/* ========================================
   Wuxi Yiyutuo Network Technology Co., Ltd.
   Corporate Website - Global Stylesheet
   ======================================== */

/* CSS Variables */
:root {
    --primary-color: #0066cc;
    --primary-dark: #0052a3;
    --primary-light: #e6f0ff;
    --secondary-color: #1a1a2e;
    --accent-color: #00d4ff;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-light: #999999;
    --white: #ffffff;
    --gray-light: #f5f7fa;
    --gray-medium: #e8ecf0;
    --border-color: #dce3ea;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3rem;
    --container-max: 1400px;
    --header-height: 80px;
}

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

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

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

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

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

ul, ol {
    list-style: none;
}

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

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

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

/* ========================================
   Header & Navigation
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all var(--transition-normal);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    height: 70px;
    box-shadow: var(--shadow-sm);
    border-bottom-color: var(--gray-medium);
}

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

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

.logo svg {
    width: 48px;
    height: 48px;
    transition: transform var(--transition-normal);
}

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

.logo-text {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: -0.5px;
}

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

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

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

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

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

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

.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 200px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    padding: 10px 0;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
    display: block;
    padding: 10px 20px;
    font-size: var(--font-size-sm);
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.nav-dropdown-item:hover {
    background: var(--primary-light);
    color: var(--primary-color);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.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 Section
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a1628 0%, #1a3a5c 50%, #0d2847 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.15)"/><circle cx="50" cy="80" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 100px 100px;
    animation: heroPatternMove 30s linear infinite;
}

@keyframes heroPatternMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

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

@keyframes floatParticle {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-100px) translateX(50px);
        opacity: 0.2;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 120px 40px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    font-size: var(--font-size-sm);
    color: var(--accent-color);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease forwards;
}

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

.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-title span {
    color: var(--accent-color);
    position: relative;
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    font-size: var(--font-size-base);
    font-weight: 600;
    border-radius: 8px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn::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: left 0.5s ease;
}

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

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.4);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 102, 204, 0.5);
}

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

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

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--font-size-sm);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.hero-scroll-icon {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    position: relative;
}

.hero-scroll-icon::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 2px;
    animation: scrollDown 1.5s infinite;
}

@keyframes scrollDown {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }
}

/* ========================================
   Stats Section
   ======================================== */
.stats-section {
    background: var(--white);
    padding: 80px 0;
    position: relative;
    z-index: 3;
    margin-top: -60px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.stat-card {
    text-align: center;
    padding: 40px 20px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

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

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

.stat-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: 16px;
    color: var(--primary-color);
    transition: all var(--transition-normal);
}

.stat-card:hover .stat-icon {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.stat-number {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 8px;
    font-family: 'Arial', sans-serif;
}

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

/* ========================================
   Section Styles
   ======================================== */
.section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-light);
    color: var(--primary-color);
    font-size: var(--font-size-sm);
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ========================================
   Services Section
   ======================================== */
.services-section {
    background: var(--gray-light);
}

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

.service-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

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

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 20px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    transition: all var(--transition-normal);
}

.service-card:hover .service-icon {
    transform: rotateY(180deg);
}

.service-icon svg {
    width: 40px;
    height: 40px;
    color: var(--white);
}

.service-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.service-description {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.service-features {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-medium);
    position: relative;
    z-index: 1;
}

.service-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--font-size-sm);
    color: var(--text-primary);
    margin-bottom: 10px;
}

.service-feature-item::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
}

/* ========================================
   Mobile Apps Section
   ======================================== */
.apps-section {
    background: linear-gradient(135deg, #0a1628 0%, #1a3a5c 100%);
    color: var(--white);
    overflow: hidden;
}

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

.apps-info {
    padding-right: 40px;
}

.apps-info .section-badge {
    background: rgba(0, 212, 255, 0.2);
    color: var(--accent-color);
}

.apps-info .section-title {
    color: var(--white);
}

.apps-info .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.apps-features {
    margin-top: 40px;
}

.apps-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 16px;
    transition: all var(--transition-normal);
    border: 1px solid transparent;
}

.apps-feature-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
    transform: translateX(10px);
}

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

.apps-feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--secondary-color);
}

.apps-feature-content h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: 8px;
}

.apps-feature-content p {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.apps-showcase {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: linear-gradient(145deg, #1a1a2e 0%, #0d0d1a 100%);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    position: relative;
    animation: phoneFloat 4s 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: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 30px;
    background: #0d0d1a;
    border-radius: 0 0 20px 20px;
}

.phone-content {
    padding: 50px 20px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.phone-header {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.phone-cards {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.phone-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.phone-card-icon {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
}

.phone-card-text {
    flex: 1;
}

.phone-card-text h5 {
    font-size: 10px;
    color: var(--white);
    margin-bottom: 4px;
}

.phone-card-text p {
    font-size: 8px;
    color: rgba(255, 255, 255, 0.6);
}

.phone-bottom-nav {
    display: flex;
    justify-content: space-around;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.phone-nav-item {
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
}

/* ========================================
   About Section
   ======================================== */
.about-section {
    background: var(--white);
}

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

.about-image {
    position: relative;
}

.about-image-main {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-placeholder {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.about-image-placeholder::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border: 40px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.about-image-text {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--white);
    text-align: center;
}

.about-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--accent-color);
    color: var(--secondary-color);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-badge-number {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    display: block;
}

.about-badge-text {
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.about-content h2 {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 24px;
    line-height: 1.3;
}

.about-content p {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--gray-light);
    border-radius: 12px;
    transition: all var(--transition-normal);
}

.about-feature:hover {
    background: var(--primary-light);
    transform: translateX(10px);
}

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

.about-feature-text {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--secondary-color);
}

/* ========================================
   News Section
   ======================================== */
.news-section {
    background: var(--gray-light);
}

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

.news-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    transition: all var(--transition-normal);
    cursor: pointer;
}

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

.news-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.news-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-category {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    background: var(--accent-color);
    color: var(--secondary-color);
    font-size: var(--font-size-xs);
    font-weight: 600;
    border-radius: 20px;
}

.news-content {
    padding: 24px;
}

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

.news-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color var(--transition-fast);
}

.news-card:hover .news-title {
    color: var(--primary-color);
}

.news-excerpt {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.6;
}

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

.news-link:hover {
    gap: 12px;
}

.news-link svg {
    width: 16px;
    height: 16px;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="3" fill="rgba(255,255,255,0.15)"/><circle cx="50" cy="80" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 100px 100px;
    animation: heroPatternMove 30s linear infinite;
}

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

.cta-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

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

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

.cta-buttons .btn-primary:hover {
    background: var(--gray-light);
}

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

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

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

.footer-brand {
    max-width: 400px;
}

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

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

.footer-logo-text {
    font-size: var(--font-size-xl);
    font-weight: 700;
}

.footer-description {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all var(--transition-normal);
}

.footer-social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

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

.footer-column h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--white);
}

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

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

.footer-link:hover {
    color: var(--accent-color);
    padding-left: 8px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.7);
}

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

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

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

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

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

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

/* ========================================
   Page Headers
   ======================================== */
.page-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2a3f5f 100%);
    padding: 160px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.08)"/><circle cx="50" cy="80" r="1" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: 100px 100px;
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: var(--font-size-5xl);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.page-header p {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.breadcrumb-item {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-item a {
    color: var(--accent-color);
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.4);
}

/* ========================================
   Services Page Styles
   ======================================== */
.services-detail-section {
    padding: 100px 0;
}

.service-detail-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}

.service-detail-card:nth-child(even) {
    direction: rtl;
}

.service-detail-card:nth-child(even) > * {
    direction: ltr;
}

.service-detail-image {
    position: relative;
}

.service-detail-image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.service-detail-image-placeholder::before {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    border: 30px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.service-detail-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.service-detail-content h3 {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-detail-content p {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.service-detail-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-detail-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: var(--font-size-base);
    color: var(--text-primary);
}

.service-detail-list-item svg {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
}

/* ========================================
   About Page Styles
   ======================================== */
.about-full-section {
    padding: 100px 0;
}

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

.about-value-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

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

.about-value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: 20px;
    color: var(--primary-color);
    transition: all var(--transition-normal);
}

.about-value-card:hover .about-value-icon {
    background: var(--primary-color);
    color: var(--white);
    transform: rotateY(180deg);
}

.about-value-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.about-value-text {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.6;
}

.timeline-section {
    padding: 100px 0;
    background: var(--gray-light);
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 60px auto 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--primary-color);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    margin-bottom: 60px;
    position: relative;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.timeline-content {
    width: 400px;
    padding: 30px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: all var(--transition-normal);
}

.timeline-content:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border: 4px solid var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.timeline-year {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.timeline-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.timeline-text {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   News Page Styles
   ======================================== */
.news-page-section {
    padding: 100px 0;
}

.news-filters {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
}

.news-filter-btn {
    padding: 12px 24px;
    background: var(--white);
    border: 2px solid var(--gray-medium);
    border-radius: 30px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-primary);
    transition: all var(--transition-normal);
}

.news-filter-btn:hover,
.news-filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.news-grid-full {
    grid-template-columns: repeat(3, 1fr);
}

/* ========================================
   Contact Page Styles
   ======================================== */
.contact-section {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    padding-right: 40px;
}

.contact-info h3 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.contact-info > p {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.contact-item-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: 14px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-item-content h4 {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 4px;
}

.contact-item-content p {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.contact-item-content a {
    color: var(--primary-color);
}

.contact-form-wrapper {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.contact-form h3 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

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

.form-label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-medium);
    border-radius: 10px;
    font-size: var(--font-size-base);
    color: var(--text-primary);
    transition: all var(--transition-fast);
    background: var(--white);
}

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

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

.form-submit {
    width: 100%;
    padding: 16px;
    background: var(--primary-color);
    color: var(--white);
    font-size: var(--font-size-base);
    font-weight: 600;
    border-radius: 10px;
    transition: all var(--transition-normal);
}

.form-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ========================================
   Privacy & Terms Pages
   ======================================== */
.legal-content {
    padding: 100px 0;
}

.legal-section {
    margin-bottom: 60px;
}

.legal-section h2 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-color);
}

.legal-section h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--secondary-color);
    margin: 30px 0 16px;
}

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

.legal-section ul {
    margin-bottom: 20px;
    padding-left: 24px;
}

.legal-section ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: 1.6;
}

.legal-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
}

.legal-highlight {
    background: var(--primary-light);
    padding: 24px;
    border-radius: 12px;
    margin: 24px 0;
    border-left: 4px solid var(--primary-color);
}

.legal-highlight h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.legal-highlight p {
    margin-bottom: 0;
}

/* ========================================
   Animations & Effects
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* ========================================
   Responsive Styles
   ======================================== */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        gap: 40px;
    }
}

@media (max-width: 992px) {
    :root {
        --header-height: 70px;
    }
    
    .header-inner {
        padding: 0 20px;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 40px;
        gap: 0;
        transform: translateX(100%);
        transition: transform var(--transition-normal);
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-item {
        padding: 20px 40px;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--gray-medium);
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: var(--font-size-4xl);
    }
    
    .hero-content {
        padding: 120px 20px 80px;
    }
    
    .apps-content {
        grid-template-columns: 1fr;
    }
    
    .apps-showcase {
        order: -1;
    }
    
    .phone-mockup {
        width: 250px;
        height: 500px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .news-grid,
    .news-grid-full {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .service-detail-card {
        grid-template-columns: 1fr;
    }
    
    .service-detail-card:nth-child(even) {
        direction: ltr;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
        padding-left: 60px;
        padding-right: 0;
        justify-content: flex-start;
    }
    
    .timeline-content {
        width: 100%;
    }
    
    .timeline-item::after {
        left: 20px;
    }
}

@media (max-width: 768px) {
    :root {
        --font-size-4xl: 2rem;
        --font-size-3xl: 1.75rem;
        --font-size-5xl: 2.5rem;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .hero-title {
        font-size: var(--font-size-3xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-base);
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .news-grid,
    .news-grid-full {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 12px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .about-full-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header {
        padding: 120px 0 60px;
    }
    
    .page-header h1 {
        font-size: var(--font-size-3xl);
    }
    
    .news-filters {
        flex-wrap: wrap;
    }
    
    .legal-section h2 {
        font-size: var(--font-size-xl);
    }
    
    .legal-section h3 {
        font-size: var(--font-size-lg);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .stat-card {
        padding: 30px 15px;
    }
    
    .service-card {
        padding: 30px;
    }
    
    .about-image-badge {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 20px;
    }
    
    .phone-mockup {
        width: 200px;
        height: 400px;
    }
    
    .contact-form-wrapper {
        padding: 30px 20px;
    }
}

/* ========================================
   Utility Classes
   ======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.d-flex { display: flex; }
.d-block { display: block; }
.d-none { display: none; }
.d-grid { display: grid; }

.flex-wrap { flex-wrap: wrap; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 1rem; }
.gap-4 { gap: 1.5rem; }
.gap-5 { gap: 3rem; }

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Selection Styling */
::selection {
    background: var(--primary-color);
    color: var(--white);
}

/* Focus Visible Styling */
:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
