/*
 * GrokCapt Shared Component Styles v3.1
 * Included in: cloudflare.html, akamai.html, reese84.html, contact.html
 * index.html includes this file plus its own extended component styles
 */

/* ================================================
   § 0  Base & Typography
   ================================================ */
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: #fff;
}

/* ================================================
   § 1  Navbar
   ================================================ */
.sticky_nav {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #e2e8f0;
}
.navbar-toggler {
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 6px 10px;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230f172a' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ================================================
   § 2  Hero Banner
   ================================================ */
.saas_banner_area {
    background: #f8fafc;
    overflow: hidden;
    padding: 100px 0 80px;
    min-height: 82vh;
    display: flex;
    align-items: center;
}

/* ================================================
   § 3  Buttons
   ================================================ */
.saas_btn {
    background: #0f172a;
    border-radius: 8px;
    padding: 12px 28px;
    transition: all 0.3s;
    display: inline-block;
    text-decoration: none;
    border: none;
}
.saas_btn:hover {
    background: #334155;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}
.saas_btn .btn_text span {
    font-weight: 600;
    font-size: 15px;
    color: #fff;
}
.saas_btn.theme_btn {
    background: #2563eb;
    border-color: #2563eb;
}
.saas_btn.theme_btn:hover {
    background: #1d4ed8;
}

/* ================================================
   § 4  Terminal Window
   ================================================ */
.terminal-window {
    background: #0f172a;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    border: 1px solid #1e293b;
    font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
}
.terminal-header {
    background: #1e293b;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #334155;
    user-select: none;
}
.terminal-dots { display: flex; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.dot-red    { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green  { background: #10b981; }
.terminal-body {
    padding: 20px;
    color: #e2e8f0;
    font-size: 13px;
    line-height: 1.8;
    text-align: left !important;
    overflow-x: auto;
}
/* Syntax highlight classes */
.code-green  { color: #10b981; }
.code-blue   { color: #60a5fa; }
.code-purple { color: #c084fc; }
.code-gray   { color: #64748b; }
.code-yellow { color: #fbbf24; }
.code-red    { color: #f87171; }

/* ================================================
   § 5  Service Detail Area
   ================================================ */
.service_details_area { padding: 100px 0; }

/* ================================================
   § 6  Tech Feature Cards
   ================================================ */
.tech-feature-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.3s;
    height: 100%;
}
.tech-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    /* Per-page colour override: border-color */
}
.feature-icon {
    width: 60px;
    height: 60px;
    background: #eff6ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: #2563eb;
    font-size: 24px;
    flex-shrink: 0;
}

/* ================================================
   § 7  Data Panel Rows
   ================================================ */
.data-panel {
    background: #f8fafc;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
}
.data-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #e2e8f0;
    font-size: 13px;
}
.data-row:last-child { border-bottom: none; }
.data-key { color: #64748b; font-weight: 500; }
.data-val { color: #0f172a; font-family: 'Consolas', monospace; font-weight: 600; }
/* Per-page: .hl colour override */
.hl { padding: 2px 8px; border-radius: 4px; font-weight: 700; }

/* ================================================
   § 8  Integration Guide Section
   ================================================ */
.integration_area {
    padding: 90px 0;
    background: #0f172a;
}
.integration_step {
    padding: 28px 0;
    border-bottom: 1px solid #1e293b;
}
.integration_step:last-child { border-bottom: none; }
.step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #2563eb;
    color: #fff;
    border-radius: 50%;
    font-weight: 800;
    font-size: 15px;
    margin-bottom: 14px;
    flex-shrink: 0;
}
.integration_step h4 {
    color: #f1f5f9;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}
.integration_step p {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}
.inline-code {
    background: #1e293b;
    color: #10b981;
    padding: 2px 7px;
    border-radius: 4px;
    font-family: 'Consolas', monospace;
    font-size: 13px;
}

/* ================================================
   § 9  Stats / Metrics Bar
   ================================================ */
.stats_bar {
    padding: 48px 0;
    background: #fff;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}
.stat_item { text-align: center; padding: 8px 16px; }
.stat_number {
    font-size: 38px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
    font-feature-settings: "tnum";
}
.stat_number .stat_unit {
    font-size: 22px;
    font-weight: 700;
    color: #2563eb;
}
.stat_label {
    font-size: 13px;
    color: #64748b;
    margin-top: 8px;
    font-weight: 500;
}
.stat_divider {
    width: 1px;
    height: 56px;
    background: #e2e8f0;
    margin: auto;
}

/* ================================================
   § 10  Pricing Section
   ================================================ */
.pricing_area {
    background: #f8fafc;
    padding: 100px 0;
}
.pricing_item {
    background: #fff;
    border-radius: 16px;
    padding: 40px 30px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    height: 100%;
}
.pricing_item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.pricing_header h5 {
    font-size: 13px;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}
.pricing_header h2 {
    font-size: 44px;
    color: #0f172a;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1;
}
.pricing_header h2 span {
    font-size: 16px;
    color: #64748b;
    font-weight: 500;
}
.pricing_body { margin: 28px 0; }
.pricing_list { list-style: none; padding: 0; margin: 0; }
.pricing_list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 14px;
    color: #475569;
    font-size: 14.5px;
    line-height: 1.5;
}
.pricing_list li i {
    color: #10b981;
    margin-right: 10px;
    font-size: 13px;
    background: #dcfce7;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}
.pricing_item.popular {
    border: 2px solid #3b82f6;
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.12);
}
.popular_badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #3b82f6;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 14px;
    border-bottom-left-radius: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ================================================
   § 11  Footer
   ================================================ */
.footer_area_two { padding-top: 60px !important; }
.footer-contact-list { padding: 0; margin: 0; list-style: none; }
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
}
.footer-contact-icon {
    width: 36px;
    height: 36px;
    background: rgba(59, 130, 246, 0.12);
    color: #3b82f6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    margin-right: 12px;
    flex-shrink: 0;
}
.footer-contact-info { display: flex; flex-direction: column; }
.contact-label {
    font-size: 11px;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 3px;
    letter-spacing: 0.5px;
}
.contact-value {
    color: #e2e8f0;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 13px;
    font-weight: 500;
}
.footer_bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 20px;
    margin-top: 40px;
}
.link_widget li a { transition: color 0.2s, padding-left 0.2s; }
.link_widget li a:hover { color: #3b82f6 !important; padding-left: 5px; }

/* ================================================
   § 12  Misc Utilities
   ================================================ */
.section_title h2 { font-weight: 800; }
.section_title p { color: #64748b; }
@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
