/* FPI Styles - Navy, Silver, Cool White, Ice Blue */
:root {
    --navy: #0a1628;
    --silver: #c0c8d0;
    --white: #f8f9fa;
    --ice: #a0d8ef;
    --accent: #4a90a4;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--navy);
    margin: 0;
    background: var(--white);
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
}

.fpi-opening {
    height: 100vh;
    background: linear-gradient(to bottom, #87ceeb, #e0e0e0);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.fpi-aircraft-scene {
    text-align: center;
}

.fpi-cessna-placeholder {
    width: 600px;
    height: 300px;
    background: #fff;
    border: 2px solid var(--navy);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--navy);
}

.fpi-open-door-btn {
    background: var(--navy);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 4px;
}

.fpi-open-door-btn:hover {
    background: var(--accent);
}

.fpi-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.fpi-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--silver);
}

.fpi-logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--navy);
}

.fpi-header nav a {
    margin-left: 20px;
    text-decoration: none;
    color: var(--navy);
}

.fpi-hero {
    text-align: center;
    padding: 60px 0;
}

.fpi-btn {
    background: var(--navy);
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    display: inline-block;
}

.fpi-section {
    padding: 40px 0;
}

.fpi-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.fpi-card {
    border: 1px solid var(--silver);
    padding: 20px;
    border-radius: 8px;
}

.fpi-3d-viewer {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    min-height: 500px;
}

#fpi-canvas-container {
    height: 400px;
    background: #f0f0f0;
    border: 1px solid var(--silver);
}

.fpi-controls, .fpi-parts {
    margin: 10px 0;
}

.fpi-parts button, .fpi-controls button {
    margin: 5px;
    padding: 8px 12px;
    background: var(--silver);
    border: none;
    cursor: pointer;
}

.fpi-side-panel {
    background: var(--white);
    padding: 15px;
    border: 1px solid var(--silver);
}

.fpi-instruments {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.dial {
    width: 150px;
    height: 150px;
    border: 4px solid var(--navy);
    border-radius: 50%;
    position: relative;
    margin: 20px auto;
    background: #fff;
}

.needle {
    width: 2px;
    height: 60px;
    background: red;
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform-origin: bottom center;
    transform: rotate(0deg);
}

.fpi-radio {
    max-width: 400px;
}

.fpi-footer {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid var(--silver);
}

@media (max-width: 768px) {
    .fpi-cards, .fpi-3d-viewer, .fpi-instruments {
        grid-template-columns: 1fr;
    }
    .fpi-cessna-placeholder {
        width: 100%;
        height: 200px;
    }
}
