/* gantt.css — Nordic Tech Design System v3.8.0 */
/* Product page styles for Gantt Capacity Planner */
/* Theme: Amber/Orange — #d97706 / #f59e0b */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700;800&display=swap');

/* ========== BASE ========== */

h1 {
    text-align: center;
    margin-bottom: 40px;
    font-family: 'Outfit', sans-serif;
}

.content-block {
    margin-bottom: 60px;
    animation: fadeIn 0.6s ease-out;
    scroll-margin-top: 150px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.section-title {
    color: #d97706;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.5em, 3vw, 1.8em);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(217, 119, 6, 0.25);
    font-weight: 700;
}

/* ========== BANNER ========== */

.bpm-banner {
    position: relative;
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #1c1917 0%, #78350f 50%, #d97706 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(28, 25, 23, 0.35);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.bpm-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(217, 119, 6, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(245, 158, 11, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(251, 191, 36, 0.12) 0%, transparent 70%);
    opacity: 0.7;
}

/* Gantt chart overlay */
.gantt-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.12;
    z-index: 1;
}

.gantt-icon {
    width: 200px;
    height: 160px;
    color: #f59e0b;
    animation: ganttPulse 4s ease-in-out infinite;
}

@keyframes ganttPulse {
    0%, 100% { opacity: 0.12; transform: scale(1); }
    50%      { opacity: 0.2; transform: scale(1.05); }
}

.circuit-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.35;
}

.circuit-line {
    position: absolute;
    background: rgba(245, 158, 11, 0.5);
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.7);
}

.circuit-line.h1 { width: 35%; height: 2px; top: 15%; left: 10%; animation: pulseCircuit 4s ease-in-out infinite; }
.circuit-line.h2 { width: 25%; height: 2px; top: 45%; right: 15%; animation: pulseCircuit 5s ease-in-out infinite 1s; }
.circuit-line.h3 { width: 30%; height: 2px; bottom: 20%; left: 20%; animation: pulseCircuit 4.5s ease-in-out infinite 2s; }
.circuit-line.v1 { width: 2px; height: 25%; top: 20%; left: 25%; animation: pulseCircuit 4s ease-in-out infinite 0.5s; }
.circuit-line.v2 { width: 2px; height: 30%; top: 30%; right: 20%; animation: pulseCircuit 5s ease-in-out infinite 1.5s; }

.circuit-node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #f59e0b;
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.9);
    animation: nodeGlow 3s ease-in-out infinite;
}

.circuit-node.n1 { top: 15%; left: 10%; animation-delay: 0s; }
.circuit-node.n2 { top: 15%; left: 45%; animation-delay: 0.5s; }
.circuit-node.n3 { top: 45%; right: 15%; animation-delay: 1s; }
.circuit-node.n4 { top: 45%; right: 40%; animation-delay: 1.5s; }
.circuit-node.n5 { bottom: 20%; left: 20%; animation-delay: 2s; }
.circuit-node.n6 { bottom: 20%; left: 50%; animation-delay: 2.5s; }
.circuit-node.n7 { top: 20%; left: 25%; animation-delay: 0.7s; }
.circuit-node.n8 { top: 30%; right: 20%; animation-delay: 1.2s; }

@keyframes pulseCircuit {
    0%, 100% { opacity: 0.3; box-shadow: 0 0 8px rgba(245, 158, 11, 0.6); }
    50%      { opacity: 0.8; box-shadow: 0 0 16px rgba(245, 158, 11, 1); }
}

@keyframes nodeGlow {
    0%, 100% { transform: scale(1);   box-shadow: 0 0 12px rgba(245, 158, 11, 0.8); }
    50%      { transform: scale(1.3); box-shadow: 0 0 22px rgba(245, 158, 11, 1), 0 0 32px rgba(245, 158, 11, 0.6); }
}

.banner-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 40px;
}

.banner-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.5em, 6vw, 4.5em);
    font-weight: 800;
    color: white;
    text-shadow: 0 0 20px rgba(245, 158, 11, 0.5), 0 4px 15px rgba(0, 0, 0, 0.5);
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.banner-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.2em, 3vw, 2em);
    font-weight: 400;
    color: #fcd34d;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    margin-top: 15px;
    opacity: 0.9;
}

.banner-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.08) 50%, transparent 100%);
    transform: skewX(-25deg);
    animation: shine 8s ease-in-out infinite;
}

@keyframes shine {
    0%  { left: -100%; }
    20% { left: 150%; }
    100% { left: 150%; }
}

/* ========== INTRODUCTION ========== */

.intro-text {
    font-size: clamp(0.95em, 1.5vw, 1.05em);
    line-height: 1.8;
    color: #334155;
    padding: 20px 24px;
    background: #ffffff;
    border: 1px solid rgba(217, 119, 6, 0.12);
    border-left: 4px solid #d97706;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

.definition-box {
    padding: 22px 26px;
    margin: 20px 0;
    background: #ffffff;
    border: 1px solid rgba(217, 119, 6, 0.12);
    border-left: 4px solid #d97706;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

.definition-box h4 {
    color: #0f172a;
    margin-bottom: 15px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.2em;
}

.definition-box ul { margin-top: 10px; }

.questions {
    padding: 25px;
    margin: 20px 0;
    background: #ffffff;
    border: 1px solid rgba(217, 119, 6, 0.12);
    border-left: 4px solid #d97706;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

.questions h3 {
    color: #d97706;
    font-family: 'Outfit', sans-serif;
    margin-top: 0;
    margin-bottom: 15px;
}

.questions ul li {
    padding: 10px 0;
    padding-left: 35px;
    position: relative;
    font-size: 1em;
    color: #334155;
}

.questions ul li:before {
    content: "?";
    position: absolute;
    left: 5px;
    color: #d97706;
    font-size: 1.2em;
    font-weight: 700;
    width: 22px;
    height: 22px;
    background: rgba(217, 119, 6, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 22px;
    text-align: center;
}

/* ========== COMPARISON GRID (VS Traditional Planning) ========== */

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 24px 0;
}

.comparison-card {
    padding: 24px;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

.comparison-card.traditional {
    background: #ffffff;
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-top: 4px solid #ef4444;
}

.comparison-card.modern {
    background: #ffffff;
    border: 1px solid rgba(217, 119, 6, 0.15);
    border-top: 4px solid #d97706;
}

.comparison-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.comparison-icon {
    font-size: 1.5em;
}

.comparison-header h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.comparison-card.traditional ul li::before {
    content: "\2717";
    color: #ef4444;
}

.comparison-card.modern ul li::before {
    content: "\2713";
    color: #d97706;
}

.comparison-card ul li {
    padding: 8px 0 8px 28px;
    position: relative;
    font-size: 0.95em;
    color: #334155;
    line-height: 1.5;
}

.comparison-card ul li::before {
    position: absolute;
    left: 4px;
    font-size: 1.1em;
    font-weight: 700;
}

/* ========== SOLUTION ========== */

.paradigm-box {
    padding: 20px 28px;
    margin: 20px 0;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid rgba(217, 119, 6, 0.15);
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

.paradigm-box p {
    font-size: clamp(1.05em, 1.75vw, 1.15em);
    color: #0f172a;
    font-weight: 600;
    line-height: 1.6;
}

/* ========== DIMENSIONS GRID (Capabilities) ========== */

.dimensions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 24px 0;
}

.dimension-card {
    background: #ffffff;
    padding: 24px;
    border: 1px solid rgba(217, 119, 6, 0.1);
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
}

.dimension-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(217, 119, 6, 0.12);
}

.dimension-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;
    color: #d97706;
}

.dimension-icon svg {
    width: 100%;
    height: 100%;
}

.dimension-card h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
    font-size: 1.05em;
}

.dimension-card p {
    color: #475569;
    font-size: 0.9em;
    line-height: 1.6;
}

/* ========== ENGINES SECTION ========== */

.engines-section {
    margin: 24px 0;
    padding: 24px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 14px;
    border: 1px solid rgba(245, 158, 11, 0.2);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.25);
}

.engines-intro {
    color: #94a3b8;
    text-align: center;
    margin-bottom: 20px;
    font-size: 0.95em;
    line-height: 1.6;
}

.engines-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.engine-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: 10px;
    background: rgba(245, 158, 11, 0.06);
    border: 1px solid rgba(245, 158, 11, 0.12);
    transition: transform 0.2s ease;
}

.engine-item:hover { transform: translateX(4px); }

.engine-number {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.85em;
    padding: 6px 10px;
    border-radius: 8px;
    min-width: 36px;
    text-align: center;
    background: #d97706;
    color: white;
    letter-spacing: 0.5px;
}

.engine-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.engine-name {
    color: #fcd34d;
    font-weight: 700;
    font-size: 0.9em;
}

.engine-desc {
    color: #94a3b8;
    font-size: 0.8em;
    line-height: 1.4;
}

/* ========== BENEFITS GRID ========== */

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.benefit-card {
    background: #ffffff;
    padding: 20px;
    border: 1px solid rgba(217, 119, 6, 0.1);
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(217, 119, 6, 0.12);
}

.benefit-card h4 {
    color: #0f172a;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 10px;
    font-weight: 700;
}

/* ========== SHOWCASE ========== */

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
    margin: 0 auto 30px auto;
    max-width: 1200px;
}

.showcase-item {
    background: linear-gradient(135deg, #0f172a 0%, #78350f 100%);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(245, 158, 11, 0.2);
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.25);
}

.showcase-item:hover {
    transform: translateY(-5px);
    border-color: rgba(245, 158, 11, 0.45);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.35);
}

.showcase-item-full { grid-column: 1 / -1; }

.item-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #e2e8f0;
}

.item-number {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #d97706, #f59e0b);
    border-radius: 10px;
    text-align: center;
    line-height: 35px;
    margin-right: 12px;
    font-weight: bold;
    color: white;
}

.showcase-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.showcase-list li {
    padding: 8px 0 8px 28px;
    position: relative;
    color: #cbd5e1;
    font-size: 0.95em;
    line-height: 1.6;
}

.showcase-list li::before {
    content: "\2192";
    position: absolute;
    left: 4px;
    color: #f59e0b;
    font-weight: 700;
}

/* ========== ARCHITECTURE SECTION ========== */

.arch-section { margin: 40px 0; }

.arch-desc {
    text-align: center;
    color: #334155;
    margin-bottom: 30px;
}

/* ========== WORKFLOWS SECTION ========== */

.workflows-section { margin: 40px 0; }

/* ========== METRICS GRID ========== */

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 24px 0;
}

.metric-card {
    background: linear-gradient(135deg, #0f172a 0%, #78350f 100%);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 14px;
    padding: 24px 16px;
    text-align: center;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.metric-card:hover {
    transform: translateY(-3px);
    border-color: rgba(245, 158, 11, 0.5);
}

.metric-value {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5em;
    font-weight: 800;
    color: #f59e0b;
    line-height: 1;
    margin-bottom: 8px;
}

.metric-label {
    color: #94a3b8;
    font-size: 0.85em;
    line-height: 1.4;
}

/* ========== HIGHLIGHT BOX ========== */

.highlight-box {
    background: linear-gradient(135deg, #1c1917 0%, #78350f 100%);
    backdrop-filter: blur(10px);
    padding: 18px 28px;
    border-radius: 14px;
    margin: 30px 0;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(245, 158, 11, 0.25);
    box-shadow: 0 4px 20px rgba(28, 25, 23, 0.25);
}

.highlight-box-text {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1em, 1.8vw, 1.2em);
    font-weight: 700;
    text-align: center;
    white-space: normal;
    max-width: 90%;
    padding: 0 10px;
    position: relative;
    display: inline-block;
    color: #ffffff;
}

@supports (-webkit-background-clip: text) or (background-clip: text) {
    .highlight-box-text {
        background: linear-gradient(110deg, #fcd34d 0%, #ffffff 50%, #fcd34d 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}

.highlight-box-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(245, 158, 11, 0.08) 20%,
        rgba(245, 158, 11, 0.18) 40%,
        rgba(245, 158, 11, 0.25) 50%,
        rgba(245, 158, 11, 0.18) 60%,
        rgba(245, 158, 11, 0.08) 80%,
        transparent 100%
    );
    animation: electricBanner 4s ease-in-out infinite;
    transform: skewX(-15deg);
    filter: blur(2px);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.3), 0 0 30px rgba(245, 158, 11, 0.2);
}

@keyframes electricBanner {
    0%   { left: -100%; }
    100% { left: 120%; }
}

.highlight-box-text {
    text-shadow: 0 0 5px rgba(245, 158, 11, 0.2);
}

/* ========== NAVIGATION BUTTONS ========== */

.navigation-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid rgba(217, 119, 6, 0.15);
}

.btn-secondary {
    background: linear-gradient(135deg, #d97706, #b45309);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

/* ========== PORTAL LINK ========== */

.nav-portal-link {
    background: #2563eb !important;
    border: none !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.3) !important;
}

.nav-portal-link:hover {
    background: #3b82f6 !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.5) !important;
}

.nav-menu a.nav-portal-link {
    background: #2563eb !important;
    color: white !important;
    border: none !important;
    padding: 6px 14px !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25) !important;
    text-shadow: none !important;
    border-bottom: none !important;
    animation: none !important;
}

.nav-menu a.nav-portal-link:hover {
    background: #3b82f6 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4) !important;
}

.btn-text-mobile { display: none; }
.btn-text-full   { display: inline; }

/* ========== MODAL (override global) ========== */

.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(28, 25, 23, 0.6);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal-overlay.active { display: flex; }

.modal {
    background: white;
    padding: 35px;
    border-radius: 16px;
    width: 90%;
    max-width: 650px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.2);
    animation: modalSlideIn 0.3s ease-out;
    border: 1px solid rgba(217, 119, 6, 0.12);
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(-50px); }
    to   { opacity: 1; transform: translateY(0); }
}

.modal h2 {
    color: #0f172a;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 25px;
    border-bottom: 2px solid rgba(217, 119, 6, 0.2);
    padding-bottom: 12px;
}

.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.95em;
}

.form-group label.required:after { content: " *"; color: #dc2626; }

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1.5px solid rgba(217, 119, 6, 0.2);
    border-radius: 8px;
    font-size: 0.95em;
    font-family: 'Inter', Arial, sans-serif;
    color: #334155;
    background: #f8fafc;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d97706;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
}

.form-group textarea { min-height: 150px; resize: vertical; }
.form-group input.error,
.form-group textarea.error { border-color: #dc2626; }

.error-message { color: #dc2626; font-size: 0.85em; margin-top: 5px; min-height: 18px; }

.modal-buttons { display: flex; gap: 12px; margin-top: 30px; }

.modal-buttons button {
    flex: 1;
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95em;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Inter', Arial, sans-serif;
}

.send-btn { background: #d97706; color: white; }
.send-btn:hover {
    background: #b45309;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

.cancel-btn { background: #f8fafc; color: #1e293b; border: 1.5px solid rgba(217, 119, 6, 0.2); }
.cancel-btn:hover { background: #fffbeb; }

/* ========== RESPONSIVE ========== */

@media (max-width: 900px) {
    .dimensions-grid { grid-template-columns: repeat(2, 1fr); }
    .comparison-grid { grid-template-columns: 1fr; }
    .metrics-grid { grid-template-columns: repeat(2, 1fr); }
    .engines-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .intro-text   { padding: 15px 18px; font-size: 0.95em; }
    .definition-box,
    .questions     { padding: 18px; }
    .highlight-box { padding: 20px; font-size: 1em; }

    .navigation-buttons { flex-direction: column; gap: 15px; }
    .navigation-buttons .btn { width: 100%; text-align: center; }

    .bpm-banner { height: 300px; }
    .banner-content { padding: 20px; }
    .circuit-line.h1, .circuit-line.h2, .circuit-line.h3 { width: 40%; }
    .circuit-line.v1, .circuit-line.v2 { height: 35%; }

    .showcase-grid { grid-template-columns: 1fr; }
    .benefits-grid { grid-template-columns: 1fr; }
    .dimensions-grid { grid-template-columns: 1fr; }
    .metrics-grid { grid-template-columns: repeat(2, 1fr); }
    .engines-grid { grid-template-columns: 1fr; }

    .nav-menu a { font-size: 0.65em; padding: 4px 7px; white-space: nowrap; flex-shrink: 0; }
    .nav-menu a.nav-portal-link { padding: 4px 8px !important; font-size: 0.65em !important; }

    .btn-text-full   { display: none !important; }
    .btn-text-mobile { display: inline !important; font-size: 1.3em; }
    .language-selector { width: 60px; }
    .btn-contact { font-size: 0.8em; padding: 5px 8px; min-width: auto; width: 100%; }
}

@media (max-width: 480px) {
    .bpm-banner { height: 250px; }
    .banner-subtitle { margin-top: 10px; }
    .nav-menu a { font-size: 0.55em; padding: 2px 4px; }
    .nav-menu a.nav-portal-link { padding: 3px 6px !important; font-size: 0.6em !important; }
    .language-selector { width: 55px; }
    .btn-contact { font-size: 0.75em; padding: 4px 6px; }
    .metrics-grid { grid-template-columns: 1fr 1fr; }
    .engines-grid { grid-template-columns: 1fr; }
}
