/* InferX — custom.css */
/* Accent: #1e40af (dark blue) */

:root {
    --bg: #0d0f18;
    --surface: #151825;
    --surface2: #1c2033;
    --text: #e8eaf0;
    --text-muted: #8892a4;
    --accent: #1e40af;
    --accent-dark: #1633a0;
    --accent-light: #3b5ed4;
    --border: rgba(255,255,255,0.08);
    --radius: 12px;
    --gap: 40px;
    --nav-height: 72px;
    --bg-rgb: 13,15,24;
}

/* ===========================
   BASE / RESET
   =========================== */
html, body {
    background-color: var(--bg) !important;
    color: var(--text) !important;
}

body {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.9;
    color: var(--text) !important;
    background-color: var(--bg) !important;
}

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

a {
    color: var(--accent-light);
}
a:hover, a:focus {
    color: var(--accent-dark);
    text-decoration: none;
}

p {
    color: var(--text);
    font-size: 18px;
    line-height: 1.9;
}

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

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

/* ===========================
   NAVBAR
   =========================== */
.navbar.navbar-default {
    background-color: rgba(var(--bg-rgb), 0.97) !important;
    border: none !important;
    border-bottom: 1px solid var(--border) !important;
    min-height: var(--nav-height);
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    margin-bottom: 0;
}

.navbar.navbar-default .navbar-brand {
    padding: 0;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    color: var(--text) !important;
}

.navbar.navbar-default .navbar-brand img {
    height: 36px;
    width: auto;
    max-width: none !important;
}

.navbar.navbar-default .navbar-nav > li > a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text) !important;
    line-height: var(--nav-height);
    padding-top: 0;
    padding-bottom: 0;
}

.navbar.navbar-default .navbar-nav > li > a:hover,
.navbar.navbar-default .navbar-nav > li.active > a {
    color: var(--accent-light) !important;
    background: transparent !important;
}

.nav-item {
    margin-bottom: 0 !important;
    background-image: none !important;
}

.site-logo {
    max-width: none !important;
}

/* Nav CTA button */
.navbar-nav > li.nav-cta > a {
    background: var(--accent) !important;
    color: #ffffff !important;
    border-radius: var(--radius) !important;
    padding: 8px 18px !important;
    margin: 14px 0 14px 10px;
    line-height: 1.5 !important;
    white-space: nowrap;
    font-size: 14px !important;
    font-weight: 600 !important;
}

.navbar-nav > li.nav-cta > a:hover {
    background: var(--accent-dark) !important;
    color: #ffffff !important;
}

/* Body offset for fixed nav */
body {
    padding-top: var(--nav-height);
}

/* Preloader */
.preloader {
    background: var(--bg);
}

/* ===========================
   HERO SECTION
   =========================== */
.main-home {
    min-height: 620px;
    background: var(--bg) !important;
    color: var(--text);
    display: flex;
    align-items: center;
    position: relative;
    padding: 100px 0;
}

.main-home .overlay {
    background: rgba(0,0,0,0.65);
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
    pointer-events: none;
}

.tm-bg-overlay,
[class*="overlay"] {
    pointer-events: none !important;
}

.main-home .container {
    position: relative;
    z-index: 2;
}

.main-home #particles-js {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
}

.hero-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-light);
    margin-bottom: 20px;
}

.main-home h1 {
    font-size: 60px;
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 24px;
}

.main-home h4,
.main-home .hero-sub {
    font-size: 20px;
    color: #c8d6e5;
    max-width: 600px;
    margin-bottom: 36px;
    font-weight: 400;
    line-height: 1.7;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.header-thumb {
    background: transparent !important;
    border: none !important;
}

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

.btn-outline-light {
    display: inline-block;
    background: transparent;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--radius);
    border: 2px solid rgba(255,255,255,0.5);
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
}
.btn-outline-light:hover {
    border-color: #ffffff;
    background: rgba(255,255,255,0.08);
    color: #ffffff !important;
    text-decoration: none;
}

.btn-outline-accent {
    display: inline-block;
    background: transparent;
    color: var(--accent-light) !important;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--radius);
    border: 2px solid var(--accent);
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.2s;
}
.btn-outline-accent:hover {
    background: var(--accent);
    color: #ffffff !important;
    text-decoration: none;
}

.btn-secondary-custom {
    display: inline-block;
    background: var(--surface2);
    color: var(--text) !important;
    font-size: 15px;
    font-weight: 600;
    padding: 13px 28px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    transition: background 0.2s;
}
.btn-secondary-custom:hover {
    background: var(--surface);
    color: var(--text) !important;
    text-decoration: none;
}

/* ===========================
   SECTIONS
   =========================== */
.section {
    padding: 90px 0;
    color: var(--text);
}

.section-dark {
    background: var(--bg);
    color: var(--text);
    padding: 90px 0;
}

.section-alt {
    background: var(--surface);
    color: var(--text);
    padding: 90px 0;
}

.section-alt2 {
    background: var(--surface2);
    color: var(--text);
    padding: 90px 0;
}

.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-light);
    margin-bottom: 12px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 640px;
    margin-bottom: 48px;
    line-height: 1.75;
}

/* ===========================
   PAGE HERO
   =========================== */
.page-hero {
    background: var(--surface);
    color: var(--text);
    padding: 80px 0 64px;
    border-bottom: 1px solid var(--border);
}

.page-hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
}

.page-hero p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
}

/* ===========================
   FEATURE CARDS GRID
   =========================== */
.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: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    color: var(--text);
}

.feature-card .card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-card .card-icon .fa {
    font-size: 28px;
    color: var(--accent-light) !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-bottom: 0;
}

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

/* R87: uniform card structure */
.feature-card h3 { font-size: 20px; }
.feature-card p { font-size: 16px; }

/* ===========================
   STEPS / HOW IT WORKS (R80)
   =========================== */
.steps-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.steps-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 991px) {
    .steps-grid-3 { grid-template-columns: 1fr; }
    .steps-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .steps-grid-4 { grid-template-columns: 1fr; }
}

.step-card {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    flex-direction: column;
    color: var(--text);
}

.step-num {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--accent-light);
    margin-bottom: 16px;
    line-height: 1;
}

.step-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}

.step-card p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 0;
}

/* ===========================
   STATS / METRICS
   =========================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
@media (max-width: 991px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

.stat-card {
    text-align: center;
    padding: 32px 16px;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--accent-light);
    line-height: 1;
    display: block;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 15px;
    color: var(--text-muted);
}

/* ===========================
   PRICING (R75 — all buttons defined)
   =========================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: start;
}
@media (max-width: 991px) {
    .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
}

.pricing-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    position: relative;
    color: var(--text);
}

.pricing-card.featured {
    background: var(--surface2);
    border-color: var(--accent);
    transform: scale(1.03);
}

.pricing-card .badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 20px;
    white-space: nowrap;
}

.pricing-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.price {
    font-size: 42px;
    font-weight: 700;
    color: var(--accent-light);
    line-height: 1;
    margin-bottom: 8px;
}

.price span {
    font-size: 18px;
    font-weight: 400;
    color: var(--text-muted);
}

.price-desc {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.pricing-card .features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}

.pricing-card .features li {
    font-size: 15px;
    color: var(--text);
    padding: 7px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.pricing-card .features li:last-child {
    border-bottom: none;
}

.pricing-card .features li::before {
    content: '\f00c';
    font-family: FontAwesome;
    color: var(--accent-light);
    font-size: 13px;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Pricing CTA buttons */
.btn-pricing-primary {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--accent);
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 600;
    padding: 13px 24px;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    transition: background 0.2s;
}
.btn-pricing-primary:hover {
    background: var(--accent-dark);
    color: #ffffff !important;
    text-decoration: none;
}

.btn-pricing-secondary {
    display: block;
    width: 100%;
    text-align: center;
    background: transparent;
    color: var(--accent-light) !important;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--radius);
    border: 2px solid var(--accent);
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.2s;
}
.btn-pricing-secondary:hover {
    background: var(--accent);
    color: #ffffff !important;
    text-decoration: none;
}

/* FAQ Accordion (BS3) */
.faq-section {
    padding: 90px 0;
    background: var(--bg);
    color: var(--text);
}

.faq-section h2 {
    color: var(--text);
    margin-bottom: 40px;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    background: var(--surface);
    overflow: hidden;
}

.faq-question {
    padding: 18px 24px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--surface);
    border: none;
    width: 100%;
    text-align: left;
}

.faq-question:hover {
    color: var(--accent-light);
}

.faq-answer {
    padding: 0 24px 18px;
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.75;
    background: var(--surface);
}

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

.team-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    color: var(--text);
}

.team-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 10%;
    margin: 0 auto 20px;
    display: block;
    border: 3px solid var(--border);
}

.team-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.team-role {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-light);
    margin-bottom: 16px;
}

.team-bio {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 16px;
}

/* ===========================
   BLOG GRID (R78)
   =========================== */
.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: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    color: var(--text);
    display: flex;
    flex-direction: column;
}

.blog-card > a {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-decoration: none;
    color: var(--text);
}

.blog-card > a:hover {
    text-decoration: none;
}

.blog-card-img {
    height: 200px;
    background: var(--surface2);
    overflow: hidden;
    position: relative;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    color: var(--text);
    background: var(--surface);
}

.blog-card-body time {
    font-size: 13px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 10px;
}

.blog-card-body h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card > a:hover .blog-card-body h3 {
    color: var(--accent-light);
}

.blog-card-body p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 0;
}

/* ===========================
   ABOUT PAGE
   =========================== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 991px) {
    .values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .values-grid { grid-template-columns: 1fr; }
}

.value-card {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    color: var(--text);
}

.value-card .card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.value-card .card-icon .fa {
    font-size: 26px;
    color: var(--accent-light) !important;
}

.value-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
}

.value-card p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 0;
}

.case-study-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 991px) {
    .case-study-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}

.case-study-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    color: var(--text);
}

.case-study-card .metric {
    font-size: 38px;
    font-weight: 700;
    color: var(--accent-light);
    display: block;
    margin-bottom: 8px;
}

.case-study-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}

.case-study-card p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ===========================
   CONTACT PAGE
   =========================== */
.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}

.contact-info-list li {
    font-size: 16px;
    color: var(--text);
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-info-list li:last-child { border-bottom: none; }

.contact-info-list li .fa {
    color: var(--accent-light);
    font-size: 16px;
    margin-top: 3px;
    flex-shrink: 0;
    width: 18px;
}

.contact-info-list a {
    color: var(--accent-light);
}

.contact-form .form-control {
    background: var(--surface2);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 8px;
    font-size: 16px;
    padding: 12px 16px;
    margin-bottom: 16px;
    width: 100%;
    box-sizing: border-box;
}

.contact-form .form-control::placeholder {
    color: var(--text-muted);
}

.contact-form .form-control:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(30,64,175,0.2);
    background: var(--surface2);
    color: var(--text);
}

.contact-form textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

/* ===========================
   FOOTER
   =========================== */
footer {
    background: var(--surface) !important;
    color: var(--text) !important;
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}
@media (max-width: 767px) {
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

footer h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

footer p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
}

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

.footer-links li {
    padding: 4px 0;
}

.footer-links a {
    font-size: 15px;
    color: var(--text-muted);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--accent-light);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

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

/* ===========================
   COOKIE BANNER
   =========================== */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
    z-index: 99999;
    padding: 16px 24px;
    color: var(--text);
}

.cookie-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-text strong {
    color: var(--text);
    font-size: 15px;
}

.cookie-text p {
    margin: 4px 0 0;
    font-size: 14px;
    color: var(--text-muted);
}

.cookie-text a {
    color: var(--accent-light);
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

#cookie-decline {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border);
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
}

#cookie-accept {
    background: var(--accent);
    color: #ffffff;
    border: none;
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

#cookie-accept:hover { background: var(--accent-dark); }

/* ===========================
   CTA SECTION
   =========================== */
.cta-section {
    background: var(--accent);
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 40px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 36px;
}

.btn-cta-white {
    display: inline-block;
    background: #ffffff;
    color: var(--accent) !important;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: var(--radius);
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s;
}
.btn-cta-white:hover {
    background: #f0f4ff;
    color: var(--accent-dark) !important;
    text-decoration: none;
}

.btn-cta-outline {
    display: inline-block;
    background: transparent;
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 600;
    padding: 13px 32px;
    border-radius: var(--radius);
    border: 2px solid rgba(255,255,255,0.7);
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s;
    margin-left: 16px;
}
.btn-cta-outline:hover {
    border-color: #ffffff;
    background: rgba(255,255,255,0.12);
    color: #ffffff !important;
    text-decoration: none;
}

/* ===========================
   PRODUCT PAGE
   =========================== */
.integrations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 767px) {
    .integrations-grid { grid-template-columns: repeat(2, 1fr); }
}

.integration-card {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    color: var(--text);
}

.integration-card .fa {
    font-size: 32px;
    color: var(--accent-light) !important;
    margin-bottom: 12px;
    display: block;
}

.integration-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.integration-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 0;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 767px) {
    .specs-grid { grid-template-columns: 1fr; }
}

.spec-card {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    color: var(--text);
}

.spec-card .spec-value {
    font-size: 36px;
    font-weight: 700;
    color: var(--accent-light);
    display: block;
    margin-bottom: 6px;
}

.spec-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.spec-card p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ===========================
   UTILITY
   =========================== */
.text-accent { color: var(--accent-light) !important; }
.text-muted-custom { color: var(--text-muted) !important; }

.container-narrow {
    max-width: 720px;
    margin: 0 auto;
}

/* R85: dark section text solid colors */
.section-dark h1, .section-dark h2, .section-dark h3,
.section-alt h1, .section-alt h2, .section-alt h3,
.section-alt2 h1, .section-alt2 h2, .section-alt2 h3 {
    color: #e2e8f0;
}

.section-dark p, .section-dark li,
.section-alt p, .section-alt li,
.section-alt2 p, .section-alt2 li {
    color: #c8d6e5;
}

/* back to top */
.go-top {
    background: var(--accent) !important;
    color: #fff !important;
}

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

/* R79 */
.header-thumb {
    background: transparent !important;
    border: none !important;
}

/* R77 */
.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; }

/* === 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;
}
