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

body {
    font-family: 'Menlo', 'Monaco', '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;
}

.status {
    color: #00ffff;
    font-size: 12px;
}

.terminal-header {
    border-bottom: 1px solid rgba(120, 144, 156, 0.3);
    padding-bottom: 10px;
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.terminal-footer {
    border-top: 1px solid rgba(120, 144, 156, 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;
}

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

.subtitle {
    font-family: 'Menlo', 'Monaco', monospace;
    font-size: 1.5rem;
    display: inline-block;
    color: #78909c;
    opacity: 0.85;
}

.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;
}

.platform-note {
    color: #78909c;
    opacity: 0.5;
    font-size: 12px;
    letter-spacing: 2px;
}

/* 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;
    }

    .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 rgba(120, 144, 156, 0.2);
    }

    .feature:last-child { border-bottom: none; }

    .feature-name {
        margin-bottom: 4px;
        font-size: 15px;
        opacity: 1;
    }

    .feature-desc {
        font-size: 14px;
        line-height: 1.5;
    }

    .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; }

    .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; }
}

/* 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) {
    .contact-link { transition: none; }
}

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

