* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'MS Sans Serif', sans-serif;
    font-size: 11px;
    background: #008080;
    color: #000;
    line-height: 1.4;
}

.container {
    max-width: 1024px;
    margin: 0 auto;
    background: #c0c0c0;
    min-height: 100vh;
    border: 2px outset #c0c0c0;
}

.window-header {
    background: linear-gradient(90deg, #0080ff 0%, #0040ff 100%);
    color: white;
    padding: 2px 4px;
    font-weight: bold;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.window-controls {
    display: flex;
    gap: 2px;
}

.window-button {
    width: 16px;
    height: 14px;
    background: #c0c0c0;
    border: 1px outset #c0c0c0;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.window-button:active {
    border: 1px inset #c0c0c0;
}

nav {
    background: #c0c0c0;
    border-bottom: 1px solid #808080;
    padding: 4px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 0;
}

nav li {
    border: 1px solid transparent;
}

nav a {
    display: block;
    padding: 4px 12px;
    text-decoration: none;
    color: #000;
    background: #c0c0c0;
    border: 1px outset #c0c0c0;
    font-size: 11px;
}

nav a:hover {
    background: #e0e0e0;
}

nav a:active {
    border: 1px inset #c0c0c0;
}

.content-area {
    padding: 8px;
    background: #c0c0c0;
}

.panel {
    background: #c0c0c0;
    border: 2px inset #c0c0c0;
    padding: 12px;
    margin: 8px 0;
}

.panel-header {
    background: #008080;
    color: white;
    padding: 2px 6px;
    margin: -12px -12px 8px -12px;
    font-weight: bold;
    font-size: 12px;
}

.hero {
    text-align: center;
    padding: 20px;
    background: #ffffff;
    border: 2px inset #c0c0c0;
    margin: 8px;
}

.hero h1 {
    font-size: 24px;
    margin-bottom: 8px;
    color: #000080;
    text-shadow: 1px 1px 0px #c0c0c0;
}

.hero .tagline {
    font-size: 14px;
    color: #800000;
    margin-bottom: 12px;
    font-weight: bold;
}

.elevator-pitch {
    background: #ffffe0;
    border: 1px solid #808080;
    padding: 12px;
    text-align: left;
    font-size: 12px;
    line-height: 1.5;
}

h2 {
    font-size: 16px;
    color: #000080;
    margin-bottom: 8px;
}

.text-content {
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 12px;
}

.highlight-box {
    background: #ffff80;
    border: 1px solid #808080;
    padding: 8px;
    margin: 8px 0;
    font-size: 12px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 8px;
    margin: 12px 0;
}

.feature-box {
    background: #e0e0e0;
    border: 1px outset #c0c0c0;
    padding: 8px;
    text-align: center;
}

.feature-box h3 {
    font-size: 12px;
    color: #800000;
    margin-bottom: 4px;
    text-decoration: underline;
}

.feature-box p {
    font-size: 11px;
}

.process-step {
    background: #f0f0f0;
    border: 1px inset #c0c0c0;
    padding: 8px;
    margin: 4px 0;
}

.process-step h3 {
    color: #000080;
    font-size: 13px;
    margin-bottom: 4px;
}

.button-98 {
    background: #c0c0c0;
    border: 2px outset #c0c0c0;
    padding: 4px 16px;
    font-size: 12px;
    cursor: pointer;
    text-decoration: none;
    color: #000;
    display: inline-block;
    margin: 4px;
}

.button-98:hover {
    background: #e0e0e0;
}

.button-98:active {
    border: 2px inset #c0c0c0;
}

.status-bar {
    background: #c0c0c0;
    border-top: 1px solid #808080;
    padding: 2px 8px;
    font-size: 11px;
    display: flex;
    justify-content: space-between;
}

.blink {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Dynamic section control */
section {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

section.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Navigation active state */
nav a.active {
    background: #0080ff;
    color: white;
    border: 2px inset #c0c0c0;
}

/* Windows 98 loading dialog */
.loading-dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #c0c0c0;
    border: 2px outset #c0c0c0;
    padding: 0;
    z-index: 2000;
    display: none;
    font-family: 'MS Sans Serif', sans-serif;
}

.loading-dialog.active {
    display: block;
}

.loading-dialog-header {
    background: linear-gradient(90deg, #0080ff 0%, #0040ff 100%);
    color: white;
    padding: 2px 4px;
    font-weight: bold;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.loading-dialog-content {
    padding: 16px;
    text-align: center;
    width: 280px;
}

.loading-progress-98 {
    width: 100%;
    height: 20px;
    background: #c0c0c0;
    border: 1px inset #c0c0c0;
    margin: 8px 0;
    position: relative;
}

.loading-progress-98-fill {
    height: 100%;
    background: #0080ff;
    width: 0%;
    transition: width 1.5s ease;
}

.loading-message {
    font-size: 11px;
    margin-bottom: 8px;
}

/* Theme switcher styles */
.theme-separator {
    color: #808080;
    margin: 0 8px;
    font-size: 14px;
}

.theme-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
}

.theme-label {
    color: #000;
    font-size: 11px;
    font-weight: normal;
}

.theme-link {
    color: #000;
    text-decoration: none;
    font-size: 11px;
    padding: 2px 6px;
    background: #c0c0c0;
    border: 1px outset #c0c0c0;
    margin: 0 2px;
    transition: all 0.1s ease;
}

.theme-link:hover {
    background: #e0e0e0;
}

.theme-link:active {
    border: 1px inset #c0c0c0;
}

.theme-current {
    color: #000;
    font-size: 11px;
    padding: 2px 6px;
    background: #0080ff;
    color: white;
    border: 1px inset #c0c0c0;
    margin: 0 2px;
}

/* Contact Form Styles (Windows 98 theme) */
.contact-form-container {
    margin: 16px 0;
    background: #c0c0c0;
    border: 2px inset #c0c0c0;
    padding: 12px;
}

.form-header-98 {
    background: #008080;
    color: white;
    padding: 4px 8px;
    margin: -12px -12px 12px -12px;
    font-weight: bold;
    text-align: center;
}

.form-title {
    font-size: 13px;
    font-weight: bold;
}

.form-subtitle {
    font-size: 11px;
    font-weight: normal;
    margin-top: 2px;
}

.form-grid-98 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-group-98 {
    display: flex;
    flex-direction: column;
}

.form-group-98.full-width-98 {
    grid-column: 1 / -1;
}

.label-98 {
    color: #000;
    font-size: 11px;
    font-weight: bold;
    margin-bottom: 4px;
    display: block;
}

.required-98 {
    color: #800000;
    font-weight: bold;
}

.input-98,
.select-98,
.textarea-98 {
    background: white;
    border: 1px inset #c0c0c0;
    color: #000;
    font-family: 'MS Sans Serif', sans-serif;
    font-size: 11px;
    padding: 4px;
    margin-bottom: 4px;
}

.input-98:focus,
.select-98:focus,
.textarea-98:focus {
    outline: 1px dotted #000;
    outline-offset: -1px;
}

.select-98 {
    cursor: pointer;
    background: white;
}

.textarea-98 {
    resize: vertical;
    min-height: 80px;
    font-family: 'MS Sans Serif', sans-serif;
}

.checkbox-98 {
    margin-right: 4px;
    width: 13px;
    height: 13px;
}

.consent-label-98 {
    display: flex;
    align-items: flex-start;
    font-size: 11px;
    line-height: 1.3;
    color: #000;
    cursor: pointer;
}

.field-error-98 {
    color: #800000;
    font-size: 10px;
    min-height: 12px;
    margin-top: 2px;
}

.field-info-98 {
    color: #000080;
    font-size: 10px;
    text-align: right;
    margin-top: 2px;
}

.form-actions-98 {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 12px;
}

.submit-button-98,
.reset-button-98 {
    background: #c0c0c0;
    border: 2px outset #c0c0c0;
    color: #000;
    font-family: 'MS Sans Serif', sans-serif;
    font-size: 11px;
    font-weight: bold;
    padding: 4px 12px;
    cursor: pointer;
    min-width: 80px;
}

.submit-button-98:hover,
.reset-button-98:hover {
    background: #e0e0e0;
}

.submit-button-98:active,
.reset-button-98:active {
    border: 2px inset #c0c0c0;
}

.submit-button-98:disabled {
    background: #c0c0c0;
    border: 2px outset #c0c0c0;
    color: #808080;
    cursor: not-allowed;
}

.form-status-98 {
    margin-top: 12px;
    padding: 8px;
    border: 1px inset #c0c0c0;
    background: #ffffff;
    text-align: center;
    font-size: 11px;
    font-weight: bold;
    display: none;
}

.form-status-98.success {
    display: block;
    color: #008000;
    background: #f0fff0;
}

.form-status-98.error {
    display: block;
    color: #800000;
    background: #fff0f0;
}

@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    nav ul {
        flex-wrap: wrap;
    }

    .form-grid-98 {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .form-actions-98 {
        flex-direction: column;
        align-items: center;
    }
    
    .submit-button-98,
    .reset-button-98 {
        width: 120px;
    }
}