/* ============================================
   Beijing Lianda Core Technology Co., Ltd.
   Global Styles - BMW-inspired Premium Design
   ============================================ */

/* CSS Variables */
:root {
    --primary-color: #0066b3;
    --primary-dark: #004c82;
    --primary-light: #3385c7;
    --secondary-color: #1a1a1a;
    --accent-color: #e8a835;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --text-white: #ffffff;
    --bg-light: #f5f5f5;
    --bg-dark: #0a0a0a;
    --gradient-primary: linear-gradient(135deg, #0066b3 0%, #004c82 100%);
    --gradient-dark: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.2);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --font-primary: 'BMWGroupCondensed', 'Roboto Condensed', Arial, sans-serif;
    --font-secondary: 'BMWGroup', 'Roboto', Arial, sans-serif;
}

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

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

body {
    font-family: var(--font-secondary);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
}

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

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

/* Container */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-normal);
}

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

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

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

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

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

.logo-text {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo-subtext {
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 3px;
    opacity: 0.7;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 48px;
    list-style: none;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-white);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 0;
    position: relative;
}

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

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

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

/* Dropdown Menu */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 16px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-xl);
}

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

.nav-dropdown a {
    display: block;
    padding: 10px 24px;
    color: var(--text-white);
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

.nav-dropdown a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent-color);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--text-white);
    transition: var(--transition-normal);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bg-dark);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg canvas {
    width: 100%;
    height: 100%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 10, 0.3) 0%,
        rgba(10, 10, 10, 0.5) 50%,
        rgba(10, 10, 10, 0.8) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    padding: 0 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 30px;
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.hero-badge span {
    color: var(--text-white);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-badge svg {
    width: 16px;
    height: 16px;
    fill: var(--accent-color);
}

.hero h1 {
    color: var(--text-white);
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.hero h1 span {
    color: var(--accent-color);
}

.hero-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.2s forwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.4s forwards;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-white);
    opacity: 0.6;
    animation: bounce 2s infinite;
}

.hero-scroll span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-scroll svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 40px;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-white);
}

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

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 102, 179, 0.4);
}

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

.btn-secondary:hover {
    background: var(--text-white);
    color: var(--bg-dark);
    transform: translateY(-2px);
}

.btn-accent {
    background: var(--accent-color);
    color: var(--bg-dark);
}

.btn-accent:hover {
    background: #d49a2e;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232, 168, 53, 0.4);
}

.btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

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

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

.section-light {
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 102, 179, 0.1);
    padding: 8px 20px;
    border-radius: 30px;
    margin-bottom: 24px;
}

.section-badge svg {
    width: 16px;
    height: 16px;
    fill: var(--primary-color);
}

.section-badge span {
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-dark .section-badge {
    background: rgba(255, 255, 255, 0.1);
}

.section-dark .section-badge svg {
    fill: var(--accent-color);
}

.section-dark .section-badge span {
    color: var(--accent-color);
}

.section h2 {
    margin-bottom: 20px;
}

.section-description {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

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

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 8px;
    box-shadow: var(--shadow-xl);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-color);
    border-radius: 8px;
    z-index: -1;
}

.about-content h3 {
    margin-bottom: 24px;
}

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

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

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

.feature-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--text-white);
}

.feature-text h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 0.9rem;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    background: var(--text-white);
    border-radius: 12px;
    padding: 40px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    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(-8px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(0, 102, 179, 0.1) 0%, rgba(0, 76, 130, 0.1) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-icon svg {
    width: 36px;
    height: 36px;
    fill: var(--primary-color);
}

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

.service-card p {
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.service-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    transition: var(--transition-fast);
}

.service-link:hover svg {
    transform: translateX(4px);
}

/* ============================================
   MOBILE APP SECTION
   ============================================ */
.mobile-app-section {
    position: relative;
    overflow: hidden;
}

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

.mobile-app-info h2 {
    margin-bottom: 24px;
}

.mobile-app-info p {
    margin-bottom: 32px;
}

.app-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

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

.app-feature svg {
    width: 24px;
    height: 24px;
    fill: var(--accent-color);
}

.app-feature span {
    font-weight: 500;
    color: var(--text-white);
}

.app-stores {
    display: flex;
    gap: 16px;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--text-white);
    color: var(--bg-dark);
    padding: 14px 28px;
    border-radius: 8px;
    transition: var(--transition-normal);
}

.store-btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.store-btn svg {
    width: 28px;
    height: 28px;
    fill: var(--bg-dark);
}

.store-btn-text {
    text-align: left;
}

.store-btn-text small {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.store-btn-text span {
    display: block;
    font-weight: 700;
    font-size: 1rem;
}

.mobile-app-visual {
    position: relative;
}

.phone-mockup {
    max-width: 350px;
    margin: 0 auto;
    position: relative;
}

.phone-mockup img {
    border-radius: 40px;
    box-shadow: var(--shadow-xl);
}

.ad-formats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.ad-format {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ad-format svg {
    width: 48px;
    height: 48px;
    fill: var(--accent-color);
    margin-bottom: 12px;
}

.ad-format span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-white);
    font-weight: 500;
}

/* ============================================
   AD NETWORKS SECTION
   ============================================ */
.ad-networks-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.ad-network-card {
    background: var(--text-white);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.ad-network-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.ad-network-logo {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: var(--bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-network-logo svg {
    width: 40px;
    height: 40px;
    fill: var(--primary-color);
}

.ad-network-card h4 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.ad-network-card p {
    font-size: 0.85rem;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
    background: var(--gradient-primary);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
}

.stat-item {
    text-align: center;
    color: var(--text-white);
}

.stat-number {
    font-family: var(--font-primary);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
}

/* ============================================
   NEWS SECTION
   ============================================ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.news-card {
    background: var(--text-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

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

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

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary-color);
    color: var(--text-white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-content {
    padding: 24px;
}

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

.news-content h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.news-content p {
    font-size: 0.9rem;
    margin-bottom: 16px;
}

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

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

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

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    background: var(--bg-light);
}

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

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

.contact-info h3 {
    margin-bottom: 24px;
}

.contact-list {
    list-style: none;
    margin-bottom: 40px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--text-white);
}

.contact-text h4 {
    font-size: 0.9rem;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.contact-text p,
.contact-text a {
    font-size: 0.95rem;
    color: var(--text-light);
}

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

.contact-form {
    background: var(--text-white);
    padding: 48px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: var(--transition-fast);
}

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

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

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

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

.footer-grid {
    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 .logo {
    margin-bottom: 24px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

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

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

.footer-social a:hover {
    background: var(--primary-color);
}

.footer-social svg {
    width: 20px;
    height: 20px;
    fill: var(--text-white);
}

.footer-column h4 {
    font-size: 1rem;
    margin-bottom: 24px;
    color: var(--text-white);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-color);
}

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

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

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

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

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

/* ============================================
   PAGE HEADERS
   ============================================ */
.page-header {
    background: var(--bg-dark);
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 102, 179, 0.2) 0%,
        transparent 50%
    );
}

.page-header h1 {
    position: relative;
    z-index: 1;
    margin-bottom: 16px;
}

.page-header p {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

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

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

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

/* ============================================
   CULTURE PAGE
   ============================================ */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.value-card {
    text-align: center;
    padding: 48px 32px;
    background: var(--text-white);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

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

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

.value-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--text-white);
}

.value-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.value-card p {
    font-size: 0.9rem;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

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

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

.timeline-content {
    background: var(--text-white);
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    width: calc(100% - 60px);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 24px;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    left: -70px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: -70px;
}

.timeline-year {
    display: inline-block;
    background: var(--primary-color);
    color: var(--text-white);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.timeline-content h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.timeline-content p {
    font-size: 0.9rem;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.team-card {
    text-align: center;
}

.team-image {
    position: relative;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.team-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 40px 20px 20px;
}

.team-info h4 {
    color: var(--text-white);
    font-size: 1rem;
    margin-bottom: 4px;
}

.team-info p {
    color: var(--accent-color);
    font-size: 0.85rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.team-social a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.team-social a:hover {
    background: var(--primary-color);
}

.team-social svg {
    width: 16px;
    height: 16px;
    fill: var(--text-white);
}

/* ============================================
   PRIVACY & TERMS PAGES
   ============================================ */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 24px;
}

.legal-content h2 {
    font-size: 1.75rem;
    margin: 48px 0 20px;
    color: var(--text-dark);
}

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

.legal-content h3 {
    font-size: 1.25rem;
    margin: 32px 0 16px;
    color: var(--text-dark);
}

.legal-content p {
    margin-bottom: 16px;
}

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

.legal-content li {
    margin-bottom: 12px;
    color: var(--text-light);
    position: relative;
    padding-left: 20px;
}

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

.legal-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.legal-content a:hover {
    color: var(--primary-dark);
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

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

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s ease;
}

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

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s ease;
}

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ad-networks-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .section {
        padding: 80px 0;
    }
    
    .about-grid,
    .mobile-app-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-image {
        order: -1;
    }
    
    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        transition: var(--transition-normal);
    }
    
    .nav-list.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.1rem;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .values-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        padding-left: 60px !important;
        padding-right: 0 !important;
        justify-content: flex-start !important;
    }
    
    .timeline-content::before {
        left: -50px !important;
        right: auto !important;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .section-header {
        margin-bottom: 48px;
    }
    
    .services-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .app-features {
        grid-template-columns: 1fr;
    }
    
    .app-stores {
        flex-direction: column;
    }
    
    .ad-networks-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1rem;
    }
    
    .logo svg {
        width: 48px;
        height: 48px;
    }
    
    .page-header {
        padding: 140px 0 60px;
    }
    
    .ad-networks-grid {
        grid-template-columns: 1fr;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .hero-scroll,
    .mobile-menu-btn {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .section {
        padding: 40px 0;
    }
}
