:root {
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --powerbi-yellow: #f2c811;
    --powerbi-yellow-hover: #dfb70f;
    --text-main: #ffffff;
    --text-muted: #adadad;
    --border: #292929;
    --input-bg: #1e1e1e;
    --success-green: #2ecc71;
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
    margin: 0;
    color: var(--text-main);
    line-height: 1.6;
    background: var(--bg-dark);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: -0.03em;
}

.logo a span.accent {
    color: var(--powerbi-yellow);
}

nav a {
    margin-left: 2rem;
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
}

nav a:hover, nav a.active {
    color: var(--powerbi-yellow);
}

main {
    flex: 1;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem 5rem 2rem;
    position: relative;
}

/* Fluid View Fade-In Engine Hook */
.fade-in-view {
    animation: viewTransition 0.4s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    opacity: 0;
    will-change: opacity, transform;
}

@keyframes viewTransition {
    0% {
        opacity: 0;
        transform: translateY(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-top: 0;
    margin-bottom: 1.25rem;
    letter-spacing: -0.04em;
    line-height: 1.15;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* 4-Column Grid Structure Optimization */
.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.card {
    padding: 2rem 1.5rem;
    background: var(--bg-card);
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.card:hover {
    border-color: var(--powerbi-yellow);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(242, 200, 17, 0.05);
}

.card h3 {
    font-size: 1.2rem;
    color: var(--text-main);
    margin: 0 0 1.25rem 0;
    font-weight: 600;
    border-left: 4px solid var(--powerbi-yellow);
    padding-left: 0.75rem;
    line-height: 1.3;
}

.card p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* 3-Step Approach Layout Section Structures */
.approach-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 1.5rem;
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    position: relative;
}

.step-badge {
    background: rgba(242, 200, 17, 0.1);
    color: var(--powerbi-yellow);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    height: 50px;
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    border: 1px solid rgba(242, 200, 17, 0.3);
}

.step-content h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.4rem;
    color: var(--text-main);
}

.step-content p {
    margin: 0;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Interactive Split Contact Layout Forms */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}

.contact-info {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item strong {
    display: block;
    color: var(--powerbi-yellow);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
}

.contact-item span {
    font-size: 1.15rem;
    font-weight: 500;
}

.contact-form-container {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--input-bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--powerbi-yellow);
}

.submit-btn {
    background: var(--powerbi-yellow);
    color: #000000;
    border: none;
    padding: 0.85rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.2s, transform 0.1s;
}

.submit-btn:hover {
    background: var(--powerbi-yellow-hover);
}

.submit-btn:active {
    transform: scale(0.98);
}

.form-message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 4px;
    font-size: 0.9rem;
    text-align: center;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(46, 204, 113, 0.15);
    color: var(--success-green);
    border: 1px solid var(--success-green);
}

/* Dynamic View Loading Spinner Engine */
.spinner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    width: 100%;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border);
    border-top: 4px solid var(--powerbi-yellow);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

footer {
    text-align: center;
    padding: 2.5rem;
    font-size: 0.85rem;
    color: #666666;
    border-top: 1px solid var(--border);
    width: 100%;
    margin-top: auto;
}

/* Responsive Structural Breakpoints */
@media (max-width: 1024px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .grid {
        grid-template-columns: 1fr;
    }
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    header {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem 1rem;
    }
    nav a {
        margin: 0 1rem;
    }
}

@media (max-width: 600px) {
    .timeline-step {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem;
    }
    .step-badge {
        width: 100%;
        height: 40px;
    }
}
