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

/* Prevent horizontal scrolling globally */
html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

/* Ensure all sections are contained */
.section {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

:root {
    --primary-color: #00d4ff;
    --secondary-color: #7000ff;
    --accent-color: #ff006e;
    --success-color: #00ff88;
    --warning-color: #ffaa00;
    --text-primary: #ffffff;
    --text-secondary: #b8b8b8;
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #1a1a1a;
    --border-color: #333333;
    --glow-primary: 0 0 20px rgba(0, 212, 255, 0.5);
    --glow-secondary: 0 0 20px rgba(112, 0, 255, 0.5);
    --glow-accent: 0 0 20px rgba(255, 0, 110, 0.5);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    position: relative;
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    opacity: 0.3;
    filter: blur(20px);
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); }
}

.nav-links {
    display: flex;
    gap: 2rem;
}

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

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

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
    gap: 4px;
    z-index: 1001;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 2px;
    display: block;
}

@media (max-width: 767px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-links.active {
        display: flex;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

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

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

.floating-particles::before,
.floating-particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-particles::before {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-particles::after {
    top: 60%;
    right: 15%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.7; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 1; }
}

.grid-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 212, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 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); }
}

.energy-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(transparent, rgba(0, 212, 255, 0.1));
    animation: waveMove 8s ease-in-out infinite;
}

@keyframes waveMove {
    0%, 100% { transform: translateY(0px); opacity: 0.3; }
    50% { transform: translateY(-20px); opacity: 0.6; }
}

/* Hero Orbs */
.hero-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
}

.orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.3), transparent);
    filter: blur(20px);
    animation: orbFloat 15s ease-in-out infinite;
}

.orb-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.orb-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 10%;
    animation-delay: 5s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    bottom: 20%;
    left: 15%;
    animation-delay: 10s;
}

@keyframes orbFloat {
    0%, 100% { transform: translateY(0px) scale(1); opacity: 0.3; }
    50% { transform: translateY(-30px) scale(1.1); opacity: 0.6; }
}

/* Data Streams */
.data-streams {
    position: absolute;
    width: 100%;
    height: 100%;
}

.data-stream {
    position: absolute;
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, var(--primary-color), transparent);
    animation: dataStream 8s linear infinite;
}

.stream-1 {
    left: 20%;
    top: -100px;
    animation-delay: 0s;
}

.stream-2 {
    left: 50%;
    top: -100px;
    animation-delay: 2s;
}

.stream-3 {
    left: 80%;
    top: -100px;
    animation-delay: 4s;
}

@keyframes dataStream {
    0% { transform: translateY(0px); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(100vh); opacity: 0; }
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-text {
    z-index: 2;
    width: 100%;
    text-align: center;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    animation: badgeGlow 3s ease-in-out infinite;
}

.badge-icon {
    font-size: 1.2rem;
    animation: badgePulse 2s ease-in-out infinite;
}

.badge-text {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes badgeGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 212, 255, 0.2); }
    50% { box-shadow: 0 0 30px rgba(0, 212, 255, 0.4); }
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: titleReveal 1s ease forwards;
}

.title-line:nth-child(2) {
    animation-delay: 0.3s;
}

.highlight {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    animation: highlightGlow 2s ease-in-out infinite;
}

@keyframes highlightGlow {
    0%, 100% { box-shadow: 0 0 10px rgba(0, 212, 255, 0.5); }
    50% { box-shadow: 0 0 20px rgba(0, 212, 255, 0.8); }
}

@keyframes titleReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
}

.highlight-text {
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    animation: textReveal 2s ease 1.2s forwards;
}

@keyframes textReveal {
    to { transform: scaleX(1); }
}



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

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeInUp 1s ease 0.9s forwards;
}

.cta-button {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.cta-button.primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
}

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

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-primary);
}

.button-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover .button-glow {
    left: 100%;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease 1.2s forwards;
}

.stat-item {
    text-align: center;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 15px;
    padding: 1.5rem 1rem;
    transition: all 0.3s ease;
    min-width: 100px;
}

.stat-item:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.3);
}

.stat-number {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    animation: statCount 2s ease 1.8s forwards;
    opacity: 0;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes statCount {
    to { opacity: 1; transform: scale(1); }
}

.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 70% 30%, rgba(0, 212, 255, 0.03) 0%, transparent 50%);
    width: 100%;
    max-width: 100%;
    margin-top: 2rem;
}

/* Main Chart Container */
.main-chart-container {
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 25px;
    padding: 2rem;
    position: relative;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: chartContainerGlow 4s ease-in-out infinite;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@keyframes chartContainerGlow {
    0%, 100% { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 212, 255, 0.2); }
    50% { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 212, 255, 0.4); }
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.chart-header h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.chart-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-color);
}

.status-dot.active {
    background: var(--success-color);
    animation: statusPulse 2s ease-in-out infinite;
}

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

.valuation-chart {
    position: relative;
    width: 100%;
    height: 250px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid rgba(0, 212, 255, 0.2);
    overflow: hidden;
}

/* Chart Grid */
.chart-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.grid-line {
    position: absolute;
    background: rgba(0, 212, 255, 0.08);
}

.grid-line.horizontal {
    width: 100%;
    height: 1px;
}

.grid-line.horizontal:nth-child(1) { top: 20%; }
.grid-line.horizontal:nth-child(2) { top: 40%; }
.grid-line.horizontal:nth-child(3) { top: 60%; }
.grid-line.horizontal:nth-child(4) { top: 80%; }

.grid-line.vertical {
    height: 100%;
    width: 1px;
}

.grid-line.vertical:nth-child(5) { left: 20%; }
.grid-line.vertical:nth-child(6) { left: 40%; }
.grid-line.vertical:nth-child(7) { left: 60%; }
.grid-line.vertical:nth-child(8) { left: 80%; }

/* Chart Lines */
.chart-line {
    position: absolute;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, currentColor, transparent);
    box-shadow: 0 0 15px currentColor;
}

.chart-line.signal {
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    top: 35%;
    left: 5%;
    width: 90%;
    color: var(--primary-color);
    animation: signalLineDraw 3s ease-out forwards;
}

.chart-line.revenue {
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    top: 65%;
    left: 5%;
    width: 90%;
    color: var(--secondary-color);
    animation: revenueLineDraw 3s ease-out 0.5s forwards;
}

/* Line Animations */
@keyframes signalLineDraw {
    0% { 
        width: 0;
        opacity: 0;
        transform: translateX(-20px);
    }
    50% { 
        width: 45%;
        opacity: 0.7;
        transform: translateX(0);
    }
    100% { 
        width: 90%;
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes revenueLineDraw {
    0% { 
        width: 0;
        opacity: 0;
        transform: translateX(-20px);
    }
    50% { 
        width: 45%;
        opacity: 0.7;
        transform: translateX(0);
    }
    100% { 
        width: 90%;
        opacity: 1;
        transform: translateX(0);
    }
}

.chart-points {
    position: absolute;
    width: 100%;
    height: 100%;
}

.point {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: pointAppear 0.8s ease forwards;
    opacity: 0;
    box-shadow: 0 0 10px currentColor;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.point:nth-child(1) { 
    top: 35%; 
    left: 20%; 
    animation-delay: 1s;
    background: var(--primary-color);
}
.point:nth-child(2) { 
    top: 25%; 
    left: 40%; 
    animation-delay: 1.2s;
    background: var(--primary-color);
}
.point:nth-child(3) { 
    top: 45%; 
    left: 60%; 
    animation-delay: 1.4s;
    background: var(--secondary-color);
}
.point:nth-child(4) { 
    top: 15%; 
    left: 80%; 
    animation-delay: 1.6s;
    background: var(--primary-color);
}

.point.active .point-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: 2px solid currentColor;
    border-radius: 50%;
    animation: pointPulse 2s ease-in-out infinite;
}

@keyframes pointAppear {
    0% { 
        opacity: 0; 
        transform: scale(0) rotate(180deg);
    }
    50% { 
        opacity: 0.7; 
        transform: scale(1.2) rotate(90deg);
    }
    100% { 
        opacity: 1; 
        transform: scale(1) rotate(0deg);
    }
}

@keyframes pointPulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(3); opacity: 0; }
}

/* Data Bars for Visual Interest */
.chart-data-bars {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 80%;
    justify-content: space-between;
}

.data-bar {
    width: 8px;
    background: linear-gradient(to top, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
    animation: dataBarGrow 2s ease-out forwards;
    opacity: 0;
    transform: scaleY(0);
    transform-origin: bottom;
}

.data-bar:nth-child(1) { 
    height: 60%; 
    animation-delay: 0.5s;
    background: var(--primary-color);
}
.data-bar:nth-child(2) { 
    height: 80%; 
    animation-delay: 0.8s;
    background: var(--secondary-color);
}
.data-bar:nth-child(3) { 
    height: 40%; 
    animation-delay: 1.1s;
    background: var(--accent-color);
}

@keyframes dataBarGrow {
    0% { 
        opacity: 0; 
        transform: scaleY(0);
    }
    100% { 
        opacity: 1; 
        transform: scaleY(1);
    }
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.element {
    position: absolute;
    font-size: 2rem;
    animation: floatElement 4s ease-in-out infinite;
}

.element.rocket {
    top: 20%;
    right: 20%;
    animation-delay: 0s;
}

.element.diamond {
    top: 60%;
    right: 10%;
    animation-delay: 1s;
}

.element.chart {
    top: 40%;
    right: 30%;
    animation-delay: 2s;
}

.element.brain {
    top: 80%;
    right: 40%;
    animation-delay: 3s;
}

.rocket-trail {
    position: absolute;
    top: 50%;
    left: -20px;
    width: 30px;
    height: 2px;
    background: linear-gradient(to left, var(--accent-color), transparent);
    animation: rocketTrail 2s ease-in-out infinite;
}

.diamond-sparkle {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation: diamondSparkle 3s ease-in-out infinite;
}

.chart-bars {
    display: flex;
    gap: 2px;
    align-items: end;
    height: 30px;
}

.chart-bars .bar {
    width: 4px;
    background: var(--secondary-color);
    animation: chartBarGrow 2s ease-in-out infinite;
}

.chart-bars .bar:nth-child(1) { height: 15px; animation-delay: 0s; }
.chart-bars .bar:nth-child(2) { height: 25px; animation-delay: 0.3s; }
.chart-bars .bar:nth-child(3) { height: 20px; animation-delay: 0.6s; }

@keyframes floatElement {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

@keyframes rocketTrail {
    0%, 100% { opacity: 0.3; transform: scaleX(1); }
    50% { opacity: 1; transform: scaleX(1.5); }
}

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

@keyframes chartBarGrow {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(1.3); }
}



/* Data Particles */
.data-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: particleFloat 6s ease-in-out infinite;
}

.particle:nth-child(1) { top: 10%; left: 15%; animation-delay: 0s; }
.particle:nth-child(2) { top: 30%; left: 85%; animation-delay: 1s; }
.particle:nth-child(3) { top: 70%; left: 20%; animation-delay: 2s; }
.particle:nth-child(4) { top: 20%; left: 80%; animation-delay: 3s; }
.particle:nth-child(5) { top: 80%; left: 70%; animation-delay: 4s; }

@keyframes particleFloat {
    0%, 100% { transform: translateY(0px) scale(1); opacity: 0.7; }
    50% { transform: translateY(-30px) scale(1.5); opacity: 1; }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-secondary);
    animation: bounce 2s infinite;
    z-index: 10;
}

.scroll-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: scrollPulse 2s ease-in-out infinite;
}

.scroll-arrow {
    width: 2px;
    height: 20px;
    background: var(--primary-color);
    margin-bottom: 0.5rem;
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -3px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    transform: rotate(45deg);
}

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

@keyframes scrollPulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
}

/* Hero Bottom Decoration */
.hero-bottom-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.decoration-line {
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin-bottom: 1rem;
    animation: decorationGlow 3s ease-in-out infinite;
}

.decoration-dots {
    display: flex;
    gap: 1rem;
}

.decoration-dots .dot {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: decorationDotPulse 2s ease-in-out infinite;
}

.decoration-dots .dot:nth-child(2) { animation-delay: 0.5s; }
.decoration-dots .dot:nth-child(3) { animation-delay: 1s; }

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

@keyframes decorationDotPulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.3); opacity: 1; }
}

/* Section Styles */
.section {
    padding: 6rem 0;
    position: relative;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--glow-primary);
}

.feature-icon {
    position: relative;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.icon-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    border-radius: inherit;
    filter: blur(20px);
    opacity: 0.5;
    animation: iconPulse 2s ease-in-out infinite;
}

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

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

.feature-animation {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
    animation: dotPulse 1.5s ease-in-out infinite;
}

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

.growth-bar {
    width: 100%;
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    width: 0;
    animation: barFill 2s ease-out forwards;
}

@keyframes barFill {
    to { width: 75%; }
}

.pulse-ring {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: pulseRing 2s ease-in-out infinite;
}

@keyframes pulseRing {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* Signal Revenue Chart */
.signal-revenue-chart {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

/* Interactive Charts Section */
.interactive-charts-section {
    margin-top: 4rem;
}

.interactive-charts-section h3 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 2rem;
}

.section-description {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.chart-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.chart-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--glow-primary);
}

.chart-card h4 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    text-align: center;
}

.chart-container-large {
    position: relative;
    height: 500px;
    margin-bottom: 1.5rem;
    background: rgba(0, 212, 255, 0.02);
    border-radius: 15px;
    padding: 1rem;
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.chart-container-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.05), transparent);
    transition: left 0.8s ease;
    z-index: 1;
}

.chart-container-large:hover::before {
    left: 100%;
}

.chart-container-large canvas {
    position: relative;
    z-index: 2;
}

.chart-controls-container {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    backdrop-filter: blur(10px);
}

.chart-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.chart-btn {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
}

.chart-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.chart-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 212, 255, 0.2);
}

.chart-btn.active {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: var(--primary-color);
    box-shadow: var(--glow-primary);
}

/* Chart Legend Enhancements */
.chart-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.legend-item:hover {
    background: rgba(0, 212, 255, 0.2);
    transform: translateY(-2px);
}

.legend-color {
    width: 20px;
    height: 4px;
    border-radius: 2px;
}

.legend-color.signal {
    background: var(--primary-color);
}

.legend-color.revenue {
    background: var(--secondary-color);
}

.signal-revenue-chart h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.chart-container {
    position: relative;
    height: 300px;
}

.chart-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-color {
    width: 20px;
    height: 4px;
    border-radius: 2px;
}

.legend-color.signal {
    background: var(--primary-color);
}

.legend-color.revenue {
    background: var(--secondary-color);
}

/* Comparison Grid */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.comparison-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.comparison-card:hover {
    transform: translateY(-5px);
}

.comparison-card.traditional:hover {
    border-color: var(--warning-color);
    box-shadow: 0 0 20px rgba(255, 170, 0, 0.3);
}

.comparison-card.futuresight:hover {
    border-color: var(--success-color);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.card-header h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.status-badge.outdated {
    background: rgba(255, 170, 0, 0.2);
    color: var(--warning-color);
    border: 1px solid var(--warning-color);
}

.status-badge.future {
    background: rgba(0, 255, 136, 0.2);
    color: var(--success-color);
    border: 1px solid var(--success-color);
}

.feature-list {
    list-style: none;
    margin-bottom: 2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.feature-list i {
    width: 20px;
    text-align: center;
}

.feature-list .fa-check {
    color: var(--success-color);
}

.feature-list .fa-times {
    color: var(--warning-color);
}

.timeline-visual {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-line {
    width: 100%;
    height: 4px;
    border-radius: 2px;
    position: relative;
}

.timeline-line.past {
    background: var(--warning-color);
}

.timeline-line.future {
    background: var(--success-color);
}

.timeline-marker {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-card);
    padding: 0.25rem 0.75rem;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
}

.timeline-marker.past {
    color: var(--warning-color);
}

.timeline-marker.future {
    color: var(--success-color);
}

/* Metrics Showcase */
.metrics-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

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

.metric-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--glow-primary);
}

.metric-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.metric-label {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 500;
}

.metric-bar {
    width: 100%;
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
}

.bar-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    width: 0;
    transition: width 2s ease;
}

/* Framework Section */
.framework-visual {
    text-align: center;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.formula-display {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.formula-display::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 212, 255, 0.05), rgba(112, 0, 255, 0.05));
    z-index: -1;
}

.formula-text {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.formula-symbol {
    color: var(--primary-color);
    font-size: 2.5rem;
}

.formula-psi {
    color: var(--secondary-color);
    font-size: 2.5rem;
}

.formula-p, .formula-r, .formula-t {
    color: var(--accent-color);
    font-weight: 800;
}

.formula-sigma {
    color: var(--success-color);
    font-size: 2.5rem;
}

.formula-s, .formula-w {
    color: var(--warning-color);
    font-weight: 800;
}

.formula-explanation {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.formula-explanation p {
    margin-bottom: 1rem;
}

.formula-disclaimer {
    font-size: 0.9rem !important;
    color: var(--text-secondary) !important;
    opacity: 0.7;
    font-style: italic;
    margin-top: 1rem !important;
}

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

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

.component:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--glow-primary);
}

.component-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.component h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.component p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Case Studies */
.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 1200px) {
    .case-studies-grid {
        grid-template-columns: repeat(3, 1fr);
        padding: 0;
    }
}

@media (max-width: 767px) {
    .case-studies-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
}

@media (max-width: 480px) {
    .case-studies-grid {
        gap: 1rem;
        padding: 0 0.25rem;
    }
}

.case-study-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

@media (max-width: 767px) {
    .case-study-card {
        padding: 1.5rem;
        border-radius: 15px;
    }
}

@media (max-width: 480px) {
    .case-study-card {
        padding: 1rem;
        border-radius: 12px;
    }
}

.case-study-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-primary);
}

.case-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.case-icon {
    font-size: 2rem;
}

.case-header h3 {
    flex: 1;
    color: var(--text-primary);
}

.case-status {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

.case-status.success {
    background: rgba(0, 255, 136, 0.2);
    color: var(--success-color);
}

.case-status.warning {
    background: rgba(255, 170, 0, 0.2);
    color: var(--warning-color);
}

.case-status.volatile {
    background: rgba(255, 0, 110, 0.2);
    color: var(--accent-color);
}

.case-status.historical {
    background: rgba(112, 0, 255, 0.2);
    color: var(--secondary-color);
}

.case-status.decline {
    background: rgba(255, 0, 0, 0.2);
    color: #ff4444;
}

.case-status.comparison {
    background: rgba(0, 255, 136, 0.2);
    color: var(--success-color);
}

.case-study-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.case-chart {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-chart {
    width: 100%;
    height: 60px;
    position: relative;
}

.mini-chart .chart-line {
    position: absolute;
    height: 2px;
    border-radius: 1px;
    animation: miniChartDraw 1.5s ease-out forwards;
}

.mini-chart .chart-line.signal {
    background: var(--primary-color);
    top: 30%;
    left: 10%;
    width: 0;
}

.mini-chart .chart-line.revenue {
    background: var(--secondary-color);
    top: 70%;
    left: 10%;
    width: 0;
}

@keyframes miniChartDraw {
    to { width: 80%; }
}

/* Partnerships */
.partnership-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

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

.partnership-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--glow-primary);
}

.partnership-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.partnership-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

.partnership-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.partnership-features li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.partnership-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.partnership-cta {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.partnership-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-primary);
}

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

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

/* Desktop: Hide footer rows, use original grid layout */
@media (min-width: 768px) {
    .footer-content {
        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: 3rem;
        margin-bottom: 2rem;
    }
    
    .footer-row {
        display: contents;
    }
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: var(--text-secondary);
}

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

.footer-section h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer-section a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

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

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

/* Mobile-First Responsive Design */

/* Extra Small Devices (phones, 320px and up) */
@media (max-width: 480px) {
    :root {
        --section-padding: 2rem 1rem;
        --container-padding: 1rem;
        --border-radius: 15px;
    }
    
    /* Ultra-compact chart titles for very small screens */
    .chart-card h4 {
        font-size: 0.8rem !important;
        line-height: 1.1 !important;
        margin-bottom: 0.5rem !important;
        padding: 0 0.25rem !important;
        word-break: break-word;
        hyphens: auto;
    }
    
    /* Even smaller chart containers for very small screens */
    .chart-container-large {
        height: 200px !important;
        padding: 0.5rem !important;
    }
    
    /* Ultra-compact mobile spacing for very small screens */
    .hero-content {
        gap: 0.5rem !important;
        padding: 0.25rem !important;
        margin-top: 0.75rem !important;
    }
    
    .hero-title {
        font-size: 1.5rem !important;
        line-height: 1.1 !important;
        margin-bottom: 0.25rem !important;
    }
    
    .hero-subtitle {
        font-size: 0.9rem !important;
        line-height: 1.3 !important;
        margin-bottom: 0.75rem !important;
    }
    
    .hero-visual {
        height: 250px !important;
        margin-top: 0.75rem !important;
    }
    
    .main-chart-container {
        padding: 0.75rem !important;
        min-height: 200px !important;
    }
    
    .valuation-chart {
        height: 150px !important;
    }
    
    .hero-badge {
        margin-top: 3.5rem !important;
        margin-bottom: 0.75rem !important;
        padding: 0.4rem 0.8rem !important;
        font-size: 0.7rem !important;
        position: relative !important;
        z-index: 10 !important;
    }
    
    .cta-button {
        padding: 0.6rem 1.2rem !important;
        font-size: 0.8rem !important;
    }
    
    /* Prevent horizontal scrolling */
    body {
        overflow-x: hidden;
        width: 100%;
    }
    
    .navbar {
        padding: 0.75rem 1rem;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 1rem;
        width: 100%;
        max-width: 100%;
        margin-top: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        padding: 0 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
        padding: 0 1rem;
    }
    
    .hero-badge {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin: 0 auto 1rem auto;
        width: fit-content;
        border-radius: 20px;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        width: 100%;
        padding: 0 1rem;
    }
    
    .cta-button {
        width: 100%;
        max-width: 280px;
        padding: 0.875rem 1.5rem;
        min-height: 48px;
        font-size: 1rem;
        font-weight: 500;
    }
    
    .hero-stats {
        flex-direction: row;
        gap: 0.75rem;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
        padding: 0 0.5rem;
        margin-top: 1.5rem;
    }
    
    .stat-item {
        text-align: center;
        min-width: 70px;
        flex: 1;
        max-width: 90px;
        padding: 0.5rem;
        background: rgba(0, 212, 255, 0.05);
        border-radius: 12px;
        border: 1px solid rgba(0, 212, 255, 0.1);
    }
    
    .stat-number {
        font-size: 1.1rem;
        margin-bottom: 0.25rem;
        color: var(--primary-color);
        font-weight: 600;
    }
    
    .stat-label {
        font-size: 0.65rem;
        line-height: 1.2;
        color: var(--text-secondary);
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .hero-visual {
        height: 250px;
        padding: 0.5rem;
        width: 100%;
        max-width: 100%;
        margin-top: 1rem;
    }
    
    .main-chart-container {
        padding: 1rem;
        min-height: 300px;
        width: 100%;
        max-width: 100%;
        border-radius: 15px;
    }
    
    .valuation-chart {
        height: 180px;
        padding: 0.75rem;
        width: 100%;
        max-width: 100%;
    }
    
    .chart-header h3 {
        font-size: 1rem;
    }
    
    .floating-elements {
        display: none; /* Hide on very small screens */
    }
    
    .section-title {
        font-size: 1.75rem;
        text-align: center;
        padding: 0 1rem;
        margin-bottom: 1rem;
    }
    
    .section-description {
        font-size: 0.95rem;
        text-align: center;
        padding: 0 1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
    
    .case-studies-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 0.5rem;
        width: 100%;
        max-width: 100%;
    }
    
    .case-study-card {
        padding: 1rem;
        width: 100%;
        max-width: 100%;
        border-radius: 15px;
    }
    
    .case-study-card h4 {
        font-size: 1.1rem;
        line-height: 1.3;
    }
    
    .case-study-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .case-header {
        gap: 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .case-icon {
        font-size: 1.5rem;
    }
    
    .case-status {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }
    
    .formula-section {
        padding: 2rem 1rem;
        margin: 2rem 0;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .formula-container {
        width: 100%;
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .formula-display-large {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .formula-main {
        font-size: 1.2rem;
        text-align: center;
        line-height: 1.4;
        padding: 0 0.5rem;
    }
    
    .formula-breakdown {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .formula-component {
        padding: 1rem;
        text-align: center;
        border-radius: 12px;
    }
    
    .interactive-charts-section {
        padding: 2rem 1rem;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .chart-card {
        padding: 1rem;
        margin-bottom: 1.5rem;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        border-radius: 15px;
    }
    
    .chart-card h4 {
        font-size: 0.95rem;
        line-height: 1.3;
        word-wrap: break-word;
        hyphens: auto;
        padding: 0 0.5rem;
        margin-bottom: 1rem;
    }
    
    .chart-container-large {
        height: 280px;
        padding: 0.75rem;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        border-radius: 12px;
    }
    
    .chart-controls-container {
        padding: 1rem;
        margin-bottom: 1.5rem;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        border-radius: 15px;
    }
    
    .chart-controls {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        width: 100%;
        max-width: 100%;
    }
    
    .chart-btn {
        width: 100%;
        max-width: 280px;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        min-height: 44px;
        border-radius: 20px;
    }
    
    .footer {
        padding: 2rem 1rem;
        width: 100%;
        max-width: 100%;
    }
    
    .footer-content {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        width: 100%;
        max-width: 100%;
    }
    
    .footer-row {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .footer-brand-row {
        margin-bottom: 1rem;
    }
    
    .footer-links-row {
        display: flex;
        justify-content: center;
    }
    
    .footer-links {
        display: flex;
        gap: 2rem;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
    }
    
    .footer-section p, .footer-section a {
        font-size: 0.9rem;
    }
}

/* Small Devices (landscape phones, 481px and up) */
@media (min-width: 481px) and (max-width: 767px) {
    /* Prevent horizontal scrolling */
    body {
        overflow-x: hidden;
        width: 100%;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 1.5rem;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-badge {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin: 0 auto 1.5rem auto;
        width: fit-content;
    }
    
    .hero-stats {
        flex-direction: row;
        gap: 1.5rem;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
    }
    
    .stat-item {
        text-align: center;
        min-width: 90px;
        flex: 1;
        max-width: 120px;
    }
    
    .stat-number {
        font-size: 1.4rem;
        margin-bottom: 0.25rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
        line-height: 1.2;
    }
    
    .hero-visual {
        height: 300px;
        width: 100%;
        max-width: 100%;
    }
    
    .main-chart-container {
        padding: 1.5rem;
        min-height: 350px;
        width: 100%;
        max-width: 100%;
    }
    
    .valuation-chart {
        height: 220px;
        width: 100%;
        max-width: 100%;
    }
    
    .chart-container-large {
        height: 300px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .chart-controls {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
        max-width: 100%;
    }
    
    .chart-btn {
        width: 100%;
        max-width: 320px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .case-studies-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        width: 100%;
        max-width: 100%;
    }
    
    .formula-breakdown {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        width: 100%;
        max-width: 100%;
    }
    
    .interactive-charts-section {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .chart-card {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
        padding: 2rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-visual {
        height: 400px;
    }
    
    .main-chart-container {
        padding: 2rem;
        min-height: 400px;
    }
    
    .valuation-chart {
        height: 250px;
    }
    
    .chart-container-large {
        height: 400px;
    }
    
    .chart-controls {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .chart-btn {
        min-width: 180px;
    }
    
    .case-studies-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .formula-breakdown {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Large Devices (desktops, 1024px and up) */
@media (min-width: 1024px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
        padding: 3rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-visual {
        height: 500px;
    }
    
    .main-chart-container {
        padding: 2rem;
        min-height: 400px;
    }
    
    .valuation-chart {
        height: 250px;
    }
    
    .chart-container-large {
        height: 500px;
    }
    
    .chart-controls {
        flex-direction: row;
        gap: 1.5rem;
    }
    
    .case-studies-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
    
    .formula-breakdown {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .hero-content {
        gap: 4rem;
        padding: 4rem;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .chart-container-large {
        height: 600px;
    }
    
    .case-studies-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

/* Navigation Mobile Styles */
@media (max-width: 767px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left 0.3s ease;
        z-index: 1000;
        gap: 2rem;
        padding: 2rem;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        border-radius: 25px;
        transition: all 0.3s ease;
        display: block;
        text-align: center;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 300px;
        border: 1px solid transparent;
    }
    
    .nav-link:hover,
    .nav-link:focus {
        background: rgba(0, 212, 255, 0.1);
        color: var(--primary-color);
        border-color: rgba(0, 212, 255, 0.3);
        transform: translateY(-2px);
    }
    
    .nav-toggle {
        display: flex;
        flex-direction: column;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1001;
        gap: 4px;
        padding: 0.5rem;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .nav-toggle:hover {
        background: rgba(0, 212, 255, 0.1);
    }
    
    .nav-toggle span {
        width: 25px;
        height: 3px;
        background: var(--text-primary);
        transition: all 0.3s ease;
        border-radius: 2px;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Mobile navigation improvements */
    .nav-logo {
        z-index: 1001;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .chart-btn {
        min-height: 44px; /* iOS minimum touch target */
    }
    
    .cta-button {
        min-height: 48px; /* Android minimum touch target */
    }
    
    .case-study-card {
        min-height: 200px;
    }
    
    .floating-elements .element {
        display: none; /* Hide floating elements on touch devices */
    }
    
    .nav-link {
        min-height: 48px; /* Android minimum touch target */
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-cta {
        gap: 1rem;
    }
    
    .cta-button {
        min-width: 280px;
        justify-content: center;
    }
}

/* Mobile Landscape Orientation */
@media (max-width: 767px) and (orientation: landscape) {
    .hero-content {
        gap: 1rem;
        padding: 1rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-visual {
        height: 200px;
    }
    
    .main-chart-container {
        min-height: 250px;
    }
    
    .chart-container-large {
        height: 240px;
    }
}

/* Mobile Portrait Orientation */
@media (max-width: 767px) and (orientation: portrait) {
    .hero-content {
        gap: 2rem;
        padding: 1.5rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-visual {
        height: 300px;
    }
    
    .main-chart-container {
        min-height: 350px;
    }
    
    .chart-container-large {
        height: 280px;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .chart-container-large::before {
        background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.03), transparent);
    }
    
    .grid-line {
        background: rgba(0, 212, 255, 0.06);
    }
}

/* Print Styles */
@media print {
    .navbar, .floating-elements, .chart-controls, .hero-cta {
        display: none;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .chart-container-large {
        height: 300px;
        border: 1px solid #ccc;
    }
    
    .case-studies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Performance Optimizations */
@media (max-width: 767px) {
    /* Reduce animations on mobile for better performance */
    .floating-elements .element {
        animation-duration: 6s;
    }
    
    .hero-orbs .orb {
        animation-duration: 8s;
    }
    
    .data-streams .data-stream {
        animation-duration: 10s;
    }
    
    /* Optimize chart animations */
    .chart-line {
        animation-duration: 1.5s;
    }
    
    .point {
        animation-duration: 0.6s;
    }
    
    /* Reduce shadow complexity on mobile */
    .chart-card {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    
    .cta-button {
        box-shadow: 0 2px 10px rgba(0, 212, 255, 0.3);
    }
    
    /* Ensure charts are mobile responsive */
    .chart-container-large canvas {
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* Make chart titles more readable on mobile */
    .chart-card h4 {
        font-size: 1rem;
        line-height: 1.3;
        word-wrap: break-word;
        hyphens: auto;
        padding: 0 0.5rem;
    }
    
    /* Ensure chart controls don't overflow */
    .chart-controls-container {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }
    
    /* Make chart buttons more touch-friendly */
    .chart-btn {
        min-height: 44px;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* Mobile-specific improvements */
    .hero-background {
        background-attachment: scroll; /* Better mobile performance */
    }
    
    .grid-overlay {
        background-size: 30px 30px; /* Smaller grid for mobile */
        animation-duration: 30s; /* Slower animation for mobile */
    }
    
    .energy-waves {
        height: 100px; /* Smaller waves for mobile */
    }
    
    /* Better mobile spacing */
    .hero {
        padding: 1rem 0;
        min-height: 100vh;
    }
    
    /* Mobile-friendly floating elements */
    .floating-elements .element {
        display: none; /* Hide on mobile for better performance */
    }
    
    /* Mobile-optimized data streams */
    .data-streams .data-stream {
        opacity: 0.3; /* Reduce opacity for mobile */
    }
    
    /* Better mobile chart experience */
    .chart-container-large::before {
        display: none; /* Hide hover effects on mobile */
    }
    
    /* Mobile chart optimizations */
    .chart-container-large canvas {
        max-width: 100% !important;
        height: auto !important;
        border-radius: 8px;
    }
    
    /* Mobile chart legend improvements */
    .chart-card .chart-container-large canvas + div {
        font-size: 0.8rem;
        padding: 0.5rem;
    }
    
    /* Mobile chart title improvements */
    .chart-card h4 {
        font-size: 0.9rem !important;
        line-height: 1.2 !important;
        margin-bottom: 0.75rem !important;
        padding: 0 0.25rem !important;
    }
    
    /* Mobile-friendly formula display */
    .formula-display-large {
        padding: 1rem;
        border-radius: 15px;
    }
    
    /* Mobile analogy section */
    .analogy-section {
        padding: 2rem 1rem;
        margin: 2rem 0;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .analogy-content {
        flex-direction: column;
        gap: 2rem;
        width: 100%;
        max-width: 100%;
    }
    
    .analogy-visual {
        width: 100%;
        max-width: 280px;
        height: 120px;
        margin: 0 auto;
    }
    
    .analogy-text {
        min-width: auto;
        text-align: center;
        width: 100%;
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .analogy-text p {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    /* Mobile YouTube example */
    .youtube-example-section {
        padding: 2rem 1rem;
        margin: 2rem 0;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .example-content {
        width: 100%;
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .youtube-timeline {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 100%;
    }
    
    .timeline-arrow {
        transform: rotate(90deg);
    }
    
    .timeline-point {
        min-width: 200px;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .question-text {
        font-size: 1.1rem;
        line-height: 1.4;
    }
    
    .answer-text {
        font-size: 1rem;
    }
    
    .formula-main {
        font-size: 1.1rem;
        line-height: 1.4;
    }
    
    /* Mobile case study improvements */
    .case-study-card::before {
        height: 3px; /* Thinner line for mobile */
    }
    
    .case-study-card:hover {
        transform: none; /* Disable hover effects on mobile */
    }
}

/* Accessibility Improvements for Mobile */
@media (max-width: 767px) {
    /* Ensure sufficient color contrast */
    .hero-subtitle .highlight-text {
        color: var(--primary-color);
        font-weight: 600;
    }
    
    /* Improve button readability */
    .chart-btn {
        font-weight: 500;
        letter-spacing: 0.5px;
    }
    
    /* Better focus states for mobile */
    .cta-button:focus,
    .chart-btn:focus,
    .nav-link:focus {
        outline: 2px solid var(--primary-color);
        outline-offset: 2px;
        border-radius: 8px;
    }
    
    /* Improve text readability */
    .section-description {
        line-height: 1.6;
        max-width: 100%;
    }
    
    .case-study-card p {
        line-height: 1.5;
    }
    
    /* Mobile-specific accessibility */
    .hero-title {
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    }
    
    .hero-subtitle {
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    }
    
    /* Better mobile button states */
    .cta-button:active,
    .chart-btn:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    /* Mobile-friendly scroll behavior */
    html {
        scroll-behavior: smooth;
        scroll-padding-top: 80px; /* Account for fixed navbar */
    }
    
    /* Better mobile form elements */
    input, textarea, select {
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    /* Mobile-optimized animations */
    @media (prefers-reduced-motion: reduce) {
        * {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
    }
    
    /* Better mobile touch feedback */
    .cta-button,
    .chart-btn,
    .nav-link {
        -webkit-tap-highlight-color: rgba(0, 212, 255, 0.3);
        touch-action: manipulation;
    }
    
    /* Comprehensive mobile overflow fixes */
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .section {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    .container {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        padding: 0 1rem !important;
    }
    
    .analogy-section,
    .youtube-example-section,
    .formula-section {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .analogy-content,
    .example-content,
    .formula-container {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        padding: 0 1rem !important;
    }
    
    .formula-text {
        font-size: 1rem !important;
        line-height: 1.3 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
    }
    
    /* Compact mobile spacing */
    .hero-content {
        gap: 0.75rem !important;
        padding: 0.5rem !important;
        margin-top: 1rem !important;
    }
    
    .hero-title {
        font-size: 1.8rem !important;
        line-height: 1.2 !important;
        margin-bottom: 0.5rem !important;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
        line-height: 1.4 !important;
        margin-bottom: 1rem !important;
    }
    
    .hero-cta {
        gap: 0.75rem !important;
        margin-bottom: 1rem !important;
    }
    
    .cta-button {
        padding: 0.75rem 1.5rem !important;
        font-size: 0.9rem !important;
    }
    
    .hero-visual {
        height: 300px !important;
        margin-top: 1rem !important;
    }
    
    .main-chart-container {
        padding: 1rem !important;
        min-height: 250px !important;
    }
    
    .chart-header h3 {
        font-size: 1rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .valuation-chart {
        height: 180px !important;
    }
    
    /* Mobile-friendly spacing */
    .section {
        padding: 2rem 1rem !important;
    }
    
    .hero {
        padding: 1rem 0 !important;
        min-height: auto !important;
        margin-top: 0 !important;
        padding-top: 2rem !important;
    }
    
    .navbar {
        position: fixed !important;
        top: 0 !important;
        z-index: 1000 !important;
    }
    
    .hero-badge {
        margin-top: 4rem !important;
        margin-bottom: 1rem !important;
        padding: 0.5rem 1rem !important;
        font-size: 0.8rem !important;
        position: relative !important;
        z-index: 10 !important;
    }
    
    .scroll-indicator {
        margin-top: 1rem !important;
        padding: 0.5rem !important;
    }
    
    .section:first-of-type {
        padding-top: 5rem;
    }
    
    /* Mobile chart legend improvements */
    .chart-legend {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    .legend-item {
        font-size: 0.8rem;
        padding: 0.25rem 0.5rem;
    }
}

/* AOS Animations */
[data-aos] {
    opacity: 0;
    transition: all 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.8);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border-color);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Analogy Section */
.analogy-section {
    margin-top: 4rem;
    padding: 3rem 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(112, 0, 255, 0.05));
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.analogy-container {
    text-align: center;
}

.analogy-container h3 {
    color: var(--text-primary);
    font-size: 2rem;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.analogy-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.analogy-visual {
    position: relative;
    width: 300px;
    height: 150px;
    background: var(--bg-secondary);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.bowling-ball {
    position: absolute;
    top: 20px;
    left: 50px;
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, #8B4513 0%, #654321 100%);
    border-radius: 50%;
    animation: rollBall 3s ease-in-out infinite;
}

.mattress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 0 0 15px 15px;
}

.pressure-dip {
    position: absolute;
    bottom: 30px;
    left: 80px;
    width: 60px;
    height: 20px;
    background: rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    animation: pulseDip 2s ease-in-out infinite;
}

@keyframes rollBall {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(200px); }
}

@keyframes pulseDip {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

.analogy-text {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.analogy-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* YouTube Example Section */
.youtube-example-section {
    margin-top: 3rem;
    padding: 2rem 0;
}

.example-container {
    text-align: center;
}

.example-container h3 {
    color: var(--text-primary);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.example-content {
    max-width: 800px;
    margin: 0 auto;
}

.example-question {
    margin-bottom: 2rem;
}

.question-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.5;
}

.example-answer {
    margin-bottom: 2rem;
}

.answer-text {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 500;
}

.example-visual {
    margin-top: 2rem;
}

.youtube-timeline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.timeline-point {
    padding: 1rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    text-align: center;
    min-width: 120px;
}

.timeline-point.loss {
    background: rgba(220, 20, 60, 0.2);
    color: #dc143c;
    border: 1px solid rgba(220, 20, 60, 0.3);
}

.timeline-point.value {
    background: rgba(0, 212, 255, 0.2);
    color: var(--primary-color);
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.timeline-point.success {
    background: rgba(0, 255, 136, 0.2);
    color: var(--success-color);
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.timeline-arrow {
    width: 0;
    height: 0;
    border-left: 15px solid var(--primary-color);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    opacity: 0.6;
}

/* Formula Section */
.formula-section {
    margin-top: 4rem;
    padding: 3rem 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(112, 0, 255, 0.05));
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.formula-container {
    text-align: center;
}

.formula-container h3 {
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-size: 2rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.formula-display-large {
    max-width: 1000px;
    margin: 0 auto;
}

.formula-main {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    line-height: 1.5;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.formula-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 1s ease;
    z-index: -1;
}

.formula-main:hover::before {
    left: 100%;
}

.formula-f {
    color: var(--primary-color);
    font-size: 3rem;
}

.formula-psi {
    color: var(--secondary-color);
    font-size: 3rem;
}

.formula-p, .formula-r, .formula-t {
    color: var(--accent-color);
    font-weight: 800;
}

.formula-sigma {
    color: var(--success-color);
    font-size: 3rem;
}

.formula-s, .formula-w {
    color: var(--warning-color);
    font-weight: 800;
}

.formula-breakdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.formula-component {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
}

.formula-component:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--glow-primary);
}

.component-symbol {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.component-name {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.component-desc {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Contact Info Modal Styles */
.contact-info {
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.contact-info p {
    margin: 0;
    color: var(--text-primary);
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}
