/* ============================================
   Beijing Helian Chenjie Technology Co., Ltd
   Corporate Website - Main Stylesheet
   ============================================ */

/* CSS Variables */
:root {
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #e94560;
    --accent-secondary: #0f3460;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --gradient-primary: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    --gradient-accent: linear-gradient(135deg, #e94560 0%, #ff6b6b 100%);
    --gradient-dark: linear-gradient(180deg, #0a0a0f 0%, #1a1a2e 100%);
    --shadow-light: 0 10px 40px rgba(233, 69, 96, 0.3);
    --shadow-dark: 0 20px 60px rgba(0, 0, 0, 0.5);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

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

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background: var(--primary-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Loading Animation */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

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

.loader {
    width: 80px;
    height: 80px;
    border: 4px solid transparent;
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: relative;
}

.loader::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 4px solid transparent;
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite reverse;
}

.loader::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 3px solid transparent;
    border-top-color: var(--accent-secondary);
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition-smooth);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    padding: 0.8rem 5%;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

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

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

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text span:first-child {
    font-size: 1.2rem;
    color: var(--accent-color);
}

.logo-text span:last-child {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

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

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    transition: var(--transition-smooth);
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: var(--transition-smooth);
}

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

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

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

.nav-toggle span {
    width: 30px;
    height: 3px;
    background: var(--text-primary);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

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

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

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

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

.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(233, 69, 96, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(15, 52, 96, 0.2) 0%, transparent 40%);
    animation: heroFloat 20s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(2%, 2%) rotate(1deg); }
    50% { transform: translate(0, 4%) rotate(0deg); }
    75% { transform: translate(-2%, 2%) rotate(-1deg); }
}

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

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 50%;
    opacity: 0.6;
    animation: particleFloat 15s linear infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100vh) scale(1);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 2rem;
    max-width: 1200px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    background: rgba(233, 69, 96, 0.1);
    border: 1px solid rgba(233, 69, 96, 0.3);
    border-radius: 50px;
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease forwards;
    opacity: 0;
}

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

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

.hero-badge span {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.hero h1 {
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
}

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

.hero h1 .highlight {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-accent);
    color: white;
    box-shadow: var(--shadow-light);
}

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

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

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

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

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.hero-scroll svg {
    width: 40px;
    height: 40px;
    fill: var(--text-secondary);
    transition: var(--transition-smooth);
}

.hero-scroll:hover svg {
    fill: var(--accent-color);
}

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

/* Stats Section */
.stats {
    padding: 5rem 5%;
    background: var(--gradient-primary);
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

.stat-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: linear-gradient(to bottom, transparent, rgba(233, 69, 96, 0.5), transparent);
}

.stat-item:last-child::after {
    display: none;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-family: 'Arial', sans-serif;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Sections */
.section {
    padding: 8rem 5%;
    position: relative;
}

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

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    background: rgba(233, 69, 96, 0.1);
    border: 1px solid rgba(233, 69, 96, 0.3);
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

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

.section-badge span {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
}

/* Services Section */
.services {
    background: var(--gradient-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background: linear-gradient(145deg, rgba(26, 26, 46, 0.8), rgba(22, 33, 62, 0.6));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    opacity: 0;
    transform: translateY(50px);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-accent);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 0;
}

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

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

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-accent);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.service-icon svg {
    width: 40px;
    height: 40px;
    fill: white;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.service-card p {
    position: relative;
    z-index: 1;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    position: relative;
    z-index: 1;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.service-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Mobile App Section */
.mobile-app {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.mobile-app::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(233, 69, 96, 0.1) 0%, transparent 50%);
}

.mobile-app-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

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

.mobile-app-info p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.app-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

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

.app-feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(233, 69, 96, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.app-feature h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.app-feature p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

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

.store-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

.store-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

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

.store-btn-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.store-btn-text span:first-child {
    font-size: 0.7rem;
    opacity: 0.8;
}

.store-btn-text span:last-child {
    font-size: 1rem;
    font-weight: 600;
}

.mobile-app-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: linear-gradient(145deg, #2a2a4a, #1a1a3a);
    border-radius: 40px;
    padding: 15px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5),
                inset 0 0 0 3px rgba(255, 255, 255, 0.1);
    position: relative;
    animation: phoneFloat 6s ease-in-out infinite;
}

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

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.phone-notch {
    width: 120px;
    height: 30px;
    background: #1a1a3a;
    margin: 0 auto;
    border-radius: 0 0 20px 20px;
}

.phone-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.phone-app-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 15px;
    margin: 10px auto;
}

.phone-text-line {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.phone-text-line.short {
    width: 60%;
}

.phone-cards {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.phone-card {
    flex: 1;
    height: 80px;
    background: rgba(233, 69, 96, 0.2);
    border-radius: 12px;
}

.phone-card:nth-child(2) {
    background: rgba(15, 52, 96, 0.3);
}

/* Ad Types Section */
.ad-types {
    background: var(--gradient-dark);
}

.ad-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.ad-type-card {
    background: linear-gradient(145deg, rgba(26, 26, 46, 0.6), rgba(22, 33, 62, 0.4));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition-smooth);
    opacity: 0;
    transform: scale(0.9);
}

.ad-type-card.visible {
    opacity: 1;
    transform: scale(1);
}

.ad-type-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.ad-type-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.ad-type-icon svg {
    width: 35px;
    height: 35px;
    fill: white;
}

.ad-type-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.ad-type-card p {
    font-size: 0.95rem;
}

/* Culture Section */
.culture {
    background: var(--gradient-primary);
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.culture-card {
    background: linear-gradient(145deg, rgba(26, 26, 46, 0.8), rgba(22, 33, 62, 0.6));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.culture-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, var(--accent-color), transparent, transparent);
    animation: rotate 4s linear infinite;
    opacity: 0;
    transition: var(--transition-smooth);
}

.culture-card:hover::before {
    opacity: 0.3;
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

.culture-card-inner {
    position: relative;
    z-index: 1;
}

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

.culture-icon svg {
    width: 40px;
    height: 40px;
    fill: white;
}

.culture-card h3 {
    margin-bottom: 1rem;
}

/* Values Section */
.values {
    background: var(--gradient-dark);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    transition: var(--transition-smooth);
}

.value-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(10px);
}

.value-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.value-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.value-content p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Team Section */
.team {
    background: var(--gradient-primary);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(145deg, rgba(26, 26, 46, 0.6), rgba(22, 33, 62, 0.4));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: var(--transition-smooth);
}

.team-member:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
}

.team-avatar {
    width: 120px;
    height: 120px;
    background: var(--gradient-accent);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.team-avatar::before {
    content: '';
    position: absolute;
    width: 140px;
    height: 140px;
    border: 2px dashed rgba(233, 69, 96, 0.3);
    border-radius: 50%;
    animation: spin 20s linear infinite;
}

.team-avatar svg {
    width: 60px;
    height: 60px;
    fill: white;
}

.team-member h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.team-member .role {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-member p {
    font-size: 0.95rem;
}

/* News Section */
.news {
    background: var(--gradient-dark);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.news-card {
    background: linear-gradient(145deg, rgba(26, 26, 46, 0.8), rgba(22, 33, 62, 0.6));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-smooth);
    opacity: 0;
    transform: translateY(30px);
}

.news-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.news-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-light);
}

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

.news-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(233, 69, 96, 0.3), transparent);
}

.news-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-color);
}

.news-content {
    padding: 2rem;
}

.news-date {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
}

.news-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.news-card p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
}

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

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

/* Contact Section */
.contact {
    background: var(--gradient-primary);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(233, 69, 96, 0.1) 0%, transparent 50%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-info h2 {
    margin-bottom: 1.5rem;
}

.contact-info > p {
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

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

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

.contact-item-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-item-content p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.contact-item-content a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

.contact-form {
    background: linear-gradient(145deg, rgba(26, 26, 46, 0.8), rgba(22, 33, 62, 0.6));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3rem;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.08);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.contact-form .btn {
    width: 100%;
    justify-content: center;
}

/* Map Section */
.map-section {
    width: 100%;
    height: 400px;
    background: var(--gradient-dark);
    position: relative;
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(100%) invert(90%) contrast(90%);
}

/* Footer */
.footer {
    background: #0a0a0f;
    padding: 4rem 5% 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto 3rem;
}

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

.footer-brand .logo {
    margin-bottom: 1.5rem;
}

.footer-brand p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

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

.footer-social a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.footer-social a:hover {
    background: var(--gradient-accent);
    border-color: var(--accent-color);
    transform: translateY(-3px);
}

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

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

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

.footer-legal a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

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

/* Legal Pages */
.legal-page {
    padding: 8rem 5% 4rem;
    background: var(--gradient-dark);
    min-height: 100vh;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
}

.legal-header h1 {
    margin-bottom: 1rem;
}

.legal-header p {
    color: var(--text-secondary);
}

.legal-content {
    background: linear-gradient(145deg, rgba(26, 26, 46, 0.8), rgba(22, 33, 62, 0.6));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3rem;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.legal-section h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    margin-top: 1.5rem;
}

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

.legal-section ul,
.legal-section ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.legal-section a {
    color: var(--accent-color);
    text-decoration: none;
}

.legal-section a:hover {
    text-decoration: underline;
}

.privacy-updated {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(233, 69, 96, 0.1);
    border: 1px solid rgba(233, 69, 96, 0.3);
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--accent-color);
    margin-top: 1rem;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 999;
    border: none;
    box-shadow: var(--shadow-light);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

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

.back-to-top svg {
    width: 24px;
    height: 24px;
    fill: white;
}

/* Page Transitions */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.page-transition.active {
    opacity: 1;
    visibility: visible;
}

.page-transition-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(233, 69, 96, 0.2);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

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

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

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

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

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

.reveal-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Stagger Animation Delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* Responsive Design */
@media (max-width: 1200px) {
    .mobile-app-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .mobile-app-visual {
        order: -1;
    }
    
    .app-features {
        justify-content: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 400px;
        height: 100vh;
        background: var(--secondary-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition-smooth);
        z-index: 1001;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1002;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .section {
        padding: 4rem 5%;
    }
    
    .hero {
        min-height: 90vh;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .stat-item::after {
        display: none;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .legal-content {
        padding: 2rem;
    }
    
    .app-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .phone-mockup {
        width: 250px;
        height: 500px;
    }
    
    .store-buttons {
        flex-direction: column;
    }
    
    .store-btn {
        width: 100%;
        justify-content: center;
    }
}

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

/* Print Styles */
@media print {
    .navbar,
    .hero-scroll,
    .back-to-top,
    .loader-wrapper {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .section {
        padding: 2rem 0;
    }
}
