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

body {
    font-family: 'Monaco', 'Menlo', 'SF Mono', 'Consolas', 'Liberation Mono', monospace;
    background-color: #000000;
    color: #78909c;
    line-height: 1.6;
    font-size: 14px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Container */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Terminal Elements */
.prompt {
    color: #78909c;
    opacity: 0.6;
}

.pronunciation {
    font-size: 1rem;
    font-style: italic;
    color: #78909c;
    opacity: 0.8;
}

.status {
    color: green;
    font-size: 12px;
}

.terminal-header {
    border-bottom: 1px solid #78909c;
    border-opacity: 0.3;
    padding-bottom: 10px;
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.terminal-footer {
    border-top: 1px solid #78909c;
    border-opacity: 0.3;
    padding-top: 20px;
    margin-top: auto;
    text-align: center;
}

.status-line {
    color: #78909c;
    opacity: 0.6;
    font-size: 12px;
}

/* Main Content */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 20px;
}

.local {
    color: #ff9800 !important;
}

.mode.local, .mode-text.local {
    color: #ff9800; /* Orange for local */
}
.mode.cloud, .mode-text.cloud {
    color: #2196f3; /* Blue for cloud */
}

.title {
    font-size: 48px;
    font-weight: normal;
    margin-bottom: 10px;
    color: #78909c;
}

/*.subtitle {
    font-size: 18px;
    color: #78909c;
    opacity: 0.8;
    margin-bottom: 40px;
}
*/
.subtitle {
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 1.5rem;
    /*color: #00ff99;*/
    display: inline-block;
}

.flip {
    display: inline-block;
    animation: flip 0.3s ease-in-out forwards;
}

@keyframes flip {
    0% {
        transform: rotateX(0);
    }
    50% {
        transform: rotateX(90deg);
    }
    100% {
        transform: rotateX(0);
    }
}

.cta-section {
    margin-top: 40px;
}

.download-btn {
    display: inline-block;
    padding: 16px 32px;
    background-color: transparent;
    border: 2px solid #78909c;
    color: #78909c;
    text-decoration: none;
    font-family: inherit;
    font-size: 16px;
    transition: all 0.2s ease;
    border-radius: 4px;
    margin-bottom: 16px;
}

.download-btn:hover {
    background-color: #78909c;
    color: #000000;
    transform: translateY(-2px);
}

.platform-note {
    color: #78909c;
    opacity: 0.6;
    font-size: 12px;
    margin-top: 16px;
}

/* About Section */
.about h2 {
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: normal;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 20px;
    align-items: start;
}

.feature-name {
    color: #78909c;
    font-weight: normal;
    opacity: 0.8;
}

.feature-desc {
    color: #78909c;
    opacity: 0.9;
}

/* Contact Section */
.contact h2 {
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: normal;
}

.contact-info p {
    margin-bottom: 16px;
    color: #78909c;
    opacity: 0.8;
}

.contact-link {
    color: #78909c;
    text-decoration: none;
    border-bottom: 1px dotted #78909c;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.contact-link:hover {
    opacity: 1;
}

/* Responsive Design */

/* Large Desktop */
@media (min-width: 1200px) {
    .container {
        max-width: 900px;
        padding: 40px;
    }
    
    .title {
        font-size: 56px;
    }
    
    .subtitle {
        font-size: 20px;
    }
    
    main {
        gap: 80px;
    }
}

/* Desktop */
@media (min-width: 769px) and (max-width: 1199px) {
    .container {
        padding: 30px;
    }
    
    .title {
        font-size: 48px;
    }
    
    .subtitle {
        font-size: 18px;
    }
    
    main {
        gap: 60px;
    }
}

/* Tablet */
@media (min-width: 481px) and (max-width: 768px) {
    .container {
        padding: 20px;
    }
    
    .title {
        font-size: 40px;
    }
    
    .subtitle {
        font-size: 17px;
    }
    
    main {
        gap: 50px;
    }
    
    .feature {
        grid-template-columns: 140px 1fr;
        gap: 16px;
    }
    
    .download-btn {
        padding: 15px 30px;
        font-size: 15px;
    }
    
    .terminal-header {
        margin-bottom: 30px;
    }
}

/* Mobile Large */
@media (max-width: 480px) {
    .container {
        padding: 16px;
        margin: 0;
    }
    
    .title {
        font-size: 32px;
        margin-bottom: 8px;
    }
    
    .subtitle {
        font-size: 16px;
        margin-bottom: 32px;
    }
    
    main {
        gap: 40px;
    }
    
    .feature {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 12px 0;
        border-bottom: 1px solid #78909c;
        border-opacity: 0.2;
    }
    
    .feature:last-child {
        border-bottom: none;
    }
    
    .feature-name {
        margin-bottom: 4px;
        font-size: 15px;
        color: #78909c;
        opacity: 1;
    }
    
    .feature-desc {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .download-btn {
        padding: 14px 28px;
        font-size: 14px;
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .btn-status {
        display: block;
        margin-top: 4px;
        margin-left: 0;
    }
    
    .terminal-header {
        margin-bottom: 24px;
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .about h2,
    .contact h2 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .platform-note {
        font-size: 11px;
        margin-top: 12px;
        line-height: 1.4;
    }
}

/* Mobile Small */
@media (max-width: 375px) {
    .container {
        padding: 12px;
    }
    
    .title {
        font-size: 28px;
    }
    
    .subtitle {
        font-size: 15px;
    }
    
    body {
        font-size: 13px;
    }
    
    .download-btn {
        padding: 12px 24px;
        font-size: 13px;
    }
    
    .feature-name {
        font-size: 14px;
    }
    
    .feature-desc {
        font-size: 13px;
    }
}

/* Mobile Extra Small */
@media (max-width: 320px) {
    .title {
        font-size: 24px;
    }
    
    .subtitle {
        font-size: 14px;
    }
    
    .download-btn {
        font-size: 12px;
        padding: 10px 20px;
    }
}

/* Landscape phones */
@media (orientation: landscape) and (max-height: 500px) {
    main {
        gap: 30px;
    }
    
    .cta-section {
        margin-top: 20px;
    }
    
    .terminal-header {
        margin-bottom: 16px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .download-btn {
        transition: none;
    }
    
    .download-btn:hover {
        transform: none;
    }
}

/* Focus states for accessibility */
.download-btn:focus,
.contact-link:focus {
    outline: 2px solid #78909c;
    outline-offset: 2px;
}