/* ========================================
   Beijing Gaoshan Yunqi Pharmaceutical Technology Co., Ltd
   Enterprise Website Stylesheet
   ======================================== */

/* ========================================
   CSS Variables
   ======================================== */
:root {
    --primary-color: #0066CC;
    --primary-dark: #004C99;
    --primary-light: #3399FF;
    --secondary-color: #00C896;
    --accent-color: #FF6B35;
    --dark-bg: #0A1628;
    --dark-secondary: #1A2A44;
    --light-bg: #F8FAFC;
    --white: #FFFFFF;
    --text-primary: #1E293B;
    --text-secondary: #64748B;
    --text-light: #94A3B8;
    --gradient-primary: linear-gradient(135deg, #0066CC 0%, #00C896 100%);
    --gradient-dark: linear-gradient(135deg, #0A1628 0%, #1A2A44 100%);
    --gradient-accent: linear-gradient(135deg, #FF6B35 0%, #F7931E 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-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-slower: 0.8s ease;
}

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    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);
}

ul, ol {
    list-style: none;
}

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

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

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

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   Layout Utilities
   ======================================== */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

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

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

.grid {
    display: grid;
    gap: 2rem;
}

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

@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .section { padding: 4rem 0; }
    .container { padding: 0 1.5rem; }
}

/* ========================================
   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);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

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

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo svg {
    width: 40px;
    height: 40px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    position: relative;
    font-weight: 500;
    color: var(--text-primary);
    padding: 0.5rem 0;
    transition: color var(--transition-fast);
}

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

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

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

.nav-cta {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.3);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all var(--transition-base);
}

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu-toggle {
        display: flex;
    }
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-bg svg {
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-description {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

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

.hero-visual {
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    max-width: 700px;
    animation: float 6s ease-in-out infinite;
}

@media (max-width: 1024px) {
    .hero-visual {
        display: none;
    }
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 102, 204, 0.4);
}

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

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

.btn-outline {
    background: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

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

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
}

.btn svg {
    width: 20px;
    height: 20px;
}

/* ========================================
   Cards
   ======================================== */
.card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

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

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

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

.card-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

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

.card-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

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

/* Service Cards */
.service-card {
    background: var(--white);
    border-radius: 24px;
    padding: 2.5rem;
    text-align: center;
    transition: all var(--transition-slow);
    border: 1px solid rgba(0, 102, 204, 0.1);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.service-card-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    background: var(--gradient-primary);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-base);
}

.service-card:hover .service-card-icon {
    transform: scale(1.1) rotate(5deg);
}

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

.service-card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card-text {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ========================================
   Features Section
   ======================================== */
.features {
    padding: 8rem 0;
    background: var(--light-bg);
}

.features-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.features-header h2 {
    margin-bottom: 1.5rem;
}

.features-header p {
    font-size: 1.125rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--white);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.feature-item:hover .feature-icon {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

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

.feature-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.feature-label {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* ========================================
   Stats Section
   ======================================== */
.stats {
    background: var(--gradient-dark);
    padding: 6rem 0;
    position: relative;
}

.stats::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");
    opacity: 0.5;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 968px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

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

.stat-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* ========================================
   App Section
   ======================================== */
.app-section {
    padding: 8rem 0;
    background: var(--white);
}

.app-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 968px) {
    .app-grid {
        grid-template-columns: 1fr;
    }
}

.app-content h2 {
    margin-bottom: 1.5rem;
}

.app-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.app-features {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.app-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.app-feature-icon svg {
    width: 14px;
    height: 14px;
    color: var(--white);
}

.app-visual {
    position: relative;
}

.app-mockup {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    animation: float 6s ease-in-out infinite;
}

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

.store-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    background: var(--dark-bg);
    color: var(--white);
    border-radius: 12px;
    transition: all var(--transition-base);
}

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

.store-btn svg {
    width: 28px;
    height: 28px;
}

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

.store-btn-text span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
}

.store-btn-text strong {
    font-size: 1rem;
}

/* ========================================
   News Section
   ======================================== */
.news-section {
    padding: 8rem 0;
    background: var(--light-bg);
}

.news-header {
    text-align: center;
    margin-bottom: 4rem;
}

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

@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}

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

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

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

.news-image svg {
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.news-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--white);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

.news-content {
    padding: 2rem;
}

.news-date {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.news-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    transition: color var(--transition-fast);
}

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

.news-excerpt {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    transition: gap var(--transition-fast);
}

.news-link:hover {
    gap: 0.75rem;
}

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

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    padding: 8rem 0;
    background: var(--gradient-primary);
    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%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-content {
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

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

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

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--dark-bg);
    color: var(--white);
    padding-top: 6rem;
}

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

@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .footer-main {
        grid-template-columns: 1fr;
    }
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

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

.footer-description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

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

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

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

.footer-column h4 {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    color: var(--text-light);
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: var(--primary-light);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.footer-contact-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 0.25rem;
    color: var(--primary-light);
}

.footer-bottom {
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: var(--text-light);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: var(--text-light);
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

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

/* ========================================
   Page Headers
   ======================================== */
.page-header {
    background: var(--gradient-dark);
    padding: 12rem 0 6rem;
    text-align: center;
    color: var(--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='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

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

.page-header p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

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

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

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

/* ========================================
   Services Page
   ======================================== */
.services-hero {
    padding: 8rem 0 4rem;
}

.services-list {
    padding: 6rem 0;
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

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

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

.service-detail:last-child {
    border-bottom: none;
}

@media (max-width: 968px) {
    .service-detail,
    .service-detail:nth-child(even) {
        grid-template-columns: 1fr;
        direction: ltr;
    }
}

.service-detail-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.service-detail-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.service-detail-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.service-detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

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

.service-detail-visual {
    background: var(--light-bg);
    border-radius: 24px;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.service-detail-visual svg {
    width: 200px;
    height: 200px;
    opacity: 0.5;
}

/* Mobile App Services */
.mobile-app-services {
    background: var(--light-bg);
}

.app-stores {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.store-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--dark-bg);
    color: var(--white);
    border-radius: 16px;
    transition: all var(--transition-base);
}

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

.store-badge svg {
    width: 36px;
    height: 36px;
}

.store-badge-info span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
}

.store-badge-info strong {
    font-size: 1rem;
}

/* ========================================
   Culture Page
   ======================================== */
.vision-mission {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

@media (max-width: 768px) {
    .vision-mission {
        grid-template-columns: 1fr;
    }
}

.vision-card, .mission-card {
    background: var(--white);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-slow);
}

.vision-card:hover, .mission-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.vision-icon, .mission-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vision-icon {
    background: linear-gradient(135deg, #0066CC 0%, #3399FF 100%);
}

.mission-icon {
    background: linear-gradient(135deg, #00C896 0%, #00E5B0 100%);
}

.vision-icon svg, .mission-icon svg {
    width: 50px;
    height: 50px;
    color: var(--white);
}

/* Values Section */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

@media (max-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
}

.value-item {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--white);
    border-radius: 20px;
    transition: all var(--transition-slow);
    border: 2px solid transparent;
}

.value-item:hover {
    border-color: var(--primary-light);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-base);
}

.value-item:hover .value-icon {
    transform: rotate(10deg) scale(1.1);
}

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

.value-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

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

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

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    width: 50%;
    padding-right: 4rem;
}

.timeline-item:nth-child(even) {
    margin-left: 50%;
    padding-right: 0;
    padding-left: 4rem;
}

@media (max-width: 768px) {
    .timeline-item,
    .timeline-item:nth-child(even) {
        width: 100%;
        margin-left: 0;
        padding-left: 5rem;
        padding-right: 0;
    }
}

.timeline-dot {
    position: absolute;
    right: -12px;
    top: 0;
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-md);
}

.timeline-item:nth-child(even) .timeline-dot {
    right: auto;
    left: -12px;
}

@media (max-width: 768px) {
    .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        right: auto;
        left: 8px;
    }
}

.timeline-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.timeline-year {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    margin-bottom: 1rem;
}

.timeline-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

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

/* ========================================
   News Page
   ======================================== */
.news-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: var(--white);
    border: 2px solid rgba(0, 102, 204, 0.2);
    border-radius: 50px;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all var(--transition-base);
}

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

.news-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.news-list-item {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    transition: all var(--transition-slow);
}

@media (max-width: 768px) {
    .news-list-item {
        grid-template-columns: 1fr;
    }
}

.news-list-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(8px);
}

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

.news-list-image svg {
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.news-list-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-list-date {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.news-list-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: color var(--transition-fast);
}

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

.news-list-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* ========================================
   Contact Page
   ======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    display: flex;
    gap: 1.5rem;
    transition: all var(--transition-base);
}

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

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

.contact-card-icon svg {
    width: 28px;
    height: 28px;
    color: var(--white);
}

.contact-card-content h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

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

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

.contact-card-content a:hover {
    text-decoration: underline;
}

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

.contact-form h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    transition: all var(--transition-fast);
    background: var(--white);
}

.form-input:focus,
.form-textarea:focus,
.form-select: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-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.map-section {
    padding: 6rem 0;
    background: var(--light-bg);
}

.map-container {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--white);
    padding: 2rem;
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background: var(--gradient-dark);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

/* ========================================
   Legal Pages (Privacy & Terms)
   ======================================== */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 0 6rem;
}

.legal-section {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.legal-section:last-child {
    border-bottom: none;
}

.legal-section h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.legal-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.legal-section p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-section ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.legal-section li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

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

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

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

.ad-platforms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

@media (max-width: 768px) {
    .ad-platforms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .ad-platforms-grid {
        grid-template-columns: 1fr;
    }
}

.ad-platform-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid rgba(0, 102, 204, 0.1);
    transition: all var(--transition-base);
}

.ad-platform-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.ad-platform-name {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.ad-platform-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

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

@keyframes fadeInDown {
    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 float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

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

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

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

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

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

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }
.animate-delay-6 { transition-delay: 0.6s; }

/* ========================================
   Loading Animation
   ======================================== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    color: var(--white);
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

.loader-text {
    font-size: 1.125rem;
    animation: pulse 2s ease infinite;
}

/* ========================================
   Scroll to Top
   ======================================== */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 999;
    cursor: pointer;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
}

.scroll-top svg {
    width: 24px;
    height: 24px;
}

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

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

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

.py-1 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-3 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }

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

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

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

.w-100 { width: 100%; }

/* ========================================
   Responsive Utilities
   ======================================== */
@media (max-width: 1200px) {
    html {
        font-size: 15px;
    }
}

@media (max-width: 992px) {
    html {
        font-size: 14px;
    }
    
    .section {
        padding: 5rem 0;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 13px;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .container {
        padding: 0 1.25rem;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 12px;
    }
}

/* ========================================
   Print Styles
   ======================================== */
@media print {
    .header,
    .footer,
    .scroll-top,
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
