/* Shakebug Trust & Security Center Page Stylesheet (/security) */

/* ==========================================================================
   Hero Section
   ========================================================================== */
.sec-hero-wrap {
    padding: 135px 0 65px !important;
    background: linear-gradient(180deg, #f0fdfd 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    width: 100%;
    float: left;
    clear: both;
}

.sec-hero-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    height: 100%;
    background-image: radial-gradient(#c6f1f4 1.2px, transparent 1.2px);
    background-size: 24px 24px;
    opacity: 0.55;
    pointer-events: none;
}

.sec-hero-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 45px;
    position: relative;
    z-index: 2;
}

.sec-hero-content {
    flex: 1 1 58%;
    max-width: 660px;
    text-align: left;
}

.sec-trust-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(29, 211, 227, 0.12);
    border: 1px solid rgba(29, 211, 227, 0.4);
    color: #087f8c;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 16px;
    border-radius: 24px;
    margin-bottom: 20px;
}

.sec-trust-tag i {
    color: #087f8c;
    font-size: 14px;
}

.sec-hero-content h1 {
    font-size: 46px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin: 0 0 16px 0;
    padding: 0;
    float: none;
    letter-spacing: -0.02em;
}

.sec-hero-content h1 span {
    color: #12a5b4;
    display: inline;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

.sec-hero-content .subhead {
    font-size: 19px;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 24px 0;
    font-weight: 400;
}

.sec-hero-guarantees {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
}

.sec-hero-guarantees li {
    font-size: 15px;
    color: #334155;
    margin-bottom: 11px;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.4;
}

.sec-hero-guarantees li i {
    color: #0ea5e9;
    font-size: 16px;
    flex-shrink: 0;
}

.sec-hero-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    float: none;
    clear: both;
}

.sec-hero-actions .cbtn,
.sec-hero-actions .bbtn,
.sec-dpa-actions .cbtn,
.sec-dpa-actions .bbtn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 48px !important;
    min-height: 48px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 28px !important;
    padding-right: 28px !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
    vertical-align: middle !important;
    text-align: center !important;
}

.sec-hero-actions .cbtn {
    background: #1dd3e3;
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    border-radius: 30px;
    border: 2px solid #1dd3e3;
    transition: all 0.2s ease;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(29, 211, 227, 0.4);
}

.sec-hero-actions .cbtn:hover {
    background: #14bac9;
    border-color: #14bac9;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(29, 211, 227, 0.55);
}

.sec-hero-actions .bbtn {
    background: #ffffff;
    color: #1e293b;
    font-weight: 700;
    font-size: 15px;
    border-radius: 30px;
    border: 2px solid #cbd5e1;
    transition: all 0.2s ease;
    text-decoration: none;
}

.sec-hero-actions .bbtn:hover {
    border-color: #1dd3e3;
    color: #087f8c;
    background: #f0fdfd;
    transform: translateY(-2px);
}

.sec-hero-caption {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

/* ==========================================================================
   Right Column: Security Posture Card
   ========================================================================== */
.sec-hero-card {
    flex: 1 1 42%;
    max-width: 470px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 28px 30px;
    box-shadow: 0 20px 45px -15px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(29, 211, 227, 0.12);
    position: relative;
}

.sec-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 20px;
}

.sec-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sec-card-title i {
    color: #0ea5e9;
    font-size: 18px;
}

.sec-live-pulse {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #059669;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 14px;
}

.sec-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: secPulse 1.8s infinite;
}

@keyframes secPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.sec-posture-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.sec-posture-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 12px;
    padding: 12px 16px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.sec-posture-item:hover {
    background: #f0fdfd;
    border-color: #c7f2f5;
}

.sec-posture-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sec-posture-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(29, 211, 227, 0.12);
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.sec-posture-text {
    display: flex;
    flex-direction: column;
}

.sec-posture-name {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
}

.sec-posture-sub {
    font-size: 12px;
    color: #64748b;
    line-height: 1.3;
}

.sec-posture-badge {
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
    background: #e0f2fe;
    color: #0369a1;
    white-space: nowrap;
}

.sec-card-footer {
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
    font-size: 13px;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sec-card-footer a {
    color: #087f8c;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.sec-card-footer a:hover {
    color: #1dd3e3;
}

/* ==========================================================================
   Trust Strip
   ========================================================================== */
.sec-trust-strip {
    width: 100%;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: 24px 0;
    float: left;
    clear: both;
}

.sec-trust-strip-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    gap: 20px;
}

.sec-strip-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    white-space: nowrap;
}

.sec-strip-item i {
    color: #0284c7;
    font-size: 16px;
}

/* ==========================================================================
   Feature Sections
   ========================================================================== */
.sec-section {
    padding: 70px 0;
    background: #ffffff;
    width: 100%;
    float: left;
    clear: both;
}

.sec-section.alt-bg {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.sec-header-block {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 50px;
}

.sec-header-block h2 {
    font-size: 34px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 14px;
    line-height: 1.25;
}

.sec-header-block p {
    font-size: 17px;
    color: #64748b;
    line-height: 1.65;
}

.sec-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    align-items: stretch;
}

.sec-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 34px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sec-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.sec-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(29, 211, 227, 0.12);
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 22px;
}

.sec-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 14px;
}

.sec-card p {
    font-size: 15px;
    color: #475569;
    line-height: 1.65;
    margin-bottom: 18px;
}

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

.sec-card ul li {
    font-size: 14px;
    color: #334155;
    margin-bottom: 10px;
    position: relative;
    padding-left: 24px;
    line-height: 1.5;
}

.sec-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #0284c7;
    font-weight: bold;
}

/* Architecture Graphic Block */
.sec-arch-box {
    background: #0f172a;
    border-radius: 18px;
    padding: 38px;
    color: #f8fafc;
    margin-top: 45px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.18);
}

.sec-arch-title {
    font-size: 21px;
    font-weight: 700;
    color: #1dd3e3;
    margin-bottom: 28px;
    text-align: center;
}

.sec-flow-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.sec-flow-step {
    flex: 1;
    min-width: 180px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 22px 16px;
    text-align: center;
}

.sec-flow-step .step-num {
    background: #1dd3e3;
    color: #0f172a;
    font-size: 12px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 10px;
}

.sec-flow-step h4 {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.sec-flow-step p {
    font-size: 13px;
    color: #94a3b8;
    margin: 0;
    line-height: 1.4;
}

.sec-flow-arrow {
    color: #1dd3e3;
    font-size: 20px;
    font-weight: bold;
}

/* Code Snippet Tabs */
.sec-code-container {
    background: #1e293b;
    border-radius: 16px;
    overflow: hidden;
    margin-top: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.sec-code-tabs {
    display: flex;
    background: #0f172a;
    border-bottom: 1px solid #334155;
    overflow-x: auto;
}

.sec-tab-btn {
    background: transparent;
    border: none;
    outline: none;
    color: #94a3b8;
    padding: 14px 22px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
}

.sec-tab-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.03);
}

.sec-tab-btn.active {
    color: #1dd3e3;
    border-bottom-color: #1dd3e3;
    background: rgba(29, 211, 227, 0.06);
}

.sec-tab-content {
    display: none;
    padding: 26px;
}

.sec-tab-content.active {
    display: block;
}

.sec-code-container pre {
    margin: 0;
    padding: 0;
    background: transparent;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
    font-size: 13.5px;
    color: #e2e8f0;
    line-height: 1.6;
    overflow-x: auto;
}

.sec-code-desc {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 15px;
    line-height: 1.5;
}

/* Retention Matrix Table */
.sec-table-wrapper {
    overflow-x: auto;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    margin-top: 30px;
}

.sec-matrix-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 650px;
}

.sec-matrix-table th {
    background: #f1f5f9;
    color: #0f172a;
    font-size: 15px;
    font-weight: 700;
    padding: 18px 22px;
    border-bottom: 2px solid #cbd5e1;
}

.sec-matrix-table td {
    padding: 18px 22px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 14.5px;
    color: #334155;
}

.sec-matrix-table tr:last-child td {
    border-bottom: none;
}

.sec-matrix-table tr:hover td {
    background: #f8fafc;
}

.tier-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.tier-badge.free { background: #e2e8f0; color: #334155; }
.tier-badge.standard { background: #dbeafe; color: #1e40af; }
.tier-badge.premium { background: #e0e7ff; color: #3730a3; }
.tier-badge.enterprise { background: #ccfbf1; color: #0f766e; }

/* Compliance & DPA Block */
.sec-dpa-box {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #bfdbfe;
    border-radius: 18px;
    padding: 38px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-top: 45px;
}

.sec-dpa-text {
    flex: 1;
    min-width: 280px;
}

.sec-dpa-text h3 {
    font-size: 23px;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 10px;
}

.sec-dpa-text p {
    font-size: 15px;
    color: #1e40af;
    margin: 0;
    line-height: 1.6;
}

.sec-dpa-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.sec-dpa-actions .cbtn {
    background: #1dd3e3;
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    border-radius: 30px;
    border: 2px solid #1dd3e3;
    transition: all 0.2s ease;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(29, 211, 227, 0.4);
}

.sec-dpa-actions .cbtn:hover {
    background: #14bac9;
    border-color: #14bac9;
    color: #ffffff;
    transform: translateY(-2px);
}

.sec-dpa-actions .bbtn {
    background: #ffffff;
    color: #1e293b;
    font-weight: 700;
    font-size: 15px;
    border-radius: 30px;
    border: 2px solid #cbd5e1;
    transition: all 0.2s ease;
    text-decoration: none;
}

.sec-dpa-actions .bbtn:hover {
    border-color: #1dd3e3;
    color: #087f8c;
    background: #f0fdfd;
    transform: translateY(-2px);
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */
@media (max-width: 991px) {
    .sec-hero-layout {
        flex-direction: column;
        text-align: center;
    }
    .sec-hero-content {
        max-width: 100%;
        text-align: center;
    }
    .sec-hero-guarantees li {
        justify-content: center;
    }
    .sec-hero-actions {
        justify-content: center;
    }
    .sec-hero-card {
        max-width: 100%;
        width: 100%;
    }
    .sec-grid-2 {
        grid-template-columns: 1fr;
    }
    .sec-flow-arrow {
        transform: rotate(90deg);
        margin: 5px auto;
    }
    .sec-flow-steps {
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .sec-hero-wrap {
        padding: 115px 0 45px !important;
    }
    .sec-hero-content h1 {
        font-size: 32px;
    }
    .sec-hero-content .subhead {
        font-size: 16px;
    }
    .sec-trust-strip-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 15px;
    }
    .sec-header-block h2 {
        font-size: 26px;
    }
    .sec-card {
        padding: 24px;
    }
}
