﻿/* =========================================================
   DigitalIntegration.css
   Scoped styles for the Digital Integration page.
   Contact section styles live in site.css — not here.
   ========================================================= */

/* ---------------------------------------------------------
   HERO
   --------------------------------------------------------- */
.di-hero {
    text-align: center;
    padding: 4.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);
}

.di-hero-badge {
    display: inline-block;
    background: rgba(6, 95, 70, 0.80);
    color: #ffffff;
    border: 1.5px solid rgba(52, 211, 153, 0.70);
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 0.35rem 1.1rem;
    margin-bottom: 1.2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.25);
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.di-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #f0f4f8;
    margin-bottom: 1.2rem;
    line-height: 1.2;
}

.di-hero-desc {
    color: #cae4f0;
    max-width: 660px;
    margin: 0 auto 2.5rem;
    line-height: 1.85;
    font-size: 0.98rem;
}

/* stat cards row */
.di-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    max-width: 860px;
    margin: 0 auto;
}

.di-stat-card {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    border-radius: 12px;
    padding: 1.4rem 1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    border: 1px solid rgba(255, 255, 255, 0.9);
}

.di-stat-number {
    font-size: 1.7rem;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 0.3rem;
}

.di-stat-label {
    font-size: 0.78rem;
    color: #64748b;
}

/* ---------------------------------------------------------
   CORE FEATURES
   --------------------------------------------------------- */
.di-features {
    padding: 2.5rem 5%;
    max-width: 1300px;
    margin: 0 auto;
}

.di-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
}

.di-feature-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-radius: 14px;
    padding: 1.8rem 1.6rem;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 20px rgba(0,0,0,0.10), inset 0 1px 0 rgba(255,255,255,0.95);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

    .di-feature-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 28px rgba(59,130,246,0.14), inset 0 1px 0 rgba(255,255,255,0.9);
    }

.di-feature-icon {
    font-size: 1.8rem;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.di-feature-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.6rem;
}

.di-feature-card p {
    font-size: 0.84rem;
    color: #475569;
    line-height: 1.65;
    margin: 0;
}

/* ---------------------------------------------------------
   AGGREGATOR INTEGRATION
   --------------------------------------------------------- */
.di-aggregators {
    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: 0 auto 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    text-align: center;
}

    .di-aggregators h2 {
        font-size: 1.8rem;
        font-weight: 700;
        color: #f0f4f8;
        margin-bottom: 1.6rem;
    }

.di-agg-pills {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.2rem;
}

.di-agg-pill {
    padding: 0.5rem 1.6rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    border: 2px solid;
}

.di-agg--zomato {
    background: rgba(254, 226, 226, 0.95);
    color: #b91c1c;
    border-color: #f87171;
}

.di-agg--swiggy {
    background: rgba(255, 237, 213, 0.95);
    color: #c2410c;
    border-color: #fb923c;
}

.di-agg--magicpin {
    background: rgba(237, 233, 254, 0.95);
    color: #6d28d9;
    border-color: #a78bfa;
}

.di-agg--ondc {
    background: rgba(219, 234, 254, 0.95);
    color: #1d4ed8;
    border-color: #60a5fa;
}

.di-agg--dunzo {
    background: rgba(209, 250, 229, 0.95);
    color: #065f46;
    border-color: #34d399;
}

.di-agg-note {
    color: #cae4f0;
    font-size: 0.85rem;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ---------------------------------------------------------
   PAPERLESS JOURNEY
   --------------------------------------------------------- */
.di-journey {
    padding: 3rem 5%;
    max-width: 1300px;
    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.1);
}

    .di-journey h2 {
        text-align: center;
        font-size: 1.8rem;
        font-weight: 700;
        color: #f0f4f8;
        margin-bottom: 2rem;
    }

.di-journey-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.di-journey-step {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-radius: 12px;
    padding: 1.2rem 1.3rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 16px rgba(0,0,0,0.10), inset 0 1px 0 rgba(255,255,255,0.95);
    transition: transform 0.2s ease;
}

    .di-journey-step:hover {
        transform: translateY(-2px);
    }

.di-journey-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.di-num--blue {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
}

.di-num--green {
    background: linear-gradient(135deg, #10b981, #065f46);
}

.di-num--orange {
    background: linear-gradient(135deg, #f59e0b, #b45309);
}

.di-num--teal {
    background: linear-gradient(135deg, #06b6d4, #0e7490);
}

.di-journey-title {
    font-weight: 700;
    color: #1e293b;
    font-size: 0.92rem;
    margin-bottom: 0.25rem;
}

.di-journey-sub {
    font-size: 0.78rem;
    color: #475569;
    line-height: 1.5;
}

/* ---------------------------------------------------------
   SEE IT IN ACTION
   --------------------------------------------------------- */
.di-action {
    padding: 3rem 5%;
    max-width: 1300px;
    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);
}

    .di-action h2 {
        text-align: center;
        font-size: 1.8rem;
        font-weight: 700;
        color: #f0f4f8;
        margin-bottom: 0.5rem;
    }

.di-action-sub {
    text-align: center;
    color: #cae4f0;
    font-size: 0.88rem;
    max-width: 580px;
    margin: 0 auto 2rem;
    line-height: 1.65;
}

.di-action-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.di-mock-label {
    font-weight: 700;
    color: #f0f4f8;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

/* ---- EMAIL MOCK ---- */
.di-mock-email {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.18);
    border: 1px solid #e2e8f0;
    font-size: 0.78rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.di-email-bar {
    background: #f1f5f9;
    padding: 0.55rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    border-bottom: 1px solid #e2e8f0;
}

.di-email-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.di-email-address {
    font-size: 0.72rem;
    color: #64748b;
    margin-left: 0.5rem;
}

.di-email-body {
    padding: 1.2rem 1.4rem;
}

.di-email-subject {
    font-weight: 700;
    font-size: 0.85rem;
    color: #1e293b;
    margin-bottom: 0.2rem;
}

.di-email-to {
    font-size: 0.72rem;
    color: #94a3b8;
    margin-bottom: 1rem;
}

.di-email-badge {
    background: #dcfce7;
    color: #15803d;
    border-radius: 6px;
    padding: 0.4rem 0.8rem;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 0.9rem;
    display: inline-block;
}

.di-email-greeting,
.di-email-text {
    color: #334155;
    margin-bottom: 0.6rem;
    line-height: 1.55;
}

.di-email-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0.8rem 0;
    font-size: 0.75rem;
}

    .di-email-table th {
        background: #f8fafc;
        color: #64748b;
        font-weight: 600;
        padding: 0.35rem 0.4rem;
        text-align: left;
        border-bottom: 1px solid #e2e8f0;
    }

    .di-email-table td {
        padding: 0.3rem 0.4rem;
        color: #334155;
        border-bottom: 1px solid #f1f5f9;
    }

.di-email-total td {
    background: #f8fafc;
    font-weight: 700;
    border-top: 2px solid #e2e8f0;
}

.di-email-special {
    background: #fffbeb;
    border-left: 3px solid #f59e0b;
    border-radius: 4px;
    padding: 0.6rem 0.8rem;
    font-size: 0.74rem;
    color: #92400e;
    margin: 0.8rem 0;
    line-height: 1.6;
}

.di-email-pay-btn {
    display: block;
    background: linear-gradient(135deg, #10b981, #065f46);
    color: white;
    text-align: center;
    padding: 0.65rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.82rem;
    text-decoration: none;
    margin: 0.8rem 0;
}

.di-email-fine {
    font-size: 0.68rem;
    color: #94a3b8;
    line-height: 1.5;
    margin-bottom: 0.6rem;
}

.di-email-footer {
    font-size: 0.68rem;
    color: #94a3b8;
    border-top: 1px dashed #e2e8f0;
    padding-top: 0.6rem;
    line-height: 1.7;
}

/* ---- WHATSAPP PHONE MOCK ---- */
.di-mock-phone {
    background: #e5ddd5;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    border: 1px solid #d4c5b8;
    font-size: 0.78rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.di-phone-header {
    background: #075e54;
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: white;
}

.di-phone-avatar {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.di-phone-name {
    font-weight: 700;
    font-size: 0.88rem;
}

.di-phone-status {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.75);
}

.di-phone-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    background: #e5ddd5;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c3b09c' fill-opacity='0.15'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.di-wa-bubble {
    max-width: 88%;
    padding: 0.55rem 0.8rem;
    border-radius: 8px;
    font-size: 0.78rem;
    line-height: 1.5;
    position: relative;
}

.di-wa-in {
    background: #ffffff;
    color: #1e293b;
    align-self: flex-start;
    border-radius: 0 8px 8px 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.di-wa-out {
    background: #dcf8c6;
    color: #1e293b;
    align-self: flex-end;
    border-radius: 8px 0 8px 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.di-wa-invoice {
    padding: 0.8rem;
    width: 92%;
}

.di-wa-inv-title {
    font-weight: 700;
    font-size: 0.8rem;
    color: #1e293b;
    margin-bottom: 0.15rem;
    text-align: center;
}

.di-wa-inv-biz {
    font-weight: 700;
    font-size: 0.75rem;
    color: #1e293b;
    text-align: center;
    margin-bottom: 0.1rem;
}

.di-wa-inv-meta {
    font-size: 0.67rem;
    color: #64748b;
    text-align: center;
    margin-bottom: 0.05rem;
}

.di-wa-inv-divider {
    border-top: 1px dashed #94a3b8;
    margin: 0.4rem 0;
}

.di-wa-inv-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    color: #334155;
    padding: 0.1rem 0;
}

.di-wa-total {
    font-weight: 700;
    font-size: 0.78rem;
    color: #1e293b;
    border-top: 1px solid #e2e8f0;
    margin-top: 0.2rem;
    padding-top: 0.3rem;
}

.di-wa-qr-box {
    text-align: center;
    margin: 0.7rem 0 0.5rem;
    background: #f8fafc;
    border-radius: 6px;
    padding: 0.6rem;
    border: 1px solid #e2e8f0;
}

.di-wa-qr-placeholder {
    font-size: 1.1rem;
    line-height: 1.2;
    letter-spacing: 2px;
    color: #1e293b;
}

.di-wa-qr-label {
    font-size: 0.67rem;
    color: #64748b;
    margin-top: 0.25rem;
    font-weight: 600;
}

.di-wa-pay-btn {
    display: block;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    text-align: center;
    padding: 0.55rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.75rem;
    text-decoration: none;
    margin-top: 0.4rem;
}

/* ---------------------------------------------------------
   CTA BANNER
   --------------------------------------------------------- */
.di-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);
}

.di-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);
}

.di-cta h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #f0f4f8;
    margin-bottom: 0.6rem;
}

.di-cta p {
    color: #cae4f0;
    font-size: 0.95rem;
    margin-bottom: 1.8rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.di-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);
}

    .di-cta-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(59, 130, 246, 0.55);
        color: #ffffff;
    }

/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */
@media (max-width: 960px) {
    .di-action-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .di-stats,
    .di-feature-grid,
    .di-journey-grid {
        grid-template-columns: 1fr 1fr;
    }

    .di-hero h1 {
        font-size: 2rem;
    }

    .di-action-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .di-stats,
    .di-feature-grid,
    .di-journey-grid {
        grid-template-columns: 1fr;
    }

    .di-hero {
        margin: 1rem;
        padding: 3rem 4% 2rem;
    }

    .di-cta {
        margin: 1rem;
    }
}
