.ocst-tools-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
    margin: 40px 0;
}

.ocst-tool-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    text-decoration: none !important;
    color: #1a202c !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.ocst-tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #cbd5e0;
}

.ocst-tool-preview {
    height: 180px;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 24px;
}

/* FOV Calculator Styling */
.ocst-fov-preview {
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
}

.ocst-fov-preview .ocst-mini-ui {
    width: 220px;
    height: 130px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    padding: 16px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.ocst-fov-preview .ocst-mini-header {
    height: 14px;
    background: #4f46e5;
    border-radius: 7px;
    width: 50%;
    margin-bottom: 16px;
}

.ocst-fov-preview .ocst-mini-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    align-items: center;
}

.ocst-fov-preview .ocst-mini-label {
    height: 10px;
    background: #a5b4fc;
    border-radius: 5px;
    width: 35%;
}

.ocst-fov-preview .ocst-mini-input {
    height: 20px;
    background: #e0e7ff;
    border: 1px solid #c7d2fe;
    border-radius: 6px;
    flex: 1;
}

.ocst-fov-preview .ocst-mini-slider {
    height: 6px;
    background: #e0e7ff;
    border-radius: 3px;
    margin-top: 12px;
    position: relative;
}

.ocst-fov-preview .ocst-mini-slider::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: #4f46e5;
    border-radius: 50%;
    top: -5px;
    left: 60%;
    box-shadow: 0 2px 4px rgba(79, 70, 229, 0.3);
}

.ocst-fov-preview .ocst-mini-monitor {
    position: absolute;
    bottom: 20px;
    right: -20px;
    width: 100px;
    height: 60px;
    background: #1e1e2f;
    border-radius: 6px;
    border: 4px solid #33334d;
    box-shadow: -5px 5px 15px rgba(0,0,0,0.2);
    transform: rotate(-10deg);
}

.ocst-fov-preview .ocst-mini-monitor::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    background: linear-gradient(45deg, #4f46e5 0%, #6366f1 100%);
    border-radius: 2px;
    opacity: 0.8;
}


/* Fuel Calculator Styling */
.ocst-fuel-preview {
    background: linear-gradient(135deg, #ffedd5 0%, #fed7aa 100%);
}

.ocst-fuel-preview .ocst-mini-ui {
    width: 220px;
    height: 130px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    padding: 16px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.5);
    overflow: hidden;
}

.ocst-fuel-preview .ocst-mini-header {
    height: 14px;
    background: #ea580c;
    border-radius: 7px;
    width: 60%;
    margin-bottom: 20px;
}

.ocst-fuel-preview .ocst-mini-row {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: center;
}

.ocst-fuel-preview .ocst-mini-label {
    height: 10px;
    background: #fdba74;
    border-radius: 5px;
}

.ocst-fuel-preview .ocst-mini-input {
    height: 28px;
    background: #ffedd5;
    border: 1px solid #fed7aa;
    border-radius: 6px;
}

.ocst-fuel-preview .ocst-mini-dial-container {
    position: absolute;
    bottom: -20px;
    right: -10px;
    width: 110px;
    height: 110px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #ea580c;
}

.ocst-fuel-preview .ocst-mini-dial-inner {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 6px solid #fdba74;
    border-bottom-color: transparent;
    border-right-color: transparent;
    transform: rotate(45deg);
    position: relative;
}

.ocst-fuel-preview .ocst-mini-dial-needle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 35px;
    height: 3px;
    background: #ea580c;
    transform-origin: left center;
    transform: rotate(15deg);
    border-radius: 2px;
}

/* Card Content Styling */
.ocst-tool-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ocst-tool-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

/* Dynamic Icon colors based on card type */
.ocst-tool-card[href*="fov"] .ocst-tool-icon {
    width: 36px;
    height: 36px;
    background: #e0e7ff;
    color: #4f46e5;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ocst-tool-card[href*="fuel"] .ocst-tool-icon {
    width: 36px;
    height: 36px;
    background: #ffedd5;
    color: #ea580c;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}


.ocst-tool-card h3 {
    margin: 0 !important;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
}

.ocst-tool-card p {
    margin: 0 0 20px 0 !important;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
    flex: 1;
}

.ocst-tool-action {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    font-size: 0.95rem;
    gap: 6px;
    margin-top: auto;
}

.ocst-tool-card[href*="fov"] .ocst-tool-action { color: #4f46e5; }
.ocst-tool-card[href*="fov"]:hover .ocst-tool-action { color: #3730a3; }

.ocst-tool-card[href*="fuel"] .ocst-tool-action { color: #ea580c; }
.ocst-tool-card[href*="fuel"]:hover .ocst-tool-action { color: #c2410c; }


.ocst-tool-action svg {
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.ocst-tool-card:hover .ocst-tool-action svg {
    transform: translateX(6px);
}
