/* Clean Professional Theme */
:root {
    --primary: #0056D2; /* Corporate Blue */
    --primary-dark: #003C93;
    --dark: #212529;
    --gray-800: #343A40;
    --gray-600: #6C757D;
    --gray-400: #CED4DA;
    --gray-200: #E9ECEF;
    --light: #F8F9FA;
    --white: #FFFFFF;
    
    --font-sans: 'Roboto', sans-serif;
    --font-serif: 'Merriweather', serif;
}

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

body {
    font-family: var(--font-sans);
    color: var(--dark);
    background:
        linear-gradient(rgba(248, 249, 250, 0.84), rgba(248, 249, 250, 0.9)),
        url('assets/bg.png') center/cover fixed no-repeat;
    line-height: 1.6;
    font-size: 16px;
}

/* Utilities */
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 800px; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-muted { color: var(--gray-600); }
.text-dark { color: var(--dark); }
.text-white { color: var(--white); }
.text-white-70 { color: rgba(255,255,255,0.7); }
.bg-light { background-color: var(--light); }
.bg-primary { background-color: var(--primary); }
.section-padding { padding: 80px 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.pt-3 { padding-top: 1rem; }
.mx-1 { margin-left: 0.25rem; margin-right: 0.25rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.shadow-sm { box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075); }
.shadow { box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15); }
.border { border: 1px solid var(--gray-400); }
.border-top { border-top: 1px solid var(--gray-400); }
.hidden { display: none !important; }
.sm-text { font-size: 0.875rem; }
.flex-end { display: flex; justify-content: flex-end; }
.gap-2 { gap: 0.5rem; }

.bg-light,
.hero-card,
.card,
.stat-card {
    background-color: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(8px);
}

/* Buttons */
.btn {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s, background-color 0.15s, border-color 0.15s, box-shadow 0.15s;
    cursor: pointer;
    font-family: inherit;
    border: 1px solid transparent;
}
.btn-large { padding: 0.75rem 1.5rem; font-size: 1.1rem; }
.btn-primary { color: var(--white); background-color: var(--primary); border-color: var(--primary); }
.btn-primary:hover { background-color: var(--primary-dark); }
.btn-outline-white { color: var(--white); border-color: var(--white); background: transparent; }
.btn-outline-white:hover { background-color: rgba(255,255,255,0.1); }
.btn-solid-white { color: var(--primary); background-color: var(--white); }
.btn-solid-white:hover { background-color: var(--gray-200); }
.btn-text { background: transparent; border: none; }
.btn-text:hover { text-decoration: underline; }

/* Entrance Overlay */
.fade-entrance {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: var(--light);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1050;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.entrance-dialog {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.1);
    max-width: 500px;
    text-align: center;
    border: 1px solid var(--gray-400);
}

.brand-mark { max-height: 50px; margin-bottom: 20px; }
.dialog-title { font-family: var(--font-serif); font-size: 1.5rem; color: var(--dark); margin-bottom: 15px; }
.dialog-desc { color: var(--gray-600); margin-bottom: 25px; }

/* Header */
.app-header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-400);
    padding: 15px 0;
}
.container-header {
    display: flex; justify-content: space-between; align-items: center;
}
.brand-lockup { display: flex; align-items: center; gap: 10px; }
.header-logo { height: 30px; }
.brand-name { font-weight: 700; color: var(--dark); font-size: 1.1rem; }
.meta-date { color: var(--gray-600); font-size: 0.9rem; }

/* Hero Panel */
.hero-panel {
    background: linear-gradient(135deg, var(--gray-800) 0%, var(--dark) 100%);
    padding: 60px 0;
}

.hero-card {
    background: var(--white);
    padding: 60px;
    border-radius: 8px;
    text-align: center;
    margin-top: -30px;
    margin-bottom: -30px;
    position: relative;
    z-index: 2;
    border-top: 4px solid var(--primary);
}

.hero-badge {
    display: inline-block;
    padding: 5px 12px;
    background-color: var(--gray-200);
    color: var(--gray-800);
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 4px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-heading {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--dark);
    margin-bottom: 20px;
}

.divider {
    height: 1px;
    width: 60px;
    background-color: var(--gray-400);
    margin: 0 auto 20px;
}

.hero-text {
    font-size: 1.1rem;
    margin-bottom: 10px;
    max-width: 600px;
    margin-left: auto; margin-right: auto;
}

/* Message Body */
.prose-container {
    background: var(--white);
    padding: 50px 60px;
    border-radius: 4px;
    border: 1px solid var(--gray-400);
}

.prose-heading {
    font-family: var(--font-serif);
    color: var(--dark);
    font-size: 1.5rem;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 15px;
}

.prose-container p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--gray-800);
    line-height: 1.8;
}

.signature-block {
    margin-top: 40px;
    padding-top: 20px;
}
.signature-block p { margin-bottom: 5px; }

/* Values */
.section-title {
    font-family: var(--font-serif);
    color: var(--dark);
    margin-bottom: 20px;
    font-size: 1.75rem;
}

.grid-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.stat-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.stat-card h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.stat-card p { color: var(--gray-600); }

/* Response Form */
.reply-container {
    max-width: 500px;
    animation: slideDown 0.3s ease;
}

.card {
    background: var(--white);
    border-radius: 0.25rem;
    padding: 1.5rem;
}

.form-group { margin-bottom: 1rem; }
.form-group label {
    display: inline-block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}
.form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-family: inherit;
    line-height: 1.5;
    color: var(--gray-800);
    background-color: var(--white);
    background-clip: padding-box;
    border: 1px solid var(--gray-400);
    border-radius: 0.25rem;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.form-control:focus {
    color: var(--gray-800);
    background-color: var(--white);
    border-color: #80abd9;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0,86,210,0.25);
}

.form-status {
    margin: 0;
}

.form-status.is-error {
    color: #b91c1c;
}

.form-status.is-success {
    color: #166534;
}

/* Footer */
.app-footer {
    background: var(--white);
    padding: 40px 0 20px;
    border-top: 1px solid var(--gray-400);
}

.flex-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links a {
    color: var(--gray-600);
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.9rem;
}
.footer-links a:hover { color: var(--primary); text-decoration: underline; }

/* Basic Animations */
.reveal-fade {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-fade.is-active {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.2s; }

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .prose-container { padding: 30px; }
    .hero-card { padding: 40px 20px; margin-top: 0; margin-bottom: 0;}
    .flex-footer { flex-direction: column; text-align: center; }
    .footer-links a { margin: 0 10px; }
}
