/* HardHat Pulse — custom.css
   Strategy: Bootstrap-fresh + FA5 + custom styles
   Accent: #ef4444
*/

/* ==============================
   CSS Variables
   ============================== */
:root {
    --accent: #ef4444;
    --accent-dark: #b91c1c;
    --accent-light: #fca5a5;
    --bg: #0f1117;
    --surface: #161b27;
    --surface2: #1e2538;
    --text: #e2e8f0;
    --text-muted: #8fabc4;
    --border: rgba(255,255,255,0.08);
    --radius: 10px;
    --nav-height: 72px;
    --bg-rgb: 15, 17, 23;
}

/* ==============================
   Base Reset & Typography
   ============================== */
*, *::before, *::after { box-sizing: border-box; }

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.9;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text);
    font-weight: 700;
    line-height: 1.2;
    text-transform: none;
    letter-spacing: 0;
    margin-top: 0;
}

h1 { font-size: 60px; }
h2 { font-size: 42px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }

p { font-size: 18px; line-height: 1.9; margin-bottom: 1rem; color: var(--text); }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-decoration: none; transition: color 0.25s ease; }
a:hover { color: var(--accent-light); }

ul { list-style: none; padding: 0; margin: 0; }

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

/* ==============================
   Container
   ============================== */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

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

/* ==============================
   Section Spacing
   ============================== */
.section {
    padding: 90px 0;
}

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

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

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

/* ==============================
   Navigation
   ============================== */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(var(--bg-rgb), 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    height: var(--nav-height);
    display: flex;
    align-items: center;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--text);
    background: rgba(255,255,255,0.06);
}

.nav-links li.nav-cta a {
    background: var(--accent);
    color: #ffffff;
    font-weight: 600;
    padding: 9px 20px;
    border-radius: 6px;
    white-space: nowrap;
}

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

/* Mobile menu toggle */
.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 8px 10px;
    color: var(--text);
    cursor: pointer;
    font-size: 20px;
}

@media (max-width: 991px) {
    .nav-toggle { display: flex; align-items: center; }
    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background: var(--surface);
        flex-direction: column;
        gap: 0;
        padding: 16px 0;
        border-bottom: 1px solid var(--border);
    }
    .nav-links.open { display: flex; }
    .nav-links li a { display: block; padding: 12px 24px; border-radius: 0; }
    .nav-links li.nav-cta a { margin: 8px 24px; border-radius: 6px; }
}

/* ==============================
   Page offset (fixed nav)
   ============================== */
.page-body {
    padding-top: var(--nav-height);
}

/* ==============================
   Hero Section
   ============================== */
.hero {
    min-height: 680px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--bg);
    padding: 100px 0 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.25;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(239,68,68,0.12);
    border: 1px solid rgba(239,68,68,0.3);
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 28px;
}

.hero h1 {
    font-size: 60px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero h1 span { color: var(--accent); }

.hero p {
    font-size: 20px;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 580px;
}

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

/* ==============================
   Page Hero (inner pages)
   ============================== */
.page-hero {
    background: var(--surface);
    padding: 70px 0 60px;
    border-bottom: 1px solid var(--border);
}

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

.page-hero p {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 620px;
    margin-bottom: 0;
}

/* ==============================
   Buttons (R75 + R-BTN)
   ============================== */
.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 8px;
    border: 2px solid var(--accent);
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    white-space: nowrap;
}

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

/* Outline button — dark background context */
.btn-outline-dark {
    display: inline-block;
    background: transparent;
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 8px;
    border: 2px solid rgba(255,255,255,0.4);
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    white-space: nowrap;
}

.btn-outline-dark:hover {
    border-color: #ffffff;
    background: rgba(255,255,255,0.08);
    color: #ffffff !important;
}

/* Outline button — light background context */
.btn-outline-light {
    display: inline-block;
    background: transparent;
    color: var(--accent) !important;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 8px;
    border: 2px solid var(--accent);
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    white-space: nowrap;
}

.btn-outline-light:hover {
    background: var(--accent);
    color: #ffffff !important;
}

/* Secondary button */
.btn-secondary {
    display: inline-block;
    background: var(--surface2);
    color: var(--text) !important;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 8px;
    border: 2px solid var(--border);
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.btn-secondary:hover {
    background: var(--surface);
    border-color: var(--accent);
    color: var(--text) !important;
}

/* Submit button for forms */
button.btn-primary {
    font-family: inherit;
}

/* ==============================
   Feature Cards
   ============================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: border-color 0.25s, transform 0.25s;
}

.feature-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(239,68,68,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: var(--accent);
}

.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;
}

/* ==============================
   Steps / How It Works (R80)
   ============================== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.steps-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

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

.step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: var(--accent);
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 18px;
    flex-shrink: 0;
}

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

.step 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;
}

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

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

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

/* ==============================
   Team Cards
   ============================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.team-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    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(--border);
}

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

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

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

.team-email {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.team-email:hover { color: var(--accent); }

/* ==============================
   Blog / News Listing (R78)
   ============================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.blog-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.25s, transform 0.25s;
}

.blog-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.blog-card a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

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

/* Placeholder style for blog images */
.blog-card-img-placeholder {
    width: 100%;
    height: 200px;
    background: var(--surface2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 14px;
    border-bottom: 1px solid var(--border);
}

.blog-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.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-body p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 0;
}

/* ==============================
   Pricing Cards
   ============================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: start;
}

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

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

.pricing-badge {
    display: inline-block;
    background: var(--accent);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

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

.price {
    margin-bottom: 8px;
}

.price-amount {
    font-size: 48px;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
}

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

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

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

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

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

.pricing-features li i {
    color: var(--accent);
    margin-top: 3px;
    flex-shrink: 0;
}

/* ==============================
   FAQ / Accordion
   ============================== */
.faq-section { padding: 90px 0; background: var(--surface); }

.accordion { max-width: 800px; margin: 0 auto; }

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

.accordion-button {
    background: var(--bg);
    color: var(--text);
    font-size: 17px;
    font-weight: 600;
    padding: 20px 24px;
    width: 100%;
    text-align: left;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.accordion-button:not(.collapsed) {
    background: var(--surface2);
    color: var(--accent);
}

.accordion-button::after {
    content: '+';
    font-size: 22px;
    font-weight: 300;
    color: var(--text-muted);
    flex-shrink: 0;
}

.accordion-button:not(.collapsed)::after {
    content: '−';
    color: var(--accent);
}

.accordion-body {
    padding: 20px 24px;
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.8;
    background: var(--surface2);
}

/* ==============================
   Contact Page
   ============================== */
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

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

.contact-list li i {
    color: var(--accent);
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    width: 22px;
    text-align: center;
}

.contact-list li a {
    color: var(--text-muted);
}

.contact-list li a:hover { color: var(--accent); }

/* ==============================
   Forms
   ============================== */
.contact-form .form-control {
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 16px;
    padding: 14px 18px;
    border-radius: 8px;
    transition: border-color 0.2s;
}

.contact-form .form-control:focus {
    border-color: var(--accent);
    background: var(--surface2);
    color: var(--text);
    box-shadow: none;
    outline: none;
}

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

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

/* ==============================
   Footer
   ============================== */
.site-footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 70px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.site-footer h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 18px;
}

.site-footer p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.75;
}

.footer-address {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 10px;
}

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

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

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

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

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

/* ==============================
   Cookie Banner
   ============================== */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--surface2);
    border-top: 1px solid var(--border);
    z-index: 9999;
    padding: 20px 0;
}

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

.cookie-text strong {
    display: block;
    font-size: 16px;
    color: var(--text);
    margin-bottom: 4px;
}

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

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

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

#cookie-decline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s, color 0.2s;
}

#cookie-decline:hover {
    border-color: var(--text-muted);
    color: var(--text);
}

#cookie-accept {
    background: var(--accent);
    border: 1px solid var(--accent);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    transition: background 0.2s;
}

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

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

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

.cta-section p {
    font-size: 20px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 36px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA buttons for accent bg section */
.btn-white {
    display: inline-block;
    background: #ffffff;
    color: var(--accent) !important;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 8px;
    border: 2px solid #ffffff;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.btn-white:hover {
    background: rgba(255,255,255,0.9);
    color: var(--accent) !important;
}

/* ==============================
   About Page Specific
   ============================== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.value-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
}

.value-icon {
    font-size: 32px;
    color: var(--accent);
    margin-bottom: 16px;
}

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

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

.case-study-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

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

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

.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;
    line-height: 1.75;
}

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

.milestone-item {
    border-left: 3px solid var(--accent);
    padding: 12px 0 12px 20px;
}

.milestone-year {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.milestone-item h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

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

/* ==============================
   Culture / Company Stats
   ============================== */
.culture-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.culture-stat {
    text-align: center;
    padding: 32px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.culture-stat .c-num {
    font-size: 40px;
    font-weight: 700;
    color: var(--accent);
    display: block;
    margin-bottom: 8px;
}

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

/* ==============================
   Product Page
   ============================== */
.product-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.product-feature {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
}

.product-feature .pf-icon {
    font-size: 32px;
    color: var(--accent);
    margin-bottom: 16px;
}

.product-feature h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 14px;
}

.product-feature p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 0;
}

.tech-specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tech-spec {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}

.tech-spec h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

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

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

/* ==============================
   Integration / Partner Strip
   ============================== */
.integration-strip {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 12px 0;
}

.integration-badge {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.integration-badge i { color: var(--accent); }

/* ==============================
   Icon Overrides (R81)
   ============================== */
.feature-icon .fas,
.feature-icon .far,
.feature-icon .fab,
.card-icon .fas,
.step-icon .fas {
    color: var(--accent) !important;
}

/* ==============================
   Article Images (R-IMG)
   ============================== */
article img {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
}

/* ==============================
   Nav Cleanup (R77)
   ============================== */
.nav-item {
    margin-bottom: 0 !important;
    background-image: none !important;
}

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

/* ==============================
   Hero overlay (R79, R89)
   ============================== */
.header-thumb {
    background: transparent !important;
    border: none !important;
}

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

/* ==============================
   Text on dark sections (R85)
   ============================== */
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark p {
    color: var(--text);
}

.section-dark p,
.section-dark .text-muted {
    color: #c8d6e5;
}

/* ==============================
   Section title styling
   ============================== */
.section-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 18px;
}

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

.section-header {
    margin-bottom: 56px;
}

/* ==============================
   Responsive
   ============================== */
@media (max-width: 991px) {
    h1 { font-size: 42px; }
    h2 { font-size: 32px; }
    .hero h1 { font-size: 42px; }
    .page-hero h1 { font-size: 36px; }
    .section-title { font-size: 32px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .case-study-grid { grid-template-columns: repeat(2, 1fr); }
    .milestone-grid { grid-template-columns: repeat(2, 1fr); }
    .culture-stats { grid-template-columns: repeat(2, 1fr); }
    .product-features { grid-template-columns: repeat(2, 1fr); }
    .tech-specs-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
    .hero-actions { flex-direction: column; }
    .hero-actions a { width: 100%; text-align: center; }
    .features-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .steps-grid-3 { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
    .blog-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .cookie-content { flex-direction: column; align-items: flex-start; }
    .values-grid { grid-template-columns: 1fr; }
    .case-study-grid { grid-template-columns: 1fr; }
    .milestone-grid { grid-template-columns: 1fr; }
    .culture-stats { grid-template-columns: 1fr; }
    .product-features { grid-template-columns: 1fr; }
    .tech-specs-grid { grid-template-columns: 1fr; }
    .cta-section h2 { font-size: 32px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
}
