/* Premium Architect Monochrome Stylesheet for Consilys */

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #fafafa;
    --text-primary: #111111;
    --text-secondary: #666666;
    --border-color: #e4e4e7;
    --border-dark: #111111;
    --accent-color: #000000;
    --accent-gray: #f4f4f5;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --transition-clean: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
}

body {
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    line-height: 1.25;
}

p {
    color: var(--text-secondary);
}

.text-serif {
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 400;
}

.text-green { color: #111111 !important; font-weight: 700; }
.text-blue { color: #111111 !important; }
.text-red { color: #881111 !important; }
.border-bottom { border-bottom: 1px solid var(--border-color); padding-bottom: 1rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }

/* Buttons styling - Architect wireframe look */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-clean);
    border-radius: 0px; /* Sharp corners for architectural feel */
}

.btn-primary {
    background-color: var(--accent-color);
    color: #ffffff;
    border: 1px solid var(--accent-color);
}

.btn-primary:hover {
    background-color: #ffffff;
    color: var(--accent-color);
}

.btn-secondary {
    background-color: #ffffff;
    color: var(--text-primary);
    border: 1px solid var(--border-dark);
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    color: #ffffff;
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--border-dark);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
    padding: 1.1rem;
}

/* Card layout - Fine lines, no shadow */
.card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 0px;
    padding: 2.5rem;
    transition: var(--transition-clean);
}

.card:hover {
    border-color: var(--border-dark);
}

/* Navbar - Clean floating glass, minimal border */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-clean);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-svg {
    width: 32px;
    height: 32px;
    color: var(--text-primary);
}

.logo-text {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.15em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: var(--transition-clean);
}

.nav-menu a:hover {
    color: var(--text-primary);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10rem 2rem 6rem 2rem;
    text-align: center;
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    opacity: 0.15;
    filter: grayscale(100%);
}

.hero-container {
    max-width: 850px;
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: var(--accent-gray);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 0px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.75rem;
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
}

.hero h1 {
    font-size: 3.8rem;
    line-height: 1.15;
    margin-bottom: 1.8rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 3rem;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

/* Highlights */
.highlights {
    padding-top: 5rem;
}

.highlight-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    border: 1px solid var(--border-color);
    border-radius: 0px;
}

.highlight-card:hover {
    border-color: var(--border-dark);
}

.icon-wrapper {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
}

.icon-wrapper svg {
    width: 24px;
    height: 24px;
}

.highlight-card h3 {
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 5rem auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
}

.section-header p {
    font-size: 1.05rem;
}

/* Security Section */
.securite-section {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.security-card {
    border-radius: 0px;
    padding: 3rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
}

.security-card h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.8rem;
}

.security-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.security-card li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 0.95rem;
}

.icon-svg {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-top: 2px;
}

.security-card.allowed {
    border-top: 3px solid var(--border-dark);
}

.security-card.allowed h3 {
    color: var(--text-primary);
}

.security-card.allowed .icon-svg.check {
    color: var(--text-primary);
}

.security-card.forbidden {
    border-top: 3px solid #b91c1c;
}

.security-card.forbidden h3 {
    color: #b91c1c;
}

.security-card.forbidden .icon-svg.cross {
    color: #b91c1c;
}

/* Simulator Section */
.simulator-container {
    max-width: 1050px;
    margin: 0 auto;
    padding: 3.5rem;
    border: 1px solid var(--border-dark); /* Strong dark outline like architectural blueprints */
    border-radius: 0px;
    background: var(--bg-primary);
}

.simulator-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
}

.input-group {
    margin-bottom: 2.5rem;
}

.input-group label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* Custom black minimalist slider */
.slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 2px;
    background: var(--border-dark);
    outline: none;
    margin: 1.5rem 0 0.5rem 0;
}

.slider::-webkit-slider-runnable-track {
    width: 100%;
    height: 2px;
    cursor: pointer;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: var(--accent-color);
    cursor: pointer;
    margin-top: -7px;
    border: 1px solid var(--accent-color);
    border-radius: 0px; /* Sharp thumb */
    transition: var(--transition-clean);
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.3);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.packs-selector {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.pack-option {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 0px;
    padding: 1.2rem;
    cursor: pointer;
    position: relative;
    transition: var(--transition-clean);
}

.pack-option:hover {
    border-color: var(--border-dark);
}

.pack-option.active {
    border-color: var(--border-dark);
    background: var(--accent-gray);
}

.pack-option h4 {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    margin-bottom: 0.2rem;
}

.pack-option h5 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.pack-option p {
    font-size: 0.85rem;
    line-height: 1.4;
    padding-right: 6rem;
}

.pack-badge {
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.2rem 0.6rem;
    border-radius: 0px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
}

.pack-option.active .pack-badge {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #ffffff;
}

/* Simulator Results Panel - Column style */
.simulator-results {
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-color);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.simulator-results h3 {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.8rem;
}

.result-row {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.result-row span:first-child {
    color: var(--text-secondary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.result-row .value {
    text-align: left;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.total-row span:first-child {
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.total-value {
    font-size: 2.2rem;
    font-weight: 700;
}

.simulator-disclaimer {
    font-size: 0.7rem;
    margin-bottom: 2rem;
    line-height: 1.4;
}

/* Process Timeline - Clean wireframe lines */
.timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    width: 1px;
    height: 100%;
    background: var(--border-dark);
    opacity: 0.2;
}

.timeline-item {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-badge {
    width: 82px;
    height: 82px;
    min-width: 82px;
    background: var(--bg-primary);
    border: 1px solid var(--border-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    z-index: 2;
    transition: var(--transition-clean);
}

.timeline-item:hover .timeline-badge {
    background: var(--border-dark);
    color: #ffffff;
}

.timeline-content {
    flex: 1;
    border-radius: 0px;
}

.timeline-content h3 {
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

/* Footer styling */
.footer {
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
    padding: 4rem 0;
    text-align: center;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-bottom p {
    font-size: 0.85rem;
}

.architect-tag {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--text-primary);
    margin-top: 1rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .simulator-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .simulator-results {
        border-left: none;
        border-top: 1px solid var(--border-color);
        padding-left: 0;
        padding-top: 3rem;
    }
}

@media (max-width: 768px) {
    .grid-3, .grid-2 {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .nav-menu {
        display: none;
    }
    .timeline-item {
        flex-direction: column;
        gap: 1.5rem;
    }
    .timeline::before {
        display: none;
    }
}
