
/* ============================================================
   FULL RESPONSIVE OVERHAUL — All Pages
   Breakpoints:
     Mobile  S : max-width 575px
     Mobile  L : max-width 767px
     Tablet    : 768px – 991px
     Laptop    : 992px – 1199px
     Desktop   : 1200px+
   ============================================================ */

/* ============================================================
   MOBILE-FIRST RESPONSIVE STYLES
   Base styles (mobile) → min-width queries for larger screens
   Breakpoints:
     Mobile  S : 576px  (max-width 575px)
     Mobile  L : 768px  (max-width 767px)
     Tablet    : 992px  (min-width 768px)
     Laptop    : 1200px (min-width 992px)
     Desktop   : 1400px (min-width 1200px)
   ============================================================ */

/* ── BASE (Mobile First - max-width: 575px) ─────────────────── */
@media (max-width: 575px) {
    /* Containers */
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* Hero */
    .hero-section {
        padding: 100px 0 50px;
    }

    .hero-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
        padding-top: 10px;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.7;
    }

    .hero-highlights {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 28px;
    }

    .highlight-item {
        font-size: 0.875rem;
        padding: 8px 12px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
        font-size: 0.95rem;
        justify-content: center;
    }

    .hero-visual {
        display: block;
        margin-top: 36px;
        width: 100%;
        overflow: hidden;
    }

    .agent-dashboard {
        transform: none;
        max-width: 100%;
        border-radius: 12px;
    }

    .ai-db2 {
        transform: none;
        border-radius: 12px;
    }

    .ai-db2-main {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .ai-db2-bottom {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .db2-panel {
        padding: 10px;
    }

    .db2-center {
        grid-row: span 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .ai-core-svg {
        width: 60px;
        height: 60px;
    }

    .ac2-metric {
        margin-top: 4px;
    }

    .db2-ticker {
        font-size: 0.65rem;
    }

    /* Trust */
    .trust-section {
        padding: 50px 0;
    }

    .trust-header h2 {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }

    .trust-header p {
        font-size: 0.88rem;
        line-height: 1.6;
    }

    .trust-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin-bottom: 30px;
    }

    .stat-card {
        flex: none;
        padding: 16px 12px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .trust-logos {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .logo-item {
        padding: 10px 10px;
        justify-content: center;
        border-radius: 10px;
        flex-direction: row;
    }

    .logo-item img {
        height: 24px;
        width: auto;
    }

    .logo-item span {
        font-size: 0.75rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Section Header */
    .section-header {
        margin: 0 auto 40px;
    }

    .section-header h2 {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }

    .section-header p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    /* Activation */
    .activation-section {
        padding: 50px 0;
    }

    .capability-section {
        padding: 30px 0;
    }

    .capability-section .row {
        flex-direction: column-reverse;
    }

    .capability-section .row .col-lg-6 {
        width: 100%;
        max-width: 100%;
        flex: none;
    }

    .capability-content {
        padding: 16px 0;
    }

    .capability-content h3 {
        font-size: 1.25rem;
        margin-bottom: 8px;
    }

    .capability-tagline {
        font-size: 0.95rem;
        margin-bottom: 12px;
    }

    .capability-content > p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .capability-features {
        padding-left: 0;
    }

    .capability-features li {
        font-size: 0.875rem;
        padding: 6px 0;
    }

    .capability-visual {
        margin-bottom: 24px;
    }

    .visual-container {
        max-width: 100%;
        margin: 0 auto;
    }

    /* Dashboard visual */
    .dashboard-visual {
        padding: 16px;
    }

    .dashboard-metrics {
        gap: 10px;
    }

    .metric-card {
        padding: 10px;
    }

    .metric-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .metric-value {
        font-size: 0.85rem;
    }

    .roi-badge {
        font-size: 0.8rem;
        padding: 8px 12px;
    }

    /* Shield container */
    .shield-container {
        width: 180px;
        height: 180px;
        margin: 0 auto;
    }

    .shield-core {
        width: 50px;
        height: 50px;
    }

    .shield-core i {
        font-size: 1.5rem;
    }

    .node {
        font-size: 0.65rem;
        padding: 4px 8px;
    }

    /* Agent dashboard 1 */
    .agent-dashboard1 {
        transform: none;
        animation: none;
        max-width: 100%;
    }

    .di-dash {
        transform: none;
    }

    .di-panel {
        padding: 12px;
    }

    .rag-flow {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .rag-pipe {
        display: none;
    }

    .rag-node {
        width: 72px;
        height: 60px;
        font-size: 0.7rem;
    }

    .rag-stats {
        flex-wrap: wrap;
        gap: 8px;
    }

    .rag-stat {
        flex: 1 1 calc(50% - 4px);
        min-width: 70px;
    }

    .rag-num {
        font-size: 0.9rem;
    }

    .rag-stat span:last-child {
        font-size: 0.7rem;
    }

    /* Workflow pipeline */
    .workflow-visual {
        padding: 16px;
    }

    .workflow-pipeline {
        overflow-x: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
        justify-content: center;
        flex-wrap: nowrap;
        gap: 0;
        padding-bottom: 8px;
        scrollbar-width: none;
    }

    .workflow-pipeline::-webkit-scrollbar {
        display: none;
    }

    .workflow-step {
        flex-shrink: 0;
    }

    .step-circle {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    .workflow-connector {
        display: flex;
        flex-shrink: 0;
        width: 20px;
        overflow: visible;
    }

    .workflow-connector::after {
        animation: connectorPulseMobile 1.5s ease-in-out infinite;
    }

    @keyframes connectorPulseMobile {
        0%, 100% { opacity: 0.3; transform: translateY(-50%) translateX(0); }
        50% { opacity: 1; transform: translateY(-50%) translateX(6px); }
    }

    .workflow-tools {
        flex-wrap: wrap;
        gap: 6px;
    }

    .tool-tag {
        font-size: 0.75rem;
        padding: 4px 10px;
    }

    /* Solutions */
    .solutions-section {
        padding: 50px 0;
    }

    .solution-card {
        padding: 20px;
        margin-bottom: 16px;
    }

    .solution-card h3 {
        font-size: 1.1rem;
    }

    .solution-icon {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
        margin-bottom: 14px;
    }

    .solution-features li {
        font-size: 0.85rem;
        padding: 4px 0;
    }

    /* Case Studies */
    .case-studies-section {
        padding: 50px 0;
    }

    .case-studies-section .row.g-4 {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .case-studies-section .col-md-6 {
        width: 100%;
        max-width: 100%;
    }

    .case-card {
        padding: 18px;
    }

    .case-header h3 {
        font-size: 1.1rem;
    }

    .case-results {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .result-item {
        flex-direction: row;
        align-items: center;
        gap: 14px;
        padding: 10px 0;
    }

    .kpi-ring {
        width: 60px;
        height: 60px;
        flex-shrink: 0;
    }

    .ring-svg {
        width: 60px;
        height: 60px;
    }

    .ring-value {
        font-size: 1.1rem;
    }

    .result-value {
        font-size: 1.3rem;
    }

    .result-label {
        font-size: 0.8rem;
    }

    /* Security */
    .security-section {
        padding: 50px 0;
    }

    .security-content h2 {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }

    .security-content > p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 24px;
    }

    .compliance-badges {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .badge-item {
        width: 100%;
        padding: 14px 12px;
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }

    .badge-icon {
        width: 36px;
        height: 36px;
        font-size: 0.65rem;
    }

    .badge-item span:last-child {
        font-size: 0.78rem;
    }

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

    .cta-section h2 {
        font-size: 1.5rem;
        margin-bottom: 14px;
    }

    .cta-section > .container > p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 24px;
    }

    .cta-section .btn-primary-custom {
        padding: 14px 24px;
        font-size: 0.95rem;
        width: 100%;
        max-width: 320px;
    }
}

/* ── Mobile Large (576px – 767px) ─────────────────────────── */
@media (min-width: 576px) and (max-width: 767px) {
    .hero-section {
        padding: 110px 0 60px;
    }

    .hero-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .hero-visual {
        display: block;
        margin-top: 36px;
    }

    .ai-db2-main {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .ai-core-svg {
        width: 80px;
        height: 80px;
    }

    .shield-container {
        width: 220px;
        height: 220px;
    }

    .trust-logos {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .trust-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .compliance-badges {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;

    }
}

/* ── Mobile Large (max-width: 767px) ─────────────────────────── */
@media (max-width: 767px) {
    /* Hero */
    .hero-section {
        padding: 110px 0 60px;
        min-height: auto;
    }

    .hero-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
        padding-top: 20px;
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }

    .hero-highlights {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 28px;
        text-align: left;
    }

    .highlight-item {
        font-size: 0.875rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
        font-size: 0.95rem;
        justify-content: center;
    }

    .hero-visual {
        display: block;
        margin-top: 36px;
    }

    .agent-dashboard {
        transform: none;
        max-width: 100%;
    }

    .ai-db2 {
        transform: none;
    }

    /* Trust */
    .trust-section {
        padding: 60px 0;
    }

    .trust-header h2 {
        font-size: 1.5rem;
    }

    .trust-header p {
        font-size: 0.9rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    /* Section Header */
    .section-header {
        margin: 0 auto 40px;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    /* Activation */
    .activation-section {
        padding: 60px 0;
    }

    .capability-content h3 {
        font-size: 1.3rem;
        margin-bottom: 6px;
    }

    .capability-tagline {
        font-size: 0.95rem;
    }

    .capability-content > p {
        font-size: 0.9rem;
    }

    .capability-features li {
        font-size: 0.875rem;
    }

    .capability-content {
        padding: 12px 8px;
    }

    .capability-visual {
        padding: 12px 0;
        margin-bottom: 24px;
    }

    /* Shield container */
    .shield-container {
        width: 220px;
        height: 220px;
    }

    /* Solutions */
    .solutions-section {
        padding: 50px 0;
    }

    .solution-card {
        padding: 24px;
    }

    .solution-card h3 {
        font-size: 1.15rem;
    }

    .solution-features li {
        font-size: 0.85rem;
    }

    /* Case Studies */
    .case-studies-section {
        padding: 50px 0;
    }

    .case-card {
        padding: 24px;
    }

    .case-header h3 {
        font-size: 1.2rem;
    }

    .result-value {
        font-size: 1.6rem;
    }

    .case-results {
        gap: 16px;
    }

    .kpi-ring {
        width: 70px;
        height: 70px;
    }

    .ring-svg {
        width: 70px;
        height: 70px;
    }

    /* Security */
    .security-section {
        padding: 50px 0;
    }

    .security-content h2 {
        font-size: 1.6rem;
    }

    .security-content > p {
        font-size: 0.9rem;
        margin-bottom: 28px;
    }

    .compliance-badges {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .badge-item {
        min-width: 140px;
        padding: 16px;
    }

    .badge-icon {
        width: 40px;
        height: 40px;
        font-size: 0.65rem;
    }

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

    .cta-section h2 {
        font-size: 1.6rem;
        margin-bottom: 14px;
    }

    .cta-section > .container > p {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }

    .cta-section .btn-primary-custom {
        padding: 14px 24px;
        font-size: 0.95rem;
        width: 100%;
        max-width: 360px;
    }
}

/* ── Tablet (768px – 991px) ──────────────────────────────────── */
@media (min-width: 768px) and (max-width: 991px) {
    /* Hero */
    .hero-section {
        min-height: auto;
        padding: 130px 0 70px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-content {
        text-align: center;
    }

    .hero-highlights {
        grid-template-columns: 1fr 1fr;
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    .hero-visual {
        display: block;
        margin-top: 48px;
    }

    .agent-dashboard {
        max-width: 520px;
        margin: 0 auto;
    }

    .ai-db2-main {
        grid-template-columns: 1fr 1fr 1fr;
    }

    /* Trust */
    .trust-section {
        padding: 70px 0;
    }

    .trust-header h2 {
        font-size: 1.8rem;
    }

    .trust-stats {
        gap: 30px;
        flex-wrap: wrap;
    }

    .stat-card {
        flex: 1 1 calc(50% - 20px);
        max-width: 180px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .trust-logos {
        gap: 16px;
        justify-content: center;
    }

    .logo-item {
        padding: 10px 16px;
    }

    .logo-item img {
        height: 32px;
    }

    /* Sections */
    .section-header {
        margin-bottom: 50px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    /* Activation */
    .activation-section {
        padding: 70px 0;
    }

    .capability-content h3 {
        font-size: 1.5rem;
    }

    .capability-content {
        padding: 16px;
    }

    /* Solutions */
    .solutions-section {
        padding: 60px 0;
    }

    .solution-card {
        padding: 28px;
    }

    /* Case Studies */
    .case-studies-section {
        padding: 60px 0;
    }

    .case-card {
        padding: 28px;
    }

    /* Security */
    .compliance-badges {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }

    /* CTA */
    .cta-section h2 {
        font-size: 2rem;
    }

    .cta-section > .container > p {
        font-size: 1rem;
    }

    /* Shield container */
    .shield-container {
        width: 260px;
        height: 260px;
    }

    /* Agent dashboard (capability 3) */
    .agent-dashboard1 {
        transform: none;
        animation: none;
        max-width: 480px;
        margin: 0 auto;
    }

    .workflow-pipeline {
        justify-content: center;
    }
}

/* ── Laptop (992px – 1199px) ─────────────────────────────────── */
@media (min-width: 992px) and (max-width: 1199px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .hero-content {
        max-width: 500px;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .capability-content h3 {
        font-size: 1.5rem;
    }

    .cta-section h2 {
        font-size: 2.2rem;
    }

    .trust-section {
        padding: 80px 0;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .solution-card {
        padding: 28px;
    }

    .case-card {
        padding: 28px;
    }
}

/* ── Desktop (1200px +) ─────────────────────────────────────── */
@media (min-width: 1200px) {
    .hero-title {
        font-size: 3.75rem;
    }

    .hero-subtitle {
        font-size: 1.15rem;
    }

    .agent-dashboard {
        transform: rotateY(-6deg) rotateX(4deg);
        animation: float 6s ease-in-out infinite;
    }

    .trust-section {
        padding: 100px 0;
    }

    .section-header h2 {
        font-size: 2.75rem;
    }

    .cta-section h2 {
        font-size: 2.75rem;
    }
}

/* ── Extra large (1400px +) ─────────────────────────────────── */
@media (min-width: 1400px) {
    .hero-title {
        font-size: 4rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .container {
        max-width: 1320px;
    }
}

/* ── Laptop (992px – 1199px) ─────────────────────────────────── */
@media (min-width: 992px) and (max-width: 1199px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .hero-content {
        max-width: 500px;
    }

    .agent-dashboard img {
        width: 100%;
        height: auto;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .capability-content h3 {
        font-size: 1.5rem;
    }

    .cta-section h2 {
        font-size: 2.2rem;
    }

    .trust-section {
        padding: 80px 0;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .solution-card {
        padding: 28px;
    }

    .case-card {
        padding: 28px;
    }
}

/* ── Tablet (768px – 991px) ──────────────────────────────────── */
@media (min-width: 768px) and (max-width: 991px) {
    /* Hero */
    .hero-section {
        min-height: auto;
        padding: 130px 0 70px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-content {
        text-align: center;
    }

    .hero-highlights {
        grid-template-columns: 1fr 1fr;
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    .hero-visual {
        display: block;
        margin-top: 48px;
    }

    .agent-dashboard {
        max-width: 520px;
        margin: 0 auto;
    }

    .agent-dashboard img {
        width: 100%;
        height: auto;
        max-height: 340px;
        object-fit: cover;
    }

    /* Trust */
    .trust-section {
        padding: 70px 0;
    }

    .trust-header h2 {
        font-size: 1.6rem;
    }

    .trust-stats {
        gap: 30px;
        flex-wrap: wrap;
    }

    .stat-card {
        flex: 1 1 calc(50% - 20px);
        max-width: 180px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .trust-logos {
        gap: 16px;
        justify-content: center;
    }

    .logo-item {
        padding: 10px 16px;
    }

    .logo-item img {
        height: 32px;
    }

    /* Sections */
    .section-header {
        margin-bottom: 50px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    /* Activation */
    .activation-section {
        padding: 70px 0;
    }

    .capability-content h3 {
        font-size: 1.5rem;
    }

    .capability-content {
        padding: 16px;
    }

    /* Solutions */
    .solutions-section {
        padding: 60px 0;
    }

    .solution-card {
        padding: 28px;
    }

    /* Case Studies */
    .case-studies-section {
        padding: 60px 0;
    }

    .case-card {
        padding: 28px;
    }

    /* Security */
    .compliance-badges {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }

    /* CTA */
    .cta-section h2 {
        font-size: 2rem;
    }

    .cta-section > .container > p {
        font-size: 1rem;
    }

    /* Shield container */
    .shield-container {
        width: 260px;
        height: 260px;
    }

    /* Agent dashboard (capability 3) */
    .agent-dashboard1 {
        transform: none;
        animation: none;
        max-width: 480px;
        margin: 0 auto;
    }

    .agent-dashboard1 img {
        width: 100%;
        height: auto;
        max-height: 300px;
        object-fit: cover;
    }
}

/* ── Mobile Large (max-width: 767px) ─────────────────────────── */
@media (max-width: 767px) {
    /* Hero */
    .hero-section {
        padding: 110px 0 60px;
        min-height: auto;
    }

    .hero-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
        padding-top: 20px;
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }

    .hero-highlights {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 28px;
        text-align: left;
    }

    .highlight-item {
        font-size: 0.875rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
        font-size: 0.95rem;
        justify-content: center;
    }

    .hero-visual {
        display: block;
        margin-top: 36px;
    }

    .agent-dashboard {
        transform: none;
        max-width: 100%;
    }

    .agent-dashboard .ai-dashboard {
        transform: none;
    }

    .agent-dashboard img {
        width: 100%;
        height: auto;
        max-height: 280px;
        object-fit: cover;
        border-radius: 10px;
    }

    /* Hide hero visual on mobile */
    .hero-visual {
        display: none !important;
    }

    /* Hide hero-visual-wrap on mobile (about/team pages) */
    @media (max-width: 767px) {
        .hero-visual-wrap {
            display: none !important;
        }
    }

    /* Trust */
    .trust-section {
        padding: 60px 0;
    }

    .trust-header h2 {
        font-size: 1.5rem;
    }

    .trust-header p {
        font-size: 0.9rem;
    }

    .trust-stats {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .stat-card {
        flex: 1 1 calc(50% - 16px);
        min-width: 120px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .trust-logos {
        gap: 12px;
        justify-content: center;
    }

    .logo-item {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .logo-item img {
        height: 28px;
    }

    /* Section Header */
    .section-header {
        margin: 0 auto 50px;
    }

    .section-header h2 {
        font-size: 1.75rem;
        margin-bottom: 12px;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    /* Activation */
    .activation-section {
        padding: 60px 0;
    }

    .capability-content h3 {
        font-size: 1.3rem;
        margin-bottom: 6px;
    }

    .capability-tagline {
        font-size: 0.95rem;
    }

    .capability-content > p {
        font-size: 0.9rem;
    }

    .capability-features li {
        font-size: 0.875rem;
    }

    .capability-content {
        padding: 12px 8px;
    }

    .capability-visual {
        padding: 12px 0;
        margin-bottom: 24px;
    }

    /* Agent dashboard 1 (data infra) */
    .agent-dashboard1 {
        transform: none;
        animation: none;
    }

    .agent-dashboard1 img {
        width: 100%;
        height: auto;
        max-height: 240px;
        object-fit: cover;
    }

    /* Shield container */
    .shield-container {
        width: 220px;
        height: 220px;
    }

    /* Solutions */
    .solutions-section {
        padding: 50px 0;
    }

    .solution-card {
        padding: 24px;
    }

    .solution-card h3 {
        font-size: 1.15rem;
    }

    .solution-features li {
        font-size: 0.85rem;
    }

    /* Case Studies (576–767px) */
    .case-studies-section {
        padding: 48px 0;
    }

    .case-studies-section .row.g-4 {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .case-studies-section .col-md-6 {
        width: 100%;
        max-width: 100%;
    }

    .case-card {
        padding: 22px;
    }

    /* Logo image constrained on medium mobile */
    .case-card .solution-icon {
        width: 100%;
        height: auto;
        min-height: 56px;
        padding: 8px 14px;
        justify-content: flex-start;
        border-radius: 12px;
        margin-bottom: 14px;
    }

    .case-card .solution-icon img {
        max-width: 130px;
        width: auto !important;
        height: auto;
    }

    .case-header h3 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }

    /* Tags wrap cleanly */
    .case-type {
        display: inline-block;
        font-size: 0.78rem;
        padding: 5px 10px;
        margin: 2px 4px 2px 0;
    }

    /* Row layout: ring + label side by side */
    .case-results {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .result-item {
        flex-direction: row;
        align-items: center;
        gap: 16px;
        padding: 10px 0;
        border-bottom: 1px solid rgba(99, 102, 241, 0.08);
    }

    .result-item:last-child {
        border-bottom: none;
    }

    .kpi-ring {
        width: 72px;
        height: 72px;
        flex-shrink: 0;
    }

    .ring-svg {
        width: 72px;
        height: 72px;
    }

    .ring-value {
        font-size: 14px;
    }

    .result-value {
        font-size: 1.5rem;
        white-space: normal;
    }

    .result-label {
        font-size: 0.78rem;
        white-space: normal;
    }

    /* Security */
    .security-section {
        padding: 50px 0;
    }

    .security-content h2 {
        font-size: 1.75rem;
    }

    .security-content > p {
        font-size: 0.9rem;
        margin-bottom: 32px;
    }

    .compliance-badges {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .badge-item {
        width: calc(50% - 8px);
        min-width: 120px;
        padding: 14px 16px;
        justify-content: center;
    }

    .badge-icon {
        width: 36px;
        height: 36px;
        font-size: 0.6rem;
    }

    .badge-item span:last-child {
        font-size: 0.85rem;
    }

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

    .cta-section h2 {
        font-size: 1.75rem;
        margin-bottom: 14px;
    }

    .cta-section > .container > p {
        font-size: 0.95rem;
        margin-bottom: 28px;
    }

    .cta-section .btn-primary-custom {
        padding: 14px 24px;
        font-size: 0.95rem;
        width: 100%;
        max-width: 400px;
    }
}

/* ── Mobile Small (max-width: 575px) ──────────────────────────── */
@media (max-width: 575px) {
    /* Containers */
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* Hero */
    .hero-section {
        padding: 100px 0 50px;
    }

    .hero-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
        padding-top: 10px;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.7;
    }

    .hero-buttons .btn {
        padding: 13px 18px;
        font-size: 0.875rem;
    }

    .agent-dashboard {
        max-width: 100%;
    }

    .ai-dashboard {
        padding: 14px;
    }

    .agent-core-wrapper {
        width: 160px;
        height: 160px;
        margin-bottom: 16px;
    }

    .core-ring-1 { width: 80px; height: 80px; }
    .core-ring-2 { width: 110px; height: 110px; }
    .core-ring-3 { width: 150px; height: 150px; }

    .agent-core { width: 55px; height: 55px; }
    .core-icon { width: 36px; height: 36px; font-size: 0.9rem; }
    .core-label { font-size: 0.55rem; }

    .orbit-node {
        width: 34px;
        height: 34px;
        font-size: 0.6rem;
    }

    .orbit-node i { font-size: 0.7rem; }

    .dashboard-feed { padding: 10px; margin-bottom: 14px; }
    .feed-item { font-size: 0.72rem; }
    .dash-stat-value { font-size: 0.9rem; }

    /* Trust logos: 2-per-row grid */
    .trust-logos {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .logo-item {
        padding: 10px 10px;
        justify-content: center;
        border-radius: 10px;
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .logo-item img {
        height: 24px;
        width: auto;
        flex-shrink: 0;
    }

    .logo-item span {
        font-size: 0.78rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Stats: 2-column grid */
    .trust-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        margin-bottom: 36px;
    }

    .stat-card {
        flex: none;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    /* Section headers */
    .section-header h2 {
        font-size: 1.6rem;
    }

    .section-header p {
        font-size: 0.88rem;
    }

    /* Capability */
    .capability-section {
        padding: 28px 0;
    }

    /* Shield network — scale down for very small screens */
    .shield-container {
        width: 180px;
        height: 180px;
    }

    .shield-core {
        width: 60px;
        height: 60px;
    }

    .shield-core i {
        font-size: 1.8rem;
    }

    .node {
        font-size: 0.72rem;
        padding: 5px 10px;
    }

    /* Workflow pipeline — allow horizontal scroll */
    .workflow-pipeline {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
        padding-bottom: 8px;
        flex-wrap: nowrap;
    }

    .workflow-step {
        flex-shrink: 0;
    }

    .workflow-connector {
        flex-shrink: 0;
        width: 20px;
    }

    /* Solution cards */
    .solution-card {
        padding: 20px;
    }

    .solution-card h3 {
        font-size: 1.1rem;
    }

    .solution-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        margin-bottom: 14px;
    }

    /* ── Case Studies (≤ 575px) ── */
    .case-studies-section {
        padding: 36px 0;
    }

    .case-studies-section .row.g-4 {
        flex-direction: column;
        gap: 16px;
    }

    .case-studies-section .col-md-6 {
        width: 100%;
        max-width: 100%;
    }

    .case-card {
        padding: 16px;
    }

    /* Constrain logo image — overrides hardcoded width attr */
    .case-card .solution-icon {
        width: 100%;
        height: auto;
        min-height: 52px;
        padding: 8px 12px;
        justify-content: flex-start;
        border-radius: 10px;
        margin-bottom: 12px;
    }

    .case-card .solution-icon img {
        max-width: 110px;
        width: auto !important;
        height: auto;
    }

    .case-header {
        margin-bottom: 16px;
        padding-bottom: 14px;
    }

    .case-header h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    /* Tags wrap cleanly on narrow screens */
    .case-type {
        display: inline-block;
        font-size: 0.72rem;
        padding: 4px 8px;
        margin: 2px 3px 2px 0;
    }

    /* 2-column grid: two ring metrics side by side, text metric full width */
    .case-results {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .result-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 6px;
        padding: 10px 6px;
        border-bottom: none;
        background: rgba(99, 102, 241, 0.05);
        border-radius: 10px;
    }

    /* "Automated" text metric spans full width */
    .result-item:last-child {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: center;
        gap: 12px;
        padding: 10px 14px;
    }

    .kpi-ring {
        width: 64px;
        height: 64px;
        margin-bottom: 2px;
        flex-shrink: 0;
    }

    .ring-svg {
        width: 64px;
        height: 64px;
    }

    .ring-value {
        font-size: 13px;
    }

    .result-value {
        font-size: 1.3rem;
        white-space: normal;
    }

    .result-label {
        font-size: 0.72rem;
        white-space: normal;
        margin-top: 2px;
    }

    /* Compliance badges: 2-column */
    .compliance-badges {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-left: 24px;
    }

    .badge-item {
        width: 100%;
        min-width: unset;
        padding: 12px 10px;
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }

    .badge-icon {
        width: 34px;
        height: 34px;
        font-size: 0.6rem;
    }

    .badge-item span:last-child {
        font-size: 0.78rem;
    }

    /* ─────────────────────────────────────────
       case-studies.html — Case Studies Page
       ───────────────────────────────────────── */
    .page-header {
        padding: 130px 0 60px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .case-study-detail {
        padding: 50px 0;
    }

    .case-study-header h2 {
        font-size: 1.75rem;
    }

    .case-study-intro {
        font-size: 1rem;
    }

    .case-study-detail .row.g-5 {
        gap: 40px;
    }

    .case-challenge h3,
    .case-solution h3,
    .case-results h3 {
        font-size: 1.35rem;
        margin-bottom: 16px;
    }

    .case-challenge p,
    .case-solution p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .solution-points li {
        padding: 12px 0;
        font-size: 0.9rem;
    }

    .results-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .result-metric {
        padding: 18px;
    }

    .result-metric .metric-value {
        font-size: 1.8rem;
    }

    .result-metric .metric-label {
        font-size: 0.8rem;
    }

    .case-sidebar .sidebar-card {
        padding: 16px;
        margin-bottom: 12px;
    }

    .case-sidebar .sidebar-card h4 {
        font-size: 0.75rem;
    }

    .case-divider {
        margin: 50px 0;
    }

    /* (case studies KPI styles handled in outer ≤575px block above) */
}

/* ── Extra small (max-width: 375px) ──────────────────────────── */
@media (max-width: 375px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.875rem;
    }
  

    .hero-buttons .btn {
        padding: 12px 16px;
        font-size: 0.83rem;
    }

    .trust-logos {
        grid-template-columns: 1fr;
    }

    .trust-stats {
        grid-template-columns: 1fr 1fr;
    }

    .section-header h2 {
        font-size: 1.45rem;
    }

    .compliance-badges {
        grid-template-columns: 1fr;
        padding-left: 6px;
    }

    .badge-item {
        flex-direction: row;
        text-align: left;
    }

    .cta-section h2 {
        font-size: 1.4rem;
    }

    .stat-number {
        font-size: 1.4rem;
    }
}

/* ── FOOTER MOBILE CENTERING (max-width: 767px) ─────────────── */
@media (max-width: 767px) {
    .footer-section .row {
        text-align: center;
    }

    .footer-brand {
        display: flex;
        justify-content: center;
    }

    .footer-desc {
        text-align: center;
    }

    .social-links {
        justify-content: center;
        padding-left: 0;
    }

    .footer-section h4 {
        text-align: center;
    }

    .footer-links {
        text-align: center;
    }

    .footer-section .col-6 {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
}
