/* Dashboard & Auth Specific Styles */

body.dashboard-body {
    background: #fdfdfd;
    margin: 0;
    font-family: 'Outfit', sans-serif;
    color: #111827;
    height: 100vh;
    overflow: hidden;
}

body.dashboard-active {
    background: #fdfdfd;
}

/* Auth View */
.auth-section {
    display: flex;
    flex-direction: column;
    height: 100vh;
    padding: 10px 40px;
    box-sizing: border-box;
    overflow-y: auto;
    background: radial-gradient(circle at center, rgba(0, 240, 255, 0.05) 0%, #f9fafb 100%);
    position: relative;
}

.btn-back-home {
    position: absolute;
    top: 30px;
    left: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    z-index: 10;
}

.btn-back-home:hover {
    color: #111827;
    transform: translateX(-4px);
}

.auth-card {
    background: white;
    padding: 48px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    width: 100%;
    max-width: 480px;
    border: 1px solid #e5e7eb;
    margin: auto;
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-header img {
    width: 192px;
    height: 192px;
    margin-bottom: 24px;
    object-fit: contain;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.auth-header img:hover {
    transform: scale(1.15);
}

.auth-header h2 {
    font-size: 24px;
    margin-bottom: 8px;
}

.auth-header p {
    color: #6b7280;
    font-size: 15px;
}

.auth-tabs {
    display: flex;
    background: #f3f4f6;
    padding: 4px;
    border-radius: 12px;
    margin-bottom: 32px;
}

.auth-tab {
    flex: 1;
    padding: 10px;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s;
}

.auth-tab.active {
    background: white;
    color: #111827;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #374151;
}

.input-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.input-group input:focus {
    outline: none;
    border-color: #00f0ff;
    box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.1);
}

.auth-type-toggle {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
}

.auth-type-toggle label {
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: #111827;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.error-msg {
    color: #ef4444;
    font-size: 14px;
    margin-top: 12px;
    text-align: center;
    font-weight: 500;
}

/* Dashboard Layout */
.dashboard-layout {
    display: flex;
    height: 100vh;
}

.dashboard-sidebar {
    width: 260px;
    background: #fdfdfd;
    border-right: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    padding: 0;
    max-height: 100vh;
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding: 24px 16px 12px;
}

.sidebar-header img {
    width: 144px !important;
    height: auto !important;
    background: transparent;
    border-radius: 0;
    padding: 0;
    margin-bottom: 8px;
    object-fit: contain;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sidebar-header img:hover {
    transform: scale(1.15);
}

.sidebar-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.sidebar-title span {
    font-size: 12px;
    font-weight: 400;
    color: #6b7280;
}

.sidebar-search {
    position: relative;
    margin-bottom: 32px;
}

.sidebar-search i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    width: 16px;
    height: 16px;
}

.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 12px 16px;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.1) transparent;
}

.sidebar-nav::-webkit-scrollbar {
    width: 6px;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.1);
    border-radius: 10px;
}

.dashboard-sidebar .btn-primary {
    margin: 0 16px 24px;
    width: calc(100% - 32px);
}

.sidebar-footer {
    padding: 16px;
    border-top: 1px solid #e5e7eb;
}

.sidebar-search input {
    width: 100%;
    padding: 10px 10px 10px 36px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    background: #f9fafb;
    box-sizing: border-box;
}

.sidebar-nav {
    flex: 1;
}

.nav-group {
    font-size: 11px;
    text-transform: uppercase;
    color: #9ca3af;
    font-weight: 600;
    margin-bottom: 12px;
    padding: 0 8px;
    letter-spacing: 0.05em;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    list-style: none;
    margin-bottom: 4px;
}

.sidebar-nav li.disabled {
    opacity: 0.4;
    pointer-events: none;
    filter: grayscale(1);
}

.sidebar-nav li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    color: #4b5563;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}

.sidebar-nav li a i {
    width: 18px;
    height: 18px;
    color: #9ca3af;
}

.sidebar-nav li.active a,
.sidebar-nav li a:hover {
    background: #f3f4f6;
    color: #111827;
}

.sidebar-nav li.active a i {
    color: #111827;
}

.nav-icon-png {
    width: 18px;
    height: 18px;
    object-fit: contain;
    filter: drop-shadow(0 0 2px rgba(0,240,255,0.2));
}

.premium-card {
    background: linear-gradient(135deg, #ffffff, #f9fafb);
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
}

.premium-card::after {
    content: '';
    position: absolute;
    top: -50%; right: -50%;
    width: 100%; height: 100%;
    background: radial-gradient(circle, rgba(0,240,255,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.how-to-item, .blog-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.how-to-item:hover, .blog-card:hover {
    transform: translateY(-4px);
    border-color: #0088ff !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.sidebar-footer {
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.btn-logout {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px;
    background: transparent;
    border: none;
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 8px;
}

.btn-logout:hover {
    background: #fee2e2;
    color: #ef4444;
}

/* Dashboard Content */
.dashboard-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    overflow-y: auto;
}

.dash-top-bar {
    padding: 12px 40px;
    border-bottom: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.dash-filters {
    display: flex;
    gap: 16px;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #fdfdfd;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn.active {
    background: #111827;
    color: white;
    border-color: #111827;
}

.filter-btn i {
    width: 14px;
    height: 14px;
}

.dash-main-area {
    padding: 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
}

.empty-state {
    text-align: center;
    max-width: 400px;
    padding: 40px;
    background: white;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    margin: auto;
}

.empty-icon {
    width: 80px;
    height: 80px;
    background: rgba(0, 240, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--primary-color);
}

.empty-icon i {
    width: 40px;
    height: 40px;
}

.empty-state h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.empty-state p {
    color: #6b7280;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 32px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #111827;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Payment View */
.payment-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: radial-gradient(circle at center, rgba(0, 240, 255, 0.05) 0%, #f9fafb 100%);
}

.payment-card {
    background: white;
    padding: 48px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    width: 100%;
    max-width: 540px;
    border: 1px solid #e5e7eb;
    text-align: center;
}

.plan-details {
    background: #f9fafb;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
    border: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.plan-info h4 {
    margin: 0 0 4px 0;
    font-size: 18px;
}

.plan-info p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}

.plan-price {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
}

/* Projects List */
#projects-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    width: 100%;
}

.project-card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s;
    cursor: pointer;
}

.project-card:hover {
    border-color: #00f0ff;
    box-shadow: 0 4px 20px rgba(0, 240, 255, 0.05);
    transform: translateY(-2px);
}

.project-info {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.project-icon {
    width: 48px;
    height: 48px;
    background: #f3f4f6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111827;
}

.project-icon i {
    width: 24px;
    height: 24px;
}

.project-info h4 {
    margin: 0 0 4px 0;
    font-size: 16px;
}

.project-tag {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 99px;
}

.project-tag.active {
    background: #dcfce7;
    color: #166534;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #6b7280;
    border-top: 1px solid #f3f4f6;
    padding-top: 16px;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 24px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.modal-header h2 {
    margin: 0;
    font-size: 20px;
}

.close-modal {
    background: transparent;
    border: none;
    color: #6b7280;
    cursor: pointer;
    font-size: 20px;
}

.plan-options {
    display: grid;
    gap: 12px;
}

.plan-option {
    border: 1px solid #e5e7eb;
    padding: 16px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s;
}

.plan-option:hover {
    border-color: #00f0ff;
    background: rgba(0, 240, 255, 0.02);
}

.plan-option.selected {
    border-color: #00f0ff;
    background: rgba(0, 240, 255, 0.05);
}

/* Project Detail View Styles */
.btn-back {
    background: transparent;
    border: none;
    color: #6b7280;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 0;
    margin-bottom: 16px;
    transition: color 0.2s;
}

.btn-back:hover {
    color: #111827;
}

.content-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid #e5e7eb;
    margin-bottom: 24px;
}

.content-card h3 {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 18px;
}

.message-card {
    background: #f9fafb;
}

.message-card.highlight {
    background: rgba(0, 240, 255, 0.03);
    border-color: rgba(0, 240, 255, 0.2);
}

.update-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #fdfdfd;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.status-light {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-light.green {
    background: #22c55e;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}

.status-light.yellow {
    background: #eab308;
    box-shadow: 0 0 10px rgba(234, 179, 8, 0.5);
}

.status-light.orange {
    background: #f97316;
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.5);
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

.files-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.file-record {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f3f4f6;
    border-radius: 8px;
    font-size: 14px;
    color: #374151;
}

.file-record i {
    width: 18px;
    height: 18px;
    color: #6b7280;
}

.markdown-preview {
    line-height: 1.6;
    white-space: pre-wrap;
}

.status-light {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-light.green {
    background: #22c55e;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
}

.status-light.yellow {
    background: #eab308;
    box-shadow: 0 0 10px rgba(234, 179, 8, 0.4);
}

.status-light.orange {
    background: #f97316;
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.4);
}

/* Timeline/Package Styles */
.update-timeline-item {
    display: flex;
    gap: 20px;
    padding-bottom: 24px;
    position: relative;
}

.update-timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 5.5px;
    top: 20px;
    bottom: 0px;
    width: 1px;
    background: #e5e7eb;
}

.update-content {
    flex: 1;
}

.update-msg {
    font-size: 15px;
    color: #111827;
    margin-bottom: 4px;
    line-height: 1.5;
}

.update-time {
    font-size: 12px;
    color: #6b7280;
}

.package-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.package-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.package-title { font-size: 16px; margin: 0; }
.package-date { font-size: 13px; color: #6b7280; }
.package-desc { font-size: 14px; color: #4b5563; margin-bottom: 16px; }

.file-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: #f3f4f6; padding: 6px 12px; border-radius: 6px;
    font-size: 13px; font-weight: 500;
}
.file-badge i { width: 14px; height: 14px; }

.empty-package {
    text-align: center;
    padding: 40px;
    color: #9ca3af;
    font-size: 14px;
    background: #f9fafb;
    border: 2px dashed #e5e7eb;
    border-radius: 12px;
}

.package-body {
    font-size: 14px;
    color: #111827;
    line-height: 1.6;
    white-space: pre-wrap;
}

.simple-text {
    border-left: 4px solid #111827;
}

/* HORIZONTAL TIMELINE - ORBITAL REDESIGN */
.timeline-container {
    width: 100%;
    margin: 0 auto;
    position: relative;
    padding: 30px 0;
}
.timeline-header-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 50px; }
.timeline-controls { display: flex; gap: 12px; }
.timeline-nav-btn {
    width: 42px; height: 42px; border-radius: 12px;
    background: white; border: 1px solid #e5e7eb;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.timeline-nav-btn:hover { background: #111827; color: white; border-color: #111827; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(0,0,0,0.1); }

.timeline-track-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0 60px;
}
.timeline-line {
    position: absolute;
    top: 40px;
    left: 0; right: 0;
    height: 6px;
    background: #f3f4f6;
    z-index: 1;
    border-radius: 99px;
    overflow: hidden;
}
.timeline-line::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, #00f0ff, #0044ff);
    opacity: 0.1;
}

.timeline-track {
    display: flex;
    gap: 50px;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    padding-left: 40px;
}

.timeline-node {
    position: relative;
    z-index: 2;
    min-width: 280px;
    display: flex;
    flex-direction: column;
}

.timeline-dot {
    width: 24px; height: 24px;
    border-radius: 50%;
    background: white;
    border: 6px solid #111827;
    box-shadow: 0 0 0 4px rgba(255,255,255,1), 0 0 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    align-self: flex-start;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
}

/* Plan Specific Dot Glows */
.node-plus .timeline-dot { border-color: #0088ff; box-shadow: 0 0 0 4px #fff, 0 0 20px rgba(0,136,255,0.4); }
.node-enterprise .timeline-dot { border-color: #f59e0b; box-shadow: 0 0 0 4px #fff, 0 0 20px rgba(245,158,11,0.4); }
.node-mvp .timeline-dot { border-color: #ec4899; box-shadow: 0 0 0 4px #fff, 0 0 20px rgba(236,72,153,0.4); }

.timeline-node:hover .timeline-dot { transform: scale(1.3); }

.timeline-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.timeline-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 4px; height: 100%;
    background: #111827;
    opacity: 0.8;
}

.node-plus .timeline-card::before { background: #0088ff; }
.node-enterprise .timeline-card::before { background: #f59e0b; }
.node-mvp .timeline-card::before { background: #ec4899; }

.timeline-node:hover .timeline-card {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.timeline-date { font-size: 12px; font-weight: 800; color: #9ca3af; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px; display: block; }
.timeline-title { font-size: 18px; font-weight: 800; margin: 0 0 6px 0; color: #111827; }
.timeline-plan { 
    font-size: 11px; font-weight: 700; color: #111827; 
    margin-bottom: 20px; display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 10px; background: #f3f4f6; border-radius: 8px;
}

/* Mini Metrics */
.mini-metric { margin-bottom: 20px; }
.mini-metric-label { font-size: 11px; font-weight: 600; color: #6b7280; display: flex; justify-content: space-between; margin-bottom: 6px; }
.mini-bar-bg { width: 100%; height: 6px; background: #f3f4f6; border-radius: 3px; overflow: hidden; }
.mini-bar-fg { height: 100%; border-radius: 3px; transition: width 1s ease-out; }

.timeline-action {
    width: 100%; padding: 12px; background: #111827; color: white; border: none; border-radius: 14px;
    font-size: 14px; font-weight: 700; cursor: pointer; transition: all 0.3s;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.timeline-action:hover { transform: scale(1.02); filter: brightness(1.2); }
.timeline-action i { width: 16px; height: 16px; }

/* PREMIUM AUDIT DASHBOARD UI */
.audit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}
.audit-grid.full { grid-template-columns: 1fr; }
.audit-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}
.audit-card h4 { margin: 0 0 20px 0; font-size: 16px; color: #111827; display: flex; align-items: center; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid #f3f4f6;}
.audit-card h4 i { color: #0088ff; }

/* Circular Progress Bars */
.circ-wrap {
    display:flex; flex-direction:column; align-items:center; gap:8px;
}
.circ-title { font-size: 12px; font-weight: 600; color: #6b7280; text-align: center; max-width: 120px; }
.circ-chart {
    position: relative;
    width: 80px; height: 80px;
}
.circ-chart svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.circ-bg { fill: none; stroke: #f3f4f6; stroke-width: 8; }
.circ-fg { fill: none; stroke-width: 8; stroke-linecap: round; transition: stroke-dasharray 1s ease-out; }
.circ-val {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 700; color: #111827;
}
.color-green { stroke: #10b981; }
.color-yellow { stroke: #f59e0b; }
.color-red { stroke: #ef4444; }
.color-blue { stroke: #3b82f6; }
.text-green { color: #10b981!important; }
.text-yellow { color: #f59e0b!important; }
.text-red { color: #ef4444!important; }

.circ-row { display: flex; justify-content: space-around; gap: 16px; flex-wrap: wrap; }
.stats-list { list-style: none; padding: 0; margin: 0; }
.stats-list li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed #e5e7eb; font-size: 14px; color:#4b5563;}
.stats-list li:last-child { border: none; }
.stats-val { font-weight: 700; color: #111827; }

/* THE CORE SHOWCASE STYLES */
.core-showcase {
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 80px;
    color: #111827;
}

.core-hero {
    display: flex;
    align-items: center;
    gap: 40px;
    background: radial-gradient(circle at top right, #111827, #1f2937);
    padding: 60px;
    border-radius: 32px;
    margin-bottom: 60px;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(17, 24, 39, 0.15);
}

.core-hero-content {
    flex: 1;
    z-index: 2;
}

.badge-tech {
    background: rgba(0, 240, 255, 0.1);
    color: #00f0ff;
    padding: 6px 12px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    display: inline-block;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.core-main-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff, #9ca3af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.core-subtitle {
    font-size: 18px;
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 32px;
}

.core-stats-bar {
    display: flex;
    gap: 32px;
}

.core-stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 24px;
    font-weight: 800;
    color: #00f0ff;
}

.stat-label {
    font-size: 12px;
    opacity: 0.5;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 4px;
}

.core-hero-image-wrap {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.core-img-parallax {
    max-width: 100%;
    height: auto;
    border-radius: 24px;
    filter: drop-shadow(0 0 30px rgba(0, 240, 255, 0.3));
    animation: coreFloat 6s ease-in-out infinite;
    z-index: 2;
}

.core-glow-effect {
    position: absolute;
    width: 200px;
    height: 200px;
    background: #00f0ff;
    filter: blur(100px);
    opacity: 0.2;
    z-index: 1;
}

.core-section-title {
    text-align: center;
    margin-bottom: 40px;
}

.core-section-title h3 {
    font-size: 28px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.core-section-title h3 i { color: #0088ff; }

.agents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.agent-card {
    background: white;
    border: 1px solid #e5e7eb;
    padding: 32px;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.agent-card:hover {
    transform: translateY(-10px);
    border-color: #0088ff;
    box-shadow: 0 20px 40px rgba(0, 136, 255, 0.1);
}

.agent-icon-wrap {
    width: 48px;
    height: 48px;
    background: #f3f4f6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.agent-card:hover .agent-icon-wrap {
    background: #111827;
    color: #00f0ff;
    transform: rotate(10deg);
}

.agent-card h4 {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 700;
}

.agent-card p {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 20px;
}

.agent-status {
    font-size: 11px;
    font-weight: 800;
    color: #10b981;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 rgba(16, 185, 129, 0.4);
    animation: pulseAgent 2s infinite;
}

.core-capabilities {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.capability-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: #f9fafb;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
}

.capability-card i {
    width: 32px;
    height: 32px;
    color: #0088ff;
    flex-shrink: 0;
}

.capability-card h5 {
    margin: 0 0 4px 0;
    font-size: 16px;
}

.capability-card p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

/* ANIMATIONS */
@keyframes coreFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes pulseAgent {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInRise 0.8s forwards;
}

.animate-on-scroll:nth-child(2) { animation-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { animation-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { animation-delay: 0.3s; }
.animate-on-scroll:nth-child(5) { animation-delay: 0.4s; }

@keyframes fadeInRise {
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 992px) {
    .core-hero { flex-direction: column; text-align: center; padding: 40px 20px; }
    .core-stats-bar { justify-content: center; }
    .core-capabilities { grid-template-columns: 1fr; }
}
