/* code */
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Inter:wght@400;500;700&display=swap');

:root {
    --color-background: #F5F5F5;
    --color-foreground: #111111;
    --color-accent: #0055FF;
    --color-accent-hover: #0044CC;
    --color-white: #FFFFFF;
    --color-border: #111111;
    --color-error: #D93025;
    --font-heading: 'Archivo Black', sans-serif;
    --font-body: 'Inter', sans-serif;
    --container-width: 1140px;
    --border-width: 2px;
    --border-radius: 0;
    --shadow-offset: 6px;
    --transition-speed: 0.2s;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    background-color: var(--color-background);
    color: var(--color-foreground);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-accent);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--color-accent-hover);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.hidden {
    display: none !important;
}

.section-container {
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding: 0 1.5rem;
}

section {
    padding: 4rem 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.page-canopy {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--color-white);
    border-bottom: var(--border-width) solid var(--color-border);
    padding: 1rem 0;
}

.canopy-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.brand-emblem {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-foreground);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.guidance-array { display: none; }

.nav-link-cluster {
    display: flex;
    gap: 2rem;
}

.nav-link-cluster a {
    text-decoration: none;
    font-weight: 500;
    color: var(--color-foreground);
    position: relative;
}

.nav-link-cluster a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--color-accent);
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.nav-link-cluster a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.mobile-nav-trigger, .mobile-nav-closer {
    background: none;
    border: none;
    font-size: 1.75rem;
    cursor: pointer;
    color: var(--color-foreground);
}

.mobile-guidance-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background-color: var(--color-white);
    border-left: var(--border-width) solid var(--color-border);
    z-index: 1100;
    transition: right 0.3s ease-in-out;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.mobile-guidance-overlay.is-open { right: 0; }
.mobile-nav-closer { align-self: flex-end; margin-bottom: 2rem; }
.mobile-link-cluster { display: flex; flex-direction: column; gap: 1.5rem; }
.mobile-link-cluster a { font-size: 1.25rem; text-decoration: none; color: var(--color-foreground); font-weight: 700; }

.primary-vanguard {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 1.5rem;
    text-align: center;
    color: var(--color-white);
}

.vanguard-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.vanguard-backdrop::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 17, 17, 0.7);
    z-index: -1;
}

.vanguard-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vanguard-content {
    max-width: 800px;
}

.vanguard-headline {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.vanguard-subheadline {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.cta-primary, .cta-secondary {
    display: inline-block;
    padding: 0 2rem;
    min-height: 50px;
    line-height: 50px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border: var(--border-width) solid var(--color-border);
    cursor: pointer;
    text-align: center;
    transition: all var(--transition-speed) ease-out;
}

.cta-primary {
    background-color: var(--color-accent);
    color: var(--color-white);
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--color-border);
}

.cta-primary:hover {
    background-color: var(--color-accent-hover);
    box-shadow: 0 0 0 var(--color-border);
    transform: translate(var(--shadow-offset), var(--shadow-offset));
}

.cta-secondary {
    background-color: transparent;
    color: var(--color-foreground);
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--color-border);
}

.cta-secondary:hover {
    background-color: var(--color-foreground);
    color: var(--color-white);
    box-shadow: 0 0 0 var(--color-border);
    transform: translate(var(--shadow-offset), var(--shadow-offset));
}

.matrix-grid {
    display: grid;
    gap: 2rem;
}

.data-capsule {
    background-color: var(--color-white);
    border: var(--border-width) solid var(--color-border);
    padding: 2rem;
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--color-border);
    transition: all var(--transition-speed) ease-out;
    cursor: pointer;
}

.data-capsule:hover, .data-capsule:focus-within {
    transform: translate(calc(var(--shadow-offset) / -2), calc(var(--shadow-offset) / -2));
    box-shadow: calc(var(--shadow-offset) * 1.5) calc(var(--shadow-offset) * 1.5) 0 var(--color-accent);
}

.capsule-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.capsule-icon { font-size: 2rem; color: var(--color-accent); }
.capsule-title { margin-bottom: 0; }
.capsule-detail { max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.4s ease, opacity 0.4s ease, margin-top 0.4s ease; }
.data-capsule.capsule-open .capsule-detail { max-height: 200px; opacity: 1; margin-top: 1rem; }

.process-flow { background-color: var(--color-white); }
.flow-steps { display: grid; gap: 2rem; }
.flow-step {
    text-align: center;
    padding: 2rem;
    border: var(--border-width) solid var(--color-border);
}
.step-indicator { display: none; }
.step-icon { font-size: 3rem; color: var(--color-accent); margin-bottom: 1rem; }
.step-title { margin-bottom: 0.5rem; }

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}
.pricing-plan {
    background-color: var(--color-white);
    border: var(--border-width) solid var(--color-border);
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.featured-plan {
    border-color: var(--color-accent);
    transform: scale(1.05);
    position: relative;
}
.plan-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: 0.25rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
}
.plan-name { color: var(--color-accent); }
.plan-price { font-size: 2.5rem; font-family: var(--font-heading); margin-bottom: 1rem; }
.plan-period { font-size: 1rem; color: #666; }
.plan-features { text-align: left; margin: 1.5rem 0; flex-grow: 1; }
.plan-features li { margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.5rem; }
.plan-features .fa-check { color: var(--color-accent); }

.inquiry-module { background-color: var(--color-white); }
.form-container {
    display: grid;
    gap: 3rem;
}
.inquiry-image { margin-top: 2rem; border: var(--border-width) solid var(--color-border); }
.contact-form-stack { display: flex; flex-direction: column; gap: 1rem; }
.form-field label { display: block; font-weight: 500; margin-bottom: 0.25rem; }
.form-field input, .form-field textarea {
    width: 100%;
    min-height: 48px;
    padding: 0 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: var(--color-background);
    border: var(--border-width) solid var(--color-border);
    border-radius: var(--border-radius);
    transition: border-color var(--transition-speed) ease;
}
.form-field textarea { padding: 0.75rem 1rem; min-height: 120px; }
.form-field input:focus, .form-field textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}
.form-field input:invalid:not(:placeholder-shown) { border-color: var(--color-error); }
.form-submit-button { width: 100%; }

.site-foundation {
    background-color: var(--color-foreground);
    color: var(--color-white);
    padding-top: 4rem;
}
.foundation-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding-bottom: 3rem;
}
.footer-brand { color: var(--color-white); }
.footer-tagline { color: #ccc; }
.social-links { display: flex; gap: 1.5rem; margin-top: 1.5rem; }
.social-links a { font-size: 1.5rem; color: var(--color-white); text-decoration: none; }
.foundation-links h4 { color: var(--color-white); }
.foundation-links ul li { margin-bottom: 0.5rem; }
.foundation-links a { color: #ccc; text-decoration: none; }
.foundation-links a:hover { color: var(--color-white); text-decoration: underline; }
.foundation-copyright {
    text-align: center;
    padding: 1.5rem;
    border-top: 1px solid #444;
    font-size: 0.9rem;
    color: #ccc;
}
.foundation-copyright p { margin: 0; }

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 17, 17, 0.8);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.modal-content {
    background: var(--color-white);
    color: var(--color-foreground);
    padding: 2rem;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border: var(--border-width) solid var(--color-border);
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--color-border);
}
.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    line-height: 1;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-foreground);
}
.modal-content h2 { color: var(--color-accent); }

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background-color: var(--color-white);
    color: var(--color-foreground);
    border-top: var(--border-width) solid var(--color-border);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    transform: translateY(110%);
    transition: transform 0.5s ease-in-out;
}
.cookie-banner.is-visible {
    transform: translateY(0);
}
.cookie-banner p { margin: 0; }
.cookie-actions { display: flex; gap: 1rem; width: 100%; }
.cookie-actions button {
    flex-grow: 1;
    min-height: 44px;
    padding: 0 1rem;
    border: var(--border-width) solid var(--color-border);
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}
#cookie-accept { background-color: var(--color-accent); color: var(--color-white); }
#cookie-accept:hover { background-color: var(--color-accent-hover); }
#cookie-decline { background-color: var(--color-background); color: var(--color-foreground); }
#cookie-decline:hover { background-color: #ddd; }

@media (min-width: 576px) {
    .vanguard-headline { font-size: 4rem; }
    .cookie-banner { flex-direction: row; justify-content: space-between; text-align: left; }
    .cookie-actions { width: auto; }
    .cookie-actions button { min-width: 120px; }
}

@media (min-width: 768px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.5rem; }
    .mobile-nav-trigger { display: none; }
    .guidance-array { display: flex; }
    .matrix-grid { grid-template-columns: 1fr 1fr; }
    .pricing-grid { grid-template-columns: repeat(3, 1fr); padding: 0 2rem; }
    .pricing-plan { padding: 2.5rem 2rem; }
    .featured-plan { transform: scale(1.1); }
    .featured-plan:hover { transform: scale(1.12); }
    .form-container { grid-template-columns: 1fr 1fr; align-items: center; }
    .inquiry-image { margin-top: 0; }
    .foundation-container { flex-direction: row; justify-content: space-between; }
    .foundation-primary { max-width: 40%; }
}

@media (min-width: 1024px) {
    section { padding: 6rem 0; }
    .vanguard-headline { font-size: 4.5rem; }
    .vanguard-subheadline { font-size: 1.5rem; }
    .matrix-grid { grid-template-columns: repeat(3, 1fr); }
    .flow-steps {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }
    .flow-step {
        width: 30%;
        position: relative;
    }
    .flow-steps > .flow-step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 45px;
        right: -35%;
        width: 70%;
        border-bottom: 2px dashed var(--color-accent);
    }
}