/* products.css — Product page styles (Light Theme) */

/* ─── Filter bar ─────────────────────────── */
.filter-bar {
    padding: 14px 0;
    background: rgba(250,252,255,0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 68px;
    z-index: 100;
    margin-bottom: 0;
}
.filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.filter-btn {
    padding: 7px 18px;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-2);
    font-size: 0.875rem;
    font-weight: 500;
    font-family: var(--font);
    cursor: none;
    transition: var(--tr-fast);
}
.filter-btn.active, .filter-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* ─── Product Blocks ─────────────────────── */
.product-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}
.product-block-reverse { direction: rtl; }
.product-block-reverse > * { direction: ltr; }

.product-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.product-badge i {
    font-size: 2rem;
    color: var(--badge-color);
}
.product-badge > span:nth-child(2) {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--text-0);
}
.pb-tag {
    padding: 3px 12px;
    background: color-mix(in srgb, var(--badge-color) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--badge-color) 25%, transparent);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--badge-color) !important;
}

.product-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    margin-bottom: 20px;
    color: var(--text-0);
    line-height: 1.15;
}
.prod-desc {
    font-size: 1rem;
    color: var(--text-2);
    line-height: 1.8;
    margin-bottom: 28px;
}
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 36px;
}
.feat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-1);
}
.feat-item i { font-size: 1.1rem; flex-shrink: 0; }
.prod-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* ─── Product Visual Cards ───────────────── */
.product-visual { position: relative; }
.pv-card {
    width: 100%;
    overflow: hidden;
    border-color: rgba(70,130,255,0.15);
    padding: 0;
}
.pv-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
}
.pv-header span:nth-child(2) { font-size: 0.875rem; font-weight: 600; flex: 1; }
.pv-live {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-2);
    margin-left: auto;
    flex-shrink: 0;
}
.pulse {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--primary-light);
    animation: pulse-anim 2s ease-in-out infinite;
}
@keyframes pulse-anim {
    0%,100% { box-shadow: 0 0 0 0 rgba(70,130,255,0.5); }
    50% { box-shadow: 0 0 0 6px rgba(70,130,255,0); }
}

/* Cloud metrics */
.pv-metric-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 20px 4px;
}
.pv-metric {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--text-2);
}
.pv-metric span { white-space: nowrap; width: 80px; }
.pvm-bar {
    flex: 1;
    height: 6px;
    background: var(--bg-3);
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}
.pvm-bar::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: var(--pct);
    height: 100%;
    background: var(--clr);
    border-radius: 3px;
    animation: barGrow 1.2s var(--ease) forwards;
    transform-origin: left;
}
@keyframes barGrow {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

.pv-stats-row {
    display: flex;
    border-top: 1px solid var(--border);
    margin-top: 12px;
}
.pvs {
    flex: 1;
    text-align: center;
    padding: 14px 0;
    border-right: 1px solid var(--border);
}
.pvs:last-child { border-right: none; }
.pvs strong { display: block; font-size: 1.1rem; font-family: var(--font-heading); }
.pvs small { font-size: 0.72rem; color: var(--text-2); }

/* Pricing badge */
.prod-pricing {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
    padding: 14px 18px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
}
.price-tag {
    display: flex;
    align-items: baseline;
    gap: 4px;
}
.price-tag small { font-size: 0.75rem; color: var(--text-2); }
.price-tag strong { font-size: 2rem; font-family: var(--font-heading); color: var(--text-0); }
.prod-pricing > span { font-size: 0.82rem; color: var(--text-2); }

/* ─── AI Chat Card ───────────────────────── */
.ai-messages {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 20px;
}
.ai-msg.user {
    background: rgba(70,130,255,0.12);
    border: 1px solid rgba(70,130,255,0.2);
    border-radius: 10px 10px 4px 10px;
    padding: 10px 14px;
    font-size: 0.85rem;
    color: var(--text-1);
    align-self: flex-end;
    max-width: 85%;
}
.ai-msg.bot {
    display: flex;
    gap: 10px;
    max-width: 95%;
}
.bot-icon {
    width: 28px; height: 28px;
    background: rgba(0,210,255,0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}
.bot-text {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 4px 10px 10px 10px;
    padding: 10px 14px;
    font-size: 0.82rem;
    color: var(--text-1);
    line-height: 1.65;
}
.ai-insight-row {
    display: flex;
    gap: 10px;
    margin-top: 8px;
    flex-wrap: wrap;
}
.ai-ins {
    font-size: 0.75rem;
    padding: 3px 10px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-1);
}
.ins-up { color: #4ade80; font-weight: 700; }
.ins-down { color: #f87171; font-weight: 700; }
.ai-input-wrap { padding: 12px 20px; border-top: 1px solid var(--border); }
.ai-input {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 0.82rem;
    color: var(--text-2);
    cursor: none;
}

/* ─── Security Card ─────────────────────── */
.threat-map {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
}
.threat-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-bottom: 1px solid var(--border);
    font-size: 0.8rem;
}
.threat-row:last-child { border-bottom: none; }
.threat-row i { color: var(--clr); font-size: 1rem; flex-shrink: 0; }
.threat-row span { flex: 1; color: var(--text-1); }
.threat-row small { color: var(--text-2); white-space: nowrap; font-size: 0.72rem; }

/* ─── Data Chart ─────────────────────────── */
.chart-area {
    display: flex;
    gap: 12px;
    padding: 16px 20px 4px;
    height: 160px;
}
.chart-labels {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 24px;
}
.chart-labels span {
    font-size: 0.65rem;
    color: var(--text-2);
    text-align: right;
    white-space: nowrap;
}
.chart-bars {
    flex: 1;
    display: flex;
    align-items: flex-end;
    gap: 8px;
}
.chart-bar-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    height: 100%;
    justify-content: flex-end;
}
.cbar {
    width: 100%;
    height: var(--h);
    background: var(--clr);
    border-radius: 4px 4px 0 0;
    opacity: 0.85;
    transition: opacity .2s;
    animation: barUp 1s var(--ease) forwards;
    transform-origin: bottom;
}
.cbar:hover { opacity: 1; }
@keyframes barUp {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}
.chart-bar-wrap > span {
    font-size: 0.65rem;
    color: var(--text-2);
}
.chart-insight {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-top: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--text-2);
    background: rgba(74,222,128,0.04);
}

/* ─── Mini Products Grid ─────────────────── */
.mini-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 8px;
}
.mini-product {
    padding: 28px 24px;
}
.mini-product h3 { font-size: 1rem; margin-bottom: 10px; }
.mini-product > p { font-size: 0.875rem; color: var(--text-2); line-height: 1.7; margin-bottom: 14px; }
.mini-feat-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.mini-feat-list li {
    font-size: 0.82rem;
    color: var(--text-2);
    padding-left: 14px;
    position: relative;
}
.mini-feat-list li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* ─── CTA Simple ─────────────────────────── */
.cta-simple {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 32px 36px;
    flex-wrap: wrap;
}
.cta-s-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}
.cta-s-left h3 { font-size: 1.15rem; margin-bottom: 5px; }
.cta-s-left p { font-size: 0.9rem; color: var(--text-2); margin: 0; }

/* ─── Chart green bg fix ─────────────────── */
.chart-insight { background: rgba(22,163,74,0.05); }

/* ─── Responsive ─────────────────────────── */
@media (max-width: 1024px) {
    .product-block { grid-template-columns: 1fr; gap: 36px; }
    .product-block-reverse { direction: ltr; }
    .mini-products-grid { grid-template-columns: 1fr 1fr; }
    .cta-simple { flex-direction: column; text-align: center; }
    .cta-s-left { flex-direction: column; }
}
@media (max-width: 768px) {
    .product-block { gap: 24px; }
    .mini-products-grid { grid-template-columns: 1fr; }
}

/* ─── Comparison / Pricing ───────────────── */
.comparison-section { background: var(--bg-1); border-top: 1px solid var(--border); }
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}
.price-card { padding: 36px 32px; position: relative; }
.price-card-featured {
    border-color: rgba(70,130,255,0.35);
    background: url("") rgba(70,130,255,0.06);
    transform: translateY(-12px);
    box-shadow: var(--shadow-glow);
}
.pc-popular {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 100px;
    white-space: nowrap;
}
.pc-header { margin-bottom: 24px; border-bottom: 1px solid var(--border); padding-bottom: 24px; }
.pc-header h3 { font-size: 1.2rem; margin-bottom: 10px; }
.pc-price {
    font-size: 0.95rem;
    color: var(--text-2);
    margin-bottom: 8px;
}
.pc-price span {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--text-0);
    margin-right: 2px;
}
.pc-header > p { font-size: 0.875rem; color: var(--text-2); line-height: 1.65; }
.pc-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}
.pc-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--text-1);
}
.pc-features li i { font-size: 1rem; color: #4ade80; flex-shrink: 0; }
.pc-features li.disabled { color: var(--text-2); }
.pc-features li.disabled i { color: var(--bg-3); }

/* ─── Responsive ─────────────────────────── */
@media (max-width: 1024px) {
    .product-block { grid-template-columns: 1fr; gap: 40px; }
    .product-block-reverse { direction: ltr; }
    .pricing-cards { grid-template-columns: 1fr; }
    .price-card-featured { transform: none; }
}
@media (max-width: 768px) {
    .product-block { gap: 28px; }
}

/* ─── Hero Product Section ───────────────── */
.hero-product-section {
    position: relative;
    padding: 80px 0;
    margin-bottom: 24px;
    background-color: #0b1120;
    color: #ffffff;
    overflow: hidden;
    border-radius: 40px;
    margin-top: 40px;
}
.hero-product-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 70% 30%, rgba(0, 150, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 30% 70%, rgba(200, 0, 255, 0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}
.hero-product-section .container {
    position: relative;
    z-index: 2;
}
.hero-product-section .product-content h2, 
.hero-product-section .pb-tag,
.hero-product-section .product-badge > span:nth-child(2) {
    color: #ffffff;
}
.hero-product-section .prod-desc {
    color: rgba(255,255,255,0.8);
}
.hero-product-section .feat-item {
    color: rgba(255,255,255,0.7);
}
.hero-product-section .pv-card {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
    color: #ffffff;
}
.hero-product-section .pv-live { color: #ffffff; }
.hero-product-section .pv-metric { color: rgba(255,255,255,0.7); }
.hero-product-section .pv-header { border-bottom-color: rgba(255,255,255,0.1); }
.hero-product-section .pvs small { color: rgba(255,255,255,0.5); }
.hero-product-section .pvm-bar { background: rgba(255,255,255,0.1); }

/* ─── Matrix Dark Section for DTI ──────────── */
.matrix-section {
    position: relative;
    padding: 80px 40px;
    margin: 60px 0;
    border-radius: 20px;
    background: #020617; /* Very dark slate */
    border: 1px solid rgba(0, 200, 255, 0.2);
    overflow: hidden;
}
.matrix-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: 40px 40px;
    background-image: 
        linear-gradient(to right, rgba(0, 150, 255, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 150, 255, 0.05) 1px, transparent 1px);
    z-index: 0;
}
.matrix-section .product-content, .matrix-section .product-visual {
    position: relative;
    z-index: 2;
}
.matrix-section h2, 
.matrix-section .pb-tag,
.matrix-section .product-badge > span:nth-child(2) { 
    color: #fff; 
}
.matrix-section .prod-desc, .matrix-section .feat-item { color: rgba(255,255,255,0.7); }
.matrix-section .pv-card {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-color: rgba(0, 150, 255, 0.3);
    color: #fff;
    box-shadow: 0 0 40px rgba(0, 150, 255, 0.1);
}
.matrix-section .pv-live { color: #fff; }
.matrix-section .pv-metric { color: rgba(255,255,255,0.8); }
.matrix-section .pv-header { border-bottom-color: rgba(255,255,255,0.1); }
.matrix-section .pvm-bar { background: rgba(255,255,255,0.1); }
.matrix-section .pvs small { color: rgba(255,255,255,0.5); }

/* ─── Holo Plate Section for DMS ───────────── */
.holo-product-section {
    padding: 60px 40px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.03), rgba(75, 0, 130, 0.08));
    border: 1px solid rgba(138, 43, 226, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.holo-product-section::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, hsl(258,85%,58%), transparent);
}
.holo-product-section .feature-list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 900px;
    margin: 24px auto 40px;
    gap: 16px 24px;
}
.holo-product-section .prod-desc {
    max-width: 760px;
    margin: 0 auto 24px;
}
.holo-product-section .product-visual {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}
.holo-product-section .prod-ctas {
    justify-content: center;
    margin-bottom: 40px;
}
.holo-product-section .pv-card {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(138, 43, 226, 0.1);
}

/* ─── Premium Split Card Section (DMS) ───────────── */
.split-card-section {
    background: var(--surface);
    border-radius: 36px;
    border: 1px solid var(--border);
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--tr);
}
.split-card-section:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(138, 43, 226, 0.3);
}
.split-card-content {
    padding: 60px 48px;
    background: radial-gradient(circle at top left, rgba(138,43,226,0.03), transparent);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.split-card-visual {
    background: linear-gradient(225deg, rgba(138,43,226,0.06), rgba(75,0,130,0.02));
    padding: 60px 0 0 48px;
    position: relative;
}
.split-card-visual .pv-card {
    border-top-left-radius: 24px;
    border-bottom-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
    border-bottom: none;
    box-shadow: -10px -10px 40px rgba(138,43,226,0.05);
    height: 100%;
}
@media (max-width: 991px) {
    .split-card-section { grid-template-columns: 1fr; }
    .split-card-visual { padding: 0 40px 40px 40px; }
    .split-card-visual .pv-card { 
        border-radius: 20px; 
        border: 1px solid var(--border); 
        box-shadow: var(--shadow-sm);
    }
/* ─── Radial Focus Section (EDIS) ───────────── */
.radial-product-section {
    padding: 60px 0;
    margin: 60px 0;
}
.radial-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.radial-body {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}
.radial-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 36px;
}
.radial-col.left-col {
    text-align: right;
}
.radial-col.right-col {
    text-align: left;
}
.radial-feat i {
    font-size: 2.2rem;
    color: hsl(280,75%,58%);
    margin-bottom: 16px;
}
.radial-feat h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-0);
    margin-bottom: 8px;
}
.radial-feat p {
    font-size: 0.95rem;
    color: var(--text-2);
    line-height: 1.5;
}
.radial-center {
    flex: 1.4;
    position: relative;
    z-index: 2;
}
.radial-center .pv-card {
    box-shadow: 0 40px 80px rgba(180, 80, 250, 0.15);
    border: 1px solid rgba(180, 80, 250, 0.2);
    transform: scale(1.05);
}
@media (max-width: 991px) {
    .radial-body {
        flex-direction: column;
    }
    .radial-col {
        text-align: center !important;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    .radial-feat {
        flex: 1 1 250px;
    }
    }
    .radial-center .pv-card {
        transform: scale(1);
    }
}

/* ─── Showcase Grid (EBook, LMS, RMS) ───────────── */
.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}
.showcase-card {
    background: var(--surface);
    border-radius: 28px;
    padding: 48px;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    transition: var(--tr);
    display: flex;
    flex-direction: column;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}
.showcase-card.full-span {
    grid-column: 1 / -1;
}
.showcase-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.06);
    border-color: var(--border);
}
.showcase-bg-glow {
    position: absolute;
    top: -50px; right: -50px;
    width: 300px; height: 300px;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.15;
    transition: var(--tr);
}
.showcase-card:hover .showcase-bg-glow {
    opacity: 0.35;
    transform: scale(1.2);
}
.showcase-icon-bg {
    position: absolute;
    bottom: -40px;
    right: -30px;
    font-size: 14rem;
    opacity: 0.03;
    z-index: -1;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.showcase-card:hover .showcase-icon-bg {
    transform: scale(1.15) rotate(-15deg);
    opacity: 0.05;
}
.showcase-card h3 {
    font-size: 1.6rem;
    margin-bottom: 16px;
    color: var(--text-0);
}
.showcase-card p {
    font-size: 1.05rem;
    color: var(--text-2);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 80%;
}
@media (max-width: 991px) {
    .showcase-grid { grid-template-columns: 1fr; }
    .showcase-card.full-span { grid-column: auto; }
}

