/* Smart Features Section (Bento Grid) */
.smart-features-section {
    padding: 120px 0;
    position: relative;
    background: #000000;
    overflow: hidden;
    color: white;
}

.smart-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.smart-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    margin-bottom: 24px;
    font-size: 13px;
    color: #cbd5e1;
}

.smart-header h2 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.smart-header p {
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
    font-size: 16px;
}

/* Hero Image Area */
.smart-hero-container {
    max-width: 800px;
    margin: 0 auto 80px;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.smart-hero-image {
    width: 100%;
    display: block;
    mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
    opacity: 0.9;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.bento-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Cards Base */
.bento-card {
    background: rgba(17, 24, 39, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease;
    text-align: left;
    /* Force left alignment */
}

.bento-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
}

.card-desc {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.4;
}

.card-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px 0;
}

/* --- Card Specifics --- */

/* 1. Relapse Chart */
.chart-container {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    height: 150px;
    padding-bottom: 10px;
}

.chart-bar-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.chart-bar {
    width: 32px;
    border-radius: 4px;
    position: relative;
}

.bar-red {
    height: 120px;
    background: linear-gradient(to top, #ef4444, #f87171);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.3);
}

.bar-blue {
    height: 80px;
    background: linear-gradient(to top, #3b82f6, #60a5fa);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

.legend-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 4px;
}

.dot-red {
    background: #ef4444;
}

.dot-blue {
    background: #3b82f6;
}

.legend-label {
    font-size: 12px;
    color: #94a3b8;
}


/* 2. Triggers Mock UI */
.triggers-ui {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.trigger-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
}

.trigger-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.trigger-icon {
    color: #3b82f6;
    font-size: 14px;
}

.trigger-lines {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ui-line {
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.trigger-toggle {
    display: flex;
    flex-direction: column;
    gap: 3px;
    align-items: flex-end;
}

.toggle-bar {
    width: 20px;
    height: 3px;
    background: #3b82f6;
    border-radius: 2px;
}

/* 3. Feature List (Center Col) */
.feature-list-header {
    background: linear-gradient(90deg, #1e293b, #0f172a);
    padding: 12px 16px;
    border-radius: 8px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.features-scroll {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: rgba(30, 41, 59, 0.3);
    border-radius: 12px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    cursor: default;
}

.feature-item:hover {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.feat-left {
    display: flex;
    gap: 12px;
    align-items: center;
}

.feat-bar {
    width: 4px;
    height: 30px;
    background: #3b82f6;
    /* Default Blue */
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.4);
}

.feat-green .feat-bar {
    background: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

.feat-purple .feat-bar {
    background: #8b5cf6;
    box-shadow: 0 0 8px rgba(139, 92, 246, 0.4);
}

.feat-orange .feat-bar {
    background: #f97316;
    box-shadow: 0 0 8px rgba(249, 115, 22, 0.4);
}

.feat-info h4 {
    font-size: 14px;
    color: white;
    margin: 0 0 2px 0;
}

.feat-info span {
    font-size: 12px;
    color: #64748b;
}

.feat-arrow {
    color: #475569;
}


/* 4. Gauge Card */
.gauge-visual {
    position: relative;
    width: 140px;
    /* Slightly larger canvas for SVG */
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    /* Center the gauge itself horizontally */
}

/* Updated SVG Gauge Styles */
.gauge-svg {
    width: 100%;
    height: 100%;
    transform: rotate(0deg);
    /* Reset overlap rotation */
}

.gauge-content {
    position: absolute;
    text-align: center;
    z-index: 1;
    top: 50%;
    left: 50%;
    /* Center centering */
    transform: translate(-50%, -40%);
    /* Adjust vertical optical center */
    width: 100%;
}

.gauge-val {
    font-size: 36px;
    /* Bolder value */
    font-weight: 800;
    background: linear-gradient(135deg, white 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    line-height: 1;
    margin-bottom: 2px;
}

.gauge-label {
    font-size: 12px;
    color: #94a3b8;
}

.card-center-text {
    text-align: center;
    margin-top: 16px;
}

/* 5. Roadmap Card */
.roadmap-container {
    width: 100%;
    padding: 0 10px;
}

.roadmap-header {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 20px;
    text-align: center;
}

.roadmap-timeline {
    position: relative;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0;
}

.timeline-progress {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 60%;
    background: linear-gradient(90deg, #3b82f6, #10b981);
    border-radius: 2px;
}

.timeline-point {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #0f172a;
    /* Card bg */
    border: 2px solid #3b82f6;
    position: relative;
    z-index: 2;
}

.point-active {
    border-color: #3b82f6;
    background: #3b82f6;
    box-shadow: 0 0 10px #3b82f6;
}

.point-future {
    border-color: #10b981;
}

.timeline-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 600;
}

.label-live {
    color: #3b82f6;
}

.label-soon {
    color: #10b981;
}

/* Responsive */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }

    .bento-col {
        gap: 24px;
    }

    .smart-hero-container {
        margin-bottom: 40px;
    }
}

/* 6. Brotherhood Card Visuals */
.brotherhood-visual {
    position: relative;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-group {
    display: flex;
    align-items: center;
}

.avatar-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #1e293b;
    /* Match card background or dark border */
    background-size: cover;
    background-position: center;
    margin-left: -12px;
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.avatar-circle:first-child {
    margin-left: 0;
}

.live-badge {
    margin-left: 12px;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #10b981;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.live-dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    animation: pulseLive 2s infinite;
}

@keyframes pulseLive {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}


/* 7. Tools Card Visuals */
.tools-visual {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 10px;
}

.avatar-more {
    background: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 700;
    border: 2px solid #0f172a;
}

.avatar-more span {
    margin-top: 1px;
}

.tool-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.tool-icon-box svg {
    width: 24px;
    height: 24px;
    stroke: #94a3b8;
    stroke-width: 2;
    transition: all 0.3s ease;
}

.tool-icon-box:hover svg {
    stroke: #38bdf8;
    transform: scale(1.1);
}

.tool-icon-box:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-3px);
}