/* ===== Digital Area Styles ===== */
/* Extends main style.css with digital-platform-specific components */

/* ===== Digital Hero ===== */
.dig-hero {
    position: relative;
    background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 50%, #1e4876 100%);
    padding: 140px 0 80px;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.dig-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 30%, rgba(184, 148, 63, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse at 70% 70%, rgba(30, 72, 118, 0.4) 0%, transparent 50%);
    pointer-events: none;
}

.dig-hero .container {
    position: relative;
    z-index: 2;
}

.dig-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 20px;
    padding: 6px 18px;
    border: 1px solid rgba(193, 168, 123, 0.45);
    border-radius: 999px;
    background: rgba(193, 168, 123, 0.10);
}

/* Live "online" dot — pulses to communicate active availability */
.live-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: live-dot-pulse 2s infinite;
    flex-shrink: 0;
}
@keyframes live-dot-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); transform: scale(1); }
    70%  { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); transform: scale(1.05); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
    .live-dot { animation: none; }
}

.dig-hero h1 {
    font-size: 3.6rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    letter-spacing: -1px;
    line-height: 1.1;
    font-family: 'Frank Ruhl Libre', serif;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
}

.dig-hero h1 .accent {
    color: var(--gold);
}

.dig-hero .lede {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.88);
    max-width: 720px;
    margin: 0 auto 1rem;
    font-weight: 300;
    line-height: 1.6;
}

.dig-hero-cta {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.dig-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.dig-hero-btn.primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(184, 148, 63, 0.4);
    border-color: var(--gold);
}

.dig-hero-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(184, 148, 63, 0.5);
}

.dig-hero-btn.primary svg {
    width: 16px;
    height: 16px;
    transition: transform 0.25s ease;
}

[dir="rtl"] .dig-hero-btn.primary svg {
    transform: scaleX(-1);
}

.dig-hero-btn.primary:hover svg {
    transform: translateX(-3px);
}

[dir="rtl"] .dig-hero-btn.primary:hover svg {
    transform: scaleX(-1) translateX(3px);
}

.dig-hero-btn.ghost {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.92);
    border-color: rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.dig-hero-btn.ghost:hover {
    border-color: var(--gold);
    color: var(--gold-light);
    background: rgba(184, 148, 63, 0.1);
    transform: translateY(-2px);
}

.dig-hero-trust {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 2.5rem;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

/* ===== Comparison ===== */
/* ============================================
   "מסורתי VS דיגיטלי" — centered comparison table
   ============================================ */
.dig-compare {
    background: var(--off-white);
    padding: 56px 0 48px;
    text-align: center;
}
.dig-compare-h2 {
    font-family: 'Frank Ruhl Libre', serif;
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--navy-deep);
    margin: 0 auto 32px;
    max-width: 720px;
    line-height: 1.35;
}
.dig-compare-h2::after {
    content: "";
    display: block;
    width: 56px;
    height: 2px;
    background: var(--gold);
    margin: 14px auto 0;
}
.dig-compare-table {
    max-width: 820px;
    margin: 0 auto;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 28px rgba(0, 29, 59, 0.08);
    border: 1px solid rgba(193, 168, 123, 0.22);
    font-size: 0.95rem;
    text-align: center;
}

/* Header row */
.dig-compare-table thead th {
    padding: 16px 14px;
    font-family: 'Frank Ruhl Libre', serif;
    font-size: 1.05rem;
    font-weight: 700;
    border-bottom: 2px solid var(--gold);
    text-align: center;
    vertical-align: middle;
}
.dig-compare-table thead th.row-label-th {
    background: #f5f1e8;
    width: 1px;             /* shrink to label width */
}
.dig-compare-table thead th.trad {
    color: #6e6657;
    background: #f1eee6;
}
.dig-compare-table thead th.dig {
    color: var(--navy-deep);
    background: linear-gradient(180deg, #fdfaf2 0%, var(--white) 100%);
}
.dig-compare-table thead th .dig-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #22c55e;
    color: #fff;
    font-family: 'Assistant', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 3px 9px;
    border-radius: 999px;
    margin-right: 8px;
    vertical-align: middle;
    white-space: nowrap;
}
.dig-compare-table thead th .dig-tag::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    animation: live-dot-pulse 2s infinite;
}

/* Body rows */
.dig-compare-table tbody td {
    padding: 14px 14px;
    border-bottom: 1px solid rgba(193, 168, 123, 0.14);
    text-align: center;
    vertical-align: middle;
    line-height: 1.45;
}
.dig-compare-table tbody tr:last-child td { border-bottom: none; }
.dig-compare-table tbody td.row-label {
    background: #faf8f3;
    color: var(--navy-deep);
    font-family: 'Frank Ruhl Libre', serif;
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
    padding: 14px 18px;
}
.dig-compare-table tbody td.trad {
    color: #8a7c63;
    background: #fbf9f4;
}

/* Fixed column widths — required so the absolute strike overlay can be
   positioned exactly over the "מסורתי" column. */
.dig-compare-table { table-layout: fixed; }
.dig-compare-table colgroup col.col-label { width: 22%; }
.dig-compare-table colgroup col.col-trad,
.dig-compare-table colgroup col.col-dig { width: 39%; }

/* Wrapper provides a positioning context for the strike overlay. */
.dig-compare-wrap {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
}

/* Single red diagonal line over the entire "מסורתי" column (continuous,
   not per-cell). The SVG is stretched (preserveAspectRatio="none") so the
   line literally goes from the column's top corner to its bottom corner. */
.dig-compare-strike {
    position: absolute;
    top: 0;
    bottom: 0;
    inset-inline-start: 22%;
    inset-inline-end: 39%;
    pointer-events: none;
    z-index: 5;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 100 100'><line x1='0' y1='100' x2='100' y2='0' stroke='%23dc2626' stroke-width='2' vector-effect='non-scaling-stroke' stroke-linecap='round'/></svg>") no-repeat;
    background-size: 100% 100%;
}
.dig-compare-table tbody td.dig {
    color: var(--text-dark);
    background: rgba(193, 168, 123, 0.06);
    font-weight: 500;
}
.dig-compare-table tbody td.dig strong {
    color: var(--navy-deep);
    font-weight: 700;
}

/* Mobile — keep readable */
@media (max-width: 640px) {
    .dig-compare-h2 { font-size: 1.35rem; }
    .dig-compare-table { font-size: 0.85rem; }
    .dig-compare-table thead th {
        padding: 12px 8px;
        font-size: 0.92rem;
    }
    .dig-compare-table thead th .dig-tag {
        display: none;
    }
    .dig-compare-table tbody td {
        padding: 11px 6px;
    }
    .dig-compare-table tbody td.row-label {
        padding: 11px 10px;
        font-size: 0.82rem;
        white-space: normal;
    }
}

/* ===== Category pills ===== */
.dig-cat-pills {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.dig-cat-pill {
    background: var(--white);
    border: 1px solid rgba(184, 148, 63, 0.25);
    color: var(--text-dark);
    padding: 9px 22px;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.dig-cat-pill:hover {
    border-color: var(--gold);
    color: var(--gold-dark);
}

.dig-cat-pill.active {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
    box-shadow: 0 4px 14px rgba(27, 58, 92, 0.25);
}

/* ===== Product badge ===== */
.dig-product-badge {
    position: absolute;
    top: 14px;
    inset-inline-end: 14px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 5px 12px;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(184, 148, 63, 0.4);
    z-index: 2;
}

.dig-product-card.is-hidden {
    display: none;
}


.dig-hero-trust > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.dig-hero-trust svg {
    width: 18px;
    height: 18px;
    color: var(--gold);
}

/* ===== How it works ===== */
.dig-how {
    background: var(--off-white);
    padding: 90px 0;
}

.dig-how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1080px;
    margin: 0 auto;
}

.dig-how-step {
    background: var(--white);
    border-radius: 14px;
    padding: 36px 28px 32px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid rgba(184, 148, 63, 0.12);
    position: relative;
    transition: var(--transition);
}

.dig-how-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(184, 148, 63, 0.4);
}

.dig-how-num {
    position: absolute;
    top: -18px;
    inset-inline-start: 28px;
    width: 36px;
    height: 36px;
    background: var(--gold);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Frank Ruhl Libre', serif;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(184, 148, 63, 0.4);
}

.dig-how-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
}

.dig-how-icon svg {
    width: 100%;
    height: 100%;
}

.dig-how-step h3 {
    color: var(--navy);
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.dig-how-step p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

/* ===== Product Grid ===== */
.dig-products {
    background: var(--white);
    padding: 90px 0;
}

.dig-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1140px;
    margin: 0 auto;
}

.dig-product-card {
    background: var(--white);
    border: 1px solid rgba(184, 148, 63, 0.18);
    border-radius: 14px;
    padding: 32px 28px;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.dig-product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}

.dig-product-card.coming-soon {
    opacity: 0.65;
    border-style: dashed;
}

.dig-product-card.coming-soon:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(184, 148, 63, 0.18);
}

.dig-product-icon {
    width: 48px;
    height: 48px;
    background: var(--off-white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: var(--gold);
}

.dig-product-icon svg {
    width: 26px;
    height: 26px;
}

.dig-product-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 8px;
}

.dig-product-card h3 {
    font-size: 1.2rem;
    color: var(--navy);
    margin-bottom: 10px;
    line-height: 1.3;
}

.dig-product-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 20px;
}

.dig-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid rgba(184, 148, 63, 0.18);
}

.dig-product-price {
    font-family: 'Frank Ruhl Libre', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.5px;
}

.dig-product-price small {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 400;
    margin-inline-start: 4px;
}

.dig-product-cta {
    background: var(--gold);
    color: var(--white);
    text-decoration: none;
    padding: 9px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.dig-product-cta:hover {
    background: var(--gold-dark);
    transform: translateY(-1px);
}

.dig-product-soon {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ===== Trust Strip ===== */
.dig-trust {
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.92);
    padding: 60px 0;
}

.dig-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}

.dig-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.dig-trust-icon {
    width: 44px;
    height: 44px;
    color: var(--gold);
}

.dig-trust-item h4 {
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 600;
}

.dig-trust-item p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ===== Product Page Specific ===== */
.dig-product-hero {
    background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 50%, #1e4876 100%);
    padding: 140px 0 70px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.dig-product-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 80% 30%, rgba(184, 148, 63, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.dig-product-hero .container {
    position: relative;
    z-index: 2;
}

.dig-product-hero-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 60px;
    align-items: center;
}

.dig-breadcrumb {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 18px;
}

.dig-breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.dig-breadcrumb a:hover {
    color: var(--gold);
}

.dig-product-hero h1 {
    font-family: 'Frank Ruhl Libre', serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
}

.dig-product-hero .lede {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.65;
    margin-bottom: 1.75rem;
}

.dig-product-bullets {
    list-style: none;
    margin-bottom: 2rem;
}

.dig-product-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1rem;
}

.dig-product-bullets svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--gold);
    margin-top: 4px;
}

.dig-product-card-cta {
    background: var(--white);
    border-radius: 18px;
    padding: 36px 32px;
    text-align: center;
    color: var(--navy);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(184, 148, 63, 0.4);
}

.dig-product-card-cta .price-label {
    font-size: 0.85rem;
    color: var(--text-light);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 6px;
}

.dig-product-card-cta .price {
    font-family: 'Frank Ruhl Libre', serif;
    font-size: 3.4rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
    letter-spacing: -1.5px;
}

.dig-product-card-cta .price .currency {
    font-size: 1.6rem;
    color: var(--gold);
    font-weight: 500;
    margin-inline-start: 4px;
    vertical-align: top;
    margin-top: 8px;
    display: inline-block;
}

.dig-product-card-cta .price-vat {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 2px;
    margin-bottom: 22px;
}

.dig-product-card-cta .start-btn {
    display: block;
    background: var(--gold);
    color: var(--white);
    text-decoration: none;
    padding: 16px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
    margin-bottom: 16px;
    box-shadow: 0 4px 16px rgba(184, 148, 63, 0.4);
}

.dig-product-card-cta .start-btn:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 148, 63, 0.5);
}

.dig-product-card-cta .meta {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
}

.dig-product-card-cta .meta strong {
    color: var(--navy);
}

/* ===== FAQ ===== */
.dig-faq {
    background: var(--off-white);
    padding: 90px 0;
}

.dig-faq-list {
    max-width: 820px;
    margin: 0 auto;
}

.dig-faq-item {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid rgba(184, 148, 63, 0.18);
    margin-bottom: 12px;
    overflow: hidden;
}

.dig-faq-q {
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    color: var(--navy);
    font-size: 1.05rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
}

.dig-faq-q::-webkit-details-marker {
    display: none;
}

.dig-faq-q::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--gold);
    font-weight: 300;
    transition: transform 0.3s ease;
}

.dig-faq-item[open] .dig-faq-q::after {
    transform: rotate(45deg);
}

.dig-faq-item[open] .dig-faq-q {
    border-bottom: 1px solid rgba(184, 148, 63, 0.18);
}

.dig-faq-a {
    padding: 18px 24px 22px;
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.98rem;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .dig-hero {
        padding: 120px 0 70px;
    }

    .dig-hero h1 {
        font-size: 2.6rem;
    }

    .dig-hero .lede {
        font-size: 1.1rem;
    }

    .dig-how-grid,
    .dig-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dig-trust-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .dig-product-hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .dig-product-hero h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 600px) {
    .dig-hero h1 {
        font-size: 2rem;
    }

    .dig-hero-trust {
        gap: 16px;
        font-size: 0.85rem;
    }

    .dig-how-grid,
    .dig-products-grid {
        grid-template-columns: 1fr;
    }

    .dig-product-hero {
        padding: 110px 0 50px;
    }

    .dig-product-card-cta .price {
        font-size: 2.6rem;
    }
}
