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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: #0a0a0a;
    overflow-x: hidden;
}

/* Blue Gradient Hover Effect for Transparent Elements */
.red-hover-effect {
    position: relative;
    overflow: hidden;
}

.red-hover-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
                rgba(99, 102, 241, 0.15) 0%, 
                rgba(99, 102, 241, 0.08) 30%, 
                transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.red-hover-effect:hover::before {
    opacity: 1;
}

.red-hover-effect > * {
    position: relative;
    z-index: 2;
}

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

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

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

.nav-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-logo:visited {
    color: #ffffff;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-logo i {
    color: #6366f1;
    font-size: 1.8rem;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: audioWave 2s ease-in-out infinite alternate;
    filter: drop-shadow(0 2px 4px rgba(6, 182, 212, 0.4));
    transition: all 0.3s ease;
}

.nav-logo:hover i {
    transform: scaleX(1.2);
    filter: drop-shadow(0 4px 8px rgba(6, 182, 212, 0.6));
}

@keyframes audioWave {
    0% {
        filter: drop-shadow(0 2px 4px rgba(6, 182, 212, 0.4));
        transform: scaleY(1);
    }
    100% {
        filter: drop-shadow(0 4px 12px rgba(59, 130, 246, 0.7));
        transform: scaleY(1.1);
    }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 0.2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    margin-right: 0.5rem;
}

.lang-btn {
    background: transparent;
    border: none;
    color: #a1a1aa;
    padding: 0.4rem 0.8rem;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    min-width: 40px;
    text-align: center;
}

.lang-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.lang-btn.active {
    background: rgba(99, 102, 241, 0.15);
    color: #6366f1;
    border: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.1);
}

.nav-link {
    color: #a1a1aa;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    transition: width 0.3s ease;
}

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

.nav-cta {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

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

.hero-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-content {
    max-width: none;
    text-align: left;
}

.hero-demo {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    max-height: calc(100vh - 150px);
    overflow-y: auto;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.hero-demo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
                rgba(99, 102, 241, 0.15) 0%, 
                rgba(99, 102, 241, 0.08) 30%, 
                transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
    border-radius: 20px;
}

.hero-demo:hover::before {
    opacity: 1;
}

.hero-demo > * {
    position: relative;
    z-index: 2;
}

.hero-demo .demo-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.hero-demo .demo-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.hero-demo .demo-header p {
    color: #a1a1aa;
    font-size: 0.9rem;
}

/* Voice Presets in Hero Demo */
.hero-demo .voice-presets {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    overflow-x: auto;
    padding: 0.5rem 0 1rem 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(99, 102, 241, 0.5) rgba(255, 255, 255, 0.1);
}

.hero-demo .voice-presets::-webkit-scrollbar {
    height: 6px;
}

.hero-demo .voice-presets::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.hero-demo .voice-presets::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.5);
    border-radius: 3px;
}

.hero-demo .voice-presets::-webkit-scrollbar-thumb:hover {
    background: rgba(99, 102, 241, 0.7);
}

.hero-demo .preset-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem 0.75rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    min-width: 120px;
    flex-shrink: 0;
}

.hero-demo .preset-item:hover,
.hero-demo .preset-item.active {
    background: rgba(99, 102, 241, 0.2);
    border-color: #6366f1;
    transform: translateY(-2px);
}

.hero-demo .preset-item .preset-icon {
    font-size: 1.2rem;
    color: #6366f1;
    margin-bottom: 0.5rem;
}

.hero-demo .preset-item span {
    color: #ffffff;
    font-weight: 500;
    display: block;
}

/* Demo Interface in Hero */
.hero-demo .demo-interface {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.hero-demo .demo-panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-demo .demo-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
                rgba(99, 102, 241, 0.15) 0%, 
                rgba(99, 102, 241, 0.08) 30%, 
                transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
    border-radius: 12px;
}

.hero-demo .demo-panel:hover::before {
    opacity: 1;
}

.hero-demo .demo-panel > * {
    position: relative;
    z-index: 2;
}

.hero-demo .demo-panel h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.hero-demo .voice-preview {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #a1a1aa;
    margin-bottom: 1rem;
}

.hero-demo .voice-preview i {
    font-size: 1.2rem;
    color: #6366f1;
}

.hero-demo .voice-preview > div {
    flex: 1;
}

.hero-demo .voice-preview > div > div:first-child {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.hero-demo .voice-preview > div > div:last-child {
    color: #a1a1aa;
    font-size: 0.9rem;
}

.hero-demo .voice-controls {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.hero-demo .control-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
}

.hero-demo .control-group label {
    color: #a1a1aa;
    font-size: 0.9rem;
    min-width: 60px;
}

.hero-demo .slider-container {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-demo .slider {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    appearance: none;
    cursor: pointer;
}

.hero-demo .slider::-webkit-slider-thumb {
    appearance: none;
    width: 16px;
    height: 16px;
    background: #6366f1;
    border-radius: 50%;
    cursor: pointer;
}

.hero-demo .slider-value {
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 500;
    min-width: 50px;
    text-align: right;
}

.hero-demo .text-input-area textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.75rem;
    color: #ffffff;
    font-family: inherit;
    resize: vertical;
    margin-bottom: 0.5rem;
    height: 100px;
    min-height: 80px;
    font-size: 0.9rem;
}

.hero-demo .text-input-area textarea:focus {
    outline: none;
    border-color: #6366f1;
}

.hero-demo .text-counter {
    text-align: right;
    font-size: 0.8rem;
    color: #a1a1aa;
    margin-bottom: 1rem;
}

.hero-demo .generate-btn {
    width: 100%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.hero-demo .generate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.hero-demo .generate-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, #8b5cf6, #ec4899);
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.orb-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, #06b6d4, #6366f1);
    bottom: 20%;
    left: 50%;
    animation-delay: 4s;
}

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

.hero-container {
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 2.5rem;
    padding-right: 3rem;
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #ec4899);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #a1a1aa;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: #a1a1aa;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Hero Demo Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        padding: 0 2rem;
        padding-right: 2.5rem;
    }
    
    .hero-layout {
        gap: 3rem;
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-demo .demo-interface {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .hero-demo .voice-presets {
        gap: 0.5rem;
    }
    
    .hero-demo .preset-item {
        min-width: 100px;
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .hero-demo {
        padding: 1rem;
    }
    
    .hero-demo .voice-presets {
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-demo .preset-item {
        min-width: 90px;
        padding: 0.75rem 0.5rem;
        font-size: 0.7rem;
    }
    
    .hero-demo .control-group {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    
    .hero-demo .slider-container {
        justify-content: space-between;
    }
}

@media (max-width: 480px) {
    .hero-demo .preset-item {
        min-width: 80px;
        font-size: 0.65rem;
    }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: #1a1a1a;
    margin: 5% auto;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.modal-header {
    padding: 2rem 2rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
}

.modal-close {
    background: none;
    border: none;
    color: #a1a1aa;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #ffffff;
}

.modal-body {
    padding: 2rem;
}

.custom-input label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #ffffff;
}

.custom-input textarea {
    width: 100%;
    min-height: 120px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    color: #ffffff;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.6;
    resize: vertical;
}

.custom-input textarea:focus {
    outline: none;
    border-color: #6366f1;
}

.custom-input textarea::placeholder {
    color: #a1a1aa;
}

.custom-examples {
    margin-top: 1.5rem;
}

.custom-examples p {
    margin-bottom: 0.5rem;
    color: #a1a1aa;
    font-size: 0.9rem;
}

.example-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.example-tag {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #6366f1;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.example-tag:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: #6366f1;
}

.modal-footer {
    padding: 1rem 2rem 2rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.modal-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.modal-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-btn.primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
}

.modal-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

/* About Section */
.about-section {
    padding: 10rem 0;
    background: #0a0a0a;
}

.about-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 8rem;
}

.about-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    background: linear-gradient(135deg, #ffffff, #a1a1aa);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 9rem;
    align-items: start;
}

.about-content p {
    padding: 0 1rem;
    color: #a1a1aa;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.about-visual {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

/* Performance Metrics Section in Left Column */
.performance-metrics {
    margin-top: 2rem;
    padding: 2rem 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.performance-metrics h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.performance-grid-horizontal {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

/* Tech Flow Diagram */
.tech-diagram {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 4rem 3.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tech-diagram::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
                rgba(99, 102, 241, 0.15) 0%, 
                rgba(99, 102, 241, 0.08) 30%, 
                transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
    border-radius: 16px;
}

.tech-diagram:hover::before {
    opacity: 1;
}

.tech-diagram > * {
    position: relative;
    z-index: 2;
}

.tech-node {
    padding: 2rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    min-height: 80px;
}

.tech-node.input {
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.3);
}

.tech-node.process {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.tech-node.output {
    background: linear-gradient(135deg, #10b981, #06b6d4);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.tech-node div {
    font-size: 1.2rem;
    font-weight: 600;
}

.tech-arrow {
    width: 3px;
    height: 30px;
    background: linear-gradient(180deg, #6366f1, #8b5cf6);
    margin: 0 auto;
    position: relative;
}

.tech-arrow::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: -4px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 10px solid #8b5cf6;
}

/* Performance Grid - Horizontal Layout */
.performance-grid-horizontal .performance-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem 2.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    text-align: center;
}

.performance-grid-horizontal .performance-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.performance-grid-horizontal .performance-card.speed {
    border-left: 3px solid #06b6d4;
}

.performance-grid-horizontal .performance-card.quality {
    border-left: 3px solid #8b5cf6;
}

.performance-grid-horizontal .performance-card.efficiency {
    border-left: 3px solid #10b981;
}

.performance-grid-horizontal .performance-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    margin: 0 auto 0.75rem;
}

.performance-grid-horizontal .speed .performance-icon {
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    color: white;
}

.performance-grid-horizontal .quality .performance-icon {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: white;
}

.performance-grid-horizontal .efficiency .performance-icon {
    background: linear-gradient(135deg, #10b981, #06b6d4);
    color: white;
}

.performance-grid-horizontal .performance-content h4 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.performance-grid-horizontal .performance-value {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.performance-grid-horizontal .speed .performance-value {
    color: #06b6d4;
}

.performance-grid-horizontal .quality .performance-value {
    color: #8b5cf6;
}

.performance-grid-horizontal .efficiency .performance-value {
    color: #10b981;
}

.performance-grid-horizontal .performance-content p {
    color: #a1a1aa;
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
}

.performance-grid-horizontal .performance-bar {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1.5px;
    overflow: hidden;
}

.performance-fill {
    height: 100%;
    border-radius: 2px;
    width: 0%;
    transition: width 2s ease-out;
}

.speed-fill {
    background: linear-gradient(90deg, #06b6d4, #3b82f6);
}

.quality-fill {
    background: linear-gradient(90deg, #8b5cf6, #ec4899);
}

.efficiency-fill {
    background: linear-gradient(90deg, #10b981, #06b6d4);
}

.speed-fill.animate {
    width: 95%;
}

.quality-fill.animate {
    width: 90%;
}

.efficiency-fill.animate {
    width: 85%;
}

.detail-section {
    margin-bottom: 2rem;
}

.detail-section:last-child {
    margin-bottom: 0;
}

.detail-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.detail-section p {
    color: #a1a1aa;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.tech-metrics {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.metric {
    text-align: center;
}

.metric-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #6366f1;
}

.metric-label {
    font-size: 0.8rem;
    color: #a1a1aa;
}

.application-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.application-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.application-item i {
    color: #6366f1;
    font-size: 1.2rem;
    width: 20px;
}

.application-item div {
    display: flex;
    flex-direction: column;
}

.application-item strong {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.application-item span {
    color: #a1a1aa;
    font-size: 0.9rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0 1.5rem;
}

.feature-point {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-point i {
    color: #6366f1;
    font-size: 1.2rem;
    width: 20px;
}

.feature-point span {
    color: #ffffff;
    font-weight: 500;
}

/* Tech Diagram */
.tech-diagram {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.tech-node {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    position: relative;
}

.tech-node.input {
    background: linear-gradient(135deg, #06b6d4, #6366f1);
}

.tech-node.process {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
}

.tech-node.output {
    background: linear-gradient(135deg, #10b981, #06b6d4);
}

.tech-arrow {
    width: 2px;
    height: 30px;
    background: linear-gradient(180deg, #6366f1, #8b5cf6);
    margin: 0 auto;
    position: relative;
}

.tech-arrow::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: -3px;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 8px solid #8b5cf6;
}

/* Features Section */
.features-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, #111111 0%, #0a0a0a 100%);
}

.features-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 8rem;
}

.features-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.features-left {
    position: sticky;
    top: 100px;
}

.features-header {
    text-align: left;
    margin-bottom: 3rem;
}

.feature-highlight {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
                rgba(99, 102, 241, 0.15) 0%, 
                rgba(99, 102, 241, 0.08) 30%, 
                transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
    border-radius: 16px;
}

.feature-highlight:hover::before {
    opacity: 1;
}

.feature-highlight > * {
    position: relative;
    z-index: 2;
}

.highlight-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: white;
}

.feature-highlight h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.feature-highlight p {
    color: #a1a1aa;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.highlight-stats {
    display: flex;
    gap: 2rem;
}

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

.highlight-stat .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight-stat .stat-text {
    color: #a1a1aa;
    font-size: 0.9rem;
}

.feature-comparison {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-comparison::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
                rgba(99, 102, 241, 0.15) 0%, 
                rgba(99, 102, 241, 0.08) 30%, 
                transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
    border-radius: 12px;
}

.feature-comparison:hover::before {
    opacity: 1;
}

.feature-comparison > * {
    position: relative;
    z-index: 2;
}

.feature-comparison h4 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1rem;
}

.comparison-table {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    align-items: center;
    padding: 0.5rem;
    font-size: 0.9rem;
}

.comparison-label {
    color: #ffffff;
    font-weight: 500;
}

.comparison-old {
    color: #f87171;
    text-align: center;
}

.comparison-new {
    color: #86efac;
    text-align: center;
    font-weight: 600;
}

.features-right .features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.feature-metrics {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.feature-metrics .metric {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.features-header h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff, #a1a1aa);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.features-header p {
    font-size: 1.1rem;
    color: #a1a1aa;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #6366f1;
    transform: translateY(-5px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.feature-card p {
    color: #a1a1aa;
    line-height: 1.6;
}

/* Research Section */
.research-section {
    padding: 8rem 0;
    background: #0a0a0a;
}

.research-title-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 10rem;
    margin-bottom: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.research-title-right {
    display: flex;
    justify-content: flex-start;
}

.research-title {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff, #a1a1aa);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}

.research-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 10rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.research-metrics {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

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

.research-metric .metric-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.research-metric .metric-label {
    color: #a1a1aa;
    font-size: 0.9rem;
}

.research-diagrams {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.research-diagram {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.research-diagram::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
                rgba(99, 102, 241, 0.15) 0%, 
                rgba(99, 102, 241, 0.08) 30%, 
                transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.research-diagram:hover::before {
    opacity: 1;
}

.research-diagram > * {
    position: relative;
    z-index: 2;
}

.research-layer {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2));
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
}

.research-layer:last-child {
    margin-bottom: 0;
}

.layer-detail {
    font-size: 0.8rem;
    color: #a1a1aa;
    font-weight: 400;
    margin-top: 0.5rem;
}

.technical-details {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.technical-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
                rgba(99, 102, 241, 0.15) 0%, 
                rgba(99, 102, 241, 0.08) 30%, 
                transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.technical-details:hover::before {
    opacity: 1;
}

.technical-details > * {
    position: relative;
    z-index: 2;
}

.technical-details h3 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.spec-item i {
    color: #6366f1;
    font-size: 1.1rem;
    width: 20px;
    flex-shrink: 0;
}

.spec-item div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.spec-item strong {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
}

.spec-item span {
    color: #a1a1aa;
    font-size: 0.85rem;
}

.research-applications {
    margin-top: 2.5rem;
}

.research-applications h3 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1rem;
}

.app-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.app-tag {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #6366f1;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.research-content p {
    font-size: 1.1rem;
    color: #a1a1aa;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.research-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.highlight {
    border-radius: 8px;
}

.highlight h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.highlight p {
    color: #a1a1aa;
    font-size: 0.9rem;
    margin: 0;
}

.research-btn {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.research-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

/* Research Diagram */
.research-diagram {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.research-layer {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2));
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    position: relative;
}

.research-layer:not(:last-child)::after {
    content: '↓';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    color: #6366f1;
    font-size: 1.2rem;
    background: #0a0a0a;
    padding: 0 5px;
}

/* Footer */
.footer {
    background: #111111;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4rem 0 2rem;
}

.footer-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 6fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: start;
}

.footer-brand {
    grid-column: 1 / 2;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-logo:visited {
    color: #ffffff;
}

.footer-logo:hover {
    transform: scale(1.02);
}

.footer-logo i {
    color: #6366f1;
    font-size: 1.8rem;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(6, 182, 212, 0.4));
    transition: all 0.3s ease;
    animation: audioGlow 3s ease-in-out infinite alternate;
}

.footer-logo:hover i {
    transform: scaleX(1.15);
    filter: drop-shadow(0 4px 8px rgba(6, 182, 212, 0.6));
}

@keyframes audioGlow {
    0% {
        filter: drop-shadow(0 2px 4px rgba(6, 182, 212, 0.4));
    }
    100% {
        filter: drop-shadow(0 4px 12px rgba(59, 130, 246, 0.7));
    }
}

.footer-brand p {
    color: #a1a1aa;
    line-height: 1.6;
}

.link-group h4 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1rem;
}

.link-group a {
    display: block;
    color: #a1a1aa;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.link-group a:hover {
    color: #ffffff;
}

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

.footer-bottom p {
    color: #a1a1aa;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: #a1a1aa;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #6366f1;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.animate-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.animate-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.animate-up.visible,
.animate-left.visible,
.animate-right.visible {
    opacity: 1;
    transform: translate(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .features-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .features-left {
        position: static;
    }
    
    .features-right .features-grid {
        grid-template-columns: 1fr;
    }
    
    .research-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .spec-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-brand {
        grid-column: 1 / 3;
    }
}

@media (max-width: 768px) {
    .nav-container,
    .demo-container,
    .about-container,
    .features-container,
    .research-container,
    .research-title-container,
    .footer-container {
        padding: 0 1.5rem;
    }
    
    .hero-container {
        padding: 0 1.5rem;
        padding-top: 4rem;
    }
    
    .hero {
        padding-top: 80px;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .language-switcher {
        padding: 0.15rem;
        gap: 0.2rem;
    }
    
    .lang-btn {
        padding: 0.35rem 0.6rem;
        font-size: 0.75rem;
        min-width: 35px;
    }
    
    .nav-link {
        display: none;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .demo-interface {
        grid-template-columns: 1fr;
    }
    
    .voice-presets {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .about-content-grid,
    .research-container,
    .research-title-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .performance-grid-horizontal {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-brand {
        grid-column: 1 / 2;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .demo-header h2,
    .about-title,
    .features-header h2,
    .research-title {
        font-size: 2rem;
    }
    
    .research-title-container {
        margin-bottom: 2rem;
    }
    
    .research-title-right {
        justify-content: center;
    }
}
