﻿/* =========================================================
   SmartCompliance.css
   Scoped styles for the Smart Compliance page.
   All contact-section styles live in site.css — not here.
   ========================================================= */

/* ---------------------------------------------------------
   HERO
   --------------------------------------------------------- */
.sc-hero {
    text-align: center;
    padding: 5rem 5% 3rem;
    background: rgba(255, 255, 255, 0.30);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    margin: 2rem 5%;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

    .sc-hero h1 {
        font-size: 2.8rem;
        font-weight: 700;
        color: #f0f4f8;
        margin-bottom: 1.2rem;
        line-height: 1.25;
    }

.sc-hero-desc {
    color: #cae4f0;
    max-width: 680px;
    margin: 0 auto 2.5rem;
    line-height: 1.85;
    font-size: 1rem;
}

/* three highlight cards at the bottom of the hero */
.sc-hero-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    max-width: 960px;
    margin: 0 auto;
}

.sc-highlight-card {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 12px;
    padding: 1.4rem 1.2rem;
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    text-align: left;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.12);
}

.sc-highlight-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.sc-highlight-title {
    font-weight: 700;
    color: #1e293b;
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.sc-highlight-sub {
    color: #475569;
    font-size: 0.82rem;
    line-height: 1.55;
}

/* ---------------------------------------------------------
   REGULATORY FRAMEWORK
   --------------------------------------------------------- */
.sc-framework {
    padding: 3rem 5%;
    max-width: 1300px;
    margin: 0 auto 0;
    background: rgba(255, 255, 255, 0.30);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 20px;
    margin: 2rem auto;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

    .sc-framework > h2 {
        text-align: center;
        font-size: 2rem;
        color: #f0f4f8;
        margin-bottom: 2rem;
        font-weight: 700;
    }

/* individual regulation card */
.sc-reg-card {
    background: rgba(255, 255, 255, 0.70);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-radius: 14px;
    padding: 1.8rem 1.8rem 1.4rem;
    margin-bottom: 1.6rem;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.10), inset 0 1px 0 rgba(255,255,255,0.9);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

    .sc-reg-card:last-child {
        margin-bottom: 0;
    }

/* header row: coloured icon + title */
.sc-reg-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.4rem;
}

.sc-reg-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    flex-shrink: 0;
    color: white;
}

.sc-reg-icon--blue {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
}

.sc-reg-icon--purple {
    background: linear-gradient(135deg, #8b5cf6, #5b21b6);
}

.sc-reg-icon--green {
    background: linear-gradient(135deg, #10b981, #065f46);
}

.sc-reg-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
}

.sc-reg-subtitle {
    font-size: 0.82rem;
    color: #64748b;
    margin-top: 2px;
}

/* 2-column info grid */
.sc-reg-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.sc-reg-item {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    border-radius: 10px;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255,255,255,0.8);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

    .sc-reg-item:hover {
        box-shadow: 0 6px 20px rgba(59, 130, 246, 0.12), inset 0 1px 0 rgba(255,255,255,0.9);
        transform: translateY(-2px);
    }

    .sc-reg-item p {
        color: #334155;
        font-size: 0.83rem;
        line-height: 1.6;
        margin: 0;
    }

/* coloured section headings inside each info box */
.sc-reg-item-head {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.45rem;
}

.sc-head--blue {
    color: #2563eb;
}

.sc-head--green {
    color: #059669;
}

.sc-head--orange {
    color: #d97706;
}

.sc-head--red {
    color: #dc2626;
}

.sc-head--purple {
    color: #7c3aed;
}

.sc-head--teal {
    color: #0891b2;
}

/* ---------------------------------------------------------
   SAMPLE INVOICE SECTION
   --------------------------------------------------------- */
.sc-invoice-section {
    padding: 3rem 5%;
    max-width: 1300px;
    margin: 2rem auto;
    background: rgba(255, 255, 255, 0.30);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

    .sc-invoice-section > h2 {
        font-size: 1.8rem;
        font-weight: 700;
        color: #f0f4f8;
        margin-bottom: 0.6rem;
    }

.sc-invoice-intro {
    color: #cae4f0;
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 800px;
}

/* two-column invoice layout */
.sc-invoice-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.sc-invoice-copy-label {
    font-weight: 700;
    color: #f0f4f8;
    margin-bottom: 0.6rem;
    font-size: 0.92rem;
}

/* the white invoice doc itself */
.sc-invoice-doc {
    background: #fff;
    border-radius: 10px;
    padding: 1.4rem 1.4rem 1rem;
    font-size: 0.78rem;
    color: #1e293b;
    box-shadow: 0 4px 18px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
    font-family: 'Courier New', Courier, monospace;
}

.sc-inv-title {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 0.3rem;
}

.sc-inv-biz {
    text-align: center;
    font-weight: 700;
    font-size: 0.82rem;
    margin-bottom: 0.15rem;
}

.sc-inv-addr {
    text-align: center;
    font-size: 0.72rem;
    color: #475569;
    margin-bottom: 0.35rem;
}

.sc-inv-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.71rem;
    color: #475569;
    gap: 0.5rem;
    margin-bottom: 0.1rem;
}

.sc-inv-hr {
    border: none;
    border-top: 1px dashed #94a3b8;
    margin: 0.55rem 0;
}

.sc-inv-row-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.73rem;
    margin-bottom: 0.1rem;
    gap: 0.5rem;
}

/* table header row */
.sc-inv-table-head {
    display: flex;
    background: #eff6ff;
    padding: 0.35rem 0.4rem;
    border-radius: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-top: 0.5rem;
    margin-bottom: 0.1rem;
    gap: 0.3rem;
}

.sc-vat-head {
    background: #faf5ff;
    color: #5b21b6;
    margin-top: 0.8rem;
}

/* table data row */
.sc-inv-table-row {
    display: flex;
    padding: 0.25rem 0.4rem;
    font-size: 0.73rem;
    gap: 0.3rem;
    border-bottom: 1px solid #f1f5f9;
}

.sc-inv-subtotal {
    font-weight: 700;
    background: #f8fafc;
}

/* column widths */
.col-item {
    flex: 1;
}

.col-qty {
    width: 28px;
    text-align: center;
}

.col-rate {
    width: 54px;
    text-align: right;
}

.col-amt {
    width: 42px;
    text-align: right;
}

/* tax breakdown block */
.sc-inv-tax-block {
    margin: 0.2rem 0;
}

.sc-inv-tax-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.74rem;
    padding: 0.18rem 0.4rem;
}

.sc-gst-split {
    color: #2563eb;
    font-size: 0.7rem;
}

.sc-vat-row {
    color: #7c3aed;
}

/* grand total */
.sc-inv-grand {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.25rem 0.4rem;
}

/* footer notes */
.sc-inv-footer {
    margin-top: 0.4rem;
    font-size: 0.71rem;
    color: #475569;
    line-height: 1.6;
}

.sc-inv-fine {
    color: #94a3b8;
    font-size: 0.67rem;
    margin-top: 2px;
}

/* ---------------------------------------------------------
   CTA BANNER
   --------------------------------------------------------- */
.sc-cta {
    text-align: center;
    padding: 4rem 5%;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    margin: 2rem 5%;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.sc-cta-icon {
    font-size: 1.8rem;
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.sc-cta h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #f0f4f8;
    margin-bottom: 0.6rem;
}

.sc-cta p {
    color: #cae4f0;
    font-size: 0.95rem;
    margin-bottom: 1.8rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.sc-cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: #ffffff;
    padding: 0.8rem 2.4rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.22s ease;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.45);
}

    .sc-cta-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(59, 130, 246, 0.55);
        color: #ffffff;
    }

/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */
@media (max-width: 900px) {
    .sc-hero-highlights,
    .sc-reg-grid,
    .sc-invoice-wrapper {
        grid-template-columns: 1fr;
    }

    .sc-hero h1 {
        font-size: 2rem;
    }

    .sc-framework,
    .sc-invoice-section {
        margin: 1rem;
        padding: 2rem 4%;
    }
}

@media (max-width: 600px) {
    .sc-hero {
        margin: 1rem;
        padding: 3rem 4% 2rem;
    }

    .sc-cta {
        margin: 1rem;
    }
}
