* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #e2e8f0;
    background-color: #121212;
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: #a5b4fc;
    transition: color 0.3s;
}

a:hover {
    color: #c7d2fe;
}

ul {
    list-style: none;
}

header {
    background-color: #1e1e1e;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: #a5b4fc;
    font-size: 2rem;
    margin: 0;
}

.logo p {
    font-size: 0.9rem;
    color: #94a3b8;
    margin: 0;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav a {
    font-weight: 500;
    font-size: 1rem;
    color: #e2e8f0;
    position: relative;
    padding-bottom: 5px;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #a5b4fc;
    transition: width 0.3s;
}

nav a:hover {
    color: #a5b4fc;
}

nav a:hover::after {
    width: 100%;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.primary-btn {
    background-color: #4f46e5;
    color: white;
}

.primary-btn:hover {
    background-color: #3730a3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.3);
    color: white;
}

.secondary-btn {
    background-color: #2d2d2d;
    color: #e2e8f0;
    border: 1px solid #4f46e5;
}

.secondary-btn:hover {
    background-color: #3a3a3a;
    color: #e2e8f0;
    transform: translateY(-2px);
}

section {
    padding: 80px 0;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #e2e8f0;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

section h2::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 3px;
    background-color: #4f46e5;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.section-desc {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    color: #94a3b8;
    font-size: 1.1rem;
}

.hero {
    background: linear-gradient(to right, #121212, #1e1e1e);
    padding: 100px 0;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    max-width: 600px;
    text-align: center;
}

.hero-content h2 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    text-align: center;
    padding-bottom: 0;
}

.hero-content h2::after {
    display: none;
}

.hero-content h2 span {
    color: #a5b4fc;
    display: block;
}

.hero-content p {
    font-size: 1.2rem;
    color: #94a3b8;
    margin-bottom: 30px;
}

.hero-image {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.pulse-animation {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: rgba(165, 180, 252, 0.1);
    position: absolute;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.3;
    }
    100% {
        transform: scale(0.9);
        opacity: 0.7;
    }
}

.voice-visualization {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 100px;
    justify-content: center;
}

.voice-visualization .bar {
    width: 10px;
    height: 30px;
    background-color: #a5b4fc;
    border-radius: 5px;
    animation: sound 1.5s infinite alternate;
}

.voice-visualization .bar:nth-child(1) {
    animation-delay: 0s;
    height: 30%;
}

.voice-visualization .bar:nth-child(2) {
    animation-delay: 0.2s;
    height: 70%;
}

.voice-visualization .bar:nth-child(3) {
    animation-delay: 0.4s;
    height: 90%;
}

.voice-visualization .bar:nth-child(4) {
    animation-delay: 0.6s;
    height: 60%;
}

.voice-visualization .bar:nth-child(5) {
    animation-delay: 0.8s;
    height: 40%;
}

@keyframes sound {
    0% {
        height: 10%;
    }
    100% {
        height: 100%;
    }
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
    text-align: left;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #94a3b8;
}

.about-features {
    display: grid;
    gap: 30px;
}

.feature {
    background-color: #1e1e1e;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
    text-align: center;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.feature h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
    color: #e2e8f0;
}

.feature p {
    color: #94a3b8;
}

.help-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.help-option {
    background-color: #1e1e1e;
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.help-option h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #e2e8f0;
}

.help-option p {
    margin-bottom: 25px;
    color: #94a3b8;
}

.record {
    background-color: #181818;
}

.record-container {
    background-color: #1e1e1e;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.record-visualization {
    height: 150px;
    background-color: #252525;
    border-radius: 10px;
    overflow: hidden;
}

.record-controls {
    text-align: center;
}

.record-instruction {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #e2e8f0;
}

.record-btn {
    background-color: #ef4444;
    padding: 15px 30px;
    font-size: 1.1rem;
}

.record-btn:hover {
    background-color: #dc2626;
}

.record-btn.recording {
    animation: pulse-red 1.5s infinite;
}

.record-btn.disabled {
    background-color: #666;
    cursor: not-allowed;
    opacity: 0.7;
}

.record-btn.disabled:hover {
    background-color: #666;
    transform: none;
    box-shadow: none;
}

@keyframes pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

.record-status {
    margin: 20px 0;
    font-weight: 500;
    font-size: 1.1rem;
    color: #a5b4fc;
    min-height: 2rem;
}

.record-counter {
    margin-top: 20px;
    font-size: 1rem;
    color: #94a3b8;
}

.record-counter span {
    font-size: 1.5rem;
    font-weight: 700;
    color: #a5b4fc;
}

.thank-you {
    display: none;
    background-color: #1a1a1a;
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
    border-left: 4px solid #10b981;
}

.thank-you h3 {
    font-size: 1.8rem;
    color: #10b981;
    margin-bottom: 10px;
}

.thank-you p {
    font-size: 1.1rem;
    color: #94a3b8;
}

.recording-instructions {
    margin-top: 50px;
    background-color: #1e1e1e;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
}

.recording-instructions h3 {
    margin-bottom: 20px;
    color: #e2e8f0;
    font-size: 1.5rem;
    text-align: center;
}

.recording-instructions ul {
    list-style: disc;
    padding-left: 20px;
}

.recording-instructions li {
    color: #94a3b8;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

footer {
    background-color: #141414;
    color: #e2e8f0;
    padding: 60px 0 20px;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
    text-align: center;
}

.footer-logo h2 {
    color: #e2e8f0;
    font-size: 2rem;
    margin-bottom: 10px;
}

.footer-logo p {
    color: #94a3b8;
    font-size: 1rem;
}

.footer-links h3, .footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #cbd5e1;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.footer-links a {
    color: #94a3b8;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #e2e8f0;
}

.footer-contact p {
    color: #94a3b8;
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #2d2d2d;
    color: #64748b;
    font-size: 0.9rem;
}


@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        gap: 50px;
        text-align: center;
    }
    
    .hero-content h2 {
        text-align: center;
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 20px;
    }
    
    nav ul {
        gap: 15px;
        justify-content: center;
    }
    
    section {
        padding: 60px 0;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .feature {
        padding: 20px;
    }
    
    .record-container {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-image {
        width: 250px;
        height: 250px;
    }
    
    .record-container {
        padding: 20px 15px;
    }
    
    .record-btn {
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .recording-instructions {
        padding: 20px 15px;
    }
    
    .recording-instructions li {
        font-size: 0.95rem;
    }
    
    .feature-icon {
        font-size: 2rem;
    }
    
    .feature h3 {
        font-size: 1.2rem;
    }
    
    .section-desc {
        font-size: 1rem;
    }
}


.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

.success-message {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin-top: 20px;
    font-weight: 500;
}

.hidden-counter {
    display: none;
}

.browser-warning {
    background-color: rgba(239, 68, 68, 0.1);
    border-left: 4px solid #ef4444;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 5px;
    text-align: left;
}

.browser-warning p {
    margin-bottom: 15px;
    color: #e2e8f0;
}

.browser-warning ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 15px;
}

.browser-warning li {
    margin-bottom: 8px;
    color: #94a3b8;
}


.loading-spinner {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 3px solid rgba(79, 70, 229, 0.3);
    border-radius: 50%;
    border-top-color: #4f46e5;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.playback-controls {
    background-color: #1a1a1a;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.playback-controls p {
    margin-bottom: 15px;
    color: #e2e8f0;
    font-weight: 500;
}

.playback-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin: 10px 0;
}

.play-btn {
    background-color: #10b981;
    color: white;
}

.play-btn:hover {
    background-color: #059669;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}

.re-record-btn {
    background-color: #f59e0b;
    color: white;
}

.re-record-btn:hover {
    background-color: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.3);
}

.submit-btn {
    background-color: #4f46e5;
    color: white;
}

.submit-btn:hover {
    background-color: #3730a3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.3);
} 