﻿
/* ============================================
   DIAL SUMMARY — features.css
   Shared styles for all feature panes
   ============================================ */

/* ===== SHARED PANE BASE ===== */
.feature-pane {
    position: relative;
    overflow: hidden;
    padding: 3rem 2.5rem;
    background: #f5f3ee;
    border-radius: 24px;
    font-family: inherit;
}

/* ===== SHARED — EYEBROW PILL ===== */
.feat-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #3B6D11;
    background: rgba(100, 153, 34, .12);
    border: 1px solid rgba(100, 153, 34, .25);
    border-radius: 999px;
    padding: 4px 12px;
    margin-bottom: 1.2rem;
}

/* ===== SHARED — HEADING ===== */
.feat-heading {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.15;
    color: #1a1a2e;
    margin-bottom: 1rem;
    letter-spacing: -.02em;
}

    .feat-heading em {
        font-style: normal;
        color: #3B6D11;
        position: relative;
    }

        .feat-heading em::after {
            content: '';
            position: absolute;
            bottom: 2px;
            left: 0;
            right: 0;
            height: 3px;
            background: rgba(100, 153, 34, .35);
            border-radius: 2px;
        }

/* ===== SHARED — BODY TEXT ===== */
.feat-body {
    font-size: 15px;
    line-height: 1.75;
    color: #5a5a6e;
    margin-bottom: 1.75rem;
    max-width: 400px;
}

/* ===== SHARED — CTA BUTTON ===== */
.feat-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #849946;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    padding: 13px 28px;
    border-radius: 999px;
    text-decoration: none;
    transition: background .15s, transform .1s;
    letter-spacing: .01em;
}

    .feat-cta:hover {
        background: #6a7c34;
        transform: translateY(-1px);
    }

/* ===== SHARED — FLOATING BADGE ===== */
.feat-badge {
    position: absolute;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 10px;
    padding: 6px 10px;
    font-size: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
    z-index: 10;
}

.feat-badge-top {
    top: -14px;
    right: 10px;
}

.feat-badge-bot {
    bottom: -14px;
    left: 10px;
}

/* ===== SHARED — STAT CHIPS ===== */
.feat-stats {
    display: flex;
    gap: 12px;
    margin-bottom: 1.25rem;
    flex-wrap: nowrap;
}

.feat-stat {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 10px;
    padding: 6px 10px;
    flex: 1;
    min-width: 0;
}

.feat-stat-val {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1;
}

    .feat-stat-val sup {
        font-size: 10px;
        color: #639922;
    }

.feat-stat-lbl {
    font-size: 9px;
    color: #888;
    margin-top: 2px;
}

/* ===== SHARED — FEATURE LIST ===== */
.feat-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 2rem;
}

.feat-list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #444;
}

.feat-list-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(100, 153, 34, .13);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

/* ===== SHARED — CTA ROW ===== */
.feat-cta-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.feat-cta-hint {
    font-size: 12px;
    color: #aaa;
}

    .feat-cta-hint strong {
        color: #639922;
        font-weight: 500;
    }

/* ============================================
   PANE 1 — Insightful Dashboard
   ============================================ */

#pane-1::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(100,153,34,.12) 0%, transparent 70%);
    pointer-events: none;
}

#pane-1::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(29,158,117,.10) 0%, transparent 70%);
    pointer-events: none;
}

/* Phone frame */
.ds-phone-outer {
    position: relative;
    width: 230px;
    margin: -24px 30px 30px 30px;
}

.ds-phone-frame {
    width: 230px;
    background: #fff;
    border-radius: 32px;
    border: 3px solid #1a1a2e;
    overflow: hidden;
    box-shadow: 6px 12px 0 #1a1a2e;
}

.ds-ph-notch {
    background: #1a1a2e;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ds-ph-notch-pill {
    width: 60px;
    height: 8px;
    background: #333;
    border-radius: 999px;
}

.ds-ph-screen {
    width: 100%;
    display: block;
    aspect-ratio: 9/16;
    object-fit: cover;
    object-position: top;
}

.ds-ph-bottom {
    background: #1a1a2e;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ds-ph-home {
    width: 50px;
    height: 4px;
    background: #555;
    border-radius: 999px;
}

.ds-badge-top {
    top: -14px;
    right: -30px;
}

.ds-badge-bot {
    bottom: -14px;
    left: -34px;
}

/* ============================================
   PANE 2 — Unified Team Management
   ============================================ */

#pane-2::before {
    content: '';
    position: absolute;
    top: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(100,153,34,.10) 0%, transparent 70%);
    pointer-events: none;
}

#pane-2::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(29,158,117,.09) 0%, transparent 70%);
    pointer-events: none;
}

/* Stacked screens */
.p2-screens {
    position: relative;
    width: 100%;
    min-height: 360px;
    min-height: 260px;
}
.p2-screen-back, .p2-screen-front {
    width: 90% !important; 
}

.lg\:flex-row .feat-cta {
    margin-top: 10px;
}

.p2-screen-back {
    position: absolute;
    left: 0;
    top: 30px;
    width: 80%;
    background: #fff;
    border-radius: 14px;
    border: 2px solid #e0e0e0;
    box-shadow: 4px 8px 0 #c8c8c8;
    overflow: hidden;
    transform: rotate(-4deg);
    z-index: 1;
}

.p2-screen-front {
    position: absolute;
    right: 0;
    top: 0;
    width: 82%;
    background: #fff;
    border-radius: 14px;
    border: 2px solid #1a1a2e;
    box-shadow: 6px 10px 0 #1a1a2e;
    overflow: hidden;
    z-index: 2;
}

.p2-browser-bar {
    background: #f1f1f1;
    border-bottom: 1px solid #ddd;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    gap: 4px;
}

    .p2-browser-bar.dark {
        background: #1a1a2e;
        border-color: #333;
    }

.p2-b-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.p2-b-url {
    flex: 1;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    height: 14px;
    margin-left: 6px;
}

    .p2-b-url.dark {
        background: #2a2a3e;
        border-color: #444;
    }

.p2-screen-img {
    width: 100%;
    display: block;
}

.p2-badge-top {
    top: -14px;
    right: 10px;
}

.p2-badge-bot {
    bottom: -14px;
    left: 10px;
}

/* ============================================
   RESPONSIVE — Mobile
   ============================================ */

@media (max-width: 1024px) {
    .feature-pane {
        padding: 2rem 1.5rem;
    }

    .feat-heading {
        font-size: 28px;
    }

    .feat-body {
        font-size: 14px;
    }

    .ds-phone-outer {
        margin: 20px auto;
    }

    .p2-screens {
        min-height: 280px;
    }
}

@media (max-width: 640px) {
    .feat-heading {
        font-size: 24px;
    }

    .feat-stats {
        gap: 8px;
    }

    .feat-stat {
        padding: 8px 12px;
    }

    .feat-stat-val {
        font-size: 18px;
    }

    .feat-cta {
        font-size: 14px;
        padding: 11px 22px;
    }

    .p2-screens {
        min-height: 220px;
    }
}
/* ============================================
   PANE 3 — Advanced Call Analytics
   ============================================ */

#pane-3::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(29,158,117,.13) 0%, transparent 70%);
    pointer-events: none;
}

#pane-3::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(100,153,34,.10) 0%, transparent 70%);
    pointer-events: none;
}

/* 2x2 insight grid */
.p3-insights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 2rem;
}

.p3-insight {
    background: #fff;
    border: 1px solid rgba(0,0,0,.07);
    border-radius: 12px;
    padding: 14px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 4px;
}
   
.p3-insight-val {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1;
}

.p3-insight-lbl {
    font-size: 10px;
    color: #888;
    margin-top: 2px;
}

/* 3D Phone frame (square tablet-style device showing landscape dashboard) */
.phone3d-wrap {
    position: relative;
    width: 340px;
    height: 360px;
}

.phone3d-shadow {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
    height: 28px;
    background: rgba(0,0,0,.18);
    border-radius: 50%;
    filter: blur(10px);
    z-index: 0;
}

.phone3d-frame {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) perspective(1000px) rotateY(-14deg) rotateX(5deg);
    width: 320px;
    background: #1a1a2e;
    border-radius: 28px;
    border: 3px solid #1a1a2e;
    overflow: hidden;
    box-shadow: 14px 18px 0 #0d0d18, 18px 26px 44px rgba(0,0,0,.28);
    z-index: 1;
}

.ph3-notch {
    background: #1a1a2e;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ph3-notch-pill {
    width: 56px;
    height: 6px;
    background: #333;
    border-radius: 999px;
}

.ph3-screen {
    width: 100%;
    display: block;
    aspect-ratio: 16/10; /* dashboard screenshot ke landscape shape ke hisaab se */
    object-fit: cover; /* stretching rokega */
    object-position: top; /* upar ka content priority pe dikhayega */
    background: #fff;
}

.ph3-bottom {
    background: #1a1a2e;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ph3-home {
    width: 50px;
    height: 4px;
    background: #555;
    border-radius: 999px;
}
/* Floating metric cards */
.metric-card {
    position: absolute;
    background: #fff;
    border: 1px solid rgba(0,0,0,.1);
    border-radius: 12px;
    padding: 8px 12px;
    font-size: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,.12);
    z-index: 5;
    white-space: nowrap;
}

.mc-top {
    top: 10px;
    right: -40px;
}

.mc-mid {
    top: 50%;
    right: -50px;
    transform: translateY(-50%);
}

.mc-bot {
    bottom: 30px;
    left: -44px;
}

.mc-val {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1;
}

.mc-lbl {
    font-size: 9px;
    color: #888;
    margin-top: 2px;
}

.mc-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 4px;
    vertical-align: middle;
}

@media (max-width: 1024px) {
    .phone3d-frame {
        transform: translateX(-50%) perspective(900px) rotateY(-8deg) rotateX(3deg);
        width: 260px;
    }

    .phone3d-wrap {
        width: 280px;
        height: 300px;
    }

    .metric-card {
        display: none;
    }
}
/* ============================================
   PANE 4 — Indisputable Audit Trails
   ============================================ */

#pane-4::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(132,153,70,.12) 0%, transparent 70%);
    pointer-events: none;
}

#pane-4::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(29,158,117,.09) 0%, transparent 70%);
    pointer-events: none;
}

/* Feature trail list */
.p4-trails {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 2rem;
}

.p4-trail {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.07);
    border-radius: 12px;
    padding: 11px 14px;
}

.p4-trail-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

    .p4-trail-icon.purple {
        background: rgba(83,74,183,.12);
    }

    .p4-trail-icon.teal {
        background: rgba(29,158,117,.12);
    }

    .p4-trail-icon.amber {
        background: rgba(186,117,23,.12);
    }

.p4-trail-text {
    font-size: 13px;
    color: #1a1a2e;
    font-weight: 500;
}

.p4-trail-sub {
    font-size: 10px;
    color: #888;
    margin-top: 2px;
}

/* 3D Laptop frame */
.laptop-wrap {
    position: relative;
    width: 340px;
}

.laptop-screen-outer {
    width: 340px;
    background: #1a1a2e;
    border-radius: 14px 14px 0 0;
    border: 3px solid #1a1a2e;
    padding: 8px 8px 0;
    transform: perspective(1000px) rotateY(8deg) rotateX(4deg);
    box-shadow: -10px 16px 0 #c5c5c5, -14px 20px 32px rgba(0,0,0,.22);
    position: relative;
    z-index: 2;
}

.laptop-browserbar {
    background: #2a2a3e;
    border-radius: 6px 6px 0 0;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.lb-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.lb-url {
    flex: 1;
    background: #1a1a2e;
    border-radius: 4px;
    height: 14px;
    margin-left: 6px;
}

.laptop-screen-inner {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: 0 0 4px 4px;
    background: #fff;
}

.laptop-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

.laptop-base-wrap {
    transform: perspective(1000px) rotateY(8deg) rotateX(4deg);
    position: relative;
    z-index: 1;
}

.laptop-hinge {
    width: 340px;
    height: 6px;
    background: #111;
    border-radius: 0 0 2px 2px;
}

.laptop-bottom {
    width: 360px;
    height: 14px;
    background: #c8c8c8;
    border-radius: 0 0 8px 8px;
    margin-left: -10px;
}

.laptop-foot {
    width: 380px;
    height: 6px;
    background: #b0b0b0;
    border-radius: 0 0 6px 6px;
    margin-left: -20px;
}

.laptop-shadow {
    width: 300px;
    height: 20px;
    background: rgba(0,0,0,.15);
    border-radius: 50%;
    filter: blur(10px);
    margin: 8px auto 0;
}

/* Badge positions for pane 4 */
.p4b-tl {
    top: -16px;
    left: 0;
}

.p4b-br {
    bottom: 30px;
    right: -10px;
}

.p4b-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
}

/* Responsive */
@media (max-width: 1024px) {
    .laptop-wrap {
        width: 260px;
    }

    .laptop-screen-outer {
        width: 260px;
        transform: perspective(800px) rotateY(4deg) rotateX(2deg);
    }

    .laptop-base-wrap {
        transform: perspective(800px) rotateY(4deg) rotateX(2deg);
    }

    .laptop-hinge {
        width: 260px;
    }

    .laptop-bottom {
        width: 280px;
    }

    .laptop-foot {
        width: 300px;
    }

    .p4b-br {
        display: none;
    }
}
