/* =========================================
   EdgeRun AI — Custom CSS
   Template: 2085_neuron (Bootstrap 3, FA4)
   Accent: #10b981
   Theme: Dark (tech/AI/industrial)
   ========================================= */

/* CSS Variables */
:root {
    --bg: #0d0f18;
    --surface: #151825;
    --surface2: #1c2033;
    --text: #e8eaf0;
    --text-muted: #8892a4;
    --accent: #10b981;
    --accent-dark: #059669;
    --accent-light: #34d399;
    --border: rgba(255,255,255,0.08);
    --radius: 12px;
    --gap: 40px;
    --nav-height: 72px;
    --bg-rgb: 13, 15, 24;
}

/* ---- RESETS ---- */
body {
    color: var(--text) !important;
    background-color: var(--bg) !important;
    font-size: 18px;
    line-height: 1.9;
    font-family: 'Open Sans', sans-serif;
}

/* Override template uppercase headings */
h1, h2, h3, h4, h5, h6 {
    text-transform: none !important;
    letter-spacing: normal !important;
    color: var(--text);
}

section, .section {
    color: var(--text);
}

.card, .panel, [class*="card"], [class*="panel"] {
    color: var(--text);
}

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

/* ---- NAVBAR ---- */
.navbar-default {
    background-color: rgba(13, 15, 24, 0.97) !important;
    border-bottom: 1px solid var(--border);
    min-height: var(--nav-height);
}
.navbar-default .navbar-brand {
    color: var(--text) !important;
    font-size: 22px;
    font-weight: 700;
    line-height: var(--nav-height);
    padding: 0 15px;
    display: flex;
    align-items: center;
    height: var(--nav-height);
}
.navbar-default .navbar-brand img {
    max-height: 40px;
    width: auto;
}
.navbar-default .navbar-nav > li > a {
    color: var(--text) !important;
    font-size: 15px;
    font-weight: 500;
    line-height: var(--nav-height);
    padding-top: 0;
    padding-bottom: 0;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li.active > a {
    color: var(--accent) !important;
    background-color: transparent !important;
}

/* R77: Nav cleanup */
.nav-item {
    margin-bottom: 0 !important;
    background-image: none !important;
}
.site-logo {
    max-width: none !important;
}
.btn-accent, .cta-primary, .cta-secondary {
    white-space: nowrap;
}

/* Scroll-triggered nav */
.navbar.active,
.navbar-default.active {
    background-color: rgba(13, 15, 24, 0.98) !important;
}
.navbar.active .navbar-nav > li > a,
.navbar-default.active .navbar-nav > li > a {
    color: #e2e8f0 !important;
}

/* Nav CTA button */
.nav-cta a {
    background-color: var(--accent) !important;
    color: #fff !important;
    border-radius: 6px;
    padding: 8px 18px !important;
    margin: 13px 0 13px 10px;
    line-height: 1.4 !important;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
}
.nav-cta a:hover {
    background-color: var(--accent-dark) !important;
    color: #fff !important;
}

/* ---- HERO / PARALLAX ---- */
#home.main-home {
    min-height: 680px;
    background-color: var(--bg);
}
.main-home .overlay {
    background: rgba(0, 0, 0, 0.62);
}
.header-thumb {
    background: transparent !important;
    border: none !important;
}

/* R89: Template overlay must not block clicks */
.tm-bg-overlay,
[class*="overlay"] {
    pointer-events: none !important;
}

.main-home .container {
    position: relative;
    z-index: 2;
    padding-top: 120px;
    padding-bottom: 80px;
}
.main-home h1 {
    font-size: 60px;
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 24px;
}
.main-home h4 {
    font-size: 20px;
    color: #c8d6e5;
    margin-bottom: 36px;
    font-weight: 400;
    line-height: 1.6;
}
.section-label-hero {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-bottom: 16px;
    background: rgba(16, 185, 129, 0.12);
    padding: 4px 12px;
    border-radius: 4px;
}

/* ---- BUTTONS ---- */
.btn-accent,
.btn-primary-custom {
    background-color: var(--accent) !important;
    color: #fff !important;
    border: none;
    border-radius: 6px;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
}
.btn-accent:hover,
.btn-primary-custom:hover {
    background-color: var(--accent-dark) !important;
    color: #fff !important;
    text-decoration: none;
}

.btn-outline-custom {
    background-color: transparent !important;
    color: #fff !important;
    border: 2px solid rgba(255,255,255,0.5) !important;
    border-radius: 6px;
    padding: 10px 26px;
    font-size: 16px;
    font-weight: 600;
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}
.btn-outline-custom:hover {
    border-color: var(--accent) !important;
    color: var(--accent) !important;
    text-decoration: none;
}

.btn-secondary-custom {
    background-color: transparent !important;
    color: var(--accent) !important;
    border: 2px solid var(--accent) !important;
    border-radius: 6px;
    padding: 10px 26px;
    font-size: 16px;
    font-weight: 600;
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
}
.btn-secondary-custom:hover {
    background-color: var(--accent) !important;
    color: #fff !important;
    text-decoration: none;
}

.btn-gap {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 8px;
}

/* ---- SECTIONS ---- */
.section-wrap {
    padding: 90px 0;
    color: var(--text);
}
.section-wrap.alt {
    background-color: var(--surface);
    color: var(--text);
}
.section-wrap.dark2 {
    background-color: var(--surface2);
    color: var(--text);
}

.section-heading {
    text-align: center;
    margin-bottom: 56px;
}
.section-heading .section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-bottom: 12px;
}
.section-heading h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
}
.section-heading p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.75;
}

/* ---- PAGE HERO ---- */
.page-hero {
    background-color: var(--surface);
    color: var(--text);
    padding: 80px 0 60px;
    border-bottom: 1px solid var(--border);
}
.page-hero .section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-bottom: 12px;
}
.page-hero h1 {
    font-size: 52px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
}
.page-hero p {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.7;
}

/* ---- FEATURE CARDS ---- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
@media (max-width: 991px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .features-grid { grid-template-columns: 1fr; }
}

.feature-card {
    background-color: var(--surface2);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}
.feature-card .card-icon {
    font-size: 36px;
    color: var(--accent);
    margin-bottom: 20px;
    height: 48px;
    display: flex;
    align-items: center;
}
.feature-card .card-icon .fa {
    color: var(--accent) !important;
}
.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}
.feature-card p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.75;
    margin: 0;
}

/* R81: Force accent color on all icons */
.feature-icon .fa,
.card-icon .fa,
.step-icon .fa {
    color: var(--accent) !important;
}

/* ---- STEPS / HOW IT WORKS (R80) ---- */
.steps-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.steps-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}
@media (max-width: 991px) {
    .steps-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .steps-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .steps-grid-3 { grid-template-columns: 1fr; }
    .steps-grid-4 { grid-template-columns: 1fr; }
}

.step-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: var(--surface2);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 24px;
    transition: border-color 0.2s;
}
.step-card:hover {
    border-color: var(--accent);
}
.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background-color: var(--accent);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 20px;
    flex-shrink: 0;
}
.step-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}
.step-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.75;
    margin: 0;
}

/* ---- STATS SECTION ---- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}
@media (max-width: 767px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
.stat-item {
    padding: 32px 20px;
    background-color: var(--surface2);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.stat-num {
    font-size: 42px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1.1;
    display: block;
}
.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 8px;
    line-height: 1.4;
}

/* ---- PRICING CARDS ---- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
}
@media (max-width: 991px) {
    .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
}

.pricing-card {
    background-color: var(--surface2);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    position: relative;
}
.pricing-card.featured {
    border-color: var(--accent);
    background-color: var(--surface);
    transform: scale(1.03);
}
.pricing-card .badge-popular {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 20px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.pricing-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}
.price-amount {
    font-size: 46px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1.1;
    margin: 16px 0 4px;
}
.price-amount span {
    font-size: 18px;
    font-weight: 400;
    color: var(--text-muted);
}
.price-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.5;
}
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    flex: 1;
}
.pricing-features li {
    font-size: 15px;
    color: var(--text);
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}
.pricing-features li .fa {
    color: var(--accent);
    margin-top: 4px;
    flex-shrink: 0;
}

/* ---- FAQ ACCORDION (Bootstrap 3 style) ---- */
.faq-section .panel-group {
    max-width: 760px;
    margin: 0 auto;
}
.faq-section .panel-default {
    background-color: var(--surface2);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius) !important;
    margin-bottom: 12px;
}
.faq-section .panel-default .panel-heading {
    background-color: var(--surface2);
    border-radius: var(--radius) !important;
    padding: 0;
}
.faq-section .panel-default .panel-title a {
    color: var(--text);
    font-size: 17px;
    font-weight: 600;
    padding: 18px 20px;
    display: block;
    text-decoration: none;
}
.faq-section .panel-default .panel-title a:hover {
    color: var(--accent);
}
.faq-section .panel-body {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.8;
    padding: 0 20px 20px;
    border-top: 1px solid var(--border);
}

/* ---- TEAM CARDS ---- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}
@media (max-width: 767px) {
    .team-grid { grid-template-columns: 1fr; max-width: 380px; }
}

.team-card {
    background-color: var(--surface2);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
}
.team-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 10%;
    margin: 0 auto 20px;
    display: block;
    border: 3px solid var(--accent);
}
.team-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}
.team-role {
    font-size: 14px;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}
.team-bio {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 0;
}

/* ---- CULTURE SECTION ---- */
.culture-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}
@media (max-width: 767px) {
    .culture-grid { grid-template-columns: 1fr; }
}
.culture-card {
    background-color: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
}
.culture-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
}
.culture-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.75;
    margin: 0;
}

/* ---- ABOUT PAGE ---- */
.about-story-image {
    width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    background-color: var(--surface2);
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}
.about-story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}

/* Values grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
@media (max-width: 767px) {
    .values-grid { grid-template-columns: 1fr; }
}
.value-card {
    background-color: var(--surface2);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
}
.value-card .fa {
    font-size: 28px;
    color: var(--accent);
    margin-bottom: 16px;
    display: block;
}
.value-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
}
.value-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.75;
    margin: 0;
}

/* Case studies */
.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
@media (max-width: 767px) {
    .case-grid { grid-template-columns: 1fr; }
}
.case-card {
    background-color: var(--surface2);
    color: var(--text);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
    padding: 28px 24px;
}
.case-card .case-metric {
    font-size: 36px;
    font-weight: 700;
    color: var(--accent);
    display: block;
    margin-bottom: 8px;
}
.case-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}
.case-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

/* ---- BLOG / NEWS GRID ---- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
@media (max-width: 991px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .blog-grid { grid-template-columns: 1fr; }
}

.blog-card {
    background-color: var(--surface2);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s;
}
.blog-card:hover {
    border-color: var(--accent);
}
.blog-card a {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-decoration: none;
    color: inherit;
}
.blog-card-img {
    width: 100%;
    height: 200px;
    background-color: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 14px;
    overflow: hidden;
}
.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blog-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.blog-card-body time {
    font-size: 13px;
    color: var(--accent);
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}
.blog-card-body h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.5;
    margin-bottom: 10px;
}
.blog-card-body p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

/* ---- CONTACT PAGE ---- */
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.contact-list li {
    font-size: 16px;
    color: var(--text);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    gap: 14px;
    line-height: 1.5;
}
.contact-list li .fa {
    color: var(--accent);
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}
.contact-list li a {
    color: var(--accent);
}

.contact-form .form-control {
    background-color: var(--surface2) !important;
    color: var(--text) !important;
    border: 1px solid var(--border) !important;
    border-radius: 6px;
    font-size: 16px;
    padding: 12px 16px;
}
.contact-form .form-control::placeholder {
    color: var(--text-muted);
}
.contact-form .form-control:focus {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
    outline: none;
}
.contact-form textarea.form-control {
    resize: vertical;
    min-height: 140px;
}

/* ---- CTA SECTION ---- */
.cta-section {
    background-color: var(--accent);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}
.cta-section h2 {
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}
.cta-section p {
    font-size: 18px;
    color: rgba(255,255,255,0.88);
    margin-bottom: 36px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}
.btn-white {
    background-color: #fff !important;
    color: #059669 !important;
    border: none;
    border-radius: 6px;
    padding: 12px 32px;
    font-size: 16px;
    font-weight: 700;
    display: inline-block;
    text-decoration: none;
    transition: background 0.2s;
}
.btn-white:hover {
    background-color: #f0fdf4 !important;
    color: #047857 !important;
    text-decoration: none;
}
.btn-ghost {
    background-color: transparent !important;
    color: #fff !important;
    border: 2px solid rgba(255,255,255,0.6) !important;
    border-radius: 6px;
    padding: 10px 28px;
    font-size: 16px;
    font-weight: 600;
    display: inline-block;
    text-decoration: none;
    transition: border-color 0.2s;
    margin-left: 16px;
}
.btn-ghost:hover {
    border-color: #fff !important;
    color: #fff !important;
    text-decoration: none;
}

/* ---- TECH SPECS TABLE ---- */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    color: var(--text);
}
.specs-table th {
    background-color: var(--surface);
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
.specs-table td {
    padding: 12px 16px;
    font-size: 15px;
    color: var(--text);
    border-bottom: 1px solid var(--border);
}
.specs-table tr:nth-child(even) td {
    background-color: var(--surface);
}

/* ---- FOOTER ---- */
footer {
    background-color: var(--surface) !important;
    color: var(--text) !important;
    padding: 60px 0 30px !important;
}
footer h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
}
footer p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.75;
}
footer a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 15px;
}
footer a:hover {
    color: var(--accent);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
}
@media (max-width: 767px) {
    .footer-grid { grid-template-columns: 1fr; }
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 8px;
}
.footer-links li a {
    font-size: 15px;
    color: var(--text-muted);
    text-decoration: none;
}
.footer-links li a:hover {
    color: var(--accent);
}
.footer-bottom {
    padding-top: 24px;
    text-align: center;
}
.footer-bottom p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

/* Remove template social icons */
.social-icon {
    display: none !important;
}

/* ---- CONTAINER NARROW (legal/articles) ---- */
.container-narrow {
    max-width: 720px;
    margin: 0 auto;
}

/* ---- MISC ---- */
.text-accent {
    color: var(--accent);
}
.text-muted-custom {
    color: var(--text-muted);
}
.highlight-badge {
    display: inline-block;
    background-color: rgba(16, 185, 129, 0.15);
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ---- COOKIE BANNER ---- */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--surface2);
    color: var(--text);
    border-top: 1px solid var(--border);
    z-index: 9999;
    padding: 16px 0;
}
.cookie-content {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.cookie-text strong {
    font-size: 15px;
    color: var(--text);
    display: block;
    margin-bottom: 4px;
}
.cookie-text p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}
.cookie-text a {
    color: var(--accent);
    text-decoration: underline;
}
.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}
#cookie-accept {
    background-color: var(--accent);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
#cookie-accept:hover {
    background-color: var(--accent-dark);
}
#cookie-decline {
    background-color: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
#cookie-decline:hover {
    border-color: var(--text-muted);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 767px) {
    .main-home h1 { font-size: 38px; }
    .page-hero h1 { font-size: 36px; }
    .section-heading h2 { font-size: 30px; }
    .cta-section h2 { font-size: 28px; }
    .features-grid,
    .case-grid,
    .values-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-card.featured { transform: none; }
    .cookie-content { flex-direction: column; }
    .btn-gap { flex-direction: column; }
}

/* ---- PRELOADER HIDE ---- */
.preloader {
    background-color: var(--bg) !important;
}

/* === Article / Blog image sizing (R-IMG) === */
.img-fluid,
.blog-hero-img,
.article-thumbnail img,
.article-thumbnail,
article img,
.post-content img,
.container-narrow img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    border-radius: 8px;
    margin: 24px 0;
}
