﻿/* RFID CARDS — page-specific styles (shares Pentapath theme variables) */

/* Icons */
.material-symbols-rounded {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    font-size: 22px;
    color: var(--accent);
    line-height: 1;
    vertical-align: middle;
}

/* Breadcrumb + hero */
.breadcrumb {
    background: #f9fafb;
    padding: 16px 0;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 40px;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.95rem;
}

.breadcrumb-nav a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
}

.breadcrumb-nav a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.breadcrumb-nav a:first-child::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230066cc'%3E%3Cpath d='M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    margin-right: 6px;
    vertical-align: text-bottom;
}

.breadcrumb-nav span:not(.breadcrumb-nav span:last-child) {
    color: #9ca3af;
    user-select: none;
}

.breadcrumb-nav span:last-child {
    color: #4b5563;
    font-weight: 600;
}

/* Breadcrumb with category banner background */
.breadcrumb-banner {
    border-bottom: none;
    margin-bottom: 0;
}

.breadcrumb-banner .breadcrumb-nav a {
    color: #fff;
}

.breadcrumb-banner .breadcrumb-nav a:hover {
    color: rgba(255, 255, 255, .85);
}

.breadcrumb-banner .breadcrumb-nav a:first-child::before {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

.breadcrumb-banner .breadcrumb-nav span:not(.breadcrumb-nav span:last-child) {
    color: rgba(255, 255, 255, .55);
}

.breadcrumb-banner .breadcrumb-nav span:last-child {
    color: #fff;
}

/* ========== Responsive Breadcrumb ========== */
@media (max-width: 768px) {
    .breadcrumb {
        padding: 12px 0;
        margin-bottom: 24px;
    }

    .breadcrumb-nav {
        font-size: 0.9rem;
        gap: 8px;
    }

    .breadcrumb-nav a:first-child::before {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 480px) {
    .breadcrumb-nav {
        font-size: 0.85rem;
    }
}

.page-hero {
    background: var(--grad);
    color: #fff;
    padding: 60px 20px;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.main-content {
    padding: 60px 20px;
}

.content-section {
    margin-bottom: 50px;
}

.content-section h2 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 20px;
    border-left: 4px solid var(--accent);
    padding-left: 15px;
}

.content-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Image placeholder */
.image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, rgba(102, 126, 234, .9), rgba(118, 75, 162, .9));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    font-size: 4rem;
    position: absolute;
    opacity: .25;
}

/* Benefits */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.benefit-card {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    border-top: 3px solid var(--accent);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
    transition: transform .3s ease, box-shadow .3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
}

.benefit-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: 700;
}

.benefit-card h3 .material-symbols-rounded {
    font-size: 26px;
}

.benefit-card p {
    font-size: 1rem;
    color: var(--text);
    ;
}

/* Products showcase */
.products-showcase {
    background: #fff;
    border-radius: 16px;
    padding: 46px 24px;
    margin: 40px 0;
}

.products-showcase h2 {
    text-align: center;
    color: var(--primary);
    font-size: 2rem;
    margin: 0 0 30px;
}

.products-grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 26px;
}

.product-item {
    background: var(--bg);
    border-radius: 16px;
    padding: 22px;
    text-align: center;
    transition: transform .25s ease;
}

.product-item:hover {
    transform: translateY(-3px);
}

.product-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 14px;
}

.product-item h3 {
    color: var(--primary);
    font-size: 1.2rem;
    margin: 6px 0 8px;
}

.product-item p {
    color: var(--text);
    font-size: .95rem;
    margin: 0;
    /* Clamp the summary to three lines with an ellipsis so cards stay even */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Technical Specifications — two-column circular checks */
.tech-specs {
    background: var(--bg);
    padding: 30px;
    border-radius: var(--radius);
}

.tech-specs ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(300px, 1fr));
    gap: 16px 40px;
}

.tech-specs li {
    display: grid;
    grid-template-columns: 34px 1fr;
    align-items: start;
    column-gap: 12px;
    color: #0b2d50;
    font-size: 1.03rem;
    line-height: 1.45;
}

.spec-icn {
    width: 30px;
    height: 30px;
    min-width: 30px;
    display: grid;
    place-items: center;
    border: 2px solid var(--accent);
    border-radius: 50%;
    background: #fff;
}

.spec-icn .material-symbols-rounded {
    font-size: 18px;
    color: var(--accent);
}

/* Sustainable Features (same look as screenshot) */
.sustainable-features {
    background: var(--bg);
    padding: 30px;
    border-radius: var(--radius);
}

.sustainable-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(300px, 1fr));
    gap: 14px 28px;
}

.sustainable-features li {
    display: grid;
    grid-template-columns: 26px 1fr;
    align-items: start;
    column-gap: 10px;
    color: #0b2d50;
    font-size: 1.03rem;
    line-height: 1.45;
}

.sustainable-features .material-symbols-rounded {
    font-size: 22px;
    color: var(--accent);
}

/* FAQ — strict look like screenshot */
.faq-section {
    margin: 50px 0;
}

.faq-section h2 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    padding: 18px 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    background: var(--bg);
}

.faq-question .material-symbols-rounded {
    transition: transform .3s ease;
    font-size: 22px;
    color: var(--accent);
}

.faq-answer {
    display: none;
    padding: 20px 24px;
    font-size: 1rem;
    color: var(--text);
    border-top: 1px solid #eee;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question .material-symbols-rounded {
    transform: rotate(180deg);
}

/* CTA */
.cta-section {
    background: var(--grad);
    color: #fff;
    text-align: center;
    border-radius: 18px;
    padding: 44px 20px;
    margin: 50px 0;
}

.cta-section h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 12px;
    border: 0;
    padding: 0;
}

.cta-section p {
    margin: 6px 0 18px
}

.cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600
}

.btn-primary {
    background: #fff;
    color: var(--primary)
}

.btn-secondary {
    border: 2px solid #fff;
    color: #fff
}

.btn-secondary:hover {
    background: #fff;
    color: var(--primary)
}

/* Gentle breathing effect for the CTA */
.btn-breathe {
    position: relative;
    isolation: isolate;
    transform: translateZ(0);
    /* smoother GPU animation */
    animation: breatheScale 4.2s ease-in-out infinite;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .7);

}



/* subtle outer glow that breathes */
.btn-breathe::after {
    content: "";
    position: absolute;
    inset: -10px;
    /* sit just around the button */
    border-radius: inherit;
    pointer-events: none;
    filter: blur(0.5px);
    animation: breatheGlow 4.2s ease-in-out infinite;
}


@keyframes breatheScale {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

/* glow brightens & fades slowly */
@keyframes breatheGlow {

    0%,
    100% {
        opacity: .22;
        box-shadow:
            0 0 20px 0 rgba(229, 36, 33, .22),
            0 0 40px 6px rgba(229, 36, 33, .12);
    }

    50% {
        opacity: .48;
        box-shadow:
            0 0 28px 8px rgb(254, 6, 2),
            0 0 70px 16px rgb(250, 8, 3);
    }
}

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {

    .btn-breathe,
    .btn-breathe::after {
        animation: none;
        box-shadow: none;
    }
}

/* Responsive */
@media (max-width:992px) {
    .page-hero h1 {
        font-size: 2rem;
    }

    .page-hero p {
        font-size: 1rem;
    }
}

@media (max-width:820px) {

    .tech-specs ul,
    .sustainable-features ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width:768px) {

    .benefits-grid,
    .products-grid-cards {
        grid-template-columns: 1fr;
    }

    .image-placeholder {
        height: 250px;
    }
}

@media (max-width:480px) {
    .page-hero h1 {
        font-size: 1.8rem;
    }

    .page-hero p {
        font-size: .95rem;
    }

    .content-section h2 {
        font-size: 1.5rem;
    }
}