/* Root Variables */
:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --text-primary: #e0e0e0;
    --text-secondary: #b0b0b0;
    --text-muted: #808080;
    --accent-primary: #00ff99;
    --accent-secondary: #00cc7a;
    --accent-tertiary: #004d2e;
    --border-color: #333333;
    --shadow-color: rgba(0, 255, 153, 0.1);
    --transition-speed: 0.3s;
    --border-radius: 8px;
    --max-width: 1200px;
    
    /* AI Page Violet Theme */
    --ai-accent: #4f46e5;
    --ai-accent-light: rgba(79, 70, 229, 0.3);
    --ai-accent-bright: #6366f1;
    --ai-shadow-color: rgba(79, 70, 229, 0.2);
    
    /* Emerging Tech Cyberpunk Theme */
    --emerging-accent: #e81cff;
    --emerging-accent-light: rgba(232, 28, 255, 0.2);
    --emerging-accent-bright: #ff59ff;
    --emerging-shadow-color: rgba(232, 28, 255, 0.3);
    
    /* EdTech Professional Soft Dark Theme */
    --edtech-bg: #1f1f21;
    --edtech-accent: #2563eb;
    --edtech-accent-light: rgba(37, 99, 235, 0.2);
    --edtech-accent-bright: #3b82f6;
    --edtech-shadow-color: rgba(37, 99, 235, 0.2);
    
    /* VFX Light Theme Color Accents */
    --vfx-accent-orange: #ff6b35;
    --vfx-accent-blue: #4a90e2;
    --vfx-accent-purple: #8b5cf6;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

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

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

/* Logo Styles */
.logo {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    transition: all var(--transition-speed) ease;
}

.logo-accent {
    color: var(--accent-primary);
    font-weight: 400;
}

.logo:hover {
    transform: translateY(-1px);
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.875rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all var(--transition-speed) ease;
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-primary);
    color: var(--bg-primary);
}

.btn-primary:hover {
    background-color: var(--accent-secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-color);
}

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

.btn-secondary:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-2px);
}

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

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
}

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

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

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

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

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

/* Mobile Navigation */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    transition: all var(--transition-speed) ease;
}

/* Hero + Opportunity Combined Section */
.hero-opportunity {
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.hero-opportunity::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, var(--accent-tertiary) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, var(--accent-tertiary) 0%, transparent 50%);
    opacity: 0.3;
}

.hero-section {
    text-align: center;
    position: relative;
    z-index: 1;
    margin-bottom: 6rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.opportunity-section {
    position: relative;
    z-index: 1;
}

.hero-title {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Brand Showcase */
.brand-showcase {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.domain-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-tertiary);
    border-radius: var(--border-radius);
    transition: all var(--transition-speed) ease;
}

.domain-item:hover {
    transform: translateX(8px);
    border-left: 4px solid var(--accent-primary);
}

.domain-extension {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    min-width: 60px;
}

.domain-label {
    color: var(--text-secondary);
    font-weight: 500;
}

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

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

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

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



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

.trifecta-card {
    background: var(--bg-tertiary);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
}

.trifecta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    transform: scaleX(0);
    transition: transform var(--transition-speed) ease;
}

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

.trifecta-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-icon {
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
}

.card-title {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

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

.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-tag {
    background: var(--accent-tertiary);
    color: var(--accent-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

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

.market-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
}

.market-card-primary {
    grid-column: span 1;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
}

.market-card-secondary {
    background: var(--bg-tertiary);
}

.market-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-primary) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
}

.market-card:hover::before,
.market-card-link:hover .market-card::before {
    opacity: 0.05;
}

.market-card:hover,
.market-card-link:hover .market-card {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 40px rgba(0, 255, 153, 0.1);
}

.card-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.card-icon-large {
    color: var(--accent-primary);
    flex-shrink: 0;
}

.card-icon {
    color: var(--accent-primary);
    flex-shrink: 0;
}

.market-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all var(--transition-speed) ease;
}

.card-link {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    transition: all var(--transition-speed) ease;
    position: relative;
    z-index: 1;
}

.market-card-link:hover .card-link {
    color: var(--accent-secondary);
    transform: translateX(4px);
}

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

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

.footer-brand .logo {
    margin-bottom: 0.5rem;
    display: block;
}

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

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

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color var(--transition-speed) ease;
}

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

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

.contact-email {
    color: var(--accent-primary);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 500;
    display: block;
    margin-bottom: 0.5rem;
    transition: color var(--transition-speed) ease;
}

.contact-email:hover {
    color: var(--accent-secondary);
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-primary);
        flex-direction: column;
        padding: 2rem;
        border-top: 1px solid var(--border-color);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-speed) ease;
    }

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

    .nav-toggle {
        display: flex;
    }

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

    .hero-cta {
        justify-content: center;
    }

    .brand-showcase {
        max-width: 400px;
        margin: 0 auto;
    }

    .trifecta-grid {
        grid-template-columns: 1fr;
    }

    .markets-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-nav {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .hero-opportunity {
        padding: 6rem 0 4rem;
    }

    section {
        padding: 4rem 0;
    }
}

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

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        min-width: 200px;
    }

    .trifecta-card,
    .market-card {
        padding: 1.5rem;
    }

    .card-header {
        flex-direction: column;
        text-align: center;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll Animations */
@media (prefers-reduced-motion: no-preference) {
    .hero-title,
    .hero-description,
    .hero-cta {
        animation: fadeInUp 0.8s ease-out;
    }

    .hero-description {
        animation-delay: 0.2s;
    }

    .hero-cta {
        animation-delay: 0.4s;
    }
}

/* Focus Styles for Accessibility */
.nav-link:focus,
.btn:focus,
.card-link:focus,
.contact-email:focus {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --text-primary: #ffffff;
        --text-secondary: #cccccc;
        --border-color: #666666;
    }
}

/* FinTech Page Styles */
.fintech-hero {
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.fintech-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 40%, var(--accent-tertiary) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, var(--accent-tertiary) 0%, transparent 50%);
    opacity: 0.2;
}

.fintech-hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.fintech-hero-content {
    max-width: 600px;
}

.fintech-hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.fintech-hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.fintech-features {
    margin-bottom: 3rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-tertiary);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: all var(--transition-speed) ease;
}

.feature-item:hover {
    border-color: var(--accent-primary);
    transform: translateX(8px);
}

.feature-icon {
    color: var(--accent-primary);
    flex-shrink: 0;
}

.feature-item span {
    color: var(--text-primary);
    font-weight: 400;
}

.feature-item strong {
    color: var(--accent-primary);
    font-weight: 600;
}

.fintech-cta {
    text-align: left;
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
}

/* FinTech Visual - Stock Chart */
.fintech-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.stock-chart {
    width: 100%;
    max-width: 400px;
}

.chart-container {
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.chart-svg {
    width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
}

.price-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 3s ease-in-out forwards;
}

.data-point {
    opacity: 0;
    animation: fadeInPoint 0.5s ease-in-out forwards;
}

.data-point:nth-child(3) { animation-delay: 0.5s; }
.data-point:nth-child(4) { animation-delay: 1s; }
.data-point:nth-child(5) { animation-delay: 1.5s; }
.data-point:nth-child(6) { animation-delay: 2s; }
.data-point:nth-child(7) { animation-delay: 2.5s; }
.data-point:nth-child(8) { animation-delay: 3s; }

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

.label-item {
    text-align: center;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.label-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 0.25rem;
}

.label-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Animations */
@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes fadeInPoint {
    to {
        opacity: 1;
    }
}

/* Responsive Design for FinTech Page */
@media (max-width: 768px) {
    .fintech-hero .container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .fintech-hero {
        padding: 6rem 0 4rem;
    }
    
    .fintech-cta {
        text-align: center;
    }
    
    .chart-labels {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .chart-container {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .feature-item {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* AI Analytics Page Styles */
.logo-accent-ai {
    color: var(--ai-accent);
    font-weight: 400;
}

.ai-hero {
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.ai-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 25% 25%, var(--ai-accent-light) 0%, transparent 50%),
                radial-gradient(circle at 75% 75%, var(--ai-accent-light) 0%, transparent 50%);
    opacity: 0.4;
}

.ai-hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.ai-hero-content {
    max-width: 600px;
}

.ai-hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.ai-hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.ai-cta {
    text-align: left;
}

.ai-cta-btn {
    background-color: var(--ai-accent);
    border-color: var(--ai-accent);
    color: white;
}

.ai-cta-btn:hover {
    background-color: var(--ai-accent-bright);
    border-color: var(--ai-accent-bright);
    box-shadow: 0 8px 25px var(--ai-shadow-color);
}

/* AI Data Network Visualization */
.ai-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.data-network {
    width: 100%;
    max-width: 450px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
}

.network-svg {
    width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
}

.central-node {
    animation: centralPulse 2s ease-in-out infinite;
}

.data-node {
    animation: nodePulse 3s ease-in-out infinite;
}

.data-node.node-1 { animation-delay: 0s; }
.data-node.node-2 { animation-delay: 0.5s; }
.data-node.node-3 { animation-delay: 1s; }
.data-node.node-4 { animation-delay: 1.5s; }
.data-node.node-5 { animation-delay: 2s; }

.insight-node {
    animation: insightPulse 2.5s ease-in-out infinite;
}

.insight-node.out-1 { animation-delay: 0.2s; }
.insight-node.out-2 { animation-delay: 0.6s; }
.insight-node.out-3 { animation-delay: 1s; }
.insight-node.out-4 { animation-delay: 1.4s; }

.connection-line {
    animation: lineFlow 4s ease-in-out infinite;
}

.data-particle {
    filter: drop-shadow(0 0 4px var(--ai-accent-bright));
}

.process-labels {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem;
    align-items: center;
}

.label-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-labels {
    text-align: left;
}

.center-label {
    text-align: center;
}

.output-labels {
    text-align: right;
}

.process-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
    padding: 0.375rem 0.75rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.process-label.main {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ai-accent);
    border-color: var(--ai-accent);
    background: var(--ai-accent-light);
}

/* AI Animations */
@keyframes centralPulse {
    0%, 100% { 
        transform: scale(1);
        filter: drop-shadow(0 0 8px var(--ai-accent));
    }
    50% { 
        transform: scale(1.1);
        filter: drop-shadow(0 0 16px var(--ai-accent));
    }
}

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

@keyframes insightPulse {
    0%, 100% { 
        opacity: 0.8;
        transform: scale(1);
        filter: drop-shadow(0 0 4px var(--ai-accent-bright));
    }
    50% { 
        opacity: 1;
        transform: scale(1.08);
        filter: drop-shadow(0 0 8px var(--ai-accent-bright));
    }
}

@keyframes lineFlow {
    0%, 100% { 
        opacity: 0.4;
    }
    50% { 
        opacity: 0.8;
    }
}

/* Responsive Design for AI Page */
@media (max-width: 768px) {
    .ai-hero .container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .ai-hero {
        padding: 6rem 0 4rem;
    }
    
    .ai-cta {
        text-align: center;
    }
    
    .process-labels {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .input-labels,
    .output-labels {
        text-align: center;
    }
    
    .data-network {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .process-label {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
    
    .network-svg {
        height: 250px;
    }
}

/* Emerging Tech Page Styles */
.logo-accent-emerging {
    color: var(--emerging-accent);
    font-weight: 400;
}

.emerging-hero {
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.emerging-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, var(--emerging-accent-light) 0%, transparent 60%),
                radial-gradient(circle at 80% 70%, var(--emerging-accent-light) 0%, transparent 60%),
                linear-gradient(45deg, transparent 30%, var(--emerging-accent-light) 50%, transparent 70%);
    opacity: 0.6;
    animation: cyberpunkShift 8s ease-in-out infinite;
}

.emerging-hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.emerging-hero-content {
    max-width: 600px;
}

.emerging-hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 0 20px var(--emerging-accent-light);
}

.emerging-hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.emerging-cta {
    text-align: left;
}

.emerging-cta-btn {
    background-color: var(--emerging-accent);
    border-color: var(--emerging-accent);
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 20px var(--emerging-accent-light);
}

.emerging-cta-btn:hover {
    background-color: var(--emerging-accent-bright);
    border-color: var(--emerging-accent-bright);
    box-shadow: 0 8px 25px var(--emerging-shadow-color);
    transform: translateY(-2px) scale(1.02);
}

/* Digital Landscape Visualization */
.emerging-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.digital-landscape {
    width: 100%;
    max-width: 450px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--emerging-accent);
    box-shadow: 0 8px 32px var(--emerging-shadow-color);
    position: relative;
    overflow: hidden;
}

.digital-landscape::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, var(--emerging-accent-light), transparent);
    opacity: 0.1;
    animation: scanLine 3s linear infinite;
}

.wireframe-svg {
    width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px var(--emerging-accent-light));
}

/* Wireframe Animations */
.nexus-shape {
    animation: nexusRotate 6s linear infinite;
    transform-origin: 200px 120px;
}

.nexus-core {
    animation: coreGlow 2s ease-in-out infinite;
}

.hex-1, .hex-2, .hex-3, .hex-4 {
    animation: hexFloat 4s ease-in-out infinite;
}

.hex-1 { animation-delay: 0s; }
.hex-2 { animation-delay: 1s; }
.hex-3 { animation-delay: 2s; }
.hex-4 { animation-delay: 3s; }

.data-streams path {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: streamFlow 4s ease-in-out infinite;
}

.stream-1 { animation-delay: 0s; }
.stream-2 { animation-delay: 0.5s; }
.stream-3 { animation-delay: 1s; }
.stream-4 { animation-delay: 1.5s; }

.floating-nodes circle {
    animation: nodeFloat 3s ease-in-out infinite;
}

.node-1 { animation-delay: 0s; }
.node-2 { animation-delay: 0.5s; }
.node-3 { animation-delay: 1s; }
.node-4 { animation-delay: 1.5s; }
.node-5 { animation-delay: 2s; }
.node-6 { animation-delay: 2.5s; }

.energy-pulses circle {
    animation: energyPulse 2s ease-out infinite;
}

.pulse-1 { animation-delay: 0s; }
.pulse-2 { animation-delay: 0.3s; }
.pulse-3 { animation-delay: 0.6s; }

.x-factor {
    animation: xFactorGlow 3s ease-in-out infinite;
}

.x-line-1, .x-line-2 {
    stroke-dasharray: 30;
    stroke-dashoffset: 30;
    animation: xLineDraw 2s ease-in-out infinite;
}

.x-line-2 { animation-delay: 0.5s; }

/* Tech Labels */
.tech-labels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.tech-label-item {
    text-align: center;
    opacity: 0;
    animation: labelAppear 0.5s ease-out forwards;
}

.web3 { animation-delay: 0.2s; }
.arvr { animation-delay: 0.4s; }
.quantum { animation-delay: 0.6s; }
.blockchain { animation-delay: 0.8s; }
.iot { animation-delay: 1s; }
.deeptech { animation-delay: 1.2s; }

.label-tech {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--emerging-accent);
    padding: 0.5rem 0.75rem;
    background: var(--emerging-accent-light);
    border-radius: 8px;
    border: 1px solid var(--emerging-accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 0 10px var(--emerging-accent-light);
}

.label-tech:hover {
    background: var(--emerging-accent);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--emerging-accent);
}

/* Cyberpunk Animations */
@keyframes cyberpunkShift {
    0%, 100% { 
        transform: translateX(0) translateY(0);
    }
    25% { 
        transform: translateX(2px) translateY(-1px);
    }
    50% { 
        transform: translateX(-1px) translateY(2px);
    }
    75% { 
        transform: translateX(1px) translateY(1px);
    }
}

@keyframes scanLine {
    0% { 
        transform: translateX(-100%) skewX(-15deg);
    }
    100% { 
        transform: translateX(100%) skewX(-15deg);
    }
}

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

@keyframes coreGlow {
    0%, 100% { 
        filter: drop-shadow(0 0 5px var(--emerging-accent));
        transform: scale(1);
    }
    50% { 
        filter: drop-shadow(0 0 15px var(--emerging-accent-bright));
        transform: scale(1.2);
    }
}

@keyframes hexFloat {
    0%, 100% { 
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }
    50% { 
        transform: translateY(-3px) scale(1.05);
        opacity: 1;
    }
}

@keyframes streamFlow {
    0%, 100% { 
        stroke-dashoffset: 100;
        opacity: 0.3;
    }
    50% { 
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

@keyframes nodeFloat {
    0%, 100% { 
        transform: translateY(0) scale(1);
        opacity: 0.8;
    }
    50% { 
        transform: translateY(-2px) scale(1.1);
        opacity: 1;
    }
}

@keyframes energyPulse {
    0% { 
        r: 10;
        opacity: 0.6;
    }
    100% { 
        r: 60;
        opacity: 0;
    }
}

@keyframes xFactorGlow {
    0%, 100% { 
        filter: drop-shadow(0 0 5px var(--emerging-accent-bright));
    }
    50% { 
        filter: drop-shadow(0 0 20px var(--emerging-accent-bright));
    }
}

@keyframes xLineDraw {
    0%, 100% { 
        stroke-dashoffset: 30;
        opacity: 0.6;
    }
    50% { 
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

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

/* Responsive Design for Emerging Tech Page */
@media (max-width: 768px) {
    .emerging-hero .container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .emerging-hero {
        padding: 6rem 0 4rem;
    }
    
    .emerging-cta {
        text-align: center;
    }
    
    .tech-labels {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .digital-landscape {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .tech-labels {
        grid-template-columns: 1fr;
    }
    
    .label-tech {
        font-size: 0.75rem;
        padding: 0.375rem 0.5rem;
    }
    
    .wireframe-svg {
        height: 250px;
    }
}

/* EdTech Page Styles */
.logo-accent-edtech {
    color: var(--edtech-accent);
    font-weight: 400;
}

.edtech-hero {
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, var(--edtech-bg) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.edtech-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, var(--edtech-accent-light) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, var(--edtech-accent-light) 0%, transparent 50%);
    opacity: 0.4;
}

.edtech-hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.edtech-hero-content {
    max-width: 600px;
}

.edtech-hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.edtech-hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.edtech-cta {
    text-align: left;
}

.edtech-cta-btn {
    background-color: var(--edtech-accent);
    border-color: var(--edtech-accent);
    color: white;
}

.edtech-cta-btn:hover {
    background-color: var(--edtech-accent-bright);
    border-color: var(--edtech-accent-bright);
    box-shadow: 0 8px 25px var(--edtech-shadow-color);
}

/* Learning Progress Visualization */
.edtech-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.learning-progress {
    width: 100%;
    max-width: 450px;
}

.progress-container {
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

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

.progress-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.progress-subtitle {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.progress-modules {
    margin-bottom: 2rem;
}

.module-item {
    margin-bottom: 1.5rem;
}

.module-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.module-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
}

.module-score {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--edtech-accent);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-secondary);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--edtech-accent), var(--edtech-accent-bright));
    border-radius: 4px;
    transition: width 1.5s ease-out;
    animation: progressGrow 2s ease-out;
}

.progress-87 { width: 87%; animation-delay: 0.2s; }
.progress-94 { width: 94%; animation-delay: 0.4s; }
.progress-72 { width: 72%; animation-delay: 0.6s; }
.progress-89 { width: 89%; animation-delay: 0.8s; }
.progress-91 { width: 91%; animation-delay: 1s; }

.overall-performance {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.performance-metric {
    text-align: center;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--edtech-accent);
    margin-bottom: 0.25rem;
}

.metric-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.learning-insights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.insight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--edtech-accent-light);
    border-radius: 8px;
    border: 1px solid var(--edtech-accent);
}

.insight-icon {
    color: var(--edtech-accent);
    flex-shrink: 0;
}

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

/* EdTech Animations */
@keyframes progressGrow {
    0% {
        width: 0%;
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}

/* Responsive Design for EdTech Page */
@media (max-width: 768px) {
    .edtech-hero .container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .edtech-hero {
        padding: 6rem 0 4rem;
    }
    
    .edtech-cta {
        text-align: center;
    }
    
    .overall-performance {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .progress-container {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .module-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .insight-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .progress-container {
        padding: 1rem;
    }
}

/* VFX Light Theme - Scoped under .theme-light */
.theme-light {
    background-color: #efeffe;
    color: #111111;
}

.theme-light .header {
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #e5e5e5;
}

.theme-light .logo-accent-vfx {
    color: #111111;
    font-weight: 400;
}

.theme-light .nav-link {
    color: #666666;
}

.theme-light .nav-link:hover,
.theme-light .nav-link.contact-link {
    color: #111111;
}

.theme-light .nav-link::after {
    background-color: #111111;
}

.theme-light .nav-toggle span {
    background-color: #111111;
}

.theme-light .vfx-hero {
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.theme-light .vfx-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(17, 17, 17, 0.02) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(17, 17, 17, 0.02) 0%, transparent 50%);
    opacity: 1;
}

.theme-light .vfx-hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.theme-light .vfx-hero-content {
    max-width: 600px;
}

.theme-light .vfx-hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #111111;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.theme-light .vfx-hero-description {
    font-size: 1.125rem;
    color: #555555;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.theme-light .vfx-cta {
    text-align: left;
}

.theme-light .vfx-cta-btn {
    background-color: #111111;
    border-color: #111111;
    color: white;
}

.theme-light .vfx-cta-btn:hover {
    background-color: #333333;
    border-color: #333333;
    box-shadow: 0 8px 25px rgba(17, 17, 17, 0.2);
}

/* Abstract Art Visualization */
.theme-light .vfx-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.theme-light .abstract-art {
    width: 100%;
    max-width: 450px;
}

.theme-light .art-svg {
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
}

.theme-light .art-line {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: drawArtLine 3s ease-in-out forwards;
}

.theme-light .line-1 { animation-delay: 0.5s; stroke: var(--vfx-accent-orange); }
.theme-light .line-2 { animation-delay: 1s; stroke: var(--vfx-accent-blue); }
.theme-light .line-3 { animation-delay: 1.5s; }
.theme-light .line-4 { animation-delay: 2s; }
.theme-light .line-5 { animation-delay: 2.5s; stroke: var(--vfx-accent-purple); }
.theme-light .line-6 { animation-delay: 3s; stroke: var(--vfx-accent-blue); }

.theme-light .art-shape {
    animation: fadeInShape 0.8s ease-out forwards;
}

.theme-light .shape-1 { animation-delay: 3.5s; fill: var(--vfx-accent-orange); }
.theme-light .shape-2 { animation-delay: 4s; fill: var(--vfx-accent-purple); }
.theme-light .shape-3 { animation-delay: 4.5s; fill: var(--vfx-accent-blue); }

.theme-light .art-signature {
    animation: fadeInShape 1s ease-out forwards;
    animation-delay: 5s;
}

.theme-light .process-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    animation: fadeInFlow 1s ease-out forwards;
    animation-delay: 6s;
}

.theme-light .flow-item {
    text-align: center;
}

.theme-light .flow-number {
    width: 32px;
    height: 32px;
    border: 2px solid #111111;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #111111;
    margin-bottom: 0.5rem;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease;
}

.theme-light .flow-item:nth-child(1) .flow-number {
    border-color: var(--vfx-accent-orange);
    color: var(--vfx-accent-orange);
}

.theme-light .flow-item:nth-child(3) .flow-number {
    border-color: var(--vfx-accent-blue);
    color: var(--vfx-accent-blue);
}

.theme-light .flow-item:nth-child(5) .flow-number {
    border-color: var(--vfx-accent-purple);
    color: var(--vfx-accent-purple);
}

.theme-light .flow-item:nth-child(7) .flow-number {
    border-color: var(--vfx-accent-orange);
    color: var(--vfx-accent-orange);
}

.theme-light .flow-label {
    font-size: 0.75rem;
    color: #666666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.theme-light .flow-connector {
    width: 24px;
    height: 1px;
    background-color: #cccccc;
    margin-top: -8px;
}

/* Footer Overrides for Light Theme */
.theme-light .footer {
    background-color: #f8f9fa;
    border-top: 1px solid #e5e5e5;
    color: #111111;
}

.theme-light .footer-brand .logo {
    color: #111111;
}

.theme-light .footer-brand .logo .logo-accent {
    color: #111111;
}

.theme-light .footer-tagline {
    color: #666666;
}

.theme-light .footer-contact h4 {
    color: #111111;
}

.theme-light .contact-email {
    color: #111111;
}

.theme-light .contact-email:hover {
    color: #333333;
}

.theme-light .footer-note {
    color: #666666;
}

.theme-light .footer-bottom {
    border-top: 1px solid #e5e5e5;
    color: #666666;
}

/* VFX Light Theme Animations */
@keyframes drawArtLine {
    0% {
        stroke-dashoffset: 200;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    100% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

@keyframes fadeInShape {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

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

/* Light Theme Responsive Design */
@media (max-width: 768px) {
    .theme-light .vfx-hero .container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .theme-light .vfx-hero {
        padding: 6rem 0 4rem;
    }
    
    .theme-light .vfx-cta {
        text-align: center;
    }
    
    .theme-light .process-flow {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .theme-light .flow-connector {
        display: none;
    }
}

@media (max-width: 480px) {
    .theme-light .process-flow {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        display: grid;
    }
    
    .theme-light .flow-number {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }
    
    .theme-light .flow-label {
        font-size: 0.7rem;
    }
}
