/* Hero Section Styles */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    grid-template-areas: 
        "content visual"
        "cta visual";
    gap: 2rem 4rem;
    align-items: center;
}

.hero-content {
    grid-area: content;
    z-index: 10;
}

.hero-cta {
    grid-area: cta;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-self: start;
}

.hero-visual {
    grid-area: visual;
    grid-row: 1 / -1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Disable animations on hero glass card */
.hero-visual .glass-card {
    animation: none !important;
    transition: none !important;
}

.hero-visual .glass-card:hover {
    transform: none !important;
}

.demo-interface {
    width: 400px;
    height: 500px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.375rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-weight: 400;
    max-width: 600px;
}

.demo-header {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid var(--glass-border);
}

.demo-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.demo-dot.red {
    background: #FF5F56;
}

.demo-dot.yellow {
    background: #FFBD2E;
}

.demo-dot.green {
    background: #27C93F;
}

.demo-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.waveform {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 120px;
    margin-bottom: 2rem;
}

.wave-bar {
    width: 8px;
    background: linear-gradient(180deg, var(--bright-blue), var(--purple-accent));
    border-radius: 4px;
    animation: wave 1.2s ease-in-out infinite;
}

.wave-bar:nth-child(1) { animation-delay: 0s; }
.wave-bar:nth-child(2) { animation-delay: 0.1s; }
.wave-bar:nth-child(3) { animation-delay: 0.3s; }
.wave-bar:nth-child(4) { animation-delay: 0.3s; }
.wave-bar:nth-child(5) { animation-delay: 0.4s; }
.wave-bar:nth-child(6) { animation-delay: 0.5s; }
.wave-bar:nth-child(7) { animation-delay: 0.6s; }
.wave-bar:nth-child(8) { animation-delay: 0.7s; }
.wave-bar:nth-child(9) { animation-delay: 0.8s; }
.wave-bar:nth-child(10) { animation-delay: 0.9s; }

@keyframes wave {
    0%, 100% { 
        transform: scaleY(1);
        opacity: 0.7;
    }
    50% { 
        transform: scaleY(1.5);
        opacity: 1;
    }
}

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

.pulse-text {
    color: var(--cyan-glow);
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 1rem;
    animation: pulse 2s ease-in-out infinite;
}

.transcription-preview {
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    font-size: 1rem;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid rgba(255, 255, 255, 0.5);
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    transform: rotate(45deg);
}

/* Tablet */
@media (max-width: 1024px) {
    .hero-container {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-visual {
        order: 2;
        width: 100%;
    }
    
    .hero-cta {
        order: 3;
        display: flex;
        justify-content: center;
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        margin: 0 auto 1.5rem auto;
    }
    
    .demo-interface {
        width: 80%;
        max-width: 500px;
        height: auto;
        aspect-ratio: 4 / 5;
        margin: 0 auto;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 100px 0 1.5rem 0;
    }
    
    .hero-container {
        padding: 0 1rem;
        gap: 1.5rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-scroll-indicator {
        display: none;
    }
    
    .hero-cta {
        width: 100%;
        justify-content: center;
    }
    
    .demo-interface {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 5;
        margin: 0;
        border-radius: 16px;
    }
    
    .waveform {
        height: 60px;
    }
    
    .demo-content {
        padding: 1rem;
    }
}
