/* ============================================
   BANNER.CSS — All banner template styles
   ============================================ */

/* ===== SHARED BANNER UTILS ===== */
.b-abs   { position: absolute; }
.b-rel   { position: relative; }
.b-flex  { display: flex; }
.b-col   { flex-direction: column; }
.b-center { align-items: center; justify-content: center; }
.b-white  { color: #fff; }
.b-bold   { font-weight: 700; }

/* ===== PHONE MOCKUP SHARED ===== */
.phone-mockup-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-frame-outer {
    border-radius: 36px;
    border: 3px solid rgba(255,255,255,0.15);
    background: #000;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.05),
        0 20px 60px rgba(0,0,0,0.7),
        0 0 40px rgba(103,80,164,0.25);
    position: relative;
}

.phone-screen-inner {
    position: absolute;
    inset: 3px;
    border-radius: 34px;
    overflow: hidden;
    background: #1a1a2e;
}

.phone-notch {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px; height: 18px;
    background: #000;
    border-radius: 10px;
    z-index: 10;
}

.phone-ss {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phone-placeholder-inner {
    width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #1C1B1F, #2D1B69);
    padding: 10px;
    text-align: center;
}
.phone-placeholder-inner span { font-size: 10px; color: #CAC4D0; line-height: 1.4; }

/* ===== GLOW BLOB ===== */
.glow-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
}

/* ===== SPARKLE ===== */
.sparkle {
    position: absolute;
    pointer-events: none;
    animation: twinkle 2s infinite;
    color: #FFD700;
}
@keyframes twinkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.2; transform: scale(0.6); }
}

/* ===== DIVIDER STYLES ===== */
.divider-line {
    height: 3px;
    border-radius: 2px;
}

.divider-dots {
    display: flex;
    gap: 5px;
    align-items: center;
}
.divider-dots span {
    width: 6px; height: 6px;
    border-radius: 50%;
}

/* ===== BADGE / TAG ===== */
.tech-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    color: white;
    display: inline-block;
}

.top-badge-pill {
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 700;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* ===== FOOTER ===== */
.banner-footer-bar {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    display: flex;
    align-items: center;
    padding: 0 36px;
    justify-content: space-between;
}

/* ===== FEATURE ITEM ===== */
.feat-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: #e0e0e0;
}
.feat-check { font-size: 14px; }

/* ===== NUMBER CARD (for templates that use numbered steps) ===== */
.num-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.num-circle {
    width: 28px; height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 900;
    flex-shrink: 0;
    color: white;
}
.num-card-text { font-size: 12px; color: #e0e0e0; line-height: 1.4; }

/* ===== STAT BOX ===== */
.stat-box {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 12px 16px;
    text-align: center;
    flex: 1;
}
.stat-number {
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
}
.stat-label {
    font-size: 10px;
    color: #CAC4D0;
    margin-top: 4px;
}

/* ===== GRID CARD ===== */
.grid-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.grid-card-icon { font-size: 22px; }
.grid-card-title { font-size: 12px; font-weight: 700; color: white; }
.grid-card-sub   { font-size: 10px; color: #CAC4D0; line-height: 1.4; }

/* ===== CODE BLOCK (Terminal style) ===== */
.code-block {
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 10px 14px;
    font-family: 'Courier New', monospace;
    font-size: 11px;
    line-height: 1.7;
}
.code-keyword  { color: #C792EA; }
.code-string   { color: #C3E88D; }
.code-function { color: #82AAFF; }
.code-comment  { color: #546E7A; }
.code-var      { color: #F78C6C; }

.terminal-bar {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
}
.terminal-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
}

/* ===== DIAGONAL SPLIT ===== */
.diagonal-clip-left {
    clip-path: polygon(0 0, 75% 0, 60% 100%, 0 100%);
}
.diagonal-clip-right {
    clip-path: polygon(40% 0, 100% 0, 100% 100%, 25% 100%);
}

/* ===== SCROLLING TAG STYLES ===== */
.tag-strip {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    overflow: hidden;
}
.tag-pill {
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    border: 1px solid rgba(255,255,255,0.15);
    color: white;
    background: rgba(255,255,255,0.08);
}