/* =====================================================
   ArtfulBits GmbH — Shared Stylesheet
   MAJORI Style: Deep Dark Blue + White + Blue Accent
   ===================================================== */

:root {
    /* DEFAULT LIGHT MODE VARIABLES */
    --primary-dark: #0A192F; /* Used for headers and primary contrast */
    --accent-blue: #2563EB;
    --accent-green: #10b981;
    --light-bg: #F8FAFC;
    --text-main: #334155;
    --text-muted: #64748B;
    --border: #e2e8f0;
    --bg-white: #ffffff;
    --card-bg: #ffffff;
    --nav-bg: rgba(255, 255, 255, 0.95);
    --input-bg: #ffffff;
}

[data-theme="dark"] {
    /* DARK MODE VARIABLES */
    --primary-dark: #f8fafc; /* Invert headers to light color */
    --accent-blue: #3b82f6; /* slightly lighter blue for dark mode */
    --accent-green: #34d399;
    --light-bg: #0f172a; /* Dark section backgrounds */
    --text-main: #cbd5e1;
    --text-muted: #94a3b8;
    --border: #334155;
    --bg-white: #020617; /* Main Body background */
    --card-bg: #1e293b;
    --nav-bg: rgba(2, 6, 23, 0.95);
    --input-bg: #0f172a;
}

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

html { 
    scroll-behavior: smooth; 
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background: var(--bg-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.25;
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent-blue); text-decoration: none; }

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

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==== TYPOGRAPHY ==== */
.section-label {
    color: var(--accent-blue);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: 2rem;
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 14px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 680px;
}

/* ==== LAYOUT ==== */
.section-padding { padding: 90px 0; }
.section-light { background: var(--light-bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ==== NAVBAR ==== */
.site-header {
    background: var(--primary-dark);
    border-bottom: 5px solid var(--accent-blue);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 24px;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.5px;
    white-space: nowrap;
    flex-shrink: 0;
}

.logo span { color: var(--accent-blue); }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    flex: 1;
    justify-content: center;
}

.nav-menu a {
    display: block;
    padding: 6px 14px;
    color: #cbd5e1;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
}

.nav-menu a:hover,
.nav-menu a.active { color: white; background: rgba(37, 99, 235, 0.2); }
.nav-menu a.active { color: var(--accent-blue); }

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.nav-contact {
    font-size: 0.85rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 7px;
}

.nav-contact i { color: var(--accent-blue); }

.lang-switch {
    display: flex;
    gap: 4px;
}

.lang-btn {
    font-size: 0.8rem;
    font-weight: 700;
    color: #94a3b8;
    padding: 5px 10px;
    border: 1px solid #334155;
    border-radius: 4px;
    transition: all 0.2s;
    letter-spacing: 0.5px;
}

.lang-btn:hover { color: white; border-color: var(--accent-blue); }
.lang-btn.active { color: white; border-color: var(--accent-blue); background: rgba(37,99,235,0.2); }

/* ==== HERO ==== */
.hero-bg {
    background: var(--primary-dark);
    padding: 90px 0 130px;
    color: white;
    text-align: center;
}

/* Dark themed tool sections with particles */
.tool-dark-section {
    background: #0f172a;
    border-radius: 24px;
    padding: 60px 50px;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}
/* White divider between dark tool sections */
.tool-separator {
    height: 40px;
    background: #ffffff !important;
    width: 100%;
    position: relative;
    z-index: 5;
}
.tool-dark-section .tool-particles {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
}
.tool-dark-section .tool-content {
    position: relative;
    z-index: 2;
}
.tool-dark-section .section-title,
.tool-dark-section h2 {
    color: white !important;
}
.tool-dark-section .section-subtitle,
.tool-dark-section .tool-subtitle {
    color: #cbd5e1 !important;
}
.tool-dark-section .section-badge {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    border-color: rgba(59, 130, 246, 0.3);
}
.tool-dark-section .debt-question h4 {
    color: #e2e8f0;
}
.tool-dark-section .sim-slider-container label,
.tool-dark-section .sim-slider-container label span {
    color: #e2e8f0 !important;
}
.tool-dark-section select {
    background: #1e293b;
    color: #e2e8f0;
    border-color: #334155;
}
.tool-dark-section .sim-radio-label {
    background: #1e293b;
    color: #cbd5e1;
    border-color: #334155;
}
.tool-dark-section .sim-radio-input:checked + .sim-radio-label {
    background: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
}
.tool-dark-section .sim-result-card {
    background: #1e293b;
    border-color: #334155;
}
.tool-dark-section .sim-result-card h4 {
    color: #e2e8f0 !important;
}
.tool-dark-section .sim-result-card p,
.tool-dark-section .sim-result-card span,
.tool-dark-section .sim-result-card div {
    color: #cbd5e1;
}
.tool-dark-section .sim-result-card .sim-roi-val {
    color: var(--accent-blue) !important;
}
.tool-dark-section .sim-result-card input[type="email"] {
    background: #0f172a;
    color: white;
    border-color: #334155;
}
.tool-dark-section textarea {
    background: #1e293b;
    color: #e2e8f0;
    border-color: #334155;
}
.tool-dark-section textarea::placeholder {
    color: #64748b;
}
.tool-dark-section .ai-skeleton {
    background: #1e293b;
}
.tool-dark-section #ai-res-stack span,
.tool-dark-section #ai-res-team li {
    color: #cbd5e1;
}
.tool-dark-section #ai-result-area h3 {
    color: #e2e8f0 !important;
}
.tool-dark-section #ai-result-area > div > div {
    background: #1e293b;
    border-color: #334155;
}
.tool-dark-section #ai-res-notes {
    color: #cbd5e1 !important;
}
.tool-dark-section .btn-secondary,
.tool-dark-section #ai-reset-btn {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}
.tool-dark-section input[type="email"] {
    background: #0f172a;
    color: white;
    border-color: #334155;
}
@media (max-width: 768px) {
    .tool-dark-section { padding: 40px 20px; }
}

.hero-badge {
    display: inline-block;
    background: rgba(37,99,235,0.18);
    color: var(--accent-blue);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 7px 18px;
    border-radius: 4px;
    margin-bottom: 28px;
    border: 1px solid rgba(37,99,235,0.4);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-sub {
    font-size: 1.2rem;
    color: #94a3b8;
    max-width: 680px;
    margin: 0 auto 44px;
    font-weight: 400;
}

/* ==== BUTTONS ==== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent-blue);
    color: white;
    padding: 15px 30px;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.45);
    color: white;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: white;
    padding: 14px 28px;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    border-color: white;
    color: white;
}

.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ==== HIGHLIGHT BOX ==== */
.highlight-wrap {
    position: relative;
    z-index: 10;
    margin-top: -60px;
    padding-bottom: 60px;
}

.highlight-box {
    background: white;
    border-left: 6px solid var(--accent-blue);
    padding: 40px 50px;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    max-width: 940px;
    margin: 0 auto;
}

.highlight-box h2 {
    color: var(--primary-dark);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.highlight-box h2 i { color: var(--accent-blue); }

.highlight-box p {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.8;
    margin: 0;
}

.highlight-box strong { color: var(--primary-dark); font-weight: 600; }

/* ==== TEAM GRID ==== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(440px, 1fr));
    gap: 36px;
}

.team-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 36px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.04);
    position: relative;
    transition: transform 0.25s, box-shadow 0.25s;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.08);
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 5px;
    background: var(--accent-blue);
    border-radius: 12px 12px 0 0;
}

.team-card h3 {
    color: var(--primary-dark);
    font-size: 1.2rem;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.badge {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    background: #eff6ff;
    color: var(--accent-blue);
    padding: 5px 12px;
    border-radius: 5px;
}

.tech-list { list-style: none; }

.tech-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.975rem;
    margin-bottom: 14px;
    color: var(--text-main);
}

.tech-list li i {
    color: var(--accent-green);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 3px;
}

.tech-list li strong {
    color: var(--primary-dark);
    min-width: 100px;
    display: inline-block;
    font-weight: 600;
}

/* ==== BENEFITS GRID ==== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 28px;
}

.benefit-item {
    display: flex;
    gap: 20px;
    background: white;
    padding: 28px;
    border-radius: 10px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    transition: transform 0.25s, box-shadow 0.25s;
}

.benefit-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.07);
}

.benefit-icon {
    width: 54px; height: 54px;
    background: #eff6ff;
    color: var(--accent-blue);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(37,99,235,0.1);
}

.benefit-text h4 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 6px;
}

.benefit-text p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
}

/* ==== SERVICES CARDS ==== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.service-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 36px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    transition: transform 0.25s, box-shadow 0.25s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

.service-card .icon {
    width: 70px; height: 70px;
    background: #eff6ff;
    color: var(--accent-blue);
    font-size: 1.8rem;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 22px;
    box-shadow: 0 6px 14px rgba(37,99,235,0.12);
}

.service-card h3 {
    color: var(--primary-dark);
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.97rem;
    margin: 0;
}

/* ==== STATS ROW ==== */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 6px;
    display: block;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ==== CASE STUDY CARD ==== */
.case-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

.case-card-inner { padding: 44px; }

.case-tag {
    display: inline-block;
    background: rgba(37,99,235,0.18);
    color: var(--accent-blue);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 14px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.case-title {
    font-size: 1.7rem;
    color: var(--primary-dark);
    margin-bottom: 14px;
}

.case-desc {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 28px;
}

.case-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    border-top: 1px solid var(--border);
    padding-top: 28px;
    margin-top: 28px;
}

.case-result-item { text-align: center; }

.case-result-item .metric {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-blue);
    display: block;
    margin-bottom: 4px;
}

.case-result-item .metric-label {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ==== CONTACT SECTION ==== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info p {
    font-size: 1.05rem;
    color: #475569;
    margin-bottom: 28px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 22px;
}

.contact-item-icon {
    width: 46px; height: 46px;
    background: #eff6ff;
    color: var(--accent-blue);
    border-radius: 10px;
    font-size: 1.2rem;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.contact-item-text strong {
    display: block;
    color: var(--primary-dark);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-item-text a,
.contact-item-text span {
    color: var(--text-main);
    font-size: 1rem;
}

.contact-form {
    background: var(--light-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px;
}

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 7px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 7px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--text-main);
    background: white;
    transition: border-color 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea { resize: vertical; min-height: 130px; }
/* ==== MIGRATION SIMULATOR ==== */
.sim-container {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

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

@media (max-width: 800px) {
    .sim-grid { grid-template-columns: 1fr; gap: 30px; }
}

.sim-slider-container {
    margin-bottom: 25px;
}

.sim-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 4px;
    outline: none;
    margin: 15px 0;
}

.sim-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent-blue);
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: transform 0.1s;
}

.sim-range::-webkit-slider-thumb:hover { transform: scale(1.1); }

.sim-radio-group {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.sim-radio-label {
    flex: 1;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
    transition: all 0.2s;
}

.sim-radio-input { display: none; }

.sim-radio-input:checked + .sim-radio-label {
    border-color: var(--accent-blue);
    background: rgba(37,99,235,0.05);
    color: var(--accent-blue);
    font-weight: 600;
}

.sim-result-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.sim-roi-val {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-green);
    line-height: 1;
    margin-bottom: 5px;
}

.sim-phase {
    position: relative;
    padding-left: 25px;
    margin-bottom: 18px;
}

.sim-phase::before {
    content: '';
    position: absolute;
    left: 0; top: 6px;
    width: 10px; height: 10px;
    background: var(--accent-blue);
    border-radius: 50%;
}

.sim-phase:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 4px; top: 20px;
    width: 2px; height: calc(100% - 8px);
    background: #cbd5e1;
}

.sim-phase-title {
    font-weight: 600; color: var(--primary-dark); font-size: 0.95rem; margin-bottom: 4px;
}
.sim-phase-desc {
    font-size: 0.88rem; color: #64748b; line-height: 1.5;
}

/* ==== TECH DEBT RISK ANALYZER ==== */
.debt-container {
    background: #1e293b; /* Dark theme to match "danger/tech" vibe */
    color: white;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.debt-question {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #334155;
}
.debt-question:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.debt-question h4 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #f8fafc;
}

.debt-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.debt-radio {
    /* Hide the default radio visually but keep it accessible */
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.debt-label {
    background: #334155;
    color: #cbd5e1;
    border: 2px solid #475569;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: inline-block;
    position: relative;
    padding-left: 35px; /* Space for custom radio circle */
}

/* Custom Radio Circle */
.debt-label::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: white;
    border: 2px solid #cbd5e1;
    transition: all 0.2s ease;
}

.debt-radio:focus + .debt-label {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5); /* Focus ring for accessibility */
}

.debt-radio:checked + .debt-label {
    background: var(--accent-blue);
    border-color: #60a5fa;
    color: white;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

.debt-radio:checked + .debt-label::before {
    background: #1e3a8a; /* Dark blue inner */
    border: 4px solid white; /* White outer ring */
}

.debt-result-card {
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 30px;
    margin-top: 30px;
}

.score-dial {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    border: 8px solid #334155;
    color: white;
}
.score-low { border-color: #22c55e; color: #22c55e; }
.score-medium { border-color: #f59e0b; color: #f59e0b; }
.score-high { border-color: #f97316; color: #f97316; }
.score-critical { border-color: #ef4444; color: #ef4444; }

.debt-recommendation {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #cbd5e1;
    text-align: left;
    background: #1e293b;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    border-left: 4px solid var(--accent-blue);
}

@media (max-width: 600px) {
    .debt-options { flex-direction: column; }
    .debt-label { text-align: center; }
}

/* ==== FOOTER ==== */
.site-footer {
    background: var(--primary-dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand h2 {
    font-size: 1.6rem;
    color: white;
    margin-bottom: 8px;
}

.footer-brand h2 span { color: var(--accent-blue); }

.footer-brand p {
    color: #64748b;
    font-size: 0.92rem;
}

.footer-links h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #64748b;
    margin-bottom: 16px;
    font-weight: 700;
}

.footer-links ul { list-style: none; }

.footer-links li { margin-bottom: 10px; }

.footer-links a {
    color: #94a3b8;
    font-size: 0.92rem;
    transition: color 0.2s;
}

.footer-links a:hover { color: white; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 28px;
    color: #475569;
    font-size: 0.88rem;
}

/* ==== RESPONSIVE ==== */
@media (max-width: 960px) {
    .nav-menu { display: none; }
    .nav-contact { display: none; }
    .hero-title { font-size: 2.2rem; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}

@media (max-width: 680px) {
    .team-grid, .benefits-grid { grid-template-columns: 1fr; }
    .highlight-box { padding: 28px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .contact-form { padding: 24px; }
}

/* ==== KI ESTIMATOR ANIMATIONS ==== */
@keyframes ai-fade-in {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes ai-pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

@keyframes ai-dot-bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

.ai-dot {
    width: 12px;
    height: 12px;
    background-color: var(--accent-blue);
    border-radius: 50%;
    animation: ai-dot-bounce 1.4s infinite ease-in-out both;
}

.ai-skeleton {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: loading-skeleton 1.5s infinite;
    border-radius: 8px;
}

@keyframes loading-skeleton {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ==== MOBILE RESPONSIVE FIXES ==== */
.tool-dark-section .sim-container {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.tool-dark-section .debt-container {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.ai-skeleton-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }

@media (max-width: 768px) {
    .grid-3, .grid-2, .ai-grid, .ai-skeleton-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
    .team-member { flex-direction: column !important; align-items: flex-start !important; gap: 10px !important; }
    .highlight-box { padding: 25px !important; }
}

/* ==== REDESIGN OVERRIDES & COOKIE BANNER ==== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 40px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; margin-bottom: 40px; }
.feature-card { background: white; border-radius: 12px; padding: 30px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); border-top: 4px solid var(--accent-blue); }
.feature-card h3 { color: var(--primary-dark); font-size: 1.2rem; margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }
.feature-card h3 i { color: var(--accent-blue); }
.feature-card p { color: #475569; line-height: 1.6; font-size: 0.95rem; margin: 0; }

#cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 380px;
    max-width: calc(100% - 40px);
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    z-index: 10000;
    padding: 24px;
    font-family: 'Inter', sans-serif;
    border: 1px solid #e2e8f0;
    display: none;
    animation: slideInUp 0.5s ease-out;
}
@keyframes slideInUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
#cookie-banner h3 { font-family: 'Montserrat'; font-size: 1.1rem; margin-top:0; color: #0f172a; }
#cookie-banner p { font-size: 0.85rem; color: #64748b; line-height: 1.5; margin-bottom: 20px; }
.cookie-options { margin-bottom: 24px; }
.cookie-option { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cookie-option label { font-size: 0.9rem; font-weight: 600; color: #334155; }
.cookie-option span { font-size: 0.75rem; color: #94a3b8; display: block; font-weight: 400; }

.switch { position: relative; display: inline-block; width: 40px; height: 18px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #e2e8f0; transition: .4s; border-radius: 34px; }
.slider:before { position: absolute; content: ""; height: 12px; width: 12px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%; }
input:checked + .slider { background-color: #2563EB; }
input:checked + .slider:before { transform: translateX(22px); }
input:disabled + .slider { cursor: not-allowed; opacity: 0.6; }

.cookie-actions { display: flex; flex-direction: column; gap: 10px; }
.cookie-actions button { border: none; padding: 12px; border-radius: 8px; font-weight: 700; cursor: pointer; transition: 0.2s; font-family: 'Montserrat'; }
.btn-accept-all { background: #2563EB; color: white; border: 1px solid #2563EB; }
.btn-accept-some { background: #f8fafc; color: #334155; border: 1px solid #e2e8f0; }
.btn-accept-all:hover { background: #1d4ed8; }
.btn-accept-some:hover { background: #f1f5f9; }
.cookie-links { text-align: center; margin-top: 15px; font-size: 0.75rem; }
.cookie-links a { color: #2563EB; text-decoration: underline; }

@media (max-width: 768px) {
    .grid-3, .grid-2 { grid-template-columns: 1fr !important; gap: 20px !important; }
}

