/* ================================================
   Guangzhou Geluming Trading Co., Ltd - Main Styles
   Premium Corporate Website CSS
   Premium Design - Cadillac Inspired
   ================================================ */

/* ===================== GOOGLE FONTS ===================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;500;600;700;800&display=swap');

/* ===================== CSS VARIABLES ===================== */
:root {
    /* Primary Colors */
    --primary-dark: #0a0a12;
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #e94560;
    --accent-hover: #ff6b6b;
    --gold-color: #c9a227;
    --gold-light: #f4d03f;
    
    /* Neutrals */
    --white: #ffffff;
    --off-white: #f8f9fa;
    --light-gray: #e9ecef;
    --medium-gray: #6c757d;
    --dark-gray: #343a40;
    
    /* Gradients */
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #0a0a12 100%);
    --gradient-hero: linear-gradient(135deg, #0a0a12 0%, #1a1a2e 50%, #16213e 100%);
    --gradient-gold: linear-gradient(135deg, #c9a227 0%, #f4d03f 50%, #c9a227 100%);
    --gradient-accent: linear-gradient(135deg, #e94560 0%, #ff6b6b 50%, #e94560 100%);
    --gradient-shimmer: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    
    /* Spacing */
    --section-padding: 150px;
    --container-max: 1400px;
    
    /* Transitions */
    --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 5px 30px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 60px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 20px 100px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 60px rgba(233, 69, 96, 0.4);
    --shadow-gold: 0 0 60px rgba(201, 162, 39, 0.4);
}

/* ===================== RESET & BASE ===================== */
*, *::before, *::after {
    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, sans-serif;
    background-color: var(--primary-dark);
    color: var(--light-gray);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.15;
    color: var(--white);
    letter-spacing: -0.02em;
}

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

ul { list-style: none; }

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

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

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

/* ===================== TYPOGRAPHY ===================== */
h1 {
    font-size: clamp(3rem, 7vw, 6rem);
    letter-spacing: -0.03em;
    line-height: 1.05;
}

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

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

h4 {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
}

p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

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

.text-accent {
    color: var(--accent-color);
}

/* ===================== CONTAINER ===================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 60px;
}

/* ===================== BUTTONS ===================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 48px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-medium);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-shimmer);
    transition: var(--transition-slow);
}

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

.btn-primary {
    background: var(--gradient-accent);
    color: var(--white);
    box-shadow: 0 8px 40px rgba(233, 69, 96, 0.5);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 60px rgba(233, 69, 96, 0.6);
}

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

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-dark);
    border-color: var(--white);
    transform: translateY(-4px);
}

.btn-gold {
    background: var(--gradient-gold);
    color: var(--primary-dark);
    box-shadow: 0 8px 40px rgba(201, 162, 39, 0.5);
}

.btn-gold:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 60px rgba(201, 162, 39, 0.6);
}

.btn svg {
    width: 20px;
    height: 20px;
    transition: var(--transition-fast);
}

.btn:hover svg {
    transform: translateX(4px);
}

/* ===================== HEADER ===================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
    transition: all var(--transition-medium);
}

.header.scrolled {
    background: rgba(10, 10, 18, 0.95);
    backdrop-filter: blur(30px);
    padding: 20px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

.header.scrolled .logo svg {
    width: 45px;
    height: 45px;
}

.logo-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 4px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    gap: 60px;
}

.nav-menu a {
    color: var(--white);
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding: 10px 0;
}

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

.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: 8px;
    padding: 10px;
}

.nav-toggle span {
    width: 35px;
    height: 2px;
    background: var(--white);
    transition: var(--transition-fast);
}

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

.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 {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    overflow: hidden;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(26, 26, 46, 0.5) 0%, rgba(10, 10, 18, 0.9) 100%);
}

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

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 50%;
    opacity: 0;
    animation: floatParticle 20s infinite linear;
}

.particle:nth-child(odd) {
    background: var(--gold-color);
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
        transform: scale(1);
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-100vh) translateX(200px) scale(0);
        opacity: 0;
    }
}

.hero-diagonal {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 200px;
    background: var(--primary-dark);
    transform: skewY(-3deg);
    transform-origin: bottom left;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 1000px;
    padding: 0 40px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 15px 35px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    margin-bottom: 40px;
    backdrop-filter: blur(20px);
    animation: fadeInDown 1s ease;
}

.hero-badge svg {
    width: 24px;
    height: 24px;
    color: var(--gold-color);
}

.hero-badge span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-title {
    color: var(--white);
    margin-bottom: 35px;
    animation: fadeInUp 1s ease 0.2s both;
}

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

.hero-subtitle {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-scroll {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    color: var(--white);
    animation: bounce 2.5s infinite;
}

.hero-scroll svg {
    width: 35px;
    height: 35px;
}

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

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

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

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

/* ===================== SECTIONS ===================== */
.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-dark {
    background: var(--gradient-dark);
}

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

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

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 28px;
    background: rgba(233, 69, 96, 0.1);
    border: 1px solid rgba(233, 69, 96, 0.2);
    border-radius: 100px;
    margin-bottom: 30px;
}

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

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

.section-title {
    margin-bottom: 25px;
}

.section-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.6);
}

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

.service-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    padding: 60px 45px;
    border-radius: 24px;
    text-align: center;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: var(--transition-medium);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(233, 69, 96, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition-medium);
}

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

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

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(233, 69, 96, 0.3);
}

.service-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 35px;
    background: var(--gradient-dark);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: all var(--transition-medium);
}

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

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

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

.service-card p {
    position: relative;
    z-index: 1;
    font-size: 1rem;
    margin-bottom: 30px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
}

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

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

/* ===================== APP SHOWCASE ===================== */
.app-showcase {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 100px;
    align-items: center;
}

.app-content .section-badge {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.app-content .section-badge span {
    color: var(--gold-color);
}

.app-content .section-badge svg {
    color: var(--gold-color);
}

.app-content h2 {
    color: var(--white);
    margin-bottom: 30px;
}

.app-content > p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.15rem;
}

.app-features {
    display: grid;
    gap: 25px;
    margin-top: 50px;
}

.app-feature {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 28px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    transition: all var(--transition-medium);
}

.app-feature:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(15px);
    border-color: rgba(201, 162, 39, 0.3);
}

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

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

.app-feature h4 {
    color: var(--white);
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.app-feature p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
    font-size: 0.95rem;
}

.app-screenshots {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 320px;
    height: 650px;
    background: linear-gradient(145deg, #1a1a2e 0%, #0a0a12 100%);
    border-radius: 50px;
    padding: 18px;
    box-shadow: var(--shadow-xl), 0 0 0 2px rgba(255, 255, 255, 0.1);
    position: relative;
    animation: floatPhone 6s ease-in-out infinite;
}

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

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 35px;
    background: var(--primary-dark);
    border-radius: 20px;
    z-index: 1;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    border-radius: 38px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.phone-screen svg {
    width: 80px;
    height: 80px;
    margin-bottom: 30px;
    opacity: 0.8;
}

.phone-screen span {
    font-size: 1rem;
    opacity: 0.8;
    letter-spacing: 2px;
}

/* ===================== STATS SECTION ===================== */
.stats-section {
    background: var(--primary-dark);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(233, 69, 96, 0.1) 0%, transparent 70%);
}

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

.stat-item {
    text-align: center;
    padding: 40px 20px;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 20px;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 500;
}

/* ===================== TEAM SECTION ===================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.team-member {
    text-align: center;
    padding: 50px 40px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-medium);
}

.team-member:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(233, 69, 96, 0.2);
}

.team-avatar {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: 0 auto 35px;
    background: var(--gradient-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border: 3px solid rgba(233, 69, 96, 0.3);
}

.team-avatar::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-accent);
    opacity: 0;
    transition: var(--transition-fast);
}

.team-member:hover .team-avatar::before {
    opacity: 0.2;
}

.team-avatar svg {
    width: 70px;
    height: 70px;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.team-member h4 {
    margin-bottom: 8px;
    font-size: 1.5rem;
}

.team-role {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.team-bio {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
}

/* ===================== TIMELINE ===================== */
.timeline {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-color), var(--gold-color));
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 40px 80px;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-dot {
    position: absolute;
    width: 28px;
    height: 28px;
    background: var(--accent-color);
    border: 5px solid var(--primary-dark);
    border-radius: 50%;
    top: 50px;
    box-shadow: var(--shadow-glow);
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -14px;
}

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

.timeline-year {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold-color);
    margin-bottom: 15px;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.timeline-content h4 {
    margin-bottom: 12px;
    font-size: 1.3rem;
}

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

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

.news-card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 28px;
    overflow: hidden;
    transition: all var(--transition-medium);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.news-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(233, 69, 96, 0.2);
}

.news-image {
    height: 280px;
    background: var(--gradient-dark);
    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.9), rgba(201, 162, 39, 0.9));
    opacity: 0;
    transition: var(--transition-fast);
}

.news-card:hover .news-image::before {
    opacity: 1;
}

.news-image svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    color: var(--white);
    opacity: 0.4;
}

.news-category {
    position: absolute;
    top: 25px;
    left: 25px;
    padding: 10px 22px;
    background: var(--white);
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 100px;
}

.news-content {
    padding: 40px;
}

.news-date {
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.news-content h3 {
    margin-bottom: 18px;
    font-size: 1.4rem;
    transition: var(--transition-fast);
}

.news-card:hover .news-content h3 {
    color: var(--accent-color);
}

.news-content p {
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

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

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

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

.contact-info h2 {
    color: var(--white);
    margin-bottom: 30px;
}

.contact-info > p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 50px;
}

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

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

.contact-icon {
    width: 75px;
    height: 75px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition-medium);
}

.contact-item:hover .contact-icon {
    background: var(--gradient-accent);
    border-color: var(--accent-color);
    transform: scale(1.1);
}

.contact-icon svg {
    width: 35px;
    height: 35px;
    color: var(--accent-color);
    transition: var(--transition-fast);
}

.contact-item:hover .contact-icon svg {
    color: var(--white);
}

.contact-item h4 {
    color: var(--white);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
    font-size: 0.95rem;
}

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

.contact-item a:hover {
    color: var(--gold-color);
}

.contact-form {
    background: rgba(255, 255, 255, 0.03);
    padding: 60px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
}

.contact-form h3 {
    color: var(--white);
    margin-bottom: 40px;
    font-size: 1.8rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--white);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 20px 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-color);
    background: rgba(233, 69, 96, 0.1);
    box-shadow: 0 0 30px rgba(233, 69, 96, 0.2);
}

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

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

/* ===================== FOOTER ===================== */
.footer {
    background: #050508;
    color: var(--white);
    padding: 100px 0 40px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), var(--gold-color), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
}

.footer-brand .logo {
    margin-bottom: 30px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 35px;
    font-size: 1rem;
}

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

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

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

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

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

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

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

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0;
    font-size: 0.9rem;
}

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

.footer-legal a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* ===================== PAGE HEADER ===================== */
.page-header {
    padding: 220px 0 120px;
    background: var(--gradient-hero);
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

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

.breadcrumb a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

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

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

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

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

/* ===================== LEGAL PAGES ===================== */
.legal-content {
    max-width: 950px;
    margin: 0 auto;
    padding: 100px 0;
}

.legal-content h2 {
    margin-top: 70px;
    margin-bottom: 25px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.8rem;
}

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

.legal-content h3 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.legal-content p {
    margin-bottom: 20px;
    line-height: 2;
}

.legal-content ul {
    margin-bottom: 30px;
    padding-left: 35px;
}

.legal-content li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

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

.legal-toc {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 60px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-toc h3 {
    margin-top: 0;
    margin-bottom: 25px;
    color: var(--white);
}

.legal-toc ol {
    padding-left: 25px;
}

.legal-toc li {
    padding: 10px 0;
}

.legal-toc a {
    color: var(--accent-color);
    font-size: 0.95rem;
}

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

/* ===================== SCROLL TO TOP ===================== */
.scroll-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-medium);
    z-index: 999;
    box-shadow: var(--shadow-glow);
}

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

.scroll-top:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 15px 50px rgba(233, 69, 96, 0.6);
}

.scroll-top svg {
    width: 28px;
    height: 28px;
    color: var(--white);
}

/* ===================== LOADING ANIMATION ===================== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 70px;
    height: 70px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
}

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

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1400px) {
    :root { --section-padding: 120px; }
    .container { padding: 0 50px; }
}

@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); gap: 60px; }
    .app-showcase { gap: 60px; }
}

@media (max-width: 992px) {
    :root { --section-padding: 100px; }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 18, 0.98);
        backdrop-filter: blur(30px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 50px;
        transition: var(--transition-medium);
    }
    
    .nav-menu.active { right: 0; }
    .nav-menu a { font-size: 1.8rem; }
    .nav-toggle { display: flex; z-index: 1001; }
    
    .app-showcase {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .app-screenshots { order: -1; }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .timeline::before { left: 20px; }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 20px;
        text-align: left;
    }
    
    .timeline-item:nth-child(even) { left: 0; }
    
    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: 6px;
        right: auto;
    }
    
    .team-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    :root { --section-padding: 80px; }
    .container { padding: 0 30px; }
    
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.2rem; }
    
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    
    .services-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; gap: 30px; }
    .stat-number { font-size: 4rem; }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }
    
    .form-row { grid-template-columns: 1fr; }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .phone-mockup {
        width: 260px;
        height: 530px;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 20px; }
    .logo-text { font-size: 1.3rem; letter-spacing: 2px; }
    .btn { padding: 18px 35px; font-size: 0.8rem; }
    .section-header { margin-bottom: 60px; }
    .page-header { padding: 180px 0 80px; }
    .legal-content { padding: 60px 0; }
}

/* ===================== UTILITY CLASSES ===================== */
.text-center { text-align: center; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ===================== LEGAL CONTENT STYLES ===================== */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 0;
}

.legal-content h2 {
    font-size: 2rem;
    margin-top: 60px;
    margin-bottom: 25px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--white);
}

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

.legal-content h3 {
    font-size: 1.4rem;
    margin-top: 35px;
    margin-bottom: 15px;
    color: var(--gold-color);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.legal-content p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: rgba(255,255,255,0.8);
    margin-bottom: 20px;
}

.legal-content ul,
.legal-content ol {
    margin-bottom: 25px;
    padding-left: 30px;
}

.legal-content ul li,
.legal-content ol li {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.8);
    margin-bottom: 12px;
    position: relative;
}

.legal-content ul li::before {
    content: "•";
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: -20px;
}

.legal-content ol {
    counter-reset: legal-counter;
}

.legal-content ol li {
    counter-increment: legal-counter;
}

.legal-content ol li::before {
    content: counter(legal-counter) ".";
    color: var(--accent-color);
    font-weight: 600;
    position: absolute;
    left: -25px;
}

.legal-content strong {
    color: var(--white);
    font-weight: 600;
}

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

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

.legal-toc {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 60px;
}

.legal-toc h3 {
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 25px;
    color: var(--white);
    font-family: 'Playfair Display', serif;
}

.legal-toc ol {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: toc-counter;
}

.legal-toc ol li {
    counter-increment: toc-counter;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.legal-toc ol li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.legal-toc ol li::before {
    display: none;
}

.legal-toc ol li a {
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 10px;
}

.legal-toc ol li a::before {
    content: counter(toc-counter) ".";
    color: var(--accent-color);
    font-weight: 600;
    min-width: 25px;
}

.legal-toc ol li a:hover {
    color: var(--accent-color);
    padding-left: 10px;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 40px 0;
    }
    
    .legal-content h2 {
        font-size: 1.6rem;
        margin-top: 40px;
    }
    
    .legal-content h3 {
        font-size: 1.2rem;
    }
    
    .legal-content p,
    .legal-content li {
        font-size: 0.95rem;
    }
    
    .legal-toc {
        padding: 25px;
    }
}
