/* Base Portal Hero Theme */
.namifly-terms-hero {
    background: #0f172a;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    padding: 120px 0 100px 0;
    position: relative;
    overflow: hidden;
}

.namifly-terms-hero .hero-mesh-bg {
    position: absolute;
    top: -50%; left: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.12) 0%, transparent 70%);
    filter: blur(80px);
    z-index: 1;
}

.terms-content-wrapper {
    background: #f8fafc;
    margin-top: -50px;
    position: relative;
    z-index: 5;
}

/* Typography Enhancements */
.fw-900 { font-weight: 900; letter-spacing: -1.5px; }
.fw-800 { font-weight: 800; }
.fw-700 { font-weight: 700; }
.text-light-muted { color: #94a3b8; font-size: 1.15rem; }
.max-w-600 { max-width: 600px; }

.text-nami-gradient {
    background: linear-gradient(90deg, #d63384, #ff8c00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-orange-gradient { background: linear-gradient(90deg, #ff8c00, #ffaa44); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* Dynamic Glow Badge */
.nami-badge-glow {
    display: inline-block;
    background: rgba(255, 140, 0, 0.15);
    color: #ff8c00;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.15);
}

/* Content Main Bento Card Style */
.terms-main-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-radius: 40px;
    padding: 60px;
    box-shadow: 0 40px 100px rgba(15, 23, 42, 0.04);
}

/* Top Accent Summary Card */
.terms-summary-banner {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.02) 0%, rgba(214, 51, 132, 0.02) 100%);
    border: 1px dashed rgba(255, 140, 0, 0.2);
    border-radius: 24px;
    padding: 30px;
}

.accent-icon-box {
    width: 45px; height: 45px;
    background: linear-gradient(135deg, #ff8c00, #d63384);
    color: #fff;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
}

/* Content Section Separations */
.terms-card-section {
    padding-bottom: 45px;
    margin-bottom: 45px;
    border-bottom: 1px solid #f1f5f9;
}

.terms-card-section .section-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.terms-card-section .section-num {
    font-size: 1rem;
    font-weight: 900;
    background: rgba(214, 51, 132, 0.06);
    color: #d63384;
    width: 32px; height: 32px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
}

/* Modern Capability Pills */
.services-pill-grid {
    display: flex; flex-wrap: wrap; gap: 10px; margin-top: 15px;
}
.service-pill-item {
    background: #f8fafc; border: 1px solid #e2e8f0; padding: 10px 20px; border-radius: 50px;
    font-size: 0.88rem; font-weight: 700; color: #334155; display: flex; align-items: center; gap: 8px;
}

/* Custom Inner Content Blocks */
.responsibility-box {
    background: #fafafa; border-radius: 20px; padding: 25px; height: 100%;
    border-left: 4px solid #d63384;
}

.nami-custom-list { list-style: none; padding-left: 0; margin: 0; }
.nami-custom-list li {
    position: relative; padding-left: 22px; font-size: 0.92rem; color: #475569; margin-bottom: 12px; line-height: 1.5;
}
.nami-custom-list li::before {
    content: ''; position: absolute; left: 4px; top: 8px;
    width: 6px; height: 6px; border-radius: 50%; background: #d63384; box-shadow: 0 0 8px #d63384;
}

/* Creative Dark Shield Box */
.nami-alert-gradient-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    padding: 30px; border-radius: 24px; text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
}

.mini-card-accent {
    background: #fafafa; border: 1px solid #e2e8f0; padding: 15px; border-radius: 16px;
    font-size: 0.85rem; line-height: 1.5; color: #475569; height: 100%;
}

/* Prohibited Block */
.conduct-warning-card {
    background: #fff5f5; border: 1px solid #fee2e2; padding: 30px; border-radius: 24px;
}

/* Tables Custom Work */
.nami-table-container {
    border: 1px solid #f1f5f9; border-radius: 20px; overflow: hidden;
}
.nami-table-container table { margin: 0; }
.nami-table-container table thead { background: #0f172a; color: #fff; font-size: 0.85rem; text-transform: uppercase; }
.nami-table-container table th { padding: 18px 24px; font-weight: 700; border: none; }
.nami-table-container table td { padding: 18px 24px; font-size: 0.95rem; border-bottom: 1px solid #f1f5f9; }
.nami-table-container table tr:last-child td { border: none; }

.table-tag-accent {
    font-size: 11px; font-weight: 800; padding: 6px 14px; border-radius: 6px; text-transform: uppercase; background: #fafafa;
}
.border-pink-left { border-left: 3px solid #d63384; color: #d63384; }
.border-orange-left { border-left: 3px solid #ff8c00; color: #ff8c00; }

/* Disclaimer Blocks split layout */
.legal-gradient-card {
    background: #ffffff; border-radius: 20px; padding: 30px; height: 100%;
}
.pink-glow { border: 1px solid rgba(214, 51, 132, 0.15); box-shadow: 0 10px 30px rgba(214, 51, 132, 0.02); }
.pink-glow h5 { font-weight: 800; color: #d63384; margin-bottom: 12px; font-size: 1.1rem; }
.orange-glow { border: 1px solid rgba(255, 140, 0, 0.15); box-shadow: 0 10px 30px rgba(255, 140, 0, 0.02); }
.orange-glow h5 { font-weight: 800; color: #ff8c00; margin-bottom: 12px; font-size: 1.1rem; }

.mini-pill-alert {
    background: #fffbf0; border: 1px solid #fef3c7; padding: 15px 20px; border-radius: 14px;
    font-size: 0.85rem; color: #d97706; display: flex; gap: 10px; align-items: flex-start; line-height: 1.5;
}

/* Media Viewport Corrections */
@media (max-width: 991px) {
    .terms-main-card { padding: 35px 20px; border-radius: 24px; }
    .display-3 { font-size: 2.5rem; }
    .services-pill-grid { flex-direction: column; }
}