/* Global Styles */
:root {
    --primary-color: #2e55a5;
    --accent-color: #4a90e2;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --light-text: #ffffff;
    --gray-text: #a0a0a0;
    --border-color: #1a1a1a;
    --card-bg: rgba(255, 255, 255, 0.02);
    --gradient-1: linear-gradient(135deg, #2e55a5 0%, #4a90e2 100%);
    --gradient-2: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 100, 255, 0.12) 0%, transparent 30%),
        radial-gradient(circle at 80% 80%, rgba(255, 0, 100, 0.12) 0%, transparent 30%),
        radial-gradient(circle at 60% 10%, rgba(0, 255, 150, 0.08) 0%, transparent 40%),
        radial-gradient(ellipse at center, rgba(10, 10, 40, 0.9) 0%, rgba(0, 0, 0, 1) 70%);
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Clean Cosmic Background - No geometric patterns */
.cosmic-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -3;
    background: #0a0a0a;
    overflow: hidden;
}

/* Simple Star Field */
.stars-layer {
    position: absolute;
    width: 100%;
    height: 100%;
}

.star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #ffffff;
    border-radius: 50%;
    animation: star-twinkle 4s ease-in-out infinite alternate;
    box-shadow: 0 0 8px #ffffff;
}

@keyframes star-twinkle {
    0% { opacity: 0.4; }
    100% { opacity: 1; }
}

/* Simple, Visible Planets */
.planets-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: planet-orbit 150s linear infinite;
}

.planet {
    position: absolute;
    border-radius: 50%;
    animation: planet-glow 8s ease-in-out infinite alternate;
}

.planet-1 {
    width: 60px;
    height: 60px;
    background: #4a90e2;
    box-shadow: 0 0 30px rgba(74, 144, 226, 0.8), inset -15px -15px 30px rgba(0, 0, 0, 0.4);
}

.planet-2 {
    width: 45px;
    height: 45px;
    background: #2e55a5;
    box-shadow: 0 0 25px rgba(46, 85, 165, 0.8), inset -12px -12px 25px rgba(0, 0, 0, 0.4);
}

.planet-3 {
    width: 80px;
    height: 80px;
    background: #5ba3f5;
    box-shadow: 0 0 40px rgba(91, 163, 245, 0.8), inset -20px -20px 40px rgba(0, 0, 0, 0.4);
}

.planet-4 {
    width: 35px;
    height: 35px;
    background: #3d70cc;
    box-shadow: 0 0 20px rgba(61, 112, 204, 0.8), inset -10px -10px 20px rgba(0, 0, 0, 0.4);
}

@keyframes planet-glow {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
}

@keyframes planet-orbit {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* High-Visibility K-line Chart */
.kline-chart {
    z-index: -1;
    opacity: 0.8 !important;
    animation: chart-pulse 3s ease-in-out infinite;
}

.kline-chart rect {
    fill: #4a90e2 !important;
    opacity: 0.9 !important;
}

.kline-chart line {
    stroke: #2e55a5 !important;
    stroke-width: 2 !important;
    opacity: 0.8 !important;
}

@keyframes chart-pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Clear Mathematical Formulas */
.math-formulas {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.formula {
    position: absolute;
    color: #4a90e2;
    font-size: 20px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(74, 144, 226, 0.8);
    animation: formula-float 8s ease-in-out infinite alternate;
    background: rgba(0, 0, 0, 0.3);
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid rgba(74, 144, 226, 0.3);
}

@keyframes formula-float {
    0% { opacity: 0.8; transform: translateY(0px); }
    100% { opacity: 1; transform: translateY(-5px); }
}

/* Simple Neural Network Nodes */
.neural-network {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.node {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #4a90e2;
    border-radius: 50%;
    animation: node-pulse 4s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(74, 144, 226, 0.8);
}

@keyframes node-pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
}

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

.connections line {
    stroke: rgba(74, 144, 226, 0.6) !important;
    stroke-width: 1.5 !important;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .cosmic-background {
        height: 100%;
        min-height: 100vh;
    }
    
    .planet-1 { width: 40px; height: 40px; }
    .planet-2 { width: 30px; height: 30px; }
    .planet-3 { width: 50px; height: 50px; }
    .planet-4 { width: 25px; height: 25px; }
    
    .formula {
        font-size: 16px;
        padding: 3px 6px;
    }
    
    .kline-chart {
        width: 150px !important;
        height: 80px !important;
    }
    
    .node {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 480px) {
    .formula {
        font-size: 14px;
        padding: 2px 4px;
    }
    
    .kline-chart {
        width: 120px !important;
        height: 60px !important;
    }
    
    .planet-1 { width: 30px; height: 30px; }
    .planet-2 { width: 25px; height: 25px; }
    .planet-3 { width: 40px; height: 40px; }
    .planet-4 { width: 20px; height: 20px; }
}

/* Ensure full coverage */
body, html {
    min-height: 100%;
}

/* Remove any remaining geometric patterns */
section {
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.logo {
    color: var(--light-text);
    letter-spacing: 0.1em;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--gray-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--light-text);
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--light-text);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}

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

.grid-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(46, 85, 165, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(46, 85, 165, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

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

.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.floating-particles::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(46, 85, 165, 0.2) 2px, transparent 3px),
        radial-gradient(circle at 60% 40%, rgba(74, 144, 226, 0.18) 2px, transparent 3px),
        radial-gradient(circle at 80% 80%, rgba(46, 85, 165, 0.15) 1.5px, transparent 2px),
        radial-gradient(circle at 40% 70%, rgba(74, 144, 226, 0.12) 1px, transparent 2px);
    background-size: 100px 100px, 150px 150px, 200px 200px, 120px 120px;
    animation: floatingParticles 15s linear infinite;
}

.floating-particles::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(45deg, transparent 40%, rgba(46, 85, 165, 0.08) 50%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, rgba(74, 144, 226, 0.06) 50%, transparent 60%),
        linear-gradient(135deg, transparent 45%, rgba(46, 85, 165, 0.04) 50%, transparent 55%);
    background-size: 60px 60px, 80px 80px, 100px 100px;
    animation: dataFlow 20s linear infinite;
}

@keyframes floatingParticles {
    0% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-30px, -30px) rotate(120deg); }
    66% { transform: translate(30px, -60px) rotate(240deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

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

/* Quantum field effect */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: -2;
}

@keyframes quantumField {
    0%, 100% { transform: rotate(0deg) scale(1); opacity: 0.5; }
    50% { transform: rotate(180deg) scale(1.1); opacity: 0.8; }
}

/* Neural network pattern overlay */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(46, 85, 165, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 90% 30%, rgba(74, 144, 226, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 30% 80%, rgba(46, 85, 165, 0.10) 0%, transparent 60%),
        radial-gradient(circle at 70% 70%, rgba(74, 144, 226, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(46, 85, 165, 0.05) 0%, transparent 70%);
    background-size: 300px 300px, 400px 400px, 350px 350px, 450px 450px, 500px 500px;
    animation: neuralNetwork 25s ease-in-out infinite;
    z-index: -1;
}

@keyframes neuralNetwork {
    0%, 100% { opacity: 0.3; transform: translate(0, 0); }
    25% { opacity: 0.6; transform: translate(-10px, 10px); }
    50% { opacity: 0.4; transform: translate(10px, -5px); }
    75% { opacity: 0.7; transform: translate(-5px, -10px); }
}

.hero-content {
    text-align: center;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-text);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
}

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

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

/* Buttons */
.btn {
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(46, 85, 165, 0.3);
}

.btn-outline {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.btn-outline:hover {
    background: var(--accent-color);
    color: var(--light-text);
}

/* Investment Data Visualization */
.financial-data-stream {
    position: absolute;
    top: 10%;
    right: 5%;
    width: 200px;
    height: 300px;
    opacity: 0.2;
    pointer-events: none;
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    color: var(--accent-color);
    animation: dataStreamFlow 20s linear infinite;
    z-index: 0;
    text-shadow: 0 0 10px rgba(74, 144, 226, 0.5);
}

.financial-data-stream::before {
    content: '█▒▒░ EURUSD 1.0847 ↗ +0.23%\A█▒▒░ GBPUSD 1.2756 ↘ -0.15%\A█▒▒░ USDJPY 149.85 ↗ +0.08%\A█▒▒░ BTC/USD 67,842 ↗ +2.14%\A█▒▒░ ETH/USD 3,456 ↗ +3.67%\A█▒▒░ S&P500 5,847 ↗ +0.89%\A█▒▒░ NASDAQ 18,392 ↗ +1.23%\A█▒▒░ GOLD 2,367 ↘ -0.34%\A█▒▒░ OIL.WTI 71.24 ↗ +1.87%\A█▒▒░ VOLATILITY 14.2 ↘ -2.1%';
    white-space: pre;
    display: block;
    animation: textScroll 15s linear infinite;
}

@keyframes dataStreamFlow {
    0% { transform: translateY(0); opacity: 0.05; }
    50% { opacity: 0.1; }
    100% { transform: translateY(-50px); opacity: 0.02; }
}

@keyframes textScroll {
    0% { transform: translateY(100%); }
    100% { transform: translateY(-100%); }
}

/* Investment depth visualization */
.market-depth {
    position: absolute;
    bottom: 10%;
    left: 5%;
    width: 180px;
    height: 120px;
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
}

.market-depth::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right,
        rgba(255, 82, 82, 0.3) 0%,
        rgba(255, 82, 82, 0.2) 20%,
        rgba(255, 82, 82, 0.1) 40%,
        transparent 50%,
        rgba(46, 85, 165, 0.1) 60%,
        rgba(46, 85, 165, 0.2) 80%,
        rgba(46, 85, 165, 0.3) 100%);
    animation: marketDepthPulse 8s ease-in-out infinite;
}

@keyframes marketDepthPulse {
    0%, 100% { transform: scaleY(0.8); opacity: 0.05; }
    50% { transform: scaleY(1.2); opacity: 0.12; }
}

/* Neural thinking patterns */
.thinking-nodes {
    position: absolute;
    top: 20%;
    left: 15%;
    width: 120px;
    height: 120px;
    opacity: 0.06;
    pointer-events: none;
    z-index: 0;
}

.thinking-nodes::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(74, 144, 226, 0.2) 2px, transparent 2px),
                radial-gradient(circle at 30% 30%, rgba(46, 85, 165, 0.15) 1px, transparent 1px),
                radial-gradient(circle at 70% 70%, rgba(74, 144, 226, 0.1) 1.5px, transparent 1.5px),
                radial-gradient(circle at 20% 80%, rgba(46, 85, 165, 0.08) 1px, transparent 1px),
                radial-gradient(circle at 80% 20%, rgba(74, 144, 226, 0.12) 1px, transparent 1px);
    background-size: 40px 40px, 25px 25px, 35px 35px, 30px 30px, 45px 45px;
    animation: thinkingPulse 12s ease-in-out infinite;
}

.thinking-nodes::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 45%, rgba(74, 144, 226, 0.05) 50%, transparent 55%),
        linear-gradient(-45deg, transparent 45%, rgba(46, 85, 165, 0.03) 50%, transparent 55%);
    animation: neuralConnections 10s linear infinite;
}

@keyframes thinkingPulse {
    0%, 100% { transform: scale(0.9) rotate(0deg); opacity: 0.04; }
    25% { transform: scale(1.1) rotate(90deg); opacity: 0.08; }
    50% { transform: scale(0.95) rotate(180deg); opacity: 0.06; }
    75% { transform: scale(1.05) rotate(270deg); opacity: 0.09; }
}

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

/* Section Styles */
section {
    padding: 5rem 0;
    scroll-margin-top: 80px; /* Account for fixed navbar */
}

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

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-text);
}

/* Products Section */
.products {
    background: var(--darker-bg);
    position: relative;
    overflow: hidden;
}

.products::before {
    content: 'AI ∩ Finance = Intelligence²    Deep Learning: f(θ) = σ(Wx + b)    Neural Networks: ∂L/∂w = δa    Reinforcement Learning: Q(s,a) = r + γ max Q(s\',a\')    Portfolio Optimization: max E[R] - λσ²';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: -1;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: rgba(74, 144, 226, 0.4);
    padding: 20px;
    line-height: 3;
    white-space: pre-wrap;
    text-shadow: 0 0 10px rgba(74, 144, 226, 0.6);
}

@keyframes productsAnimation {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.6; }
    50% { transform: translateY(-20px) rotate(2deg); opacity: 0.8; }
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    scroll-margin-top: 100px; /* Extra margin for product cards */
}

.product-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(46, 85, 165, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.product-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.product-name {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.product-desc {
    color: var(--gray-text);
    margin-bottom: 1.5rem;
}

.product-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.product-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray-text);
}

.product-features li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.product-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: rgba(46, 85, 165, 0.2);
    color: var(--accent-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
}

/* Technology Section */
.technology {
    position: relative;
    overflow: hidden;
}

.technology::before {
    content: 'GPU Computing: CUDA Cores × Tensor Operations    Distributed Systems: MapReduce → Parallel Processing    Real-time Analytics: Stream Processing + Event Sourcing    Machine Learning Pipeline: Data → Features → Models → Predictions';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: -1;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: rgba(74, 144, 226, 0.5);
    padding: 30px;
    line-height: 4;
    white-space: pre-wrap;
    text-shadow: 0 0 8px rgba(74, 144, 226, 0.7);
}

@keyframes technologyAnimation {
    0%, 100% { transform: rotate(0deg) scale(1); opacity: 0.5; }
    33% { transform: rotate(120deg) scale(1.02); opacity: 0.7; }
    66% { transform: rotate(240deg) scale(0.98); opacity: 0.6; }
}

.tech-showcase {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tech-item {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.tech-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    color: var(--accent-color);
}

.tech-item h4 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.tech-item p {
    color: var(--gray-text);
    font-size: 0.875rem;
}

.tech-stats {
    display: flex;
    justify-content: space-around;
    background: var(--gradient-1);
    padding: 3rem 2rem;
    border-radius: 16px;
}

.tech-stat {
    text-align: center;
}

.tech-stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.tech-stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Performance Section */
.performance {
    background: var(--darker-bg);
    position: relative;
    overflow: hidden;
}

.performance::before {
    content: 'Performance Metrics: Sharpe Ratio = (μₚ - μf) / σₚ    Alpha Generation: αₚ = Rₚ - [Rf + βₚ(Rm - Rf)]    Risk Management: VaR₉₅% = μ - 1.645σ    Optimization: max U = E[r] - ½Aσ²';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: -1;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: rgba(74, 144, 226, 0.5);
    padding: 25px;
    line-height: 3.5;
    white-space: pre-wrap;
}

@keyframes performanceAnimation {
    0%, 100% { transform: translateX(0) scaleX(1); opacity: 0.6; }
    50% { transform: translateX(-10px) scaleX(1.02); opacity: 0.8; }
}

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

.performance-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.performance-list {
    list-style: none;
    margin-top: 2rem;
}

.performance-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
}

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

.performance-chart {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* About Section */
.about {
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    animation: aboutAnimation 32s ease-in-out infinite;
    z-index: -1;
}

@keyframes aboutAnimation {
    0%, 100% { transform: rotate(0deg) scale(1); opacity: 0.5; }
    25% { transform: rotate(90deg) scale(1.01); opacity: 0.7; }
    50% { transform: rotate(180deg) scale(0.99); opacity: 0.6; }
    75% { transform: rotate(270deg) scale(1.01); opacity: 0.7; }
}

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

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--gray-text);
}

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

.value-item {
    text-align: center;
}

.value-item h4 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.value-item p {
    font-size: 0.875rem;
}

.image-placeholder {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.code-animation {
    font-family: 'Courier New', monospace;
    color: var(--accent-color);
    font-size: 0.875rem;
}

/* Contact Section */
.contact {
    background: var(--darker-bg);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: 'Strategic Partnership Framework: Collaboration = Σ(Innovation × Expertise × Trust)    Network Effects: Value = n(n-1)/2    Innovation Multiplier: I = R&D × Talent × Capital × Time';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: -1;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: rgba(74, 144, 226, 0.5);
    padding: 25px;
    line-height: 3.5;
    white-space: pre-wrap;
    text-shadow: 0 0 8px rgba(74, 144, 226, 0.7);
    color: rgba(74, 144, 226, 0.08);
    padding: 25px;
    line-height: 4;
    white-space: pre-wrap;
}

@keyframes contactAnimation {
    0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.6; }
    33% { transform: translate(-5px, 5px) rotate(120deg); opacity: 0.8; }
    66% { transform: translate(5px, -5px) rotate(240deg); opacity: 0.7; }
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    align-items: start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    color: var(--accent-color);
    flex-shrink: 0;
}

.contact-item h4 {
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--gray-text);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--light-text);
    font-family: inherit;
    transition: border-color 0.3s ease;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-text);
}

/* Footer */
.footer {
    background: var(--darker-bg);
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.logo-link {
    text-decoration: none;
    display: inline-block;
}

.logo-link:hover .logo {
    opacity: 0.8;
}

.footer-desc-link {
    color: var(--gray-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-links h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
}

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

.footer-links a {
    color: var(--gray-text);
    text-decoration: none;
    font-size: 0.875rem;
    line-height: 2;
    transition: color 0.3s ease;
}

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

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.social-icons svg {
    width: 20px;
    height: 20px;
    color: var(--gray-text);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--gray-text);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2.5rem;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-values {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s ease;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        font-size: 1.125rem;
        padding: 0.75rem 0;
    }

    .nav-toggle {
        display: flex;
    }

    /* Hero Section */
    .hero {
        min-height: calc(100vh - 60px);
        padding-top: 60px;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .hero-stats {
        flex-direction: row;
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 2rem;
    }

    .stat-item {
        min-width: 100px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 0.75rem;
        padding: 0 2rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    /* Sections */
    section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    /* Products */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .product-card {
        padding: 2rem 1.5rem;
    }

    .product-name {
        font-size: 1.5rem;
    }

    .product-features {
        font-size: 0.875rem;
    }

    /* Technology */
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .tech-item {
        padding: 1.5rem;
    }

    .tech-stats {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem 1rem;
    }

    /* Performance */
    .performance-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .performance-chart {
        height: 300px;
        margin-top: 2rem;
    }

    /* About */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .about-values {
        margin-top: 1.5rem;
    }

    .image-placeholder {
        padding: 2rem 1rem;
        min-height: 200px;
    }

    .code-animation {
        font-size: 0.75rem;
    }

    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .contact-info {
        margin-bottom: 2rem;
    }

    /* Footer */
    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-links ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.875rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 0.875rem;
    }

    .product-card {
        padding: 1.5rem;
    }

    .product-name {
        font-size: 1.25rem;
    }

    .product-desc {
        font-size: 0.875rem;
    }

    .product-features {
        font-size: 0.8125rem;
    }

    .tech-tag {
        font-size: 0.75rem;
        padding: 0.2rem 0.5rem;
    }

    .performance-chart {
        height: 250px;
    }

    .contact-item {
        font-size: 0.875rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Touch-friendly enhancements */
@media (hover: none) {
    .product-card:active {
        transform: scale(0.98);
    }

    .btn:active {
        transform: scale(0.95);
    }

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

/* Landscape mobile optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 4rem 0;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-stats {
        margin-bottom: 1.5rem;
    }

    section {
        padding: 2rem 0;
    }
}