/* ===================================================
   Raven.io — Custom Styles (Option A: template + overrides)
   Template: 2085_neuron (Bootstrap 3, dark theme)
   Accent: #dc2626
   =================================================== */

:root {
    --bg: #0d0f18;
    --surface: #151825;
    --surface2: #1c2033;
    --text: #e8eaf0;
    --text-muted: #8892a4;
    --accent: #dc2626;
    --accent-dark: #b91c1c;
    --accent-light: #ef4444;
    --border: rgba(255,255,255,0.08);
    --radius: 12px;
    --gap: 40px;
    --nav-height: 72px;
}

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

/* --- Force body colors --- */
body {
    color: var(--text) !important;
    background-color: var(--bg) !important;
    font-size: 18px;
    line-height: 1.9;
}

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

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

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

/* --- Navigation --- */
.navbar-default {
    background-color: var(--bg) !important;
    border-bottom: 1px solid var(--border);
}

.navbar-default .navbar-brand {
    color: var(--text) !important;
    font-size: 22px;
    font-weight: 700;
}

.navbar-default .navbar-nav > li > a {
    color: var(--text-muted) !important;
    font-size: 15px;
    font-weight: 500;
}

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

.navbar-default .navbar-toggle {
    border-color: var(--border);
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: var(--text);
}

.navbar-default .navbar-collapse {
    border-color: var(--border);
}

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

/* --- Hero Section --- */
.hero-section {
    min-height: 620px;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
}

.hero-section h1 {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.15;
    max-width: 800px;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 650px;
    margin-bottom: 32px;
}

/* --- Page Hero (inner pages) --- */
.page-hero {
    padding: 120px 0 60px;
}

.page-hero h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 12px;
}

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

/* --- Sections --- */
.section {
    padding: 80px 0;
}

.section h2 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

/* --- Buttons --- */
.btn-gap {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.btn-primary,
a.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background: var(--accent);
    color: #ffffff !important;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
    cursor: pointer;
}

.btn-primary:hover,
a.btn-primary:hover {
    background: var(--accent-dark);
    color: #ffffff !important;
    text-decoration: none;
}

.btn-secondary,
a.btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    background: transparent;
    color: var(--text) !important;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.2s;
    cursor: pointer;
}

.btn-secondary:hover,
a.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent) !important;
    text-decoration: none;
}

/* --- Feature Cards --- */
.feature-card {
    padding: 32px;
    border-radius: var(--radius);
    margin-bottom: 30px;
}

.feature-card i {
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

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

/* --- Step Block --- */
.step-block {
    padding: 24px 0;
}

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

.step-block h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
}

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

/* --- CTA Section --- */
.cta-section {
    padding: 80px 0;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 24px;
}

/* --- Footer --- */
footer {
    padding: 60px 0 30px;
}

footer h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

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 {
    margin-bottom: 8px;
}

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

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

/* --- Pricing Cards --- */
.pricing-section {
    padding: 80px 0;
}

.pricing-card {
    padding: 40px 32px;
    border-radius: var(--radius);
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.pricing-card .badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
}

.price {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent);
    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;
}

.features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    text-align: left;
}

.features li {
    padding: 8px 0;
    font-size: 15px;
    border-bottom: 1px solid var(--border);
}

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

/* --- FAQ (BS3 panels) --- */
.panel {
    border-radius: var(--radius);
    margin-bottom: 12px;
}

.panel-heading {
    padding: 16px 20px;
}

.panel-title a {
    display: block;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
}

.panel-title a:hover {
    color: var(--accent) !important;
}

.panel-body {
    padding: 16px 20px;
    font-size: 16px;
    line-height: 1.75;
}

/* --- Team Grid --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.team-card {
    padding: 40px 32px;
    border-radius: var(--radius);
    text-align: center;
}

.team-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 10%;
    margin-bottom: 20px;
}

.team-role {
    font-size: 15px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 12px;
}

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

.team-email {
    font-size: 15px;
}

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

.contact-list li {
    padding: 10px 0;
    font-size: 16px;
    color: var(--text-muted);
}

.contact-list li i {
    margin-right: 10px;
}

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

.contact-form .form-control:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.15);
}

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

/* --- Blog Grid --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.blog-card {
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.2s;
}

.blog-card:hover {
    transform: translateY(-4px);
}

.blog-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-card-img {
    height: 200px;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 14px;
    padding: 16px;
}

.blog-card-body {
    padding: 24px;
}

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

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

.blog-card-body p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- About Image Placeholder --- */
.about-image {
    background: var(--surface2);
    border-radius: var(--radius);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 14px;
    padding: 20px;
}

/* --- Value Cards --- */
.value-card {
    padding: 32px;
    border-radius: var(--radius);
    margin-bottom: 30px;
    min-height: 260px;
}

.value-card i {
    margin-bottom: 16px;
}

.value-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.value-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* --- Specs Table --- */
.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid var(--border);
}

.specs-table td {
    padding: 14px 8px;
    font-size: 15px;
    vertical-align: top;
}

.specs-table td:first-child {
    width: 40%;
    font-weight: 600;
}

/* --- Container Narrow (for articles + legal) --- */
.container-narrow {
    max-width: 720px;
    margin: 0 auto;
}

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

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

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

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

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

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-buttons button {
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
}

#cookie-accept {
    background: var(--accent);
    color: #ffffff;
}

#cookie-decline {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 36px;
    }
    .page-hero h1 {
        font-size: 32px;
    }
    .section h2 {
        font-size: 28px;
    }
    .btn-gap {
        flex-direction: column;
    }
    .team-grid {
        grid-template-columns: 1fr;
    }
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}
