/* ============================================================
   Alter — custom.css
   Accent: #6c63ff | Theme: Dark
   DO NOT create or edit main.css — all custom styles go here
   ============================================================ */

/* CSS Variables */
:root {
    --bg: #0d0f18;
    --surface: #151825;
    --surface2: #1c2033;
    --text: #e8eaf0;
    --text-muted: #8892a4;
    --accent: #6c63ff;
    --accent-dark: #5549e8;
    --accent-light: rgba(108, 99, 255, 0.15);
    --border: rgba(255,255,255,0.08);
    --radius: 12px;
    --gap: 40px;
    --nav-height: 72px;
}

/* ---- Base Overrides ---- */
body {
    color: var(--text) !important;
    background-color: var(--bg) !important;
    font-size: 18px;
    line-height: 1.9;
}

section, .section {
    color: var(--text);
}

/* Override template uppercase headings */
h1, h2, h3, h4, h5, h6 {
    text-transform: none !important;
    letter-spacing: normal !important;
    color: var(--text);
}

a {
    color: var(--accent);
}
a:hover {
    color: var(--accent-dark);
}

p {
    font-size: 18px;
    line-height: 1.9;
    color: var(--text);
}

.card, .panel, [class*="card"], [class*="panel"] {
    color: var(--text);
}

/* ---- Navigation ---- */
.navbar-default {
    background: rgba(13, 15, 24, 0.97) !important;
    border-bottom: 1px solid var(--border) !important;
    border-top: none !important;
    min-height: var(--nav-height);
    box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.navbar-default .navbar-brand {
    color: var(--text) !important;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px !important;
    line-height: var(--nav-height);
    padding: 0 15px;
}

.navbar-default .navbar-brand:hover {
    color: var(--accent) !important;
}

.navbar-default .nav li a {
    color: var(--text-muted) !important;
    font-size: 15px;
    font-weight: 500;
    padding: 28px 16px;
    transition: color 0.2s;
}

.navbar-default .nav li a:hover,
.navbar-default .nav li.active a {
    color: var(--text) !important;
    background: transparent !important;
}

.navbar-default .nav li.active a {
    color: var(--accent) !important;
}

.navbar-toggle {
    border-color: var(--border) !important;
    margin-top: 18px;
}

.navbar-toggle .icon-bar {
    background-color: var(--text) !important;
}

/* ---- Hero ---- */
.hero-section {
    min-height: 660px;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 58px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--text) !important;
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

/* ---- Buttons ---- */
.btn-alter-primary {
    background: var(--accent) !important;
    color: #fff !important;
    border: 2px solid var(--accent) !important;
    padding: 13px 32px !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    transition: background 0.2s, border-color 0.2s !important;
}

.btn-alter-primary:hover {
    background: var(--accent-dark) !important;
    border-color: var(--accent-dark) !important;
    color: #fff !important;
}

.btn-alter-secondary {
    background: transparent !important;
    color: var(--text) !important;
    border: 2px solid var(--border) !important;
    padding: 13px 32px !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    transition: border-color 0.2s, color 0.2s !important;
}

.btn-alter-secondary:hover {
    border-color: var(--accent) !important;
    color: var(--accent) !important;
}

.btn-cta-white {
    background: #fff !important;
    color: var(--accent) !important;
    border: 2px solid #fff !important;
    padding: 13px 32px !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}

.btn-cta-white:hover {
    background: rgba(255,255,255,0.9) !important;
    color: var(--accent-dark) !important;
}

.btn-cta-outline {
    background: transparent !important;
    color: #fff !important;
    border: 2px solid rgba(255,255,255,0.6) !important;
    padding: 13px 32px !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}

.btn-cta-outline:hover {
    border-color: #fff !important;
    color: #fff !important;
}

.btn-gap {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 36px;
}

/* ---- Sections ---- */
.section {
    padding: 90px 0;
}

.page-hero {
    padding: 120px 0 80px;
    min-height: 320px;
    display: flex;
    align-items: center;
}

.page-hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--text) !important;
}

.section h2 {
    font-size: 40px;
    font-weight: 700;
    color: var(--text) !important;
    margin-bottom: 20px;
}

.cta-section {
    padding: 80px 0;
}

.cta-section h2 {
    font-size: 40px !important;
    margin-bottom: 16px;
}

/* ---- Feature Cards ---- */
.feature-card {
    padding: 32px;
    border-radius: var(--radius);
    margin-bottom: 24px;
    border: 1px solid var(--border);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 16px;
    color: var(--text);
}

.feature-card p {
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ---- Step Cards ---- */
.step-card {
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-bottom: 24px;
    height: 100%;
}

.step-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    margin-top: 12px;
}

.step-card p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.8;
}

.step-num {
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
}

/* ---- Solution Items ---- */
.solution-item {
    padding: 28px;
    margin-bottom: 28px;
    border-left: 3px solid var(--accent);
    padding-left: 24px;
}

.solution-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text);
}

.solution-item p {
    color: var(--text-muted);
    font-size: 16px;
}

/* ---- Capability Items ---- */
.capability-item {
    padding: 32px 0;
    border-bottom: 1px solid var(--border);
}

.capability-item:last-child {
    border-bottom: none;
}

.capability-item h3 {
    font-size: 22px;
    font-weight: 600;
    margin-top: 16px;
    color: var(--text);
}

.capability-item p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.8;
}

.capability-item .fa {
    margin-top: 8px;
}

/* ---- Metrics ---- */
.metric-card {
    padding: 32px 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-bottom: 24px;
}

.metric-number {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 8px;
}

.metric-label {
    font-size: 14px;
    line-height: 1.5;
}

/* ---- Integration Chips ---- */
.integration-chip {
    padding: 20px 10px;
    margin-bottom: 20px;
}

.integration-chip p {
    font-size: 14px;
    margin-top: 8px;
    margin-bottom: 0;
}

/* ---- Pricing ---- */
.pricing-grid {
    display: flex;
    flex-wrap: wrap;
}

.pricing-card {
    padding: 40px 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-bottom: 24px;
    position: relative;
}

.pricing-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.pricing-card .price {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    margin: 16px 0 8px;
}

.pricing-card .price-desc {
    font-size: 15px;
    margin-bottom: 28px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
}

.features-list li {
    padding: 7px 0;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
}

.badge-popular {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

/* ---- FAQ ---- */
.faq-panel {
    border: 1px solid var(--border) !important;
    border-radius: var(--radius) !important;
    margin-bottom: 12px !important;
    overflow: hidden;
}

.faq-panel .panel-heading {
    border-bottom: none;
    padding: 18px 24px;
}

.faq-panel .panel-title a {
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
}

.faq-panel .panel-body {
    padding: 16px 24px 24px;
    border-top: 1px solid var(--border);
}

.faq-panel .panel-body p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ---- About Page ---- */
.about-image-block {
    background: var(--surface2);
    border-radius: var(--radius);
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    border: 1px solid var(--border);
}

/* ---- Value Cards ---- */
.value-card {
    padding: 32px 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-bottom: 24px;
    text-align: center;
}

.value-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 16px;
    margin-bottom: 12px;
    color: var(--text);
}

.value-card p {
    font-size: 15px;
}

/* ---- Team ---- */
.team-grid {
    margin-top: 20px;
}

.team-card {
    padding: 36px 28px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-bottom: 28px;
    text-align: center;
}

.team-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 10%;
    border: 3px solid var(--accent);
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.team-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.team-role {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
}

.team-bio {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 18px;
}

.team-email {
    font-size: 14px;
    font-weight: 500;
}

/* ---- Contact ---- */
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.contact-list li {
    padding: 10px 0;
    font-size: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text);
    border-bottom: 1px solid var(--border);
}

.contact-list li .fa {
    margin-top: 4px;
    flex-shrink: 0;
}

.contact-form .form-control {
    background: var(--surface2) !important;
    border: 1px solid var(--border) !important;
    color: var(--text) !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    font-size: 16px !important;
    margin-bottom: 16px;
}

.contact-form .form-control::placeholder {
    color: var(--text-muted) !important;
}

.contact-form .form-control:focus {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 2px var(--accent-light) !important;
    outline: none;
}

/* ---- Blog ---- */
.blog-grid {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
}
.blog-grid > [class*="col-"] {
    display: flex;
}

.blog-card {
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    margin-bottom: 28px;
    transition: border-color 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.blog-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.blog-card a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.blog-card a:hover {
    color: inherit;
}

.blog-card-img {
    background: var(--bg);
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    border-bottom: 1px solid var(--border);
}

.blog-card-body {
    padding: 24px;
    flex: 1;
}

.blog-card-body time {
    font-size: 13px;
    display: block;
    margin-bottom: 10px;
}

.blog-card-body h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
    line-height: 1.4;
}

.blog-card-body p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ---- Footer ---- */
footer {
    padding: 60px 0 0;
}

footer h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted) !important;
    font-size: 15px;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent) !important;
}

.footer-grid {
    padding-bottom: 40px;
}

footer hr {
    border-color: var(--border) !important;
    margin: 0 0 24px;
}

footer .col-md-12 > p {
    padding: 0 0 40px;
    margin: 0;
    font-size: 14px;
}

/* ---- Cookie Banner ---- */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 16px 24px;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}

.cookie-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-text {
    color: var(--text);
}

.cookie-text strong {
    color: var(--text);
    font-size: 15px;
    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);
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

#cookie-decline {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border);
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

#cookie-accept {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

#cookie-accept:hover {
    background: var(--accent-dark);
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .hero-section h1 { font-size: 42px; }
    .page-hero h1 { font-size: 36px; }
    .section h2 { font-size: 32px; }
    .section { padding: 60px 0; }
    .page-hero { padding: 80px 0 50px; }
    .pricing-card { margin-bottom: 20px; }
    .team-card { margin-bottom: 20px; }
    .about-image-block { margin-top: 30px; min-height: 220px; }
}

@media (max-width: 767px) {
    .hero-section h1 { font-size: 32px; }
    .metric-number { font-size: 32px; }
    .btn-gap { flex-direction: column; align-items: center; }
    .cookie-content { flex-direction: column; gap: 16px; }
    .cookie-buttons { width: 100%; }
    #cookie-decline, #cookie-accept { flex: 1; text-align: center; }
}

/* ============================================================
   ARTICLE / LEGAL CONTENT WIDTH (max 720px centered)
   ============================================================ */
.container-narrow {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* Site Logo */
.site-logo { height: 36px; width: auto; vertical-align: middle; margin-right: 8px; }

/* Nav menu-trigger inline fix */
.navicon { float: none !important; margin-left: auto !important; }
.menu-trigger {
  display: flex !important;
  align-items: center;
  gap: 6px;
  width: auto !important;
  height: auto !important;
}
.menu-trigger .icon {
  font-size: 20px;
  line-height: 1;
}
.menu-label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Nav row flex fix */
.navbar .row {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  flex-wrap: nowrap;
}
.brand { float: none !important; }
