/*
    Theme: Imperial Havene (Premium Dark/Gold)
    Colors:
    Background: #0A0D10
    Accent: #D4AF37 (Gold)
    Text: #F0F4F8
    Dark Panel: #141920
*/

:root {
    --imphav-bg: #0A0D10;
    --imphav-surface: #141920;
    --imphav-surface-hover: #1A222B;
    --imphav-accent: #D4AF37;
    --imphav-text-main: #F0F4F8;
    --imphav-text-muted: #9EABBA;
    --imphav-font-heading: 'Playfair Display', serif;
    --imphav-font-body: 'Lato', sans-serif;
}

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

body, html {
    background-color: var(--imphav-bg);
    color: var(--imphav-text-main);
    font-family: var(--imphav-font-body);
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--imphav-font-heading);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--imphav-text-main);
}

a {
    color: var(--imphav-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #FFF;
}

/* Header Masthead */
.imphav-top-masthead {
    background-color: var(--imphav-surface);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.imphav-masthead-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.imphav-brand-block {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.imphav-brand-acronym {
    font-family: var(--imphav-font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--imphav-bg);
    background-color: var(--imphav-accent);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.imphav-brand-text {
    display: flex;
    flex-direction: column;
}

.imphav-brand-name {
    font-family: var(--imphav-font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.imphav-brand-subtitle {
    font-size: 0.8rem;
    color: var(--imphav-text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.imphav-masthead-badge {
    border: 1px solid var(--imphav-accent);
    color: var(--imphav-accent);
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    font-weight: 700;
}

/* Core Content Area */
.imphav-core-content {
    min-height: calc(100vh - 80px);
}

/* Hero Stage */
.imphav-intro-stage {
    padding: 8rem 2rem;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.imphav-intro-wrap {
    max-width: 900px;
    margin: 0 auto;
}

.imphav-intro-kicker {
    display: block;
    color: var(--imphav-accent);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 1.5rem;
}

.imphav-intro-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.imphav-intro-desc {
    font-size: 1.2rem;
    color: var(--imphav-text-muted);
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.imphav-intro-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding-top: 3rem;
}

.imphav-metric-node {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.imphav-node-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--imphav-text-muted);
}

.imphav-node-value {
    font-family: var(--imphav-font-heading);
    font-size: 1.5rem;
    color: var(--imphav-accent);
}

/* General Segments */
.imphav-segment {
    padding: 6rem 2rem;
}

.imphav-segment-alt {
    background-color: #0c1015;
}

.imphav-segment-container {
    max-width: 1200px;
    margin: 0 auto;
}

.imphav-segment-heading {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.imphav-segment-intro {
    text-align: center;
    color: var(--imphav-text-muted);
    max-width: 600px;
    margin: 0 auto 4rem auto;
    font-size: 1.1rem;
}

/* Card Matrix */
.imphav-card-matrix {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.imphav-feature-panel {
    background-color: var(--imphav-surface);
    padding: 3rem 2rem;
    border-top: 3px solid transparent;
    transition: all 0.4s ease;
    border-radius: 4px;
}

.imphav-feature-panel:hover {
    background-color: var(--imphav-surface-hover);
    border-top-color: var(--imphav-accent);
    transform: translateY(-5px);
}

.imphav-panel-kicker {
    display: inline-block;
    color: var(--imphav-accent);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.imphav-panel-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.imphav-panel-text {
    color: var(--imphav-text-muted);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.imphav-panel-list {
    list-style: none;
    padding: 0;
}

.imphav-panel-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: #D1D8E0;
    font-size: 0.9rem;
}

.imphav-panel-list li::before {
    content: "▪";
    position: absolute;
    left: 0;
    color: var(--imphav-accent);
    font-size: 1rem;
    line-height: 1;
}

/* Footer Bottom Area */
.imphav-bottom-area {
    background-color: var(--imphav-surface);
    padding: 5rem 2rem 2rem 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.imphav-bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.imphav-bottom-slogan {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--imphav-accent);
}

.imphav-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.imphav-bottom-desc, .imphav-bottom-warning {
    color: var(--imphav-text-muted);
    font-size: 0.95rem;
}

.imphav-bottom-warning strong {
    color: var(--imphav-text-main);
}

.imphav-bottom-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 2rem;
}

.imphav-bottom-contacts {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.imphav-contact-item {
    font-size: 0.9rem;
    color: var(--imphav-text-muted);
}

.imphav-contact-item strong {
    color: var(--imphav-accent);
}

.imphav-bottom-nav {
    display: flex;
    gap: 2rem;
}

.imphav-nav-link {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.imphav-bottom-copyright {
    text-align: center;
    color: var(--imphav-text-muted);
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 992px) {
    .imphav-intro-title {
        font-size: 3.5rem;
    }
    .imphav-card-matrix {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .imphav-masthead-inner {
        flex-direction: column;
        gap: 1rem;
    }
    .imphav-intro-stage {
        padding: 4rem 1.5rem;
    }
    .imphav-intro-title {
        font-size: 2.5rem;
    }
    .imphav-intro-metrics {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .imphav-card-matrix, .imphav-bottom-grid {
        grid-template-columns: 1fr;
    }
    .imphav-bottom-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
}
