/* Theme Architecture - Dark Mode (Default) */
:root[data-theme="dark"] {
    --cyan: #00F0FF;
    --magenta: #FF006E;
    --purple: #8B00FF;
    --lime: #CCFF00;
    --navy: #0A0E27;
    --bg-primary: #0A0E27;
    --bg-secondary: #1a1f3a;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-tertiary: rgba(255, 255, 255, 0.5);
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --grid-color: #00F0FF;
    --grid-opacity: 0.15;
    --particle-glow: 10px;
    --gradient-opacity: 0.4;
}

/* Theme Architecture - Light Mode */
:root[data-theme="light"] {
    --cyan: #0099AA;
    --magenta: #CC0055;
    --purple: #6600CC;
    --lime: #88CC00;
    --navy: #F5F7FA;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F5F7FA;
    --text-primary: #0A0E27;
    --text-secondary: rgba(10, 14, 39, 0.8);
    --text-tertiary: rgba(10, 14, 39, 0.5);
    --glass: rgba(10, 14, 39, 0.03);
    --glass-border: rgba(10, 14, 39, 0.1);
    --grid-color: #0099AA;
    --grid-opacity: 0.08;
    --particle-glow: 5px;
    --gradient-opacity: 0.15;
}

/* Default to dark theme if no data-theme attribute */
:root {
    --cyan: #00F0FF;
    --magenta: #FF006E;
    --purple: #8B00FF;
    --lime: #CCFF00;
    --navy: #0A0E27;
    --bg-primary: #0A0E27;
    --bg-secondary: #1a1f3a;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-tertiary: rgba(255, 255, 255, 0.5);
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --grid-color: #00F0FF;
    --grid-opacity: 0.15;
    --particle-glow: 10px;
    --gradient-opacity: 0.4;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 2rem;
    background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
    overflow: hidden;
    transition: background 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animated Gradient Background */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 20% 80%, var(--purple) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, var(--cyan) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, var(--magenta) 0%, transparent 50%);
    opacity: var(--gradient-opacity);
    animation: gradientShift 15s ease-in-out infinite;
    transform: translateZ(0);
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes gradientShift {
    0%, 100% {
        transform: rotate(0deg) scale(1);
        opacity: var(--gradient-opacity);
    }
    25% {
        transform: rotate(90deg) scale(1.1);
        opacity: calc(var(--gradient-opacity) * 1.25);
    }
    50% {
        transform: rotate(180deg) scale(1);
        opacity: calc(var(--gradient-opacity) * 0.75);
    }
    75% {
        transform: rotate(270deg) scale(1.1);
        opacity: calc(var(--gradient-opacity) * 1.25);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.5; }
}

/* Floating Particles Container */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--cyan);
    border-radius: 50%;
    opacity: 0.6;
    animation: float 20s infinite linear;
    box-shadow: 0 0 var(--particle-glow) var(--cyan);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.particle:nth-child(odd) {
    background: var(--magenta);
    box-shadow: 0 0 var(--particle-glow) var(--magenta);
    animation-duration: 25s;
}

.particle:nth-child(3n) {
    background: var(--lime);
    box-shadow: 0 0 var(--particle-glow) var(--lime);
    animation-duration: 30s;
}

@keyframes float {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100vh) translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

/* Neural Network Connections */
.neural-network {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.2;
    pointer-events: none;
}

.connection {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    transform-origin: left center;
    animation: connectionPulse 3s ease-in-out infinite;
    transition: background 0.3s ease;
}

@keyframes connectionPulse {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.4; }
}

/* Main Content Container */
.content-container {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Theme Toggle Switch */
.theme-toggle {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 1000;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    overflow: hidden;
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px var(--cyan);
}

.theme-toggle:active {
    transform: scale(0.95);
}

.theme-toggle-wrapper {
    width: 60px;
    height: 30px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5px;
}

.theme-toggle-slider {
    position: absolute;
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    left: 2px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.theme-toggle-slider::before {
    content: '🌙';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    transition: all 0.3s ease;
}

[data-theme="light"] .theme-toggle-slider {
    left: 32px;
    background: linear-gradient(135deg, var(--lime), var(--magenta));
}

[data-theme="light"] .theme-toggle-slider::before {
    content: '☀️';
}

.theme-icon {
    font-size: 14px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.theme-icon.moon {
    color: var(--cyan);
}

.theme-icon.sun {
    color: var(--lime);
}

[data-theme="dark"] .theme-icon.moon {
    opacity: 1;
}

[data-theme="light"] .theme-icon.sun {
    opacity: 1;
}

/* Theme toggle ripple effect */
.theme-ripple {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--cyan), transparent);
    transform: scale(0);
    animation: themeRipple 0.6s ease-out;
    pointer-events: none;
}

@keyframes themeRipple {
    to {
        transform: scale(20);
        opacity: 0;
    }
}

/* Headlines with Glitch Effect */
h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--cyan), var(--purple), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: glitchText 10s infinite;
    text-shadow: 0 0 30px rgba(0, 240, 255, 0.5);
}

h1::before,
h1::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--cyan), var(--purple), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h1::before {
    animation: glitch1 0.5s infinite;
    color: var(--cyan);
    z-index: -1;
}

h1::after {
    animation: glitch2 0.5s infinite;
    color: var(--magenta);
    z-index: -2;
}

@keyframes glitchText {
    0%, 100% { text-shadow: 0 0 30px rgba(0, 240, 255, 0.5), 0 0 20px rgba(139, 0, 255, 0.3); }
    25% { text-shadow: -2px 0 var(--purple), 2px 0 var(--cyan); }
    50% { text-shadow: 2px 0 var(--purple), -2px 0 var(--cyan); }
    75% { text-shadow: 0 0 30px rgba(139, 0, 255, 0.5), 0 0 20px rgba(0, 240, 255, 0.3); }
}

@keyframes glitch1 {
    0%, 100% { clip-path: inset(0 0 0 0); }
    20% { clip-path: inset(20% 0 30% 0); transform: translateX(2px); }
    40% { clip-path: inset(50% 0 20% 0); transform: translateX(-2px); }
    60% { clip-path: inset(10% 0 60% 0); transform: translateX(1px); }
    80% { clip-path: inset(80% 0 5% 0); transform: translateX(-1px); }
}

@keyframes glitch2 {
    0%, 100% { clip-path: inset(0 0 0 0); }
    20% { clip-path: inset(60% 0 10% 0); transform: translateX(-2px); }
    40% { clip-path: inset(20% 0 50% 0); transform: translateX(2px); }
    60% { clip-path: inset(30% 0 40% 0); transform: translateX(-1px); }
    80% { clip-path: inset(5% 0 80% 0); transform: translateX(1px); }
}

.subheadline {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out;
    transition: color 0.3s ease;
}

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

/* Value Proposition Cards Section */
.value-props {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    transform: translateZ(0);
    animation: breathe 4s ease-in-out infinite;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--cyan), var(--magenta), var(--purple), var(--lime));
    border-radius: 20px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
    animation: neonRotate 3s linear infinite;
}

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

@keyframes breathe {
    0%, 100% { transform: scale(1) translateZ(0); }
    50% { transform: scale(1.02) translateZ(0); }
}

.card:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg) scale(1.05);
    box-shadow: 0 20px 60px rgba(0, 240, 255, 0.4),
                0 0 100px rgba(255, 0, 110, 0.2);
}

.card:hover::before {
    opacity: 0.7;
}

.card:nth-child(1) {
    animation-delay: 0s;
}

.card:nth-child(2) {
    animation-delay: 0.2s;
}

.card:nth-child(3) {
    animation-delay: 0.4s;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--cyan);
    text-shadow: 0 0 20px currentColor;
    transition: color 0.3s ease;
}

.card p {
    color: var(--text-secondary);
    line-height: 1.6;
    transition: color 0.3s ease;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    margin-top: 2rem;
    background: linear-gradient(135deg, var(--magenta), var(--purple));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 30px rgba(255, 0, 110, 0.5);
    animation: ctaPulse 2s ease-in-out infinite;
    transform: translateZ(0);
    cursor: pointer;
}

[data-theme="light"] .cta-button {
    color: white;
}

@keyframes ctaPulse {
    0%, 100% {
        box-shadow: 0 0 30px rgba(255, 0, 110, 0.5),
                   0 0 60px rgba(139, 0, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 50px rgba(255, 0, 110, 0.8),
                   0 0 80px rgba(139, 0, 255, 0.5);
    }
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover {
    transform: scale(1.05) translateZ(0);
    box-shadow: 0 0 60px rgba(255, 0, 110, 1),
               0 0 100px rgba(139, 0, 255, 0.6);
}

.cta-button:active::before {
    width: 300px;
    height: 300px;
}

/* Grid Background */
.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: var(--grid-opacity);
    background-image:
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 10s linear infinite;
    transform: translateZ(0);
    transition: opacity 0.3s ease;
}

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

/* Light Trails */
.light-trail {
    position: absolute;
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--lime), transparent);
    opacity: 0.6;
    animation: trailMove 3s linear infinite;
    transform: translateZ(0);
    transition: background 0.3s ease;
}

@keyframes trailMove {
    0% {
        transform: translateY(-100px) translateX(0);
        opacity: 0;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(100vh) translateX(50px);
        opacity: 0;
    }
}

/* Footer */
footer {
    padding: 2rem;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    background: var(--glass);
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease, border-color 0.3s ease;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    animation: scanline 3s linear infinite;
}

@keyframes scanline {
    0% { left: -100%; }
    100% { left: 100%; }
}

.footer-tagline {
    color: var(--lime);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px currentColor;
    transition: color 0.3s ease;
}

.copyright {
    color: var(--text-tertiary);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

/* Logo Styling */
.logo {
    max-width: 700px;
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
    display: block;
}

/* Capability Option Hover Effects */
.capability-option {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.capability-option:hover {
    transform: translateX(5px) scale(1.02);
    background: rgba(0, 240, 255, 0.1) !important;
    box-shadow: 0 5px 20px rgba(0, 240, 255, 0.3);
}

.capability-option:hover .capability-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 30px currentColor !important;
}

.capability-icon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Responsive Design */
/* Extra small devices (phones, less than 576px) */
@media (max-width: 575px) {
    .hero {
        padding: 1rem;
        min-height: 100vh;
    }

    .logo {
        max-width: 280px;
    }

    h1 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .subheadline {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .card {
        padding: 1.5rem;
    }

    .card h3 {
        font-size: 1.25rem;
    }

    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .particle {
        width: 2px;
        height: 2px;
    }

    .theme-toggle {
        top: 0.75rem;
        right: 0.75rem;
        padding: 0.35rem;
    }

    .theme-toggle-wrapper {
        width: 50px;
        height: 25px;
    }

    .theme-toggle-slider {
        width: 22px;
        height: 22px;
    }

    [data-theme="light"] .theme-toggle-slider {
        left: 26px;
    }

    .value-props {
        padding: 2rem 1rem;
    }

    .grid-bg {
        background-size: 30px 30px;
    }

    footer {
        padding: 1.5rem 1rem;
    }

    .footer-tagline {
        font-size: 0.9rem;
    }

    .copyright {
        font-size: 0.8rem;
    }

    .capabilities-showcase {
        padding: 3rem 1rem !important;
    }

    .capabilities-showcase > div > div:first-child {
        margin-bottom: 2rem !important;
    }

    .capabilities-showcase > div > div:first-child h2 {
        font-size: 1.75rem !important;
    }

    .capabilities-showcase > div > div:first-child p {
        font-size: 1rem !important;
    }

    .capabilities-showcase > div > div:nth-child(2) {
        padding: 1.5rem !important;
    }

    .capabilities-showcase > div > div:nth-child(2) > div:nth-child(3) {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .capabilities-showcase > div > div:nth-child(2) > div:nth-child(3) > div:first-child {
        display: none;
    }

    .capabilities-showcase > div > div:nth-child(2) > div:nth-child(3) > div:last-child h3 {
        font-size: 1.5rem !important;
    }

    .capabilities-showcase > div > div:nth-child(2) > div:nth-child(3) > div:last-child p {
        font-size: 1rem !important;
    }

    .capabilities-showcase > div > div:nth-child(2) > div:nth-child(3) > div:last-child a {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem !important;
        font-size: 1rem !important;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767px) {
    .hero {
        padding: 1.5rem;
    }

    .logo {
        max-width: 400px;
    }

    h1 {
        font-size: 1.75rem;
    }

    .subheadline {
        font-size: 1rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cta-button {
        padding: 0.95rem 2.5rem;
        font-size: 1rem;
    }

    .theme-toggle {
        top: 1rem;
        right: 1rem;
    }

    .value-props {
        padding: 3rem 1.5rem;
    }

    .particle {
        width: 2px;
        height: 2px;
    }

    .capabilities-showcase {
        padding: 4rem 1.5rem !important;
    }

    .capabilities-showcase > div > div:nth-child(2) > div:nth-child(3) {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .capabilities-showcase > div > div:nth-child(2) > div:nth-child(3) > div:first-child {
        display: none;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991px) {
    .hero {
        padding: 2rem;
    }

    .logo {
        max-width: 500px;
    }

    h1 {
        font-size: 2.25rem;
    }

    .subheadline {
        font-size: 1.15rem;
    }

    .cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.75rem;
    }

    .cta-button {
        padding: 1rem 2.75rem;
    }

    .value-props {
        padding: 3.5rem 2rem;
    }

    .particle {
        width: 3px;
        height: 3px;
    }

    .capabilities-showcase {
        padding: 4.5rem 2rem !important;
    }

    .capabilities-showcase > div > div:nth-child(2) > div:nth-child(3) {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }

    .capabilities-showcase > div > div:nth-child(2) > div:nth-child(3) > div:first-child > div {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199px) {
    .logo {
        max-width: 600px;
    }

    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .cta-button {
        min-height: 48px;
        min-width: 48px;
    }

    .theme-toggle {
        min-height: 44px;
        min-width: 44px;
    }

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

/* Landscape orientation optimization for small devices */
@media (max-width: 767px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 2rem 1rem;
    }

    .logo {
        max-width: 300px;
        margin-bottom: 1rem;
    }

    h1 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .subheadline {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .particle,
    .light-trail {
        display: none;
    }
}

/* High resolution displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Animation Classes for Scroll Effects */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations */
.fade-in:nth-child(1) { transition-delay: 0.1s; }
.fade-in:nth-child(2) { transition-delay: 0.2s; }
.fade-in:nth-child(3) { transition-delay: 0.3s; }

/* Parallax Layers */
.parallax-layer {
    position: absolute;
    width: 110%;
    height: 110%;
    top: -5%;
    left: -5%;
}

.parallax-layer.layer-1 {
    opacity: 0.1;
    animation: parallaxDrift 20s ease-in-out infinite;
}

.parallax-layer.layer-2 {
    opacity: 0.05;
    animation: parallaxDrift 30s ease-in-out infinite reverse;
}

@keyframes parallaxDrift {
    0%, 100% { transform: translateX(0) translateY(0); }
    50% { transform: translateX(-20px) translateY(-20px); }
}

/* Ripple Effect Animation */
@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Orbit Animation for Capabilities Section */
@keyframes orbit {
    0% {
        transform: rotate(0deg) translateX(80px) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: rotate(360deg) translateX(80px) rotate(-360deg);
        opacity: 0.3;
    }
}

/* Float Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Capabilities CTA Button Hover */
.capabilities-showcase a:hover {
    transform: scale(1.05) translateY(-2px) !important;
    box-shadow: 0 15px 50px rgba(0, 240, 255, 0.6), 0 0 80px rgba(139, 0, 255, 0.5) !important;
}

.capabilities-showcase a:hover > div:last-child {
    opacity: 0.2 !important;
}

.capabilities-showcase a:active {
    transform: scale(0.98) !important;
}

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